projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f3394
)
arm64: tlb: Use last-level invalidation in flush_tlb_kernel_range()
author
Will Deacon
<will.deacon@arm.com>
Wed, 22 Aug 2018 20:23:05 +0000
(21:23 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Tue, 11 Sep 2018 15:49:10 +0000
(16:49 +0100)
flush_tlb_kernel_range() is only ever used to invalidate last-level
entries, so we can restrict the scope of the TLB invalidation
instruction.
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/tlbflush.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/tlbflush.h
b/arch/arm64/include/asm/tlbflush.h
index a4a1901140ee98d21863f4f2978a7b627c5d0014..7e2a35424ca4176471e771ae9e0aa8cda8f8de5f 100644
(file)
--- a/
arch/arm64/include/asm/tlbflush.h
+++ b/
arch/arm64/include/asm/tlbflush.h
@@
-199,7
+199,7
@@
static inline void flush_tlb_kernel_range(unsigned long start, unsigned long end
dsb(ishst);
for (addr = start; addr < end; addr += 1 << (PAGE_SHIFT - 12))
- __tlbi(vaae1is, addr);
+ __tlbi(vaa
l
e1is, addr);
dsb(ish);
isb();
}