projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba45b7
)
powerpc/watchdog: Print the NIP in soft_nmi_interrupt()
author
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 12 Oct 2017 04:44:34 +0000
(15:44 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Sun, 28 Jan 2018 06:08:29 +0000
(17:08 +1100)
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 <mpe@ellerman.id.au>
arch/powerpc/kernel/watchdog.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/watchdog.c
b/arch/powerpc/kernel/watchdog.c
index
80a467e
..
6256dc3
100644
(file)
--- a/
arch/powerpc/kernel/watchdog.c
+++ b/
arch/powerpc/kernel/watchdog.c
@@
-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);