summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2026-03-26 21:50:14 +0300
committerVasily Gorbik <gor@linux.ibm.com>2026-03-28 02:43:39 +0300
commit0738d395aab8fae3b5a3ad3fc640630c91693c27 (patch)
tree920b9cdeaedf892b846a9b0bdce638356b506bc0 /include/linux
parent48b8814e25d073dd84daf990a879a820bad2bcbd (diff)
downloadlinux-0738d395aab8fae3b5a3ad3fc640630c91693c27.tar.xz
s390/entry: Scrub r12 register on kernel entry
Before commit f33f2d4c7c80 ("s390/bp: remove TIF_ISOLATE_BP"), all entry handlers loaded r12 with the current task pointer (lg %r12,__LC_CURRENT) for use by the BPENTER/BPEXIT macros. That commit removed TIF_ISOLATE_BP, dropping both the branch prediction macros and the r12 load, but did not add r12 to the register clearing sequence. Add the missing xgr %r12,%r12 to make the register scrub consistent across all entry points. Fixes: f33f2d4c7c80 ("s390/bp: remove TIF_ISOLATE_BP") Cc: stable@kernel.org Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions