]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/early: Dump register contents and call trace for early crashes
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 1 Aug 2024 15:16:12 +0000 (17:16 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 22 Aug 2024 17:28:11 +0000 (19:28 +0200)
commit6708948e361fc1eea858f8ce333c1aab7411c114
treee7ce69ccdb6e3c98a5a9fafb480b3f4d6c4e8818
parent0bc6a69f5fda17c907dfdf5850a293d13010e9e5
s390/early: Dump register contents and call trace for early crashes

If the early program check handler cannot resolve a program check dump
register contents and a call trace to the console before loading a disabled
wait psw. This makes debugging much easier.

Emit an extra message with early_printk() for cases where regular printk()
via the early console is not yet working so that at least some information
is available.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/setup.h
arch/s390/kernel/early.c
arch/s390/kernel/early_printk.c