Home
last modified time | relevance | path

Searched refs:asid_cache (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/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); in get_mmu_context()
80 cpu_context(cpu, mm) = asid_cache(cpu) = asid; in get_mmu_context()
154 if (asid_cache(cpu) == NO_CONTEXT) in enable_mmu()
155 asid_cache(cpu) = MMU_CONTEXT_FIRST_VERSION; in enable_mmu()
157 set_asid(asid_cache(cpu) & MMU_CONTEXT_ASID_MASK); in enable_mmu()
H A Dprocessor.h76 unsigned long asid_cache; member
/OK3568_Linux_fs/kernel/arch/mips/mm/
H A Dcontext.c34 asid = asid_cache(cpu); in get_new_mmu_context()
43 asid_cache(cpu) = asid; in get_new_mmu_context()
59 if (!asid_versions_eq(cpu, cpu_context(cpu, mm), asid_cache(cpu))) in check_mmu_context()
76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
210 old_active_mmid = READ_ONCE(cpu_data[cpu].asid_cache); in check_switch_mmu_context()
213 !cmpxchg_relaxed(&cpu_data[cpu].asid_cache, old_active_mmid, ctx)) { in check_switch_mmu_context()
220 WRITE_ONCE(cpu_data[cpu].asid_cache, ctx); in check_switch_mmu_context()
/OK3568_Linux_fs/kernel/arch/arc/include/asm/
H A Dmmu_context.h51 DECLARE_PER_CPU(unsigned int, asid_cache);
52 #define asid_cpu(cpu) per_cpu(asid_cache, cpu)
/OK3568_Linux_fs/kernel/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)
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/arch/csky/include/asm/
H A Dprocessor.h20 unsigned long asid_cache; member
/OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/
H A Dinit.c342 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()
/OK3568_Linux_fs/kernel/arch/xtensa/mm/
H A Dfault.c24 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dtraps.c2303 cpu_data[cpu].asid_cache = 0; in per_cpu_trap_init()
2304 else if (!cpu_data[cpu].asid_cache) in per_cpu_trap_init()
2305 cpu_data[cpu].asid_cache = asid_first_version(cpu); in per_cpu_trap_init()
/OK3568_Linux_fs/kernel/arch/arc/mm/
H A Dtlb.c102 DEFINE_PER_CPU(unsigned int, asid_cache) = MM_CTXT_FIRST_CYCLE;