/Linux-v5.4/arch/mips/lib/ |
D | r3k_dump_tlb.c | 33 unsigned long entryhi, entrylo0, asid_mask; in dump_tlb() local 45 entryhi = read_c0_entryhi(); in dump_tlb() 49 if ((entryhi & PAGE_MASK) != KSEG0 && in dump_tlb() 51 (entryhi & asid_mask) == asid)) { in dump_tlb() 59 entryhi & PAGE_MASK, in dump_tlb() 60 entryhi & asid_mask, in dump_tlb()
|
D | dump_tlb.c | 77 unsigned long s_entryhi, entryhi, asid, mmid; in dump_tlb() local 112 entryhi = read_c0_entryhi(); in dump_tlb() 119 mmid = entryhi & asidmask; in dump_tlb() 125 if (cpu_has_tlbinv && entryhi & MIPS_ENTRYHI_EHINV) in dump_tlb() 131 if ((entryhi & ~0x1ffffUL) == CKSEG0) in dump_tlb() 152 vwidth, (entryhi & ~0x1fffUL), in dump_tlb()
|
/Linux-v5.4/arch/mips/dec/ |
D | kn01-berr.c | 79 long asid, entryhi, vaddr; in dec_kn01_be_backend() local 110 entryhi = asid & (PAGE_SIZE - 1); in dec_kn01_be_backend() 111 entryhi |= vaddr & ~(PAGE_SIZE - 1); in dec_kn01_be_backend() 112 write_c0_entryhi(entryhi); in dec_kn01_be_backend()
|
/Linux-v5.4/arch/mips/mm/ |
D | tlb-r3k.c | 221 unsigned long entryhi, unsigned long pagemask) in add_wired_entry() argument 234 entrylo0, entryhi, pagemask); in add_wired_entry() 245 write_c0_entryhi(entryhi); in add_wired_entry() 258 entrylo0, entryhi); in add_wired_entry() 264 write_c0_entryhi(entryhi); in add_wired_entry()
|
D | tlb-r4k.c | 379 unsigned long entryhi, unsigned long pagemask) in add_wired_entry() argument 404 write_c0_entryhi(entryhi); in add_wired_entry() 452 unsigned long entryhi, unsigned long pagemask) in add_temporary_entry() argument 475 write_c0_entryhi(entryhi); in add_temporary_entry()
|
/Linux-v5.4/arch/mips/kvm/ |
D | tlb.c | 118 int kvm_mips_guest_tlb_lookup(struct kvm_vcpu *vcpu, unsigned long entryhi) in kvm_mips_guest_tlb_lookup() argument 125 if (TLB_HI_VPN2_HIT(tlb[i], entryhi) && in kvm_mips_guest_tlb_lookup() 126 TLB_HI_ASID_HIT(tlb[i], entryhi)) { in kvm_mips_guest_tlb_lookup() 133 __func__, entryhi, index, tlb[i].tlb_lo[0], tlb[i].tlb_lo[1]); in kvm_mips_guest_tlb_lookup() 139 static int _kvm_mips_host_tlb_inv(unsigned long entryhi) in _kvm_mips_host_tlb_inv() argument 143 write_c0_entryhi(entryhi); in _kvm_mips_host_tlb_inv()
|
D | emulate.c | 995 unsigned long entryhi) in kvm_mips_change_entryhi() argument 1000 u32 nasid = entryhi & KVM_ENTRYHI_ASID; in kvm_mips_change_entryhi() 1026 kvm_write_c0_guest_entryhi(cop0, entryhi); in kvm_mips_change_entryhi() 1166 long entryhi = kvm_read_c0_guest_entryhi(cop0); in kvm_mips_emul_tlbp() local 1170 index = kvm_mips_guest_tlb_lookup(vcpu, entryhi); in kvm_mips_emul_tlbp() 1174 kvm_debug("[%#lx] COP0_TLBP (entryhi: %#lx), index: %d\n", pc, entryhi, in kvm_mips_emul_tlbp() 2043 unsigned long entryhi = (vcpu->arch. host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbmiss_ld() local 2075 kvm_write_c0_guest_entryhi(cop0, entryhi); in kvm_mips_emulate_tlbmiss_ld() 2087 unsigned long entryhi = in kvm_mips_emulate_tlbinv_ld() local 2117 kvm_write_c0_guest_entryhi(cop0, entryhi); in kvm_mips_emulate_tlbinv_ld() [all …]
|
D | trap_emul.c | 196 unsigned long entryhi; in kvm_trap_emul_handle_tlb_mod() local 206 entryhi = (badvaddr & VPN2_MASK) | in kvm_trap_emul_handle_tlb_mod() 208 index = kvm_mips_guest_tlb_lookup(vcpu, entryhi); in kvm_trap_emul_handle_tlb_mod()
|
/Linux-v5.4/arch/mips/include/asm/ |
D | tlbmisc.h | 9 unsigned long entryhi, unsigned long pagemask);
|
D | kvm_host.h | 701 __BUILD_KVM_RW_HW(entryhi, l, MIPS_CP0_TLB_HI, 0) 877 extern int kvm_mips_host_tlb_inv(struct kvm_vcpu *vcpu, unsigned long entryhi, 881 unsigned long entryhi); 884 int kvm_vz_host_tlb_inv(struct kvm_vcpu *vcpu, unsigned long entryhi);
|
D | pgtable-32.h | 54 unsigned long entryhi, unsigned long pagemask);
|
/Linux-v5.4/arch/mips/pci/ |
D | pci-alchemy.c | 73 unsigned long entrylo1, unsigned long entryhi, in mod_wired_entry() argument 84 write_c0_entryhi(entryhi); in mod_wired_entry()
|