Re: [PATCH v2 03/11] watchdog/hpwdt: Update nmi_panic message.

2018-02-13 Thread Jerry Hoemann
On Tue, Feb 13, 2018 at 09:41:35AM -0800, Guenter Roeck wrote: > On Sun, Feb 11, 2018 at 10:21:03PM -0700, Jerry Hoemann wrote: > > + unsigned int mynmi = hpwdt_my_nmi(); > > + static char panic_msg[] = > > + "00: An NMI occurred. Depending on your system the reason " > > +

Re: [PATCH v2 03/11] watchdog/hpwdt: Update nmi_panic message.

2018-02-13 Thread Guenter Roeck
On Sun, Feb 11, 2018 at 10:21:03PM -0700, Jerry Hoemann wrote: > Include the nmistat in the nmi_panic message to give support > an indication why the NMI was called (e.g. a timeout or generate > nmi button.) > > Signed-off-by: Jerry Hoemann > --- > drivers/watchdog/hpwdt.c | 27 +