Commit 5791d90d authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 70e28aa0
...@@ -125,7 +125,8 @@ static int notrace s390_validate_registers(union mci mci, int umode) ...@@ -125,7 +125,8 @@ static int notrace s390_validate_registers(union mci mci, int umode)
s390_handle_damage(); s390_handle_damage();
} else { } else {
asm volatile( asm volatile(
" lctlg 0,15,0(%0)" " lctlg 0,15,0(%0)\n"
" ptlb\n"
: : "a" (&S390_lowcore.cregs_save_area) : "memory"); : : "a" (&S390_lowcore.cregs_save_area) : "memory");
} }
if (!mci.fp) { if (!mci.fp) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment