linux_dsm_epyc7002/arch/powerpc/platforms/powernv
Gavin Shan fb446ad075 powerpc/powernv: Create bus sensitive PEs
Basically, there're 2 types of PCI bus sensitive PEs: (A) The PE
includes single PCI bus. (B) The PE includes the PCI bus and all
the subordinate PCI buses. At present, we'd like to put PCI bus
originated by PCI-e link to form PE that contains single PCI bus,
and the PCIe-to-PCI bridge will form the 2nd type of PE. We don't
figure out to detect PLX bridge yet. Once we can detect PLX bridge
some day, we have to put PCI buses originated from the downstream
port of PLX bridge to the 2nd type of PE.

The patch changes the original implementation for a little bit
to support 2 types of PCI bus sensitive PEs described as above.
Also, the function used to retrieve the corresponding PE according
to the given PCI device has been changed based on that because each
PCI device should trace the directly associated PE.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Reviewed-by: Ram Pai <linuxram@us.ibm.com>
Reviewed-by: Richard Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-17 16:34:43 +10:00
..
Kconfig powerpc/powernv: Basic support for OPAL 2011-09-20 16:09:50 +10:00
Makefile powerpc/powernv: PCI support for p7IOC under OPAL v2 2011-11-25 14:53:15 +11:00
opal-nvram.c powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks 2011-09-20 16:09:57 +10:00
opal-rtc.c powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks 2011-09-20 16:09:57 +10:00
opal-takeover.S powerpc: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +10:00
opal-wrappers.S powerpc: Change LOAD_REG_ADDR to use real register names 2012-07-10 19:18:14 +10:00
opal.c powerpc/powernv: Machine check and other system interrupts 2011-09-20 16:10:03 +10:00
pci-ioda.c powerpc/powernv: Create bus sensitive PEs 2012-09-17 16:34:43 +10:00
pci-p5ioc2.c powerpc: Remove all includes of <asm/abs_addr.h> 2012-09-05 15:19:33 +10:00
pci.c powerpc/iommu: Add ppc_md.tce_get() callback for use by VFIO 2012-09-10 14:36:17 +10:00
pci.h powerpc/powernv: Display diag data on p7ioc EEH errors 2011-12-07 18:04:02 +11:00
powernv.h powerpc/powernv: Add support for p5ioc2 PCI-X and PCIe 2011-09-20 16:10:04 +10:00
setup.c arch/powerpc/platforms/powernv/setup.c: included asm/xics.h twice 2012-02-27 11:33:59 +11:00
smp.c powerpc/powernv: Always go into nap mode when CPU is offline 2012-09-05 16:05:20 +10:00