Searched refs:asid_cache (Results 1 - 15 of 15) sorted by relevance

/linux-master/arch/sh/include/asm/
H A Dmmu_context.h37 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
57 unsigned long asid = asid_cache(cpu);
80 cpu_context(cpu, mm) = asid_cache(cpu) = asid;
153 if (asid_cache(cpu) == NO_CONTEXT)
154 asid_cache(cpu) = MMU_CONTEXT_FIRST_VERSION;
156 set_asid(asid_cache(cpu) & MMU_CONTEXT_ASID_MASK);
H A Dprocessor.h75 unsigned long asid_cache; member in struct:sh_cpuinfo
/linux-master/arch/loongarch/include/asm/
H A Dmmu_context.h35 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
40 if ((cpu_context(cpu, mm) ^ asid_cache(cpu)) & asid_version_mask(cpu))
54 u64 asid = asid_cache(cpu);
59 cpu_context(cpu, mm) = asid_cache(cpu) = asid;
H A Dcpu-info.h36 u64 asid_cache; member in struct:cpuinfo_loongarch
/linux-master/arch/mips/mm/
H A Dcontext.c34 asid = asid_cache(cpu);
43 asid_cache(cpu) = asid;
59 if (!asid_versions_eq(cpu, cpu_context(cpu, mm), asid_cache(cpu)))
76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0);
197 * asid_cache with a relaxed cmpxchg. Racing with a concurrent rollover
210 old_active_mmid = READ_ONCE(cpu_data[cpu].asid_cache);
213 !cmpxchg_relaxed(&cpu_data[cpu].asid_cache, old_active_mmid, ctx)) {
220 WRITE_ONCE(cpu_data[cpu].asid_cache, ctx);
/linux-master/arch/arc/include/asm/
H A Dmmu_context.h52 DECLARE_PER_CPU(unsigned int, asid_cache);
53 #define asid_cpu(cpu) per_cpu(asid_cache, cpu)
/linux-master/arch/xtensa/include/asm/
H A Dmmu_context.h34 DECLARE_PER_CPU(unsigned long, asid_cache);
35 #define cpu_asid_cache(cpu) per_cpu(asid_cache, cpu)
/linux-master/arch/csky/include/asm/
H A Dprocessor.h18 unsigned long asid_cache; member in struct:cpuinfo_csky
/linux-master/arch/mips/include/asm/
H A Dmmu_context.h123 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
H A Dcpu-info.h53 u64 asid_cache; member in struct:cpuinfo_mips
/linux-master/arch/xtensa/mm/
H A Dmmu.c21 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
/linux-master/arch/sh/kernel/cpu/
H A Dinit.c342 current_cpu_data.asid_cache = NO_CONTEXT;
/linux-master/arch/arc/mm/
H A Dtlb.c18 /* A copy of the ASID from the PID reg is kept in asid_cache */
19 DEFINE_PER_CPU(unsigned int, asid_cache) = MM_CTXT_FIRST_CYCLE;
/linux-master/arch/loongarch/kernel/
H A Dtraps.c1129 if (!cpu_data[cpu].asid_cache)
1130 cpu_data[cpu].asid_cache = asid_first_version(cpu);
/linux-master/arch/mips/kernel/
H A Dtraps.c2264 cpu_data[cpu].asid_cache = 0;
2265 else if (!cpu_data[cpu].asid_cache)
2266 cpu_data[cpu].asid_cache = asid_first_version(cpu);

Completed in 162 milliseconds