linux_dsm_epyc7002/arch/powerpc/platforms/powernv
Gavin Shan 36954dc78d powerpc/powernv: Reserve the correct PE number
We're assigning PE numbers after the completion of PCI probe. During
the PCI probe, we had PE#0 as the super container to encompass all
PCI devices. However, that's inappropriate since PELTM has ascending
order of priority on search on P7IOC. So we need PE#127 takes the
role that PE#0 has previously. For PHB3, we still have PE#0 as the
reserved PE.

The patch supposes that the underly firmware has built the RID to
PE# mapping after resetting IODA tables: all PELTM entries except
last one has invalid mapping on P7IOC, but all RTEs have binding
to PE#0. The reserved PE# is being exported by firmware by device
tree.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-11-06 14:13:52 +11:00
..
eeh-ioda.c powerpc/eeh: Output PHB3 diag-data 2013-10-11 16:54:12 +11:00
eeh-powernv.c powerpc/powernv: Enable EEH for PHB3 2013-10-11 16:53:56 +11:00
Kconfig powerpc/powernv: Add scom support under OPALv3 2013-10-11 16:53:45 +11:00
Makefile powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
opal-flash.c powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
opal-lpc.c powerpc/powernv: Add PIO accessors for Power8 LPC bus 2013-08-14 14:58:08 +10:00
opal-nvram.c powerpc/powernv: Make OPAL NVRAM device tree accesses endian safe 2013-10-11 16:48:47 +11:00
opal-rtc.c powerpc/powernv: More little endian issues in OPAL RTC driver 2013-10-11 16:48:51 +11:00
opal-takeover.S powerpc: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +10:00
opal-wrappers.S powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
opal-xscom.c powerpc/powernv: Add support for indirect XSCOM via debugfs 2013-11-06 14:13:51 +11:00
opal.c powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
pci-ioda.c powerpc/powernv: Reserve the correct PE number 2013-11-06 14:13:52 +11:00
pci-p5ioc2.c powerpc: Little endian fix for arch/powerpc/platforms/powernv/pci-p5ioc2.c 2013-10-11 16:48:43 +11:00
pci.c powerpc/powernv: Reserve the correct PE number 2013-11-06 14:13:52 +11:00
pci.h powerpc/powernv: Reserve the correct PE number 2013-11-06 14:13:52 +11:00
powernv.h powerpc/powernv: Add PIO accessors for Power8 LPC bus 2013-08-14 14:58:08 +10:00
rng.c powerpc: Add includes to fix powernv/rng.c build 2013-10-30 15:59:04 +11:00
setup.c powerpc/powernv: Return secondary CPUs to firmware on kexec 2013-08-27 17:43:50 +10:00
smp.c powerpc: Convert platforms to smp_generic_cpu_bootable 2013-08-14 14:56:57 +10:00