[PATCH 0/2] iommu: Support pages size other than 4K

Alistair Popple alistair at popple.id.au
Tue Oct 1 13:54:08 EST 2013


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



More information about the Linuxppc-dev mailing list