diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-02-28 15:57:47 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-03-13 11:16:42 +0300 |
commit | fed626db8bc240678fd0fa8078aa767ad21d47fd (patch) | |
tree | ddc64b16d0de3fe771be8463ff4c3dfad046592d /arch/s390/kernel | |
parent | eeac8ede17557680855031c6f305ece2378af326 (diff) | |
download | linux-fed626db8bc240678fd0fa8078aa767ad21d47fd.tar.xz |
s390/bp: add missing BPENTER to program check handler
When leaving interpretive execution because of a program check BPENTER
should be called like it is done on interrupt exit as well.
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Sven Schnelle <svens@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')
-rw-r--r-- | arch/s390/kernel/entry.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 76a06f3d3671..2af5d7602ae8 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S @@ -355,6 +355,7 @@ ENTRY(pgm_check_handler) #if IS_ENABLED(CONFIG_KVM) # cleanup critical section for program checks in __sie64a OUTSIDE %r9,.Lsie_gmap,.Lsie_done,1f + BPENTER __SF_SIE_FLAGS(%r15),(_TIF_ISOLATE_BP|_TIF_ISOLATE_BP_GUEST) SIEEXIT lghi %r10,_PIF_GUEST_FAULT #endif |