diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-06-06 18:44:03 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-11 16:05:53 +1000 |
commit | 8fa5d4547eb69b7ed710cb03486d33a3a5dc2ead (patch) | |
tree | 72e11d7d4ea4a2abdfed1d2369d857fa0b06c99f /arch/powerpc/platforms/powernv/pci.h | |
parent | bc32057ed5cdb9ca1fe98af1363e26c0a4d14b5f (diff) | |
download | lwn-8fa5d4547eb69b7ed710cb03486d33a3a5dc2ead.tar.gz lwn-8fa5d4547eb69b7ed710cb03486d33a3a5dc2ead.zip |
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>
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci.h')
-rw-r--r-- | arch/powerpc/platforms/powernv/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h index 676232c34328..6f5ff6921dab 100644 --- a/arch/powerpc/platforms/powernv/pci.h +++ b/arch/powerpc/platforms/powernv/pci.h @@ -198,7 +198,7 @@ int pnv_pci_cfg_write(struct device_node *dn, int where, int size, u32 val); extern void pnv_pci_setup_iommu_table(struct iommu_table *tbl, void *tce_mem, u64 tce_size, - u64 dma_offset); + u64 dma_offset, unsigned page_shift); extern void pnv_pci_init_p5ioc2_hub(struct device_node *np); extern void pnv_pci_init_ioda_hub(struct device_node *np); extern void pnv_pci_init_ioda2_phb(struct device_node *np); |