[RFC PATCH 0/7 v2] ppc: enable dynamic dma window support

Nishanth Aravamudan nacc at us.ibm.com
Wed Oct 27 14:35:10 EST 2010


The following series, which builds upon the series of cleanups I posted
on 9/15 and 10/18 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

Changes from v1 to v2:

Fixed numerous bugs/issues found in testing.
Reworked to be based off platform hook dma_set_mask().

Nishanth Aravamudan (7):
  macio: ensure all dma routines get copied over
  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: pass phb only to iommu_table_setparms_lpar
  ppc: add dynamic dma window support

 arch/powerpc/include/asm/device.h      |    6 +
 arch/powerpc/include/asm/mmzone.h      |    5 +
 arch/powerpc/mm/numa.c                 |   26 ++
 arch/powerpc/platforms/pseries/iommu.c |  600 ++++++++++++++++++++++++++++++--
 drivers/macintosh/macio_asic.c         |    7 +-
 5 files changed, 619 insertions(+), 25 deletions(-)




More information about the Linuxppc-dev mailing list