Lines Matching refs:badvaddr
962 int kvm_mips_handle_vz_root_tlb_fault(unsigned long badvaddr, in kvm_mips_handle_vz_root_tlb_fault() argument
968 ret = kvm_mips_map_page(vcpu, badvaddr, write_fault, NULL, NULL); in kvm_mips_handle_vz_root_tlb_fault()
973 return kvm_vz_host_tlb_inv(vcpu, badvaddr); in kvm_mips_handle_vz_root_tlb_fault()
978 int kvm_mips_handle_kseg0_tlb_fault(unsigned long badvaddr, in kvm_mips_handle_kseg0_tlb_fault() argument
986 if (KVM_GUEST_KSEGX(badvaddr) != KVM_GUEST_KSEG0) { in kvm_mips_handle_kseg0_tlb_fault()
987 kvm_err("%s: Invalid BadVaddr: %#lx\n", __func__, badvaddr); in kvm_mips_handle_kseg0_tlb_fault()
993 gpa = KVM_GUEST_CPHYSADDR(badvaddr); in kvm_mips_handle_kseg0_tlb_fault()
994 idx = (badvaddr >> PAGE_SHIFT) & 1; in kvm_mips_handle_kseg0_tlb_fault()
1000 ptep_gva = kvm_trap_emul_pte_for_gva(vcpu, badvaddr & ~PAGE_SIZE); in kvm_mips_handle_kseg0_tlb_fault()
1002 kvm_err("No ptep for gva %lx\n", badvaddr); in kvm_mips_handle_kseg0_tlb_fault()
1011 kvm_mips_host_tlb_inv(vcpu, badvaddr, false, true); in kvm_mips_handle_kseg0_tlb_fault()
1072 int kvm_mips_handle_commpage_tlb_fault(unsigned long badvaddr, in kvm_mips_handle_commpage_tlb_fault() argument
1078 ptep = kvm_trap_emul_pte_for_gva(vcpu, badvaddr); in kvm_mips_handle_commpage_tlb_fault()
1080 kvm_err("No ptep for commpage %lx\n", badvaddr); in kvm_mips_handle_commpage_tlb_fault()
1089 kvm_mips_host_tlb_inv(vcpu, badvaddr, false, true); in kvm_mips_handle_commpage_tlb_fault()