Page MenuHomeFreeBSD

virtio: Use bus_dma for ring and indirect buffer allocations
Needs ReviewPublic

Authored by sarah.walker2_arm.com on Fri, Jan 30, 11:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 5, 4:29 PM
Unknown Object (File)
Sun, Feb 1, 4:46 AM
Unknown Object (File)
Sun, Feb 1, 4:39 AM
Unknown Object (File)
Sun, Feb 1, 3:05 AM
Unknown Object (File)
Sun, Feb 1, 12:54 AM
Unknown Object (File)
Sun, Feb 1, 12:05 AM
Unknown Object (File)
Sat, Jan 31, 10:28 PM
Subscribers

Details

Reviewers
bryanv
andrew
Summary

While the majority of virtio platforms will be fully coherent, some may
require cache maintenance or other specific device memory handling (eg for
secure partitioning). Using bus_dma allows for these usecases.

The virtio buffers are marked as coherent; this should ensure that sync
calls are no-ops in the common cases.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70227
Build 67110: arc lint + arc unit