/Linux-v5.10/arch/mips/lib/ |
D | r3k_dump_tlb.c | 32 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()
|
D | dump_tlb.c | 76 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/ |
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.10/arch/mips/mm/ |
D | tlb-r3k.c | 220 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()
|
D | tlb-r4k.c | 380 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/ |
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() 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 …]
|
D | trap_emul.c | 192 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/ |
D | tlbmisc.h | 9 unsigned long entryhi, unsigned long pagemask);
|
D | kvm_host.h | 732 __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);
|
D | pgtable-32.h | 53 unsigned long entryhi, unsigned long pagemask);
|
/Linux-v5.10/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()
|