OSDN Git Service

powerpc/powernv: Add a page size parameter to pnv_pci_setup_iommu_table()
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 6 Jun 2014 08:44:03 +0000 (18:44 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Jul 2014 06:05:53 +0000 (16:05 +1000)
commit8fa5d4547eb69b7ed710cb03486d33a3a5dc2ead
tree72e11d7d4ea4a2abdfed1d2369d857fa0b06c99f
parentbc32057ed5cdb9ca1fe98af1363e26c0a4d14b5f
powerpc/powernv: Add a page size parameter to pnv_pci_setup_iommu_table()

Since a TCE page size can be other than 4K, make it configurable for
P5IOC2 and IODA PHBs.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci-p5ioc2.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/powernv/pci.h