Searched refs:tlb_lo (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/arch/mips/kvm/ |
D | tlb.c | 100 (tlb.tlb_lo[0] | tlb.tlb_lo[1]) & ENTRYLO_V in kvm_mips_dump_guest_tlbs() 104 (u64) mips3_tlbpfn_to_paddr(tlb.tlb_lo[0]), in kvm_mips_dump_guest_tlbs() 105 (tlb.tlb_lo[0] & ENTRYLO_D) ? 'D' : ' ', in kvm_mips_dump_guest_tlbs() 106 (tlb.tlb_lo[0] & ENTRYLO_G) ? 'G' : ' ', in kvm_mips_dump_guest_tlbs() 107 (tlb.tlb_lo[0] & ENTRYLO_C) >> ENTRYLO_C_SHIFT); in kvm_mips_dump_guest_tlbs() 109 (u64) mips3_tlbpfn_to_paddr(tlb.tlb_lo[1]), in kvm_mips_dump_guest_tlbs() 110 (tlb.tlb_lo[1] & ENTRYLO_D) ? 'D' : ' ', in kvm_mips_dump_guest_tlbs() 111 (tlb.tlb_lo[1] & ENTRYLO_G) ? 'G' : ' ', in kvm_mips_dump_guest_tlbs() 112 (tlb.tlb_lo[1] & ENTRYLO_C) >> ENTRYLO_C_SHIFT, in kvm_mips_dump_guest_tlbs() 133 __func__, entryhi, index, tlb[i].tlb_lo[0], tlb[i].tlb_lo[1]); in kvm_mips_guest_tlb_lookup() [all …]
|
D | mmu.c | 1021 long tlb_lo[2]; in kvm_mips_handle_mapped_seg_tlb_fault() local 1026 tlb_lo[0] = tlb->tlb_lo[0]; in kvm_mips_handle_mapped_seg_tlb_fault() 1027 tlb_lo[1] = tlb->tlb_lo[1]; in kvm_mips_handle_mapped_seg_tlb_fault() 1034 tlb_lo[TLB_LO_IDX(*tlb, KVM_GUEST_COMMPAGE_ADDR)] = 0; in kvm_mips_handle_mapped_seg_tlb_fault() 1037 if (kvm_mips_map_page(vcpu, mips3_tlbpfn_to_paddr(tlb_lo[idx]), in kvm_mips_handle_mapped_seg_tlb_fault() 1043 if (tlb_lo[!idx] & ENTRYLO_V) { in kvm_mips_handle_mapped_seg_tlb_fault() 1046 mips3_tlbpfn_to_paddr(tlb_lo[!idx])); in kvm_mips_handle_mapped_seg_tlb_fault() 1060 ptep_gva[0] = kvm_mips_gpa_pte_to_gva_mapped(pte_gpa[0], tlb_lo[0]); in kvm_mips_handle_mapped_seg_tlb_fault() 1061 ptep_gva[1] = kvm_mips_gpa_pte_to_gva_mapped(pte_gpa[1], tlb_lo[1]); in kvm_mips_handle_mapped_seg_tlb_fault() 1067 tlb->tlb_lo[0], tlb->tlb_lo[1]); in kvm_mips_handle_mapped_seg_tlb_fault()
|
D | emulate.c | 1045 kvm_write_c0_guest_entrylo0(cop0, tlb->tlb_lo[0]); in kvm_mips_emul_tlbr() 1046 kvm_write_c0_guest_entrylo1(cop0, tlb->tlb_lo[1]); in kvm_mips_emul_tlbr() 1069 if (!((tlb->tlb_lo[0] | tlb->tlb_lo[1]) & ENTRYLO_V)) in kvm_mips_invalidate_guest_tlb() 1125 tlb->tlb_lo[0] = kvm_read_c0_guest_entrylo0(cop0); in kvm_mips_emul_tlbwi() 1126 tlb->tlb_lo[1] = kvm_read_c0_guest_entrylo1(cop0); in kvm_mips_emul_tlbwi() 1152 tlb->tlb_lo[0] = kvm_read_c0_guest_entrylo0(cop0); in kvm_mips_emul_tlbwr() 1153 tlb->tlb_lo[1] = kvm_read_c0_guest_entrylo1(cop0); in kvm_mips_emul_tlbwr() 3276 tlb->tlb_hi, tlb->tlb_lo[0], tlb->tlb_lo[1]); in kvm_mips_handle_tlbmiss()
|
D | vz.c | 2483 vcpu->arch.wired_tlb[i].tlb_lo[0] = 0; in kvm_vz_vcpu_save_wired() 2484 vcpu->arch.wired_tlb[i].tlb_lo[1] = 0; in kvm_vz_vcpu_save_wired()
|
/Linux-v5.10/arch/mips/include/asm/ |
D | kvm_host.h | 321 #define TLB_IS_GLOBAL(x) ((x).tlb_lo[0] & (x).tlb_lo[1] & ENTRYLO_G) 325 #define TLB_IS_VALID(x, va) ((x).tlb_lo[TLB_LO_IDX(x, va)] & ENTRYLO_V) 326 #define TLB_IS_DIRTY(x, va) ((x).tlb_lo[TLB_LO_IDX(x, va)] & ENTRYLO_D) 335 long tlb_lo[2]; member
|