Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/powerpc: Dump MMCR2 as part of the EBB HW state

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Michael Ellerman and committed by
Benjamin Herrenschmidt
c418a678 7d3fa968

+6 -4
+6 -4
tools/testing/selftests/powerpc/pmu/ebb/ebb.c
··· 224 224 225 225 printf("HW state:\n" \ 226 226 "MMCR0 0x%016x %s\n" \ 227 + "MMCR2 0x%016lx\n" \ 227 228 "EBBHR 0x%016lx\n" \ 228 229 "BESCR 0x%016llx %s\n" \ 229 230 "PMC1 0x%016lx\n" \ ··· 234 233 "PMC5 0x%016lx\n" \ 235 234 "PMC6 0x%016lx\n" \ 236 235 "SIAR 0x%016lx\n", 237 - mmcr0, decode_mmcr0(mmcr0), mfspr(SPRN_EBBHR), bescr, 238 - decode_bescr(bescr), mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), 239 - mfspr(SPRN_PMC3), mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), 240 - mfspr(SPRN_PMC6), mfspr(SPRN_SIAR)); 236 + mmcr0, decode_mmcr0(mmcr0), mfspr(SPRN_MMCR2), 237 + mfspr(SPRN_EBBHR), bescr, decode_bescr(bescr), 238 + mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), 239 + mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), 240 + mfspr(SPRN_SIAR)); 241 241 } 242 242 243 243 void dump_ebb_state(void)