diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2014-06-11 10:26:44 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-11 11:12:23 +0200 |
commit | 357b2f3dd9b7e220ddbaef5bcc108f0359dc0fcf (patch) | |
tree | 722fdbf7ec1406f437f5f4bb2c7073c4fb629642 /arch/powerpc/kernel/exceptions-64s.S | |
parent | powerpc/powernv: Enable POWER8 doorbell IPIs (diff) | |
download | linux-357b2f3dd9b7e220ddbaef5bcc108f0359dc0fcf.tar.xz linux-357b2f3dd9b7e220ddbaef5bcc108f0359dc0fcf.zip |
powerpc/eeh: Dump PE location code
As Ben suggested, it's meaningful to dump PE's location code
for site engineers when hitting EEH errors. The patch introduces
function eeh_pe_loc_get() to retireve the location code from
dev-tree so that we can output it when hitting EEH errors.
If primary PE bus is root bus, the PHB's dev-node would be tried
prior to root port's dev-node. Otherwise, the upstream bridge's
dev-node of the primary PE bus will be check for the location code
directly.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/exceptions-64s.S')
0 files changed, 0 insertions, 0 deletions