]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: tlb: Add DSB ISHST prior to TLBI in __flush_tlb_[kernel_]pgtable()
authorWill Deacon <will.deacon@arm.com>
Wed, 22 Aug 2018 20:40:30 +0000 (21:40 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 11 Sep 2018 15:49:10 +0000 (16:49 +0100)
commit9ebcdfa08b56b35e6dbe65caf74381dbd31cb438
treebc6dd47bd4a105654b6fd8821e513cf22b7e698e
parent0141dd7b142024e3393d4163aefc2c5a391d3846
arm64: tlb: Add DSB ISHST prior to TLBI in __flush_tlb_[kernel_]pgtable()

__flush_tlb_[kernel_]pgtable() rely on set_pXd() having a DSB after
writing the new table entry and therefore avoid the barrier prior to the
TLBI instruction.

In preparation for delaying our walk-cache invalidation on the unmap()
path, move the DSB into the TLB invalidation routines.

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