This series of patches adds support for iommu page sizes other than
4K. Currently iommu page sizes are hardcoded to 4K. This series does
not actually change the page size but adds support for doing so.

It has been tested on a pSeries machine.

Alistair Popple (2):
  iommu: Add support for iommu page sizes other than 4K
  iommu: Update platform initialisation of iommu to use it_page_shift

 arch/powerpc/include/asm/iommu.h       |   28 ++++++++------
 arch/powerpc/kernel/dma-iommu.c        |    4 +-
 arch/powerpc/kernel/iommu.c            |   64 ++++++++++++++++----------------
 arch/powerpc/kernel/vio.c              |   20 +++++-----
 arch/powerpc/platforms/cell/iommu.c    |   14 ++++---
 arch/powerpc/platforms/powernv/pci.c   |    3 +-
 arch/powerpc/platforms/pseries/iommu.c |   10 +++--
 arch/powerpc/platforms/pseries/setup.c |    4 +-
 drivers/net/ethernet/ibm/ibmveth.c     |    9 +++--
 9 files changed, 85 insertions(+), 71 deletions(-)

-- 
1.7.10.4

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to