]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/boot: Introduce jump_to_kernel() function
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 25 Jun 2025 15:36:51 +0000 (17:36 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 10 Jul 2025 12:42:10 +0000 (14:42 +0200)
commit996f7f292b7e190138738bd9213616a544837a41
tree4db2604474370a7bc1c048ab135a183795819be1
parentb367017cdac21781a74eff4e208d3d38e1f38d3f
s390/boot: Introduce jump_to_kernel() function

Introduce a global function that jumps from the decompressor to the
decompressed kernel. Put its address into svc_old_psw, from where GDB
can take it without loading decompressor symbols. It should be
available throughout the entire decompressor execution, because it's
placed there statically, and nothing in the decompressor uses the SVC
instruction.

Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20250625154220.75300-2-iii@linux.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/boot/Makefile
arch/s390/boot/boot.h
arch/s390/boot/ipl_data.c
arch/s390/boot/startup.c
arch/s390/boot/trampoline.S [new file with mode: 0644]