Searched refs:asid_mask (Results 1 – 7 of 7) sorted by relevance
/arch/mips/mm/ |
D | tlb-r3k.c | 84 unsigned long asid_mask = cpu_asid_mask(¤t_cpu_data); in local_flush_tlb_range() local 93 cpu_context(cpu, mm) & asid_mask, start, end); in local_flush_tlb_range() 98 int oldpid = read_c0_entryhi() & asid_mask; in local_flush_tlb_range() 99 int newpid = cpu_context(cpu, mm) & asid_mask; in local_flush_tlb_range() 163 unsigned long asid_mask = cpu_asid_mask(¤t_cpu_data); in local_flush_tlb_page() local 173 newpid = cpu_context(cpu, vma->vm_mm) & asid_mask; in local_flush_tlb_page() 176 oldpid = read_c0_entryhi() & asid_mask; in local_flush_tlb_page() 195 unsigned long asid_mask = cpu_asid_mask(¤t_cpu_data); in __update_tlb() local 205 pid = read_c0_entryhi() & asid_mask; in __update_tlb() 208 if ((pid != (cpu_context(cpu, vma->vm_mm) & asid_mask)) || (cpu_context(cpu, vma->vm_mm) == 0)) { in __update_tlb() [all …]
|
/arch/mips/lib/ |
D | r3k_dump_tlb.c | 32 unsigned long entryhi, entrylo0, asid_mask; in dump_tlb() local 34 asid_mask = cpu_asid_mask(¤t_cpu_data); in dump_tlb() 35 asid = read_c0_entryhi() & asid_mask; in dump_tlb() 50 (entryhi & asid_mask) == asid)) { in dump_tlb() 59 entryhi & asid_mask, in dump_tlb()
|
/arch/mips/include/asm/ |
D | cpu-info.h | 53 unsigned long asid_mask; member 160 return cpuinfo->asid_mask; in cpu_asid_mask() 166 unsigned long asid_mask) in set_cpu_asid_mask() argument 169 cpuinfo->asid_mask = asid_mask; in set_cpu_asid_mask()
|
D | mmu_context.h | 76 unsigned long asid_mask = cpu_asid_mask(&cpu_data[cpu]); in asid_version_mask() local 78 return ~(asid_mask | (asid_mask - 1)); in asid_version_mask()
|
/arch/mips/kvm/ |
D | mmu.c | 238 unsigned long asid_mask = cpu_asid_mask(&cpu_data[cpu]); in kvm_arch_vcpu_load() local 292 preempt_entryhi & asid_mask); in kvm_arch_vcpu_load() 307 asid_mask); in kvm_arch_vcpu_load() 311 asid_mask); in kvm_arch_vcpu_load()
|
D | entry.c | 308 UASM_i_LA_mostly(&p, AT, (long)&cpu_data[0].asid_mask); in kvm_mips_build_enter_guest() 310 UASM_i_LW(&p, T2, uasm_rel_lo((long)&cpu_data[0].asid_mask), AT); in kvm_mips_build_enter_guest()
|
/arch/mips/kernel/ |
D | cpu-probe.c | 748 unsigned long asid_mask; in decode_config4() local 811 asid_mask = MIPS_ENTRYHI_ASID; in decode_config4() 813 asid_mask |= MIPS_ENTRYHI_ASIDX; in decode_config4() 814 set_cpu_asid_mask(c, asid_mask); in decode_config4() 821 WARN_ON(asid_mask != cpu_asid_mask(c)); in decode_config4()
|