]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/boot: Pass pt_regs to program check handler
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Feb 2025 14:59:04 +0000 (15:59 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 4 Mar 2025 16:25:22 +0000 (17:25 +0100)
commitb10ac5d77c323e4bdeed61c36312c994ad0cdbd1
treea47243737e019cfb86062aae7e54486b5c3cd666
parenta0a8f2b219627ba126e208ac67ded6756537af8f
s390/boot: Pass pt_regs to program check handler

Setup a pt_regs structure on the stack, poplulate it in low level assembler
code, and pass it to print_pgm_check_info(). This way there is no need to
access then lowcore from print_pgm_check_info() anymore, and the function
looks like a normal program check handler function.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/boot.h
arch/s390/boot/head.S
arch/s390/boot/pgm_check_info.c
arch/s390/kernel/asm-offsets.c