Home
last modified time | relevance | path

Searched refs:asid_mask (Results 1 – 6 of 6) sorted by relevance

/arch/mips/mm/
Dtlb-r3k.c85 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data); in local_flush_tlb_range() local
94 cpu_context(cpu, mm) & asid_mask, start, end); in local_flush_tlb_range()
99 int oldpid = read_c0_entryhi() & asid_mask; in local_flush_tlb_range()
100 int newpid = cpu_context(cpu, mm) & asid_mask; in local_flush_tlb_range()
164 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data); in local_flush_tlb_page() local
174 newpid = cpu_context(cpu, vma->vm_mm) & asid_mask; in local_flush_tlb_page()
177 oldpid = read_c0_entryhi() & asid_mask; in local_flush_tlb_page()
196 unsigned long asid_mask = cpu_asid_mask(&current_cpu_data); in __update_tlb() local
206 pid = read_c0_entryhi() & asid_mask; in __update_tlb()
209 if ((pid != (cpu_context(cpu, vma->vm_mm) & asid_mask)) || (cpu_context(cpu, vma->vm_mm) == 0)) { in __update_tlb()
[all …]
/arch/mips/lib/
Dr3k_dump_tlb.c33 unsigned long entryhi, entrylo0, asid_mask; in dump_tlb() local
35 asid_mask = cpu_asid_mask(&current_cpu_data); in dump_tlb()
36 asid = read_c0_entryhi() & asid_mask; in dump_tlb()
51 (entryhi & asid_mask) == asid)) { in dump_tlb()
60 entryhi & asid_mask, in dump_tlb()
/arch/mips/include/asm/
Dcpu-info.h55 unsigned long asid_mask; member
197 return cpuinfo->asid_mask; in cpu_asid_mask()
203 unsigned long asid_mask) in set_cpu_asid_mask() argument
206 cpuinfo->asid_mask = asid_mask; in set_cpu_asid_mask()
Dmmu_context.h80 unsigned long asid_mask = cpu_asid_mask(&cpu_data[cpu]); in asid_version_mask() local
82 return ~(u64)(asid_mask | (asid_mask - 1)); in asid_version_mask()
/arch/mips/kernel/
Dcpu-probe.c752 unsigned long asid_mask; in decode_config4() local
815 asid_mask = MIPS_ENTRYHI_ASID; in decode_config4()
817 asid_mask |= MIPS_ENTRYHI_ASIDX; in decode_config4()
818 set_cpu_asid_mask(c, asid_mask); in decode_config4()
825 WARN_ON(asid_mask != cpu_asid_mask(c)); in decode_config4()
/arch/mips/kvm/
Dentry.c398 UASM_i_LA_mostly(&p, AT, (long)&cpu_data[0].asid_mask); in kvm_mips_build_enter_guest()
400 UASM_i_LW(&p, T2, uasm_rel_lo((long)&cpu_data[0].asid_mask), AT); in kvm_mips_build_enter_guest()