Home
last modified time | relevance | path

Searched refs:cpu_asid (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/arch/loongarch/include/asm/
H A Dmmu_context.h36 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & cpu_asid_mask(&cpu_data[cpu])) macro
86 write_csr_asid(cpu_asid(cpu, next)); in switch_mm_irqs_off()
137 if (asid == cpu_asid(cpu, mm)) { in drop_mmu_context()
140 write_csr_asid(cpu_asid(cpu, mm)); in drop_mmu_context()
/openbmc/linux/arch/sh/include/asm/
H A Dmmu_context.h42 #define cpu_asid(cpu, mm) \ macro
106 set_asid(cpu_asid(cpu, mm)); in activate_context()
130 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; }) macro
/openbmc/linux/arch/csky/mm/
H A Dtlb.c32 : "r" (cpu_asid(mm)) in flush_tlb_mm()
55 unsigned long newpid = cpu_asid(vma->vm_mm); in flush_tlb_range()
137 int newpid = cpu_asid(vma->vm_mm); in flush_tlb_page()
/openbmc/linux/arch/sh/mm/
H A Dtlbflush_32.c24 asid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page()
59 asid = cpu_asid(cpu, mm); in local_flush_tlb_range()
92 asid = cpu_asid(cpu, &init_mm); in local_flush_tlb_kernel_range()
H A Dasids-debugfs.c43 cpu_asid(smp_processor_id(), p->mm)); in asids_debugfs_show()
/openbmc/linux/arch/mips/include/asm/
H A Dmmu_context.h124 #define cpu_asid(cpu, mm) \ macro
225 write_c0_entryhi(cpu_asid(cpu, mm)); in drop_mmu_context()
/openbmc/linux/arch/csky/include/asm/
H A Dmmu_context.h17 #define cpu_asid(mm) (atomic64_read(&mm->context.asid) & ASID_MASK) macro
/openbmc/linux/arch/mips/kernel/
H A Dpm.c45 write_c0_entryhi(cpu_asid(cpu, current->mm)); in mips_cpu_restore()
H A Dsmp.c590 write_c0_memorymapid(cpu_asid(0, mm)); in flush_tlb_range()
662 write_c0_memorymapid(cpu_asid(0, vma->vm_mm)); in flush_tlb_page()
/openbmc/linux/arch/mips/mm/
H A Dtlb-r4k.c123 int newpid = cpu_asid(cpu, mm); in local_flush_tlb_range()
227 write_c0_memorymapid(cpu_asid(cpu, vma->vm_mm)); in local_flush_tlb_page()
229 write_c0_entryhi(page | cpu_asid(cpu, vma->vm_mm)); in local_flush_tlb_page()
H A Dcontext.c187 write_c0_entryhi(cpu_asid(cpu, mm)); in check_switch_mmu_context()
/openbmc/linux/arch/loongarch/mm/
H A Dtlb.c72 int asid = cpu_asid(cpu, mm); in local_flush_tlb_range()
119 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page()
/openbmc/linux/arch/mips/kvm/
H A Dtlb.c47 return cpu_asid(smp_processor_id(), gpa_mm); in kvm_mips_get_root_asid()