powerpc: Add 86xx support for SWIOTLB
authorBecky Bruce <beckyb@kernel.crashing.org>
Thu, 14 May 2009 22:42:29 +0000 (17:42 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Jun 2009 02:45:29 +0000 (21:45 -0500)
commit5cef379b34ffcd96567066ddc1012bd40e6e7675
treee31aca9b3a22df85e3982b07db60e004f4510963
parent42e27bfc4bfa42bd905e53be93d862b8e3d80a00
powerpc: Add 86xx support for SWIOTLB

This is the final bit of code to allow enabling swiotlb on
mpc86xx.  The platform-specific code is very small and consists
of enabling SWIOTLB in the config file, registering the
swiotlb_setup_bus_notifier initcall, and setting pci_dma_ops
to point to swiotlb_pci_dma_ops if we have more memory than
can be mapped by the inbound PCI windows.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/Kconfig
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c