| /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 | msrs_test.c | 156 __GUEST_ASSERT(vec == GP_VECTOR, "Wanted #GP on RDMSR(0x%x), got %s", in guest_test_unsupported_msr() 161 __GUEST_ASSERT(vec == GP_VECTOR, "Wanted #GP on WRMSR(0x%x, 0x%lx), got %s", in guest_test_unsupported_msr() 182 __GUEST_ASSERT(vec == GP_VECTOR, in guest_test_reserved_val()
|
| H A D | pmu_counters_test.c | 367 __GUEST_ASSERT(expect_gp ? vector == GP_VECTOR : !vector, \ 542 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_fixed_counters() 547 __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 | 59 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_perf_capabilities_gp()
|
| 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/arch/x86/include/uapi/asm/ |
| H A D | svm.h | 177 { SVM_EXIT_EXCP_BASE + GP_VECTOR, "GP excp" }, \
|
| H A D | kvm.h | 31 #define GP_VECTOR 13 macro
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | set_memory_region_test.c | 597 expected_gpa = MEM_REGION_GPA + GP_VECTOR * sizeof(struct idt_entry); in test_mmio_during_vectoring()
|
| /linux/arch/x86/kvm/ |
| H A D | x86.h | 275 BIT(NP_VECTOR) | BIT(SS_VECTOR) | BIT(GP_VECTOR) | in x86_exception_has_error_code()
|
| H A D | emulate.c | 550 return emulate_exception(ctxt, GP_VECTOR, err, true); in emulate_gp() 1528 unsigned err_vec = GP_VECTOR; in __load_segment_descriptor() 1592 GP_VECTOR; in __load_segment_descriptor() 1748 return emulate_exception(ctxt, GP_VECTOR, 0, true); in load_segment_descriptor()
|
| H A D | x86.c | 730 case GP_VECTOR: in exception_class() 1030 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in kvm_require_cpl() 9153 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in handle_emulation_failure() 9489 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in x86_emulate_instruction()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | svm.c | 222 clr_exception_intercept(svm, GP_VECTOR); in svm_set_efer() 245 set_exception_intercept(svm, GP_VECTOR); in svm_set_efer() 1097 set_exception_intercept(svm, GP_VECTOR); in init_vmcb() 2304 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in gp_interception() 3193 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in invpcid_interception() 3263 [SVM_EXIT_EXCP_BASE + GP_VECTOR] = gp_interception,
|
| H A D | sev.c | 4680 clr_exception_intercept(svm, GP_VECTOR); in sev_init_vmcb()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 946 eb |= (1u << GP_VECTOR); in vmx_update_exception_bitmap() 5370 case GP_VECTOR: in rmode_exception() 5384 if (((vec == GP_VECTOR) || (vec == SS_VECTOR)) && err_code == 0) { in handle_rmode_exception() 5534 kvm_queue_exception_e(vcpu, GP_VECTOR, error_code); in handle_exception_nmi()
|
| H A D | nested.c | 5301 kvm_queue_exception_e(vcpu, GP_VECTOR, 0); in get_vmx_mem_address() 5321 SS_VECTOR : GP_VECTOR, in get_vmx_mem_address()
|