Searched refs:asid_cache (Results 1 - 15 of 15) sorted by relevance
/linux-master/arch/sh/include/asm/ |
H A D | mmu_context.h | 37 #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 D | processor.h | 75 unsigned long asid_cache; member in struct:sh_cpuinfo
|
/linux-master/arch/loongarch/include/asm/ |
H A D | mmu_context.h | 35 #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 D | cpu-info.h | 36 u64 asid_cache; member in struct:cpuinfo_loongarch
|
/linux-master/arch/mips/mm/ |
H A D | context.c | 34 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 D | mmu_context.h | 52 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 D | mmu_context.h | 34 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 D | processor.h | 18 unsigned long asid_cache; member in struct:cpuinfo_csky
|
/linux-master/arch/mips/include/asm/ |
H A D | mmu_context.h | 123 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
|
H A D | cpu-info.h | 53 u64 asid_cache; member in struct:cpuinfo_mips
|
/linux-master/arch/xtensa/mm/ |
H A D | mmu.c | 21 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
|
/linux-master/arch/sh/kernel/cpu/ |
H A D | init.c | 342 current_cpu_data.asid_cache = NO_CONTEXT;
|
/linux-master/arch/arc/mm/ |
H A D | tlb.c | 18 /* 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 D | traps.c | 1129 if (!cpu_data[cpu].asid_cache) 1130 cpu_data[cpu].asid_cache = asid_first_version(cpu);
|
/linux-master/arch/mips/kernel/ |
H A D | traps.c | 2264 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