[PATCH v2 0/4] sparc64: Jump to boot prom from console on panic
From: Vijay Kumar
Date: Fri Nov 11 2016 - 13:13:46 EST
Currently Stop-A (L1A) does not make the kernel switch to OBP on panic. This
patchset addresses this issue. Also, now we can cause a jump to OBP by sending
'break' twice from sunhv console. On bare metal, one can send a break by
typing Esc + 'B' + Sysrq (or whatever). On LDOM, press Ctrl + ] in telnet,
and then "send break" at the telnet prompt.
sparc64: Set cpu state to offline when stopped
sparc64: Migrate hvcons irq to panicked cpu
sparc64: Send break twice from console to return to boot prom
Documentation/sparc: Steps for sending break on sunhv console
Documentation/sparc/console.txt | 9 +++++++++
arch/sparc/include/asm/setup.h | 1 +
arch/sparc/kernel/smp_64.c | 9 ++++++++-
drivers/tty/serial/sunhv.c | 12 +++++++++++-
kernel/panic.c | 3 ++-
5 files changed, 31 insertions(+), 3 deletions(-)
create mode 100644 Documentation/sparc/console.txt
--
1.7.1