projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e28aa
)
s390/nmi: purge tlbs after control register validation
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Tue, 21 Feb 2017 10:07:39 +0000
(11:07 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Thu, 23 Feb 2017 09:06:39 +0000
(10:06 +0100)
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 <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/nmi.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/nmi.c
b/arch/s390/kernel/nmi.c
index b76b5fef251e1ad211ac78017ef7d3704541e0bb..80c093e0c6f1a3ef56fcc38e04d1af9a076f427f 100644
(file)
--- 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) {