Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736326
| From | Michael Ellerman <patch-notifications@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: powerpc/sysrq: Fix oops whem ppmu is not registered |
| Date | 2017-09-21 03:50 +0200 |
| Message-ID | <urYMO-2yM-9@gated-at.bofh.it> (permalink) |
| References | <urk30-rX-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 0x00000008 > Faulting instruction address: 0xc0000000000d52f0 > > NIP [c0000000000d52f0] perf_event_print_debug+0x10/0x230 > LR [c00000000058a938] sysrq_handle_showregs+0x38/0x50 > Call Trace: > printk+0x38/0x4c (unreliable) > __handle_sysrq+0xe4/0x270 > write_sysrq_trigger+0x64/0x80 > proc_reg_write+0x80/0xd0 > __vfs_write+0x40/0x200 > vfs_write+0xc8/0x240 > SyS_write+0x60/0x110 > system_call+0x58/0x6c > > Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> > Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/4917fcb58cc73f6b81455e3c5f9601 cheers
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] powerpc/sysrq: Fix oops whem ppmu is not registered Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> - 2017-09-19 08:20 +0200
Re: [PATCH] powerpc/sysrq: Fix oops whem ppmu is not registered Michael Ellerman <mpe@ellerman.id.au> - 2017-09-19 12:10 +0200
Re: [PATCH] powerpc/sysrq: Fix oops whem ppmu is not registered Madhavan Srinivasan <maddy@linux.vnet.ibm.com> - 2017-09-19 12:10 +0200
Re: powerpc/sysrq: Fix oops whem ppmu is not registered Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-09-21 03:50 +0200
csiph-web