]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: tlb: Ensure we execute an ISB following walk cache invalidation
authorWill Deacon <will@kernel.org>
Thu, 22 Aug 2019 14:03:45 +0000 (15:03 +0100)
committerWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 16:38:26 +0000 (17:38 +0100)
commit3722189f577b661d02d8692a016bba8ebbf44411
tree108f92a17d8490fc6c0d895204f58d1576ce56d8
parent30cb8c4dd35f19d9c65ccf3a32307944e6e8f059
arm64: tlb: Ensure we execute an ISB following walk cache invalidation

0fcf81612dbb ("arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable")
added a new TLB invalidation helper which is used when freeing
intermediate levels of page table used for kernel mappings, but is
missing the required ISB instruction after completion of the TLBI
instruction.

Add the missing barrier.

Cc: <stable@vger.kernel.org>
Fixes: 0fcf81612dbb ("arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable")
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/tlbflush.h