mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable
Add an interface to invalidate intermediate page tables from TLB for kernel. Acked-by: Will Deacon <[email protected]> Signed-off-by: Chintan Pandya <[email protected]> Signed-off-by: Will Deacon <[email protected]>
This commit is contained in:
committed by
Will Deacon
parent
f355152041
commit
05f2d2f83b
@@ -218,6 +218,13 @@ static inline void __flush_tlb_pgtable(struct mm_struct *mm,
|
||||
dsb(ish);
|
||||
}
|
||||
|
||||
static inline void __flush_tlb_kernel_pgtable(unsigned long kaddr)
|
||||
{
|
||||
unsigned long addr = __TLBI_VADDR(kaddr, 0);
|
||||
|
||||
__tlbi(vaae1is, addr);
|
||||
dsb(ish);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user