OpenCloudOS-Kernel/arch/powerpc/platforms
Gavin Shan b8b3de224f powerpc/eeh: Don't check RTAS token to get PE addr
RTAS token "ibm,get-config-addr-info" or ibm,get-config-addr-info2"
are used to retrieve the PE address according to PCI address, which
made up of domain/bus/slot/function. If we don't have those 2 tokens,
the domain/bus/slot/function would be used as the address for EEH
RTAS operations. Some older f/w might not have those 2 tokens and
that blocks the EEH functionality to be initialized. It was introduced
by commit e2af155c ("powerpc/eeh: pseries platform EEH initialization").

The patch skips the check on those 2 tokens so we can bring up EEH
functionality successfully. And domain/bus/slot/function will be
used as address for EEH RTAS operations.

Cc: <stable@vger.kernel.org> # v3.4+
Reported-by: Robert Knight <knight@princeton.edu>
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Tested-by: Robert Knight <knight@princeton.edu>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-06-10 08:36:16 +10:00
..
8xx powerpc: remove redundant GENERIC_GPIO selection 2013-03-20 22:48:15 +09:00
40x Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
44x Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
52xx Merge remote-tracking branch 'agust/next' into next 2013-02-20 11:39:05 +11:00
82xx powerpc/82xx: fix checkpatch warnings for km82xx.c 2013-02-13 07:49:04 -06:00
83xx powerpc/83xx: apply mpc8360e quirk for kmeter1 only when par_io is present 2013-02-13 07:49:07 -06:00
85xx Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
86xx powerpc: remove redundant GENERIC_GPIO selection 2013-03-20 22:48:15 +09:00
512x Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-02 10:16:16 -07:00
amigaone pcspkr: Cleanup Kconfig dependencies 2011-06-09 15:01:41 +02:00
cell powerpc/cell/iommu: Improve error message for missing node 2013-05-06 12:03:49 +10:00
chrp mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
embedded6xx powerpc/pci: Support per-aperture memory offset 2013-05-06 13:40:40 +10:00
maple POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
pasemi cpufreq: Notify all policy->cpus in cpufreq_notify_transition() 2013-04-02 15:24:00 +02:00
powermac powerpc/pci: Support per-aperture memory offset 2013-05-06 13:40:40 +10:00
powernv powerpc/powernv: Build a zImage.epapr 2013-05-24 18:13:46 +10:00
ps3 powerpc: Decode the pte-lp-encoding bits correctly. 2013-04-30 16:00:14 +10:00
pseries powerpc/eeh: Don't check RTAS token to get PE addr 2013-06-10 08:36:16 +10:00
wsp powerpc: Fix irq_set_affinity() return values 2013-05-14 16:00:18 +10:00
Kconfig Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-14 07:43:11 -07:00
Kconfig.cputype Merge remote-tracking branch 'kumar/next' into next 2013-04-30 11:10:09 +10:00
Makefile powerpc: Remove the main legacy iSerie platform code 2012-03-09 10:35:11 +11:00
fsl_uli1575.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00