Re: [PATCH 3/3] powerpc/watchdog: Print the NIP in soft_nmi_interrupt()

2017-10-12 Thread Michael Ellerman
Nicholas Piggin writes: > On Thu, 12 Oct 2017 15:44:34 +1100 > Michael Ellerman wrote: > >> When a CPU detects its locked up via soft_nmi_interrupt() we have >> pt_regs, so print the regs->nip, which points to where we took the >> soft-NMI. >> >> Signed-off-by: Michael Ellerman >> --- >> arch

Re: [PATCH 3/3] powerpc/watchdog: Print the NIP in soft_nmi_interrupt()

2017-10-12 Thread Nicholas Piggin
On Thu, 12 Oct 2017 15:44:34 +1100 Michael Ellerman wrote: > When a CPU detects its locked up via soft_nmi_interrupt() we have > pt_regs, so print the regs->nip, which points to where we took the > soft-NMI. > > Signed-off-by: Michael Ellerman > --- > arch/powerpc/kernel/watchdog.c | 2 +- > 1

[PATCH 3/3] powerpc/watchdog: Print the NIP in soft_nmi_interrupt()

2017-10-11 Thread Michael Ellerman
When a CPU detects its locked up via soft_nmi_interrupt() we have pt_regs, so print the regs->nip, which points to where we took the soft-NMI. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kerne