Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-26 Thread Vaibhav Jain
Thanks for the feedback Mpe, I have sent-out a new patch incorporating your review comments at http://patchwork.ozlabs.org/patch/877792/ -- Vaibhav Jain Linux Technology Center, IBM India Pvt. Ltd.

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-19 Thread Michael Ellerman
Vaibhav Jain writes: > Michael Ellerman writes: >> >> >> What would be nice is if we keep that behaviour, but any action you take >> in xmon that requires xmon to remain resident, ie. setting a breakpoint, >> calls a function which makes sure xmon_on = true and if it wasn't prints >> a nice mes

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-14 Thread Vaibhav Jain
Thanks for looking into this patch Mpe. Michael Ellerman writes: > > > But the same crash happens with XMON_DEFAULT=n and nothing on the > command line. Yes, XMON_DEFAULT=n and empty boot command line implies xmon=off hence you will see the same issue and this patch should fix that issue too. >

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-14 Thread Michael Ellerman
Vaibhav Jain writes: > Thanks for reviewing this patch Balbir > > Balbir Singh writes: > >> Any specific issue you've run into without this patch? > Without this patch since xmon is still accessible via sysrq and there is > no indication/warning on the xmon console mentioning that its is not >

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-13 Thread Balbir Singh
On Mon, Feb 12, 2018 at 11:35 PM, Vaibhav Jain wrote: > Thanks for reviewing this patch Balbir > > Balbir Singh writes: > >> Any specific issue you've run into without this patch? > Without this patch since xmon is still accessible via sysrq and there is > no indication/warning on the xmon consol

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-12 Thread Vaibhav Jain
Thanks for reviewing this patch Balbir Balbir Singh writes: > Any specific issue you've run into without this patch? Without this patch since xmon is still accessible via sysrq and there is no indication/warning on the xmon console mentioning that its is not fully functional. Specifically xmon-

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-12 Thread Balbir Singh
On Mon, Feb 12, 2018 at 7:59 PM, Vaibhav Jain wrote: > Presently sysrq key for xmon('x') is registered during kernel init > irrespective of the value of kernel param 'xmon'. Thus xmon is enabled > even if 'xmon=off' is passed on the kernel command line. > > This minor patch updates setup_xmon_sysr

[PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-12 Thread Vaibhav Jain
Presently sysrq key for xmon('x') is registered during kernel init irrespective of the value of kernel param 'xmon'. Thus xmon is enabled even if 'xmon=off' is passed on the kernel command line. This minor patch updates setup_xmon_sysrq() to register 'sysrq_xmon_op' only when variable 'xmon_on' is