diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-26 17:00:22 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-07-25 07:55:33 +0300 |
commit | 28c807e5132ecc9f1607461eabfa1fc67b21e163 (patch) | |
tree | 43efe509f54607e0dcee7d00a7c143607f3848bc /arch/s390/include/asm/tlbflush.h | |
parent | 118bd31bea2cdb7f1dbf22dd9a58e818b5313156 (diff) | |
download | linux-28c807e5132ecc9f1607461eabfa1fc67b21e163.tar.xz |
s390/mm: add guest ASCE 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/tlbflush.h b/arch/s390/include/asm/tlbflush.h index 38d82ed60345..4d759f8f4bc7 100644 --- a/arch/s390/include/asm/tlbflush.h +++ b/arch/s390/include/asm/tlbflush.h @@ -23,6 +23,8 @@ static inline void __tlb_flush_idte(unsigned long asce) unsigned long opt; opt = IDTE_PTOA; + if (MACHINE_HAS_TLB_GUEST) + opt |= IDTE_GUEST_ASCE; /* Global TLB flush for the mm */ asm volatile( " .insn rrf,0xb98e0000,0,%0,%1,0" |