Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxxxxxxx> writes:mpe,
Kernel crashes if power pmu is not registered and user tries to dumpThanks.
regs with 'echo p > /proc/sysrq-trigger'. Sample log:
Unable to handle kernel paging request for data at address 0x00000008
Faulting instruction address: 0xc0000000000d52f0
NIP [c0000000000d52f0] perf_event_print_debug+0x10/0x230
LR [c00000000058a938] sysrq_handle_showregs+0x38/0x50
Fixes: 5f6d0380c640 ("powerpc/perf: Define perf_event_print_debug() to print PMU register values")
But I don't think I'll Cc stable, I can't think why we'd ever *not* have
a ppmu registered. How did you hit it?