diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-02-22 15:27:52 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-03-01 21:05:10 +0100 |
commit | 1a5e3f262e0310365cf7b5c8b8fc3a6e94a19cb7 (patch) | |
tree | 7023b51614451c946ece67c1c64d4276a1403ce7 /arch/s390/kernel/entry.S | |
parent | 96f6641a6a284102fe9f52c9789e98f0a18ece11 (diff) | |
download | linux-1a5e3f262e0310365cf7b5c8b8fc3a6e94a19cb7.tar.gz linux-1a5e3f262e0310365cf7b5c8b8fc3a6e94a19cb7.tar.bz2 linux-1a5e3f262e0310365cf7b5c8b8fc3a6e94a19cb7.zip |
s390/ftrace: make use of epsw to get psw mask
Finally use epsw to create a complete psw mask within pt_regs. Without
this only some bits are correct, while other bits are (incorrectly)
always zero.
The epsw instruction is quite heavy weight, however given that this
only effects ftrace_regs_caller this seems to be the right thing, so
we finally get a complete psw mask for ftrace kprobed functions.
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.S')
0 files changed, 0 insertions, 0 deletions