Searched refs:cpu_asid (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | mmu_context.h | 36 #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 D | mmu_context.h | 42 #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 D | tlb.c | 32 : "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 D | tlbflush_32.c | 24 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 D | asids-debugfs.c | 43 cpu_asid(smp_processor_id(), p->mm)); in asids_debugfs_show()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | mmu_context.h | 124 #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 D | mmu_context.h | 17 #define cpu_asid(mm) (atomic64_read(&mm->context.asid) & ASID_MASK) macro
|
/openbmc/linux/arch/mips/kernel/ |
H A D | pm.c | 45 write_c0_entryhi(cpu_asid(cpu, current->mm)); in mips_cpu_restore()
|
H A D | smp.c | 590 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 D | tlb-r4k.c | 123 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 D | context.c | 187 write_c0_entryhi(cpu_asid(cpu, mm)); in check_switch_mmu_context()
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | tlb.c | 72 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 D | tlb.c | 47 return cpu_asid(smp_processor_id(), gpa_mm); in kvm_mips_get_root_asid()
|