[v2] powerpc/xmon: Also setup debugger hooks when single-stepping
Michael Ellerman
patch-notifications at ellerman.id.au
Fri May 25 21:41:54 AEST 2018
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 <msuchanek at suse.de>
> Reviewed-by: Vaibhav Jain <vaibhav at linux.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/7daf59300999693b85233762b847f1
cheers
More information about the Linuxppc-dev
mailing list