/Linux-v5.10/arch/mips/kvm/ |
D | trap_emul.c | 49 unsigned long badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_trap_emul_no_handler() local 60 exccode, opc, inst, badvaddr, in kvm_trap_emul_no_handler() 189 unsigned long badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_trap_emul_handle_tlb_mod() local 195 if (KVM_GUEST_KSEGX(badvaddr) < KVM_GUEST_KSEG0 in kvm_trap_emul_handle_tlb_mod() 196 || KVM_GUEST_KSEGX(badvaddr) == KVM_GUEST_KSEG23) { in kvm_trap_emul_handle_tlb_mod() 202 entryhi = (badvaddr & VPN2_MASK) | in kvm_trap_emul_handle_tlb_mod() 215 if (unlikely(!TLB_IS_VALID(*tlb, badvaddr))) { in kvm_trap_emul_handle_tlb_mod() 224 if (!TLB_IS_DIRTY(*tlb, badvaddr)) { in kvm_trap_emul_handle_tlb_mod() 229 if (kvm_mips_handle_mapped_seg_tlb_fault(vcpu, tlb, badvaddr, in kvm_trap_emul_handle_tlb_mod() 234 } else if (KVM_GUEST_KSEGX(badvaddr) == KVM_GUEST_KSEG0) { in kvm_trap_emul_handle_tlb_mod() [all …]
|
D | mmu.c | 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() [all …]
|
D | trace.h | 319 __field(unsigned long, badvaddr) 327 __entry->badvaddr = kvm_read_c0_guest_badvaddr(vcpu->arch.cop0); 337 __entry->badvaddr),
|
D | vz.c | 798 static int kvm_vz_badvaddr_to_gpa(struct kvm_vcpu *vcpu, unsigned long badvaddr, in kvm_vz_badvaddr_to_gpa() argument 806 *gpa = badvaddr; in kvm_vz_badvaddr_to_gpa() 816 return kvm_vz_gva_to_gpa(vcpu, badvaddr, gpa); in kvm_vz_badvaddr_to_gpa() 824 unsigned long badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_trap_vz_no_handler() local 835 exccode, opc, inst, badvaddr, in kvm_trap_vz_no_handler() 1624 ulong badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_trap_vz_handle_tlb_ld_miss() local 1629 if (kvm_mips_handle_vz_root_tlb_fault(badvaddr, vcpu, false)) { in kvm_trap_vz_handle_tlb_ld_miss() 1649 opc, badvaddr); in kvm_trap_vz_handle_tlb_ld_miss() 1671 ulong badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_trap_vz_handle_tlb_st_miss() local 1678 if (kvm_vz_badvaddr_to_gpa(vcpu, badvaddr, &badvaddr)) in kvm_trap_vz_handle_tlb_st_miss() [all …]
|
D | emulate.c | 3133 unsigned long badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_mips_check_privilege() local 3162 if (badvaddr >= (unsigned long) KVM_GUEST_KSEG0) { in kvm_mips_check_privilege() 3164 badvaddr); in kvm_mips_check_privilege() 3176 if (badvaddr >= (unsigned long) KVM_GUEST_KSEG0) { in kvm_mips_check_privilege() 3178 badvaddr); in kvm_mips_check_privilege() 3187 badvaddr); in kvm_mips_check_privilege() 3188 if ((badvaddr & PAGE_MASK) == KVM_GUEST_COMMPAGE_ADDR) { in kvm_mips_check_privilege() 3196 badvaddr); in kvm_mips_check_privilege() 3197 if ((badvaddr & PAGE_MASK) == KVM_GUEST_COMMPAGE_ADDR) { in kvm_mips_check_privilege()
|
D | mips.c | 1208 unsigned long badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_mips_handle_exit() local 1281 badvaddr); in kvm_mips_handle_exit() 1289 cause, opc, badvaddr); in kvm_mips_handle_exit() 1351 exccode, opc, inst, badvaddr, in kvm_mips_handle_exit()
|
/Linux-v5.10/arch/mips/include/asm/ |
D | kvm_host.h | 728 __BUILD_KVM_RW_HW(badvaddr, l, MIPS_CP0_BAD_VADDR, 0) 885 int kvm_mips_handle_vz_root_tlb_fault(unsigned long badvaddr, 892 extern int kvm_mips_handle_commpage_tlb_fault(unsigned long badvaddr, 992 unsigned long badvaddr = vcpu->host_cp0_badvaddr; in kvm_is_ifetch_fault() local 996 if (epc == badvaddr) in kvm_is_ifetch_fault() 1004 if ((cause & CAUSEF_BD) && badvaddr - epc <= 4) in kvm_is_ifetch_fault()
|
/Linux-v5.10/drivers/net/wireless/ath/ath9k/ |
D | htc_hst.h | 84 __be32 badvaddr; member
|
D | htc_hst.c | 374 htc_panic->badvaddr); in ath9k_htc_fw_panic_report()
|