aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/uaccess.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2022-05-23 12:38:14 +0200
committerHeiko Carstens <hca@linux.ibm.com>2022-06-01 12:03:16 +0200
commit29ccaa4b35ea874ddd50518e5c2c746b9238a792 (patch)
tree317746bcb0adf1e3bf3ff60c105644e7d21544fb /arch/s390/include/asm/uaccess.h
parents390/mm: use non-quiescing sske for KVM switch to keyed guest (diff)
downloadlinux-dev-29ccaa4b35ea874ddd50518e5c2c746b9238a792.tar.xz
linux-dev-29ccaa4b35ea874ddd50518e5c2c746b9238a792.zip
s390/mcck: isolate SIE instruction when setting CIF_MCCK_GUEST flag
Commit d768bd892fc8 ("s390: add options to change branch prediction behaviour for the kernel") introduced .Lsie_exit label - supposedly to fence off SIE instruction. However, the corresponding address range length .Lsie_crit_mcck_length was not updated, which led to BPON code potentionally marked with CIF_MCCK_GUEST flag. Both .Lsie_exit and .Lsie_crit_mcck_length were removed with commit 0b0ed657fe00 ("s390: remove critical section cleanup from entry.S"), but the issue persisted - currently BPOFF and BPENTER macros might get wrongly considered by the machine check handler as a guest. Fixes: d768bd892fc8 ("s390: add options to change branch prediction behaviour for the kernel") Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions