Home
last modified time | relevance | path

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

/Linux-v4.19/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.c76 unsigned long s_entryhi, entryhi, asid; in dump_tlb() local
105 entryhi = read_c0_entryhi(); in dump_tlb()
112 if (cpu_has_tlbinv && entryhi & MIPS_ENTRYHI_EHINV) in dump_tlb()
118 if ((entryhi & ~0x1ffffUL) == CKSEG0) in dump_tlb()
128 (entryhi & asidmask) != asid) in dump_tlb()
140 vwidth, (entryhi & ~0x1fffUL), in dump_tlb()
141 asidwidth, entryhi & asidmask); in dump_tlb()
/Linux-v4.19/arch/mips/dec/
Dkn01-berr.c83 long asid, entryhi, vaddr; in dec_kn01_be_backend() local
114 entryhi = asid & (PAGE_SIZE - 1); in dec_kn01_be_backend()
115 entryhi |= vaddr & ~(PAGE_SIZE - 1); in dec_kn01_be_backend()
116 write_c0_entryhi(entryhi); in dec_kn01_be_backend()
/Linux-v4.19/arch/mips/mm/
Dtlb-r3k.c233 unsigned long entryhi, unsigned long pagemask) in add_wired_entry() argument
246 entrylo0, entryhi, pagemask); in add_wired_entry()
257 write_c0_entryhi(entryhi); in add_wired_entry()
270 entrylo0, entryhi); in add_wired_entry()
276 write_c0_entryhi(entryhi); in add_wired_entry()
Dtlb-r4k.c373 unsigned long entryhi, unsigned long pagemask) in add_wired_entry() argument
393 write_c0_entryhi(entryhi); in add_wired_entry()
439 unsigned long entryhi, unsigned long pagemask) in add_temporary_entry() argument
462 write_c0_entryhi(entryhi); in add_temporary_entry()
/Linux-v4.19/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.c994 unsigned long entryhi) in kvm_mips_change_entryhi() argument
999 u32 nasid = entryhi & KVM_ENTRYHI_ASID; in kvm_mips_change_entryhi()
1025 kvm_write_c0_guest_entryhi(cop0, entryhi); in kvm_mips_change_entryhi()
1167 long entryhi = kvm_read_c0_guest_entryhi(cop0); in kvm_mips_emul_tlbp() local
1171 index = kvm_mips_guest_tlb_lookup(vcpu, entryhi); in kvm_mips_emul_tlbp()
1175 kvm_debug("[%#lx] COP0_TLBP (entryhi: %#lx), index: %d\n", pc, entryhi, in kvm_mips_emul_tlbp()
2044 unsigned long entryhi = (vcpu->arch. host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbmiss_ld() local
2076 kvm_write_c0_guest_entryhi(cop0, entryhi); in kvm_mips_emulate_tlbmiss_ld()
2088 unsigned long entryhi = in kvm_mips_emulate_tlbinv_ld() local
2118 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-v4.19/arch/mips/include/asm/
Dtlbmisc.h9 unsigned long entryhi, unsigned long pagemask);
Dkvm_host.h698 __BUILD_KVM_RW_HW(entryhi, l, MIPS_CP0_TLB_HI, 0)
874 extern int kvm_mips_host_tlb_inv(struct kvm_vcpu *vcpu, unsigned long entryhi,
878 unsigned long entryhi);
881 int kvm_vz_host_tlb_inv(struct kvm_vcpu *vcpu, unsigned long entryhi);
Dpgtable-32.h36 unsigned long entryhi, unsigned long pagemask);
/Linux-v4.19/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()