[RFC PATCH 00/11] ppc: enable dynamic dma window support
From: Nishanth Aravamudan
Date: Fri Oct 08 2010 - 13:33:25 EST
Hi,
The following series, which builds upon the series of cleanups I posted
on 9/15 as "ppc iommu cleanups", enables the pseries firmware feature
dynamic dma windows. This feature will allow future devices to have a
64-bit DMA mapping covering all memory, coexisting with a smaller IOMMU
window in 32-bit PCI space.
Comments requested and welcome!
Nishanth Aravamudan (11):
macio: ensure all dma routines get copied over
ppc: allow direct and iommu to coexist
ppc: Create ops to choose between direct window and iommu based on
device mask
ppc: add memory_hotplug_max
ppc: do not search for dma-window property on dlpar remove
ppc: checking for pdn->parent is redundant
ppc/iommu: do not need to check for dma_window == NULL
ppc/iommu: remove unneeded pci_dma_bus_setup_pSeriesLP
ppc/iommu: pass phb only to iommu_table_setparms_lpar
ppc/iommu: add routines to pseries iommu to map tces 1-1
ppc: add dynamic dma window support
arch/powerpc/include/asm/device.h | 20 +-
arch/powerpc/include/asm/dma-mapping.h | 6 +-
arch/powerpc/include/asm/iommu.h | 6 +-
arch/powerpc/include/asm/mmzone.h | 5 +
arch/powerpc/kernel/Makefile | 2 +-
arch/powerpc/kernel/dma-choose64.c | 167 +++++++++++
arch/powerpc/mm/numa.c | 26 ++
arch/powerpc/platforms/pseries/iommu.c | 475 +++++++++++++++++++++++++++----
drivers/macintosh/macio_asic.c | 7 +-
9 files changed, 635 insertions(+), 79 deletions(-)
create mode 100644 arch/powerpc/kernel/dma-choose64.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/