linux/arch/powerpc/platforms/powernv
Benjamin Herrenschmidt 5958d19a14 powerpc/pnv/pci: Fix incorrect PE reservation attempt on some 64-bit BARs
The generic allocation code may sometimes decide to assign a prefetchable
64-bit BAR to the M32 window. In fact it may also decide to allocate
a 64-bit non-prefetchable BAR to the M64 one ! So using the resource
flags as a test to decide which window was used for PE allocation is
just wrong and leads to insane PE numbers.

Instead, compare the addresses to figure it out.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[mpe: Rename the function as agreed by Ben & Gavin]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-08-09 19:51:47 +10:00
..
eeh-powernv.c powerpc/powernv: Use PCI slot reset infrastructure 2016-06-21 15:30:57 +10:00
idle.c powerpc/powernv: Use deepest stop state when cpu is offlined 2016-07-15 20:18:42 +10:00
Kconfig
Makefile powerpc/powernv: Split cxl code out into a separate file 2016-07-14 20:26:31 +10:00
npu-dma.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
opal-async.c powerpc/opal: Wake up kopald polling thread before waiting for events 2016-07-08 19:53:26 +10:00
opal-dump.c
opal-elog.c
opal-flash.c
opal-hmi.c powerpc/powernv: Use the "unknown" checkstop type as a fallback 2016-04-11 20:30:40 +10:00
opal-irqchip.c powerpc/xics: Properly set Edge/Level type and enable resend 2016-08-09 14:50:18 +10:00
opal-kmsg.c
opal-lpc.c
opal-memory-errors.c powerpc/powernv: Fix spelling mistake "Retrived" -> "Retrieved" 2016-06-28 13:52:18 +10:00
opal-msglog.c powerpc/powernv: don't create OPAL msglog sysfs entry if memcons init fails 2016-02-22 20:31:55 +11:00
opal-nvram.c
opal-power.c
opal-prd.c
opal-rtc.c
opal-sensor.c powerpc/opal: Add inline function to get rc from an ASYNC_COMP opal_msg 2016-06-29 17:33:18 +10:00
opal-sysparam.c powerpc/opal: Add inline function to get rc from an ASYNC_COMP opal_msg 2016-06-29 17:33:18 +10:00
opal-tracepoints.c powerpc: Introduce asm-prototypes.h 2016-06-16 22:39:54 +10:00
opal-wrappers.S - ARM: GICv3 ITS emulation and various fixes. Removal of the old 2016-08-02 16:11:27 -04:00
opal-xscom.c
opal.c powerpc/book3s: Fix MCE console messages for unrecoverable MCE. 2016-08-09 19:46:54 +10:00
pci-cxl.c powerpc/powernv: Fix pci-cxl.c build when CONFIG_MODULES=n 2016-07-19 20:12:28 +10:00
pci-ioda.c powerpc/pnv/pci: Fix incorrect PE reservation attempt on some 64-bit BARs 2016-08-09 19:51:47 +10:00
pci.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
pci.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
powernv.h powerpc/powernv: Use deepest stop state when cpu is offlined 2016-07-15 20:18:42 +10:00
rng.c
setup.c powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
smp.c powerpc/powernv: Use deepest stop state when cpu is offlined 2016-07-15 20:18:42 +10:00
subcore-asm.S
subcore.c powerpc/powernv: Create separate subcores CPU feature bit 2016-02-22 20:47:46 +11:00
subcore.h