[PATCH 3.16 022/204] powerpc/sysrq: Fix oops whem ppmu is not registered

2017-12-28 Thread Ben Hutchings
3.16.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria commit 4917fcb58cc73f6b81455e3c5f960144809ddf1a upstream. Kernel crashes if power pmu is not registered and user tries to dump regs with 'echo p > /proc/sysrq-trigger'. Sample lo

Re: powerpc/sysrq: Fix oops whem ppmu is not registered

2017-09-20 Thread Michael Ellerman
On Tue, 2017-09-19 at 06:17:06 UTC, Ravi Bangoria wrote: > Kernel crashes if power pmu is not registered and user tries to dump > regs with 'echo p > /proc/sysrq-trigger'. Sample log: > > Unable to handle kernel paging request for data at address 0x0008 > Faulting instruction address: 0xc0

Re: [PATCH] powerpc/sysrq: Fix oops whem ppmu is not registered

2017-09-19 Thread Madhavan Srinivasan
On Tuesday 19 September 2017 03:30 PM, Michael Ellerman wrote: Ravi Bangoria writes: Kernel crashes if power pmu is not registered and user tries to dump regs with 'echo p > /proc/sysrq-trigger'. Sample log: Unable to handle kernel paging request for data at address 0x0008 Faultin

Re: [PATCH] powerpc/sysrq: Fix oops whem ppmu is not registered

2017-09-19 Thread Michael Ellerman
Ravi Bangoria writes: > Kernel crashes if power pmu is not registered and user tries to dump > regs with 'echo p > /proc/sysrq-trigger'. Sample log: > > Unable to handle kernel paging request for data at address 0x0008 > Faulting instruction address: 0xc00d52f0 > > NIP [c000

[PATCH] powerpc/sysrq: Fix oops whem ppmu is not registered

2017-09-18 Thread Ravi Bangoria
Kernel crashes if power pmu is not registered and user tries to dump regs with 'echo p > /proc/sysrq-trigger'. Sample log: Unable to handle kernel paging request for data at address 0x0008 Faulting instruction address: 0xc00d52f0 NIP [c00d52f0] perf_event_print_debug+0x1