From: Heiko Carstens Date: Tue, 28 Feb 2023 12:57:47 +0000 (+0100) Subject: s390/bp: add missing BPENTER to program check handler X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fed626db8bc240678fd0fa8078aa767ad21d47fd;p=linux.git 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 Reviewed-by: Sven Schnelle Signed-off-by: Heiko Carstens Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 76a06f3d36711..2af5d7602ae88 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