diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-03-31 04:11:17 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-03-31 04:11:17 +0200 |
commit | d4ed11aa4881246e1e36e0189f30f053f140370c (patch) | |
tree | 233ca0735d061155a2f94fddebbec683f793eeae /arch/powerpc/platforms | |
parent | powerpc/pci: Add PCI resource alignment documentation (diff) | |
parent | powerpc/powernv: Don't map M64 segments using M32DT (diff) | |
download | linux-d4ed11aa4881246e1e36e0189f30f053f140370c.tar.xz linux-d4ed11aa4881246e1e36e0189f30f053f140370c.zip |
Merge branch 'next-eeh' into next-sriov
Merge in Gavin EEH fixes
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/powernv/pci-ioda.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c index b1387ea6d10a..5ac7c60a8801 100644 --- a/arch/powerpc/platforms/powernv/pci-ioda.c +++ b/arch/powerpc/platforms/powernv/pci-ioda.c @@ -2462,7 +2462,8 @@ static void pnv_ioda_setup_pe_seg(struct pci_controller *hose, region.start += phb->ioda.io_segsize; index++; } - } else if (res->flags & IORESOURCE_MEM) { + } else if ((res->flags & IORESOURCE_MEM) && + !pnv_pci_is_mem_pref_64(res->flags)) { region.start = res->start - hose->mem_offset[0] - phb->ioda.m32_pci_base; |