]> git.baikalelectronics.ru Git - kernel.git/commit
s390/boot: change initial program check handler to disabled wait psw
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 24 Apr 2022 13:52:01 +0000 (15:52 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 6 May 2022 18:45:15 +0000 (20:45 +0200)
commitff70e9855960efe8bf312bed7eb8591b5ae17805
tree147e325fcac954f46f7328fc9f56b41eb3aa29ab
parentecfbaef8e3aa158c746ee6ddd9b832f6c4e38f24
s390/boot: change initial program check handler to disabled wait psw

The program check handler of the kernel image points to
startup_pgm_check_handler. However an early program check which happens
while loading the kernel image will jump to potentially random code, since
the code of the program check handler is not yet loaded; leading to a
program check loop.

Therefore initialize it to a disabled wait psw and let the startup code set
the proper psw when everything is in memory.

Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/boot/head.S