Page MenuHomeFreeBSD

virtio_blk: Use bus_dma for command/ack 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)
Sat, Jan 31, 3:15 AM
Unknown Object (File)
Fri, Jan 30, 9:55 PM
Unknown Object (File)
Fri, Jan 30, 8:40 PM
Unknown Object (File)
Fri, Jan 30, 4:41 PM
Unknown Object (File)
Fri, Jan 30, 1:59 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 70228
Build 67111: arc lint + arc unit