diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-02-28 13:31:33 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-03-08 00:33:00 +0100 |
commit | cfa45c5e0d36b87f99e76f1060526eac032dd624 (patch) | |
tree | ccbe4f026e3163c949a3db5bdabfa57cd68fc1e7 /arch/s390/kernel/traps.c | |
parent | 0741ec112ca67ea95dc8158a7bc7547ae36cbecc (diff) |
s390/base: pass pt_regs to early program check handler
Pass pt_regs to early program check handler like it is done for every
other interrupt and exception handler.
Also the passed pt_regs can be changed by the called function and the
changes register contents and psw contents will be taken into account
when returning. In addition the return psw will not be copied to the
program check old psw in lowcore, but to the usual return psw
location, like it is also done by the regular program check handler.
This allows also to get rid of the code that disabled lowcore
protection when changing the return address.
Reviewed-by: Alexander Gordeev <agordeev@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/traps.c')
0 files changed, 0 insertions, 0 deletions