Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bc00914 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/watchdog: Print the NIP in soft_nmi_interrupt()



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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 3ba45b7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ void soft_nmi_interrupt(struct pt_regs *regs)
		}
		set_cpu_stuck(cpu, tb);

		pr_emerg("CPU %d self-detected hard LOCKUP\n", cpu);
		pr_emerg("CPU %d self-detected hard LOCKUP @ %pS\n", cpu, (void *)regs->nip);
		print_modules();
		print_irqtrace_events(current);
		show_regs(regs);