Skip to content

Commit 121df45

Browse files
svens-s390Vasily Gorbik
authored andcommitted
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: 0001b7b ("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>
1 parent f90f214 commit 121df45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/s390/kernel/entry.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ SYM_CODE_START(mcck_int_handler)
468468
clgrjl %r9,%r14, 4f
469469
larl %r14,.Lsie_leave
470470
clgrjhe %r9,%r14, 4f
471-
lg %r10,__LC_PCPU
471+
lg %r10,__LC_PCPU(%r13)
472472
oi __PCPU_FLAGS+7(%r10), _CIF_MCCK_GUEST
473473
4: BPENTER __SF_SIE_FLAGS(%r15),_TIF_ISOLATE_BP_GUEST
474474
SIEEXIT __SF_SIE_CONTROL(%r15),%r13

0 commit comments

Comments
 (0)