mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
Virtio operates with physical addresses, while busdma is designed to
map these to produce bus addresses. On most supported platforms,
these two are interchangeable; on powerpc platforms, they are not.
When on powerpc, set an IOMMU of NULL, which causes the powerpc busdma
code to bypass the iommu mapping; this leaves us with the physical
buffer addresses which the virtio host expects to see.
Tested by: alfredo
Fixes:
|
||
|---|---|---|
| .. | ||
| virtio_blk.c | ||
| virtio_blk.h | ||