Home
last modified time | relevance | path

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

/Linux-v5.10/arch/mips/lib/
Dr3k_dump_tlb.c32 unsigned long entryhi, entrylo0, asid_mask; in dump_tlb() local
44 entryhi = read_c0_entryhi(); in dump_tlb()
48 if ((entryhi & PAGE_MASK) != KSEG0 && in dump_tlb()
50 (entryhi & asid_mask) == asid)) { in dump_tlb()
58 entryhi & PAGE_MASK, in dump_tlb()
59 entryhi & asid_mask, in dump_tlb()
Ddump_tlb.c76 unsigned long s_entryhi, entryhi, asid, mmid; in dump_tlb() local
111 entryhi = read_c0_entryhi(); in dump_tlb()
118 mmid = entryhi & asidmask; in dump_tlb()
124 if (cpu_has_tlbinv && entryhi & MIPS_ENTRYHI_EHINV) in dump_tlb()
130 if ((entryhi & ~0x1ffffUL) == CKSEG0) in dump_tlb()
151 vwidth, (entryhi & ~0x1fffUL), in dump_tlb()
/Linux-v5.10/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.10/arch/mips/mm/
Dtlb-r3k.c220 unsigned long entryhi, unsigned long pagemask) in add_wired_entry() argument
233 entrylo0, entryhi, pagemask); in add_wired_entry()
244 write_c0_entryhi(entryhi); in add_wired_entry()
257 entrylo0, entryhi); in add_wired_entry()
263 write_c0_entryhi(entryhi); in add_wired_entry()
Dtlb-r4k.c380 unsigned long entryhi, unsigned long pagemask) in add_wired_entry() argument
405 write_c0_entryhi(entryhi); in add_wired_entry()
454 unsigned long entryhi, unsigned long pagemask) in add_temporary_entry() argument
477 write_c0_entryhi(entryhi); in add_temporary_entry()
/Linux-v5.10/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()
2425 unsigned long entryhi = (vcpu->arch. host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbmiss_ld() local
2457 kvm_write_c0_guest_entryhi(cop0, entryhi); in kvm_mips_emulate_tlbmiss_ld()
2468 unsigned long entryhi = in kvm_mips_emulate_tlbinv_ld() local
2498 kvm_write_c0_guest_entryhi(cop0, entryhi); in kvm_mips_emulate_tlbinv_ld()
[all …]
Dtrap_emul.c192 unsigned long entryhi; in kvm_trap_emul_handle_tlb_mod() local
202 entryhi = (badvaddr & VPN2_MASK) | in kvm_trap_emul_handle_tlb_mod()
204 index = kvm_mips_guest_tlb_lookup(vcpu, entryhi); in kvm_trap_emul_handle_tlb_mod()
/Linux-v5.10/arch/mips/include/asm/
Dtlbmisc.h9 unsigned long entryhi, unsigned long pagemask);
Dkvm_host.h732 __BUILD_KVM_RW_HW(entryhi, l, MIPS_CP0_TLB_HI, 0)
907 extern int kvm_mips_host_tlb_inv(struct kvm_vcpu *vcpu, unsigned long entryhi,
911 unsigned long entryhi);
914 int kvm_vz_host_tlb_inv(struct kvm_vcpu *vcpu, unsigned long entryhi);
Dpgtable-32.h53 unsigned long entryhi, unsigned long pagemask);
/Linux-v5.10/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()