summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-01-25 16:59:14 +1100
committerPaul Mackerras <paulus@samba.org>2008-02-06 16:30:00 +1100
commitde4c928b843063b7079c35c950c1d38c559fa0cb (patch)
tree59c3f70d0047bef6c68bc7d514175c9d6378ec2c /virt
parente4347dfb580e0172185cb38529266ecf3b4d0baa (diff)
downloadop-kernel-dev-de4c928b843063b7079c35c950c1d38c559fa0cb.zip
op-kernel-dev-de4c928b843063b7079c35c950c1d38c559fa0cb.tar.gz
[POWERPC] Avoid DMA exception when using axon_msi with IOMMU
There's a brown-paper-bag bug in axon_msi, we pass the address of our FIFO directly to the hardware, without DMA mapping it. This leads to DMA exceptions if you enable MSI & the IOMMU. The fix is to correctly DMA map the fifo, dma_alloc_coherent() does what we want - and we need to track the virt & phys addresses. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud