Lines Matching full:asid
22 * as a software asid extension.
34 #define cpu_context(cpu, mm) ((mm)->context.asid[cpu])
54 u64 asid = asid_cache(cpu); in get_new_mmu_context() local
56 if (!((++asid) & cpu_asid_mask(&cpu_data[cpu]))) in get_new_mmu_context()
57 *need_flush = true; /* start new asid cycle */ in get_new_mmu_context()
59 cpu_context(cpu, mm) = asid_cache(cpu) = asid; in get_new_mmu_context()
77 static inline void atomic_update_pgd_asid(unsigned long asid, unsigned long pgdl) in atomic_update_pgd_asid() argument
82 : [asid_val] "+r" (asid), [pgdl_val] "+r" (pgdl) in atomic_update_pgd_asid()
94 /* Check if our ASID is of an older version and thus invalid */ in switch_mm_irqs_off()
104 local_flush_tlb_user(); /* Flush tlb after update ASID */ in switch_mm_irqs_off()
143 int asid; in drop_mmu_context() local
148 asid = read_csr_asid() & cpu_asid_mask(¤t_cpu_data); in drop_mmu_context()
150 if (asid == cpu_asid(cpu, mm)) { in drop_mmu_context()
158 local_flush_tlb_user(); /* Flush tlb after update ASID */ in drop_mmu_context()