aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-03-30 22:11:17 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-03-30 22:11:17 -0400
commitd4ed11aa4881246e1e36e0189f30f053f140370c (patch)
tree233ca0735d061155a2f94fddebbec683f793eeae /arch/powerpc/platforms
parent330524404298b2142d2e3a2f64251ca855d55d72 (diff)
parent027fa02f84e851e21daffdf8900d6117071890f8 (diff)
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.c3
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,
2462 region.start += phb->ioda.io_segsize; 2462 region.start += phb->ioda.io_segsize;
2463 index++; 2463 index++;
2464 } 2464 }
2465 } else if (res->flags & IORESOURCE_MEM) { 2465 } else if ((res->flags & IORESOURCE_MEM) &&
2466 !pnv_pci_is_mem_pref_64(res->flags)) {
2466 region.start = res->start - 2467 region.start = res->start -
2467 hose->mem_offset[0] - 2468 hose->mem_offset[0] -
2468 phb->ioda.m32_pci_base; 2469 phb->ioda.m32_pci_base;