/linux/tools/testing/selftests/kvm/x86/ |
H A D | nested_exceptions_test.c | 52 #define INTERCEPT_SS_GP_DF (INTERCEPT_SS_DF | BIT_ULL(GP_VECTOR)) 61 GUEST_SYNC(GP_VECTOR); in l2_ss_injected_gp_test() 102 svm_run_l2(svm, l2_ss_injected_gp_test, GP_VECTOR, GP_ERROR_CODE_AMD); in l1_svm_code() 147 vmx_run_l2(l2_ss_injected_gp_test, GP_VECTOR, GP_ERROR_CODE_INTEL); in l1_vmx_code() 261 assert_ucall_vector(vcpu, GP_VECTOR); in main()
|
H A D | aperfmperf_test.c | 114 GUEST_ASSERT(vector == GP_VECTOR); in guest_no_aperfmperf() 117 GUEST_ASSERT(vector == GP_VECTOR); in guest_no_aperfmperf()
|
H A D | kvm_pv_test.c | 49 GUEST_ASSERT_EQ(vector, GP_VECTOR); in test_msr() 52 GUEST_ASSERT_EQ(vector, GP_VECTOR); in test_msr()
|
H A D | platform_info_test.c | 36 GUEST_ASSERT_EQ(vector, GP_VECTOR); in guest_code()
|
H A D | pmu_counters_test.c | 346 __GUEST_ASSERT(expect_gp ? vector == GP_VECTOR : !vector, \ 521 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_fixed_counters() 526 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_fixed_counters()
|
H A D | xcr0_cpuid_test.c | 97 __GUEST_ASSERT(vector == GP_VECTOR, in guest_code()
|
H A D | vmx_pmu_caps_test.c | 58 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_perf_capabilities_gp()
|
H A D | ucna_injection_test.c | 286 vm_install_exception_handler(vm, GP_VECTOR, guest_gp_handler); in main()
|
H A D | userspace_msr_exit_test.c | 534 vm_install_exception_handler(vm, GP_VECTOR, guest_gp_handler); in KVM_ONE_VCPU_TEST() 553 vm_install_exception_handler(vm, GP_VECTOR, guest_fep_gp_handler); in KVM_ONE_VCPU_TEST()
|
H A D | pmu_event_filter_test.c | 187 vm_install_exception_handler(vcpu->vm, GP_VECTOR, guest_gp_handler); in sanity_check_pmu() 189 vm_install_exception_handler(vcpu->vm, GP_VECTOR, NULL); in sanity_check_pmu()
|
H A D | hyperv_features.c | 56 __GUEST_ASSERT(vector == GP_VECTOR, in guest_msr()
|
/linux/tools/testing/selftests/kvm/include/x86/ |
H A D | apic.h | 112 __GUEST_ASSERT(fault == GP_VECTOR, in x2apic_write_reg_fault()
|
/linux/arch/x86/kvm/vmx/ |
H A D | vmcs.h | 125 return is_exception_n(intr_info, GP_VECTOR); in is_gp_fault()
|
H A D | vmx.c | 835 eb |= (1u << GP_VECTOR); in vmx_update_exception_bitmap() 5039 case GP_VECTOR: in rmode_exception() 5053 if (((vec == GP_VECTOR) || (vec == SS_VECTOR)) && err_code == 0) { in handle_rmode_exception() 5162 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in handle_exception_nmi()
|
H A D | nested.c | 5250 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in get_vmx_mem_address() 5270 SS_VECTOR : GP_VECTOR, in get_vmx_mem_address()
|
/linux/arch/x86/include/uapi/asm/ |
H A D | svm.h | 173 { SVM_EXIT_EXCP_BASE + GP_VECTOR, "GP excp" }, \
|
H A D | kvm.h | 31 #define GP_VECTOR 13 macro
|
/linux/tools/arch/x86/include/uapi/asm/ |
H A D | svm.h | 173 { SVM_EXIT_EXCP_BASE + GP_VECTOR, "GP excp" }, \
|
H A D | kvm.h | 31 #define GP_VECTOR 13 macro
|
/linux/arch/x86/kvm/ |
H A D | x86.h | 253 BIT(NP_VECTOR) | BIT(SS_VECTOR) | BIT(GP_VECTOR) | in x86_exception_has_error_code()
|
H A D | emulate.c | 603 return emulate_exception(ctxt, GP_VECTOR, err, true); in emulate_gp() 1563 unsigned err_vec = GP_VECTOR; in __load_segment_descriptor() 1627 GP_VECTOR; in __load_segment_descriptor() 1779 return emulate_exception(ctxt, GP_VECTOR, 0, true); in load_segment_descriptor()
|
H A D | x86.c | 715 case GP_VECTOR: in exception_class() 1015 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in kvm_require_cpl() 8767 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in handle_emulation_failure() 9086 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in x86_emulate_instruction()
|
/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 229 clr_exception_intercept(svm, GP_VECTOR); in svm_set_efer() 252 set_exception_intercept(svm, GP_VECTOR); in svm_set_efer() 1116 set_exception_intercept(svm, GP_VECTOR); in init_vmcb() 2306 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in gp_interception() 3171 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in invpcid_interception() 3241 [SVM_EXIT_EXCP_BASE + GP_VECTOR] = gp_interception,
|
H A D | sev.c | 4555 clr_exception_intercept(svm, GP_VECTOR); in sev_init_vmcb()
|
/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 2311 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in kvm_inject_gp()
|