]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/entry: Fix setting _CIF_MCCK_GUEST with lowcore relocation
authorSven Schnelle <svens@linux.ibm.com>
Thu, 20 Mar 2025 12:25:38 +0000 (13:25 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 31 Mar 2025 10:20:39 +0000 (12:20 +0200)
commit121df45b37a1016ee6828c2ca3ba825f3e18a8c1
treee67547576abb62e69c599953997fb9c3db02b5ea
parentf90f2145b2804c0166126a6c8fbf51d695917df3
s390/entry: Fix setting _CIF_MCCK_GUEST with lowcore relocation

When lowcore relocation is enabled, the machine check handler doesn't
use the lowcore address when setting _CIF_MCCK_GUEST. Fix this by
adding the missing base register.

Fixes: 0001b7bbc53a ("s390/entry: Make mchk_int_handler() ready for lowcore relocation")
Reported-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/entry.S