summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf/power8-pmu.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2015-12-02 08:25:32 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-01-27 03:37:37 +0300
commit7e56f627768da4e6480986b5145dc3422bc448a5 (patch)
tree84fa1cbcd9887d98141771e618867a8ae5f6717f /arch/powerpc/perf/power8-pmu.c
parente256caa7d0515e301f8c8c6e7d1204a2b67b1381 (diff)
downloadlinux-7e56f627768da4e6480986b5145dc3422bc448a5.tar.xz
powerpc/eeh: Fix PE location code
In eeh_pe_loc_get(), the PE location code is retrieved from the "ibm,loc-code" property of the device node for the bridge of the PE's primary bus. It's not correct because the property indicates the parent PE's location code. This reads the correct PE location code from "ibm,io-base-loc-code" or "ibm,slot-location-code" property of PE parent bus's device node. Cc: stable@vger.kernel.org # v3.16+ Fixes: 357b2f3dd9b7 ("powerpc/eeh: Dump PE location code") Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Tested-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf/power8-pmu.c')
0 files changed, 0 insertions, 0 deletions