]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:32 +0000 (14:39 +0200)
commitc76bb2d0aa54d8be4102e5480fa6bec353381699
tree2e775524b8ba5ed7f8f3148921fe875e9f21bad9
parent7e3497d7dacb5aee69dd9be842b778083cae0e75
s390/entry: Fix setting _CIF_MCCK_GUEST with lowcore relocation

[ Upstream commit 121df45b37a1016ee6828c2ca3ba825f3e18a8c1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/kernel/entry.S