aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorAnju T Sudhakar <anju@linux.vnet.ibm.com>2018-11-27 13:54:52 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-03 02:54:59 +1000
commita913e5e8b43be1d3897a141ce61c1ec071cad89c (patch)
tree7f1b3ef5e5324df128785e2216ebedf7b4666ee1 /arch/powerpc/platforms
parentpowerpc/perf: Remove PM_BR_CMPL_ALT from power9 event list (diff)
downloadlinux-dev-a913e5e8b43be1d3897a141ce61c1ec071cad89c.tar.xz
linux-dev-a913e5e8b43be1d3897a141ce61c1ec071cad89c.zip
powerpc/perf: Return accordingly on invalid chip-id in
Nest hardware counter memory resides in a per-chip reserve-memory. During nest_imc_event_init(), chip-id of the event-cpu is considered to calculate the base memory addresss for that cpu. Return, proper error condition if the chip_id calculated is invalid. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 885dcd709ba91 ("powerpc/perf: Add nest IMC PMU support") Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms')
0 files changed, 0 insertions, 0 deletions