Home
last modified time | relevance | path

Searched refs:entryhi (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/arch/mips/lib/
Dr3k_dump_tlb.c33 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()
Ddump_tlb.c77 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/
Dkn01-berr.c79 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/
Dtlb-r3k.c221 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()
Dtlb-r4k.c379 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/
Dtlb.c118 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()
Demulate.c995 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 …]
Dtrap_emul.c196 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/
Dtlbmisc.h9 unsigned long entryhi, unsigned long pagemask);
Dkvm_host.h701 __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);
Dpgtable-32.h54 unsigned long entryhi, unsigned long pagemask);
/Linux-v5.4/arch/mips/pci/
Dpci-alchemy.c73 unsigned long entrylo1, unsigned long entryhi, in mod_wired_entry() argument
84 write_c0_entryhi(entryhi); in mod_wired_entry()