Home
last modified time | relevance | path

Searched refs:ASID_MASK (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dmmu_context.h51 #define ASID_MASK ((1 << XCHAL_MMU_ASID_BITS) - 1) macro
52 #define ASID_INSERT(x) (0x03020001 | (((x) & ASID_MASK) << 8))
73 if ((++asid & ASID_MASK) == 0) { in get_new_mmu_context()
96 ((asid ^ cpu_asid_cache(cpu)) & ~ASID_MASK)) in get_mmu_context()
/kernel/linux/linux-5.10/arch/csky/mm/
Dtlb.c66 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_range()
100 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_kernel_range()
132 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_page()
158 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_one()
Dasid.c18 #define ASID_MASK(info) (~GENMASK((info)->bits - 1, 0)) macro
21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift)
22 #define idx2asid(info, idx) (((idx) << (info)->ctxt_shift) & ~ASID_MASK(info))
87 u64 newasid = generation | (asid & ~ASID_MASK(info)); in new_context()
/kernel/linux/linux-5.10/arch/arm/mm/
Dcontext.c119 : "I" (~ASID_MASK)); in contextidr_notifier()
154 __set_bit(asid & ~ASID_MASK, asid_map); in flush_context()
196 u64 newasid = generation | (asid & ~ASID_MASK); in new_context()
209 asid &= ~ASID_MASK; in new_context()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dmmu.h26 #define ASID_MASK ((~0ULL) << ASID_BITS) macro
27 #define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK))
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dmmu_context.h23 #define ASID_MASK ((1 << CONFIG_CPU_ASID_BITS) - 1) macro
24 #define cpu_asid(mm) (atomic64_read(&mm->context.asid) & ASID_MASK)
/kernel/linux/linux-5.10/arch/arm64/mm/
Dcontext.c34 #define ASID_MASK (~GENMASK(asid_bits - 1, 0)) macro
38 #define asid2idx(asid) ((asid) & ~ASID_MASK)
165 u64 newasid = generation | (asid & ~ASID_MASK); in new_context()
309 asid &= ~ASID_MASK; in arm64_mm_context_get()
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dtlb.c231 unsigned mm_asid = (get_rasid_register() >> 8) & ASID_MASK; in check_tlb_entry()
232 unsigned tlb_asid = r0 & ASID_MASK; in check_tlb_entry()