Home
last modified time | relevance | path

Searched refs:exit_info_1 (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/arch/x86/coco/sev/
Dshared.c376 u64 exit_code, u64 exit_info_1, in sev_es_ghcb_hv_call() argument
384 ghcb_set_sw_exit_info_1(ghcb, exit_info_1); in sev_es_ghcb_hv_call()
970 u64 exit_info_1, exit_info_2; in vc_handle_ioio() local
973 ret = vc_ioio_exitinfo(ctxt, &exit_info_1); in vc_handle_ioio()
977 if (exit_info_1 & IOIO_TYPE_STR) { in vc_handle_ioio()
993 io_bytes = (exit_info_1 >> 4) & 0x7; in vc_handle_ioio()
996 op_count = (exit_info_1 & IOIO_REP) ? regs->cx : 1; in vc_handle_ioio()
1003 if (!(exit_info_1 & IOIO_TYPE_IN)) { in vc_handle_ioio()
1020 exit_info_1, exit_info_2); in vc_handle_ioio()
1025 if (exit_info_1 & IOIO_TYPE_IN) { in vc_handle_ioio()
[all …]
Dcore.c1338 u64 exit_info_1; in vc_handle_msr() local
1341 exit_info_1 = (ctxt->insn.opcode.bytes[1] == 0x30) ? 1 : 0; in vc_handle_msr()
1345 if (exit_info_1) in vc_handle_msr()
1355 if (exit_info_1) { in vc_handle_msr()
1360 ret = sev_es_ghcb_hv_call(ghcb, ctxt, SVM_EXIT_MSR, exit_info_1, 0); in vc_handle_msr()
1362 if ((ret == ES_OK) && (!exit_info_1)) { in vc_handle_msr()
1613 u64 exit_code, exit_info_1, exit_info_2; in vc_do_mmio() local
1633 exit_info_1 = paddr; in vc_do_mmio()
1639 return sev_es_ghcb_hv_call(ghcb, ctxt, exit_code, exit_info_1, exit_info_2); in vc_do_mmio()
/linux-6.12.1/arch/x86/kvm/svm/
Dnested.c49 vmcb->control.exit_info_1 = (1ULL << 32); in nested_svm_inject_npf_exit()
53 vmcb->control.exit_info_1 &= ~0xffffffffULL; in nested_svm_inject_npf_exit()
54 vmcb->control.exit_info_1 |= fault->error_code; in nested_svm_inject_npf_exit()
358 to->exit_info_1 = from->exit_info_1; in __nested_copy_vmcb_control_to_cache()
890 vmcb12->control.exit_info_1 = 0; in nested_svm_vmrun()
923 svm->vmcb->control.exit_info_1 = 0; in nested_svm_vmrun()
1023 vmcb12->control.exit_info_1 = vmcb02->control.exit_info_1; in nested_svm_vmexit()
1127 vmcb12->control.exit_info_1, in nested_svm_vmexit()
1265 write = svm->vmcb->control.exit_info_1 & 1; in nested_svm_exit_handled_msr()
1290 port = svm->vmcb->control.exit_info_1 >> 16; in nested_svm_intercept_ioio()
[all …]
Dhyperv.c15 svm->vmcb->control.exit_info_1 = HV_SVM_ENL_EXITCODE_TRAP_AFTER_FLUSH; in svm_hv_inject_synthetic_vmexit_post_tlb_flush()
Davic.c493 u32 icrh = svm->vmcb->control.exit_info_1 >> 32; in avic_incomplete_ipi_interception()
494 u32 icrl = svm->vmcb->control.exit_info_1; in avic_incomplete_ipi_interception()
643 u32 offset = to_svm(vcpu)->vmcb->control.exit_info_1 & in avic_unaccel_trap_write()
697 u32 offset = svm->vmcb->control.exit_info_1 & in avic_unaccelerated_access_interception()
701 bool write = (svm->vmcb->control.exit_info_1 >> 32) & in avic_unaccelerated_access_interception()
Dsvm.c2046 u64 error_code = svm->vmcb->control.exit_info_1; in pf_interception()
2060 u64 error_code = svm->vmcb->control.exit_info_1; in npf_interception()
2235 u32 io_info = svm->vmcb->control.exit_info_1; /* address size bug? */ in io_interception()
2390 u32 error_code = svm->vmcb->control.exit_info_1; in gp_interception()
2524 tss_selector = (u16)svm->vmcb->control.exit_info_1; in task_switch_interception()
2608 kvm_mmu_invlpg(vcpu, to_svm(vcpu)->vmcb->control.exit_info_1); in invlpg_interception()
2656 if (unlikely((svm->vmcb->control.exit_info_1 & CR_VALID) == 0)) in cr_interception()
2659 reg = svm->vmcb->control.exit_info_1 & SVM_EXITINFO_REG_MASK; in cr_interception()
2727 new_value = (unsigned long)svm->vmcb->control.exit_info_1; in cr_trap()
2782 reg = svm->vmcb->control.exit_info_1 & SVM_EXITINFO_REG_MASK; in dr_interception()
[all …]
Dsev.c3284 control->exit_info_1 = ghcb_get_sw_exit_info_1(ghcb); in sev_es_sync_from_ghcb()
3347 if (control->exit_info_1 & SVM_IOIO_STR_MASK) { in sev_es_validate_vmgexit()
3351 if (!(control->exit_info_1 & SVM_IOIO_TYPE_MASK)) in sev_es_validate_vmgexit()
3359 if (control->exit_info_1) { in sev_es_validate_vmgexit()
3393 if (lower_32_bits(control->exit_info_1) != SVM_VMGEXIT_AP_DESTROY) in sev_es_validate_vmgexit()
3411 !PAGE_ALIGNED(control->exit_info_1) || in sev_es_validate_vmgexit()
3413 control->exit_info_1 == control->exit_info_2) in sev_es_validate_vmgexit()
3943 request = lower_32_bits(svm->vmcb->control.exit_info_1); in sev_snp_ap_creation()
3944 apic_id = upper_32_bits(svm->vmcb->control.exit_info_1); in sev_snp_ap_creation()
4330 control->exit_info_1, in sev_handle_vmgexit()
[all …]
Dsvm.h161 u64 exit_info_1; member
663 svm->vmcb->control.exit_info_1 = 0; in nested_svm_simple_vmexit()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dsvm_nested_soft_inject_test.c108 vmcb->control.exit_info_1, vmcb->control.exit_info_2); in l1_guest_code()
138 vmcb->control.exit_info_1, vmcb->control.exit_info_2); in l1_guest_code()
Dhyperv_svm_test.c141 GUEST_ASSERT(vmcb->control.exit_info_1 == HV_SVM_ENL_EXITCODE_TRAP_AFTER_FLUSH); in guest_code()
Dnested_exceptions_test.c87 GUEST_ASSERT_EQ(ctrl->exit_info_1, error_code); in svm_run_l2()
/linux-6.12.1/arch/x86/boot/compressed/
Dsev.c316 u64 exit_info_1 = SVM_VMGEXIT_TERM_REASON(set, reason); in sev_es_ghcb_terminate() local
320 ghcb_set_sw_exit_info_1(ghcb, exit_info_1); in sev_es_ghcb_terminate()
/linux-6.12.1/arch/x86/hyperv/
Divm.c123 u64 exit_info_1, u64 exit_info_2) in hv_ghcb_hv_call() argument
130 ghcb_set_sw_exit_info_1(ghcb, exit_info_1); in hv_ghcb_hv_call()
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h103 u64 exit_info_1; member
/linux-6.12.1/arch/x86/include/asm/
Dsvm.h139 u64 exit_info_1; member