arm64: tlb: Use last-level invalidation in flush_tlb_kernel_range()
authorWill Deacon <will.deacon@arm.com>
Wed, 22 Aug 2018 20:23:05 +0000 (21:23 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 11 Sep 2018 15:49:10 +0000 (16:49 +0100)
commit6899a4c82faf9b41bbddf330651a4d1155f8b64e
treee6705ba5baaede1a06a07f0a43f463d39c33a0e7
parenta1f33941f7e103bcf471eaf8461b212223c642d6
arm64: tlb: Use last-level invalidation in flush_tlb_kernel_range()

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