]> 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)
commit9dfc4fde6f53b665c9c593e7b6823d7c5d7ea19b
treebc6dd47bd4a105654b6fd8821e513cf22b7e698e
parent9da566d4e314f415f7d05e1b10e15839bc872d04
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