diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-26 17:53:09 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-07-25 07:55:30 +0300 |
commit | 118bd31bea2cdb7f1dbf22dd9a58e818b5313156 (patch) | |
tree | 9cf58dc2b2841369698dcca4483f4244b5e58d3b /arch/s390/include/asm/tlbflush.h | |
parent | c9b5ad546e7d486465a3dd8c89245ac3707a4384 (diff) | |
download | linux-118bd31bea2cdb7f1dbf22dd9a58e818b5313156.tar.xz |
s390/mm: add no-dat TLB flush optimization
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/tlbflush.h')
-rw-r--r-- | arch/s390/include/asm/tlbflush.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/include/asm/tlbflush.h b/arch/s390/include/asm/tlbflush.h index 39846100682a..38d82ed60345 100644 --- a/arch/s390/include/asm/tlbflush.h +++ b/arch/s390/include/asm/tlbflush.h @@ -20,10 +20,13 @@ static inline void __tlb_flush_local(void) */ static inline void __tlb_flush_idte(unsigned long asce) { + unsigned long opt; + + opt = IDTE_PTOA; /* Global TLB flush for the mm */ asm volatile( " .insn rrf,0xb98e0000,0,%0,%1,0" - : : "a" (2048), "a" (asce) : "cc"); + : : "a" (opt), "a" (asce) : "cc"); } #ifdef CONFIG_SMP |