Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/arch/csky/mm/
Dtlb.c78 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_range()
118 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_kernel_range()
155 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_page()
186 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()
/linux-6.1.9/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()
/linux-6.1.9/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))
/linux-6.1.9/arch/csky/include/asm/
Dmmu_context.h16 #define ASID_MASK ((1 << CONFIG_CPU_ASID_BITS) - 1) macro
17 #define cpu_asid(mm) (atomic64_read(&mm->context.asid) & ASID_MASK)
/linux-6.1.9/arch/xtensa/mm/
Dtlb.c237 unsigned mm_asid = (get_rasid_register() >> 8) & ASID_MASK; in check_tlb_entry()
238 unsigned tlb_asid = r0 & ASID_MASK; in check_tlb_entry()
/linux-6.1.9/arch/arm64/mm/
Dcontext.c34 #define ASID_MASK (~GENMASK(asid_bits - 1, 0)) macro
38 #define ctxid2asid(asid) ((asid) & ~ASID_MASK)