Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: tlb: remove redundant barrier from __flush_tlb_pgtable

__flush_tlb_pgtable is used to invalidate intermediate page table
entries after they have been cleared and are about to be freed. Since
pXd_clear imply memory barriers, we don't need the extra one here.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

authored by

Will Deacon and committed by
Catalin Marinas
28c6fbc3 38d96287

-1
-1
arch/arm64/include/asm/tlbflush.h
··· 163 163 { 164 164 unsigned long addr = uaddr >> 12 | (ASID(mm) << 48); 165 165 166 - dsb(ishst); 167 166 asm("tlbi vae1is, %0" : : "r" (addr)); 168 167 dsb(ish); 169 168 }