[PATCH v3 0/4] sparc64: Jump to boot prom from console on panic

From: Vijay Kumar
Date: Wed Feb 01 2017 - 14:35:11 EST


V3 changes:
- patch 02/04: Added SERIAL_SUNHV conditional group for
sunhv_migrate_hvcons_irq in smp_send_stop().
V2 changes:
- Added cover letter patch

Hi,

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.

Thanks.

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