9af32ef564
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_bus_if.m | ||
virtio_config.h | ||
virtio_endian.h | ||
virtio_ids.h | ||
virtio_if.m | ||
virtio_ring.h | ||
virtio.c | ||
virtio.h | ||
virtqueue.c | ||
virtqueue.h |