Skip to content

Commit 4d73a9c

Browse files
rananta468Marc Zyngier
authored andcommitted
arm64: tlb: Implement __flush_s2_tlb_range_op()
Define __flush_s2_tlb_range_op(), as a wrapper over __flush_tlb_range_op(), for stage-2 specific range-based TLBI operations that doesn't necessarily have to deal with 'asid' and 'tlbi_user' arguments. Signed-off-by: Raghavendra Rao Ananta <[email protected]> Reviewed-by: Shaoqin Huang <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 3608390 commit 4d73a9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/arm64/include/asm/tlbflush.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,9 @@ do { \
340340
} \
341341
} while (0)
342342

343+
#define __flush_s2_tlb_range_op(op, start, pages, stride, tlb_level) \
344+
__flush_tlb_range_op(op, start, pages, stride, 0, tlb_level, false)
345+
343346
static inline void __flush_tlb_range(struct vm_area_struct *vma,
344347
unsigned long start, unsigned long end,
345348
unsigned long stride, bool last_level,

0 commit comments

Comments
 (0)