[PATCH] powerpc/xmon: add turn off xmon option
mpe at ellerman.id.au
Tue Feb 14 23:22:14 AEDT 2017
Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> writes:
> Once xmon is triggered, there is no interface to turn it off again.
> However there exists disable/enable xmon code flows. And more important,
> System reset interrupt on powerVM will fire an oops to make a dump. At
> that time, xmon should not be triggered.
> So add 'z' option after current 'x|X' exit commands. Turn xmon off if 'z'
> is following.
Thanks for trying to clear this up.
But I like the solution we discussed in the other thread better. ie.
entering/leaving xmon via sysrq will always leave the state unchanged,
and we'll add a debugfs to change the state.
More information about the Linuxppc-dev