Re: [PATCH v2] powerpc/xmon: Also setup debugger hooks when single-stepping

2018-05-23 Thread Vaibhav Jain
Michal Suchanek writes: > When single-stepping kernel code from xmon without a debug hook enabled > the kernel crashes. This can happen when kernel starts with xmon on > crash disabled but xmon is entered using sysrq. > > Call force_enable_xmon when single-stepping in xmon to install the xmon > d

[PATCH v2] powerpc/xmon: Also setup debugger hooks when single-stepping

2018-05-23 Thread Michal Suchanek
When single-stepping kernel code from xmon without a debug hook enabled the kernel crashes. This can happen when kernel starts with xmon on crash disabled but xmon is entered using sysrq. Call force_enable_xmon when single-stepping in xmon to install the xmon debug hooks. Fixes: e1368d0c9edb ("po