]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:26:07 +0000 (04:26 -0400)
commitd61b68dd97bc9e352d5bd8f9947fbd671af40aad
tree1fd606e9f24afd8f4bdcc5496fa5b0ee6749f3e9
parent285debd16d6f2bdf57b5580e8651e70f369633f7
arm64: tlb: Ensure we execute an ISB following walk cache invalidation

BugLink: https://bugs.launchpad.net/bugs/1848046
commit 51696d346c49c6cf4f29e9b20d6e15832a2e3408 upstream.

05f2d2f83b5a ("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: 05f2d2f83b5a ("arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable")
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm64/include/asm/tlbflush.h