diff options
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci-ioda.c')
-rw-r--r-- | arch/powerpc/platforms/powernv/pci-ioda.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c index 40f968e02d35..9f28e184ff0e 100644 --- a/arch/powerpc/platforms/powernv/pci-ioda.c +++ b/arch/powerpc/platforms/powernv/pci-ioda.c | |||
@@ -656,7 +656,7 @@ static void pnv_pci_ioda_setup_dma_pe(struct pnv_phb *phb, | |||
656 | /* Setup linux iommu table */ | 656 | /* Setup linux iommu table */ |
657 | tbl = &pe->tce32_table; | 657 | tbl = &pe->tce32_table; |
658 | pnv_pci_setup_iommu_table(tbl, addr, TCE32_TABLE_SIZE * segs, | 658 | pnv_pci_setup_iommu_table(tbl, addr, TCE32_TABLE_SIZE * segs, |
659 | base << 28); | 659 | base << 28, IOMMU_PAGE_SHIFT_4K); |
660 | 660 | ||
661 | /* OPAL variant of P7IOC SW invalidated TCEs */ | 661 | /* OPAL variant of P7IOC SW invalidated TCEs */ |
662 | swinvp = of_get_property(phb->hose->dn, "ibm,opal-tce-kill", NULL); | 662 | swinvp = of_get_property(phb->hose->dn, "ibm,opal-tce-kill", NULL); |
@@ -786,7 +786,8 @@ static void pnv_pci_ioda2_setup_dma_pe(struct pnv_phb *phb, | |||
786 | 786 | ||
787 | /* Setup linux iommu table */ | 787 | /* Setup linux iommu table */ |
788 | tbl = &pe->tce32_table; | 788 | tbl = &pe->tce32_table; |
789 | pnv_pci_setup_iommu_table(tbl, addr, tce_table_size, 0); | 789 | pnv_pci_setup_iommu_table(tbl, addr, tce_table_size, 0, |
790 | IOMMU_PAGE_SHIFT_4K); | ||
790 | 791 | ||
791 | /* OPAL variant of PHB3 invalidated TCEs */ | 792 | /* OPAL variant of PHB3 invalidated TCEs */ |
792 | swinvp = of_get_property(phb->hose->dn, "ibm,opal-tce-kill", NULL); | 793 | swinvp = of_get_property(phb->hose->dn, "ibm,opal-tce-kill", NULL); |