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:
|
||
|---|---|---|
| .. | ||
| balloon | ||
| block | ||
| console | ||
| mmio | ||
| network | ||
| pci | ||
| random | ||
| scsi | ||
| virtio.c | ||
| virtio.h | ||
| virtio_bus_if.m | ||
| virtio_config.h | ||
| virtio_endian.h | ||
| virtio_ids.h | ||
| virtio_if.m | ||
| virtio_ring.h | ||
| virtqueue.c | ||
| virtqueue.h | ||