OSDN Git Service

powerpc/xmon: Add PowerISA v3.1 PMU SPRs
authorMadhavan Srinivasan <maddy@linux.ibm.com>
Fri, 17 Jul 2020 14:38:18 +0000 (10:38 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 22 Jul 2020 11:56:41 +0000 (21:56 +1000)
commit1979ae8c7215718c7a98f038bad0122034ad6529
tree1fe032dd35ecccec529114709dfb0fc5666a402e
parent5752fe0b811bb3cee531c52074921c6dd09dc42d
powerpc/xmon: Add PowerISA v3.1 PMU SPRs

PowerISA v3.1 added three new perfromance
monitoring unit (PMU) speical purpose register (SPR).
They are Monitor Mode Control Register 3 (MMCR3),
Sampled Instruction Event Register 2 (SIER2),
Sampled Instruction Event Register 3 (SIER3).

Patch here adds a new dump function dump_310_sprs
to print these SPR values.

Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1594996707-3727-7-git-send-email-atrajeev@linux.vnet.ibm.com
arch/powerpc/xmon/xmon.c