On Wed, 2018-05-23 at 18:00:54 UTC, Michal Suchanek wrote: > 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 ("powerpc/xmon: Setup debugger hooks when first > break-point is set") > > Signed-off-by: Michal Suchanek <msucha...@suse.de> > Reviewed-by: Vaibhav Jain <vaib...@linux.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7daf59300999693b85233762b847f1 cheers