Home
last modified time | relevance | path

Searched refs:GP_VECTOR (Results 1 – 25 of 25) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dnested_exceptions_test.c52 #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 Daperfmperf_test.c114 GUEST_ASSERT(vector == GP_VECTOR); in guest_no_aperfmperf()
117 GUEST_ASSERT(vector == GP_VECTOR); in guest_no_aperfmperf()
H A Dkvm_pv_test.c49 GUEST_ASSERT_EQ(vector, GP_VECTOR); in test_msr()
52 GUEST_ASSERT_EQ(vector, GP_VECTOR); in test_msr()
H A Dplatform_info_test.c36 GUEST_ASSERT_EQ(vector, GP_VECTOR); in guest_code()
H A Dpmu_counters_test.c346 __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 Dxcr0_cpuid_test.c97 __GUEST_ASSERT(vector == GP_VECTOR, in guest_code()
H A Dvmx_pmu_caps_test.c58 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_perf_capabilities_gp()
H A Ducna_injection_test.c286 vm_install_exception_handler(vm, GP_VECTOR, guest_gp_handler); in main()
H A Duserspace_msr_exit_test.c534 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 Dpmu_event_filter_test.c187 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 Dhyperv_features.c56 __GUEST_ASSERT(vector == GP_VECTOR, in guest_msr()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dapic.h112 __GUEST_ASSERT(fault == GP_VECTOR, in x2apic_write_reg_fault()
/linux/arch/x86/kvm/vmx/
H A Dvmcs.h125 return is_exception_n(intr_info, GP_VECTOR); in is_gp_fault()
H A Dvmx.c835 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 Dnested.c5250 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 Dsvm.h173 { SVM_EXIT_EXCP_BASE + GP_VECTOR, "GP excp" }, \
H A Dkvm.h31 #define GP_VECTOR 13 macro
/linux/tools/arch/x86/include/uapi/asm/
H A Dsvm.h173 { SVM_EXIT_EXCP_BASE + GP_VECTOR, "GP excp" }, \
H A Dkvm.h31 #define GP_VECTOR 13 macro
/linux/arch/x86/kvm/
H A Dx86.h253 BIT(NP_VECTOR) | BIT(SS_VECTOR) | BIT(GP_VECTOR) | in x86_exception_has_error_code()
H A Demulate.c603 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 Dx86.c715 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 Dsvm.c229 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 Dsev.c4555 clr_exception_intercept(svm, GP_VECTOR); in sev_init_vmcb()
/linux/arch/x86/include/asm/
H A Dkvm_host.h2311 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in kvm_inject_gp()