From: Heiko Carstens Date: Tue, 21 Feb 2017 10:07:39 +0000 (+0100) Subject: s390/nmi: purge tlbs after control register validation X-Git-Tag: v4.14-rc1~1398^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5791d90d0046c6d74f19ab58fa774f50e463b0d9;p=platform%2Fkernel%2Flinux-rpi.git s390/nmi: purge tlbs after control register validation Play safe and purge all tlbs after the control registers that contain the primary, secondary and home space asces have been validated. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/nmi.c b/arch/s390/kernel/nmi.c index b76b5fe..80c093e 100644 --- a/arch/s390/kernel/nmi.c +++ b/arch/s390/kernel/nmi.c @@ -125,7 +125,8 @@ static int notrace s390_validate_registers(union mci mci, int umode) s390_handle_damage(); } else { asm volatile( - " lctlg 0,15,0(%0)" + " lctlg 0,15,0(%0)\n" + " ptlb\n" : : "a" (&S390_lowcore.cregs_save_area) : "memory"); } if (!mci.fp) {