Michal Suchanek <[email protected]> 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 > debug hooks. > > Fixes: e1368d0c9edb ("powerpc/xmon: Setup debugger hooks when first > break-point is set") > > Signed-off-by: Michal Suchanek <[email protected]> > --- LGTM,
Reviewed-by: Vaibhav Jain <[email protected]> -- Vaibhav Jain <[email protected]> Linux Technology Center, IBM India Pvt. Ltd.

