diff options
| author | Vasily Gorbik <gor@linux.ibm.com> | 2026-03-26 19:50:14 +0100 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-03-28 00:43:39 +0100 |
| commit | 0738d395aab8fae3b5a3ad3fc640630c91693c27 (patch) | |
| tree | 920b9cdeaedf892b846a9b0bdce638356b506bc0 /include/mtd/git@git.tavy.me:linux.git | |
| parent | 48b8814e25d073dd84daf990a879a820bad2bcbd (diff) | |
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/mtd/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
