Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kernel/
Dsev-shared.c227 u64 exit_code, u64 exit_info_1, in sev_es_ghcb_hv_call() argument
235 ghcb_set_sw_exit_info_1(ghcb, exit_info_1); in sev_es_ghcb_hv_call()
821 u64 exit_info_1, exit_info_2; in vc_handle_ioio() local
824 ret = vc_ioio_exitinfo(ctxt, &exit_info_1); in vc_handle_ioio()
828 if (exit_info_1 & IOIO_TYPE_STR) { in vc_handle_ioio()
844 io_bytes = (exit_info_1 >> 4) & 0x7; in vc_handle_ioio()
847 op_count = (exit_info_1 & IOIO_REP) ? regs->cx : 1; in vc_handle_ioio()
854 if (!(exit_info_1 & IOIO_TYPE_IN)) { in vc_handle_ioio()
871 exit_info_1, exit_info_2); in vc_handle_ioio()
876 if (exit_info_1 & IOIO_TYPE_IN) { in vc_handle_ioio()
[all …]
Dsev.c1200 u64 exit_info_1; in vc_handle_msr() local
1203 exit_info_1 = (ctxt->insn.opcode.bytes[1] == 0x30) ? 1 : 0; in vc_handle_msr()
1206 if (exit_info_1) { in vc_handle_msr()
1211 ret = sev_es_ghcb_hv_call(ghcb, ctxt, SVM_EXIT_MSR, exit_info_1, 0); in vc_handle_msr()
1213 if ((ret == ES_OK) && (!exit_info_1)) { in vc_handle_msr()
1423 u64 exit_code, exit_info_1, exit_info_2; in vc_do_mmio() local
1443 exit_info_1 = paddr; in vc_do_mmio()
1449 return sev_es_ghcb_hv_call(ghcb, ctxt, exit_code, exit_info_1, exit_info_2); in vc_do_mmio()
/Linux-v6.6/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()
363 to->exit_info_1 = from->exit_info_1; in __nested_copy_vmcb_control_to_cache()
899 vmcb12->control.exit_info_1 = 0; in nested_svm_vmrun()
932 svm->vmcb->control.exit_info_1 = 0; in nested_svm_vmrun()
1032 vmcb12->control.exit_info_1 = vmcb02->control.exit_info_1; in nested_svm_vmexit()
1136 vmcb12->control.exit_info_1, in nested_svm_vmexit()
1274 write = svm->vmcb->control.exit_info_1 & 1; in nested_svm_exit_handled_msr()
1299 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.c2058 u64 error_code = svm->vmcb->control.exit_info_1; in pf_interception()
2071 u64 error_code = svm->vmcb->control.exit_info_1; in npf_interception()
2230 u32 io_info = svm->vmcb->control.exit_info_1; /* address size bug? */ in io_interception()
2385 u32 error_code = svm->vmcb->control.exit_info_1; in gp_interception()
2519 tss_selector = (u16)svm->vmcb->control.exit_info_1; in task_switch_interception()
2603 kvm_mmu_invlpg(vcpu, to_svm(vcpu)->vmcb->control.exit_info_1); in invlpg_interception()
2651 if (unlikely((svm->vmcb->control.exit_info_1 & CR_VALID) == 0)) in cr_interception()
2654 reg = svm->vmcb->control.exit_info_1 & SVM_EXITINFO_REG_MASK; in cr_interception()
2722 new_value = (unsigned long)svm->vmcb->control.exit_info_1; in cr_trap()
2778 reg = svm->vmcb->control.exit_info_1 & SVM_EXITINFO_REG_MASK; in dr_interception()
[all …]
Dsev.c2457 control->exit_info_1 = ghcb_get_sw_exit_info_1(ghcb); in sev_es_sync_from_ghcb()
2520 if (control->exit_info_1 & SVM_IOIO_STR_MASK) { in sev_es_validate_vmgexit()
2524 if (!(control->exit_info_1 & SVM_IOIO_TYPE_MASK)) in sev_es_validate_vmgexit()
2532 if (control->exit_info_1) { in sev_es_validate_vmgexit()
2886 control->exit_info_1, in sev_handle_vmgexit()
2896 control->exit_info_1, in sev_handle_vmgexit()
2912 switch (control->exit_info_1) { in sev_handle_vmgexit()
2923 control->exit_info_1); in sev_handle_vmgexit()
2934 control->exit_info_1, control->exit_info_2); in sev_handle_vmgexit()
Dsvm.h139 u64 exit_info_1; member
603 svm->vmcb->control.exit_info_1 = 0; in nested_svm_simple_vmexit()
/Linux-v6.6/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.c142 GUEST_ASSERT(vmcb->control.exit_info_1 == HV_SVM_ENL_EXITCODE_TRAP_AFTER_FLUSH); in guest_code()
Dnested_exceptions_test.c89 GUEST_ASSERT_EQ(ctrl->exit_info_1, error_code); in svm_run_l2()
/Linux-v6.6/arch/x86/boot/compressed/
Dsev.c274 u64 exit_info_1 = SVM_VMGEXIT_TERM_REASON(set, reason); in sev_es_ghcb_terminate() local
278 ghcb_set_sw_exit_info_1(ghcb, exit_info_1); in sev_es_ghcb_terminate()
/Linux-v6.6/arch/x86/hyperv/
Divm.c122 u64 exit_info_1, u64 exit_info_2) in hv_ghcb_hv_call() argument
129 ghcb_set_sw_exit_info_1(ghcb, exit_info_1); in hv_ghcb_hv_call()
/Linux-v6.6/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h103 u64 exit_info_1; member
/Linux-v6.6/arch/x86/include/asm/
Dsvm.h139 u64 exit_info_1; member