diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-01-25 16:59:14 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-06 16:30:00 +1100 |
commit | de4c928b843063b7079c35c950c1d38c559fa0cb (patch) | |
tree | 59c3f70d0047bef6c68bc7d514175c9d6378ec2c /arch/powerpc/kernel/msi.c | |
parent | e4347dfb580e0172185cb38529266ecf3b4d0baa (diff) |
[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 'arch/powerpc/kernel/msi.c')
0 files changed, 0 insertions, 0 deletions