Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 22 of 22) sorted by relevance

/arch/s390/include/uapi/asm/
A Dsie.h190 exit_code(0x0a, "SVC"), \
191 exit_code(0x80, "SSM"), \
192 exit_code(0x82, "LPSW"), \
193 exit_code(0x83, "DIAG"), \
194 exit_code(0xae, "SIGP"), \
195 exit_code(0xac, "STNSM"), \
196 exit_code(0xad, "STOSM"), \
197 exit_code(0xb1, "LRA"), \
198 exit_code(0xb6, "STCTL"), \
199 exit_code(0xb7, "LCTL"), \
[all …]
/arch/arm64/kvm/hyp/vhe/
A Dswitch.c471 kvm_hyp_handle_fpsimd(vcpu, exit_code); in kvm_hyp_handle_zcr_el2()
477 if (kvm_hyp_handle_tlbi_el2(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe()
480 if (kvm_hyp_handle_timer(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe()
483 if (kvm_hyp_handle_cpacr_el1(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe()
486 if (kvm_hyp_handle_zcr_el2(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe()
489 return kvm_hyp_handle_sysreg(vcpu, exit_code); in kvm_hyp_handle_sysreg_vhe()
529 synchronize_vcpu_pstate(vcpu, exit_code); in fixup_guest_exit()
566 u64 exit_code; in __kvm_vcpu_run_vhe() local
590 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run_vhe()
593 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run_vhe()
[all …]
/arch/arm64/kvm/hyp/nvhe/
A Dswitch.c163 static bool kvm_handle_pvm_sys64(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_sys64() argument
169 return (kvm_hyp_handle_sysreg(vcpu, exit_code) || in kvm_handle_pvm_sys64()
170 kvm_handle_pvm_sysreg(vcpu, exit_code)); in kvm_handle_pvm_sys64()
208 synchronize_vcpu_pstate(vcpu, exit_code); in fixup_guest_exit()
228 *exit_code &= BIT(ARM_EXIT_WITH_SERROR_BIT); in fixup_guest_exit()
229 *exit_code |= ARM_EXCEPTION_IL; in fixup_guest_exit()
232 return __fixup_guest_exit(vcpu, exit_code, handlers); in fixup_guest_exit()
242 u64 exit_code; in __kvm_vcpu_run() local
306 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run()
309 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run()
[all …]
A Dsys_regs.c524 bool kvm_handle_pvm_sysreg(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_sysreg() argument
562 bool kvm_handle_pvm_restricted(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_restricted() argument
/arch/x86/boot/compressed/
A Dsev-handle-vc.c96 void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code) in do_boot_stage2_vc() argument
105 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in do_boot_stage2_vc()
109 result = vc_check_opcode_bytes(&ctxt, exit_code); in do_boot_stage2_vc()
113 switch (exit_code) { in do_boot_stage2_vc()
116 result = vc_handle_rdtsc(boot_ghcb, &ctxt, exit_code); in do_boot_stage2_vc()
/arch/x86/coco/sev/
A Dvc-shared.c4 unsigned long exit_code) in vc_check_opcode_bytes() argument
9 switch (exit_code) { in vc_check_opcode_bytes()
89 opcode, exit_code, ctxt->regs->ip); in vc_check_opcode_bytes()
94 static bool vc_decoding_needed(unsigned long exit_code) in vc_decoding_needed() argument
97 return !(exit_code >= SVM_EXIT_EXCP_BASE && in vc_decoding_needed()
98 exit_code <= SVM_EXIT_LAST_EXCP); in vc_decoding_needed()
103 unsigned long exit_code) in vc_init_em_ctxt() argument
110 if (vc_decoding_needed(exit_code)) in vc_init_em_ctxt()
475 unsigned long exit_code) in vc_handle_rdtsc() argument
477 bool rdtscp = (exit_code == SVM_EXIT_RDTSCP); in vc_handle_rdtsc()
[all …]
A Dvc-handle.c471 u64 exit_code, exit_info_1, exit_info_2; in vc_do_mmio() local
798 unsigned long exit_code) in vc_handle_exitcode() argument
800 enum es_result result = vc_check_opcode_bytes(ctxt, exit_code); in vc_handle_exitcode()
805 switch (exit_code) { in vc_handle_exitcode()
817 result = vc_handle_rdtsc(ghcb, ctxt, exit_code); in vc_handle_exitcode()
1025 unsigned long exit_code = regs->orig_ax; in handle_vc_boot_ghcb() local
1031 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in handle_vc_boot_ghcb()
1033 result = vc_handle_exitcode(&ctxt, boot_ghcb, exit_code); in handle_vc_boot_ghcb()
1042 exit_code, regs->ip); in handle_vc_boot_ghcb()
1046 exit_code, regs->ip); in handle_vc_boot_ghcb()
[all …]
A Dcore.c1453 if (req->exit_code == SVM_VMGEXIT_EXT_GUEST_REQUEST) { in snp_issue_guest_request()
1458 ret = sev_es_ghcb_hv_call(ghcb, &ctxt, req->exit_code, input->req_gpa, input->resp_gpa); in snp_issue_guest_request()
1473 if (req->exit_code == SVM_VMGEXIT_EXT_GUEST_REQUEST) { in snp_issue_guest_request()
1983 req->exit_code = SVM_VMGEXIT_GUEST_REQUEST; in __handle_guest_request()
2149 req.exit_code = SVM_VMGEXIT_GUEST_REQUEST; in snp_get_tsc_info()
/arch/arm64/kvm/hyp/include/hyp/
A Dswitch.h537 static inline bool kvm_hyp_handle_mops(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_mops() argument
920 u64 *exit_code) in kvm_hyp_handle_memory_fault() argument
932 if (kvm_hyp_handle_memory_fault(vcpu, exit_code)) in kvm_hyp_handle_dabt_low()
951 *exit_code = ARM_EXCEPTION_EL1_SERROR; in kvm_hyp_handle_dabt_low()
971 return fn(vcpu, exit_code); in kvm_hyp_handle_exit()
999 static inline bool __fixup_guest_exit(struct kvm_vcpu *vcpu, u64 *exit_code, in __fixup_guest_exit() argument
1002 if (ARM_EXCEPTION_CODE(*exit_code) != ARM_EXCEPTION_IRQ) in __fixup_guest_exit()
1005 if (ARM_SERROR_PENDING(*exit_code) && in __fixup_guest_exit()
1006 ARM_EXCEPTION_CODE(*exit_code) != ARM_EXCEPTION_IRQ) { in __fixup_guest_exit()
1027 if (*exit_code != ARM_EXCEPTION_TRAP) in __fixup_guest_exit()
[all …]
/arch/arm64/kvm/hyp/include/nvhe/
A Dpkvm.h85 bool kvm_handle_pvm_sysreg(struct kvm_vcpu *vcpu, u64 *exit_code);
86 bool kvm_handle_pvm_restricted(struct kvm_vcpu *vcpu, u64 *exit_code);
/arch/xtensa/platforms/iss/include/platform/
A Dsimcall.h24 static inline int simc_exit(int exit_code) in simc_exit() argument
27 return __simc(SYS_exit, exit_code, 0, 0); in simc_exit()
/arch/x86/kvm/svm/
A Dnested.c42 if (vmcb->control.exit_code != SVM_EXIT_NPF) { in nested_svm_inject_npf_exit()
47 vmcb->control.exit_code = SVM_EXIT_NPF; in nested_svm_inject_npf_exit()
423 to->exit_code = from->exit_code; in __nested_copy_vmcb_control_to_cache()
982 vmcb12->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun()
1115 vmcb12->control.exit_code = vmcb02->control.exit_code; in nested_svm_vmexit()
1120 if (vmcb12->control.exit_code != SVM_EXIT_ERR) in nested_svm_vmexit()
1409 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_intercept() local
1412 switch (exit_code) { in nested_svm_intercept()
1604 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_exit_special() local
1607 switch (exit_code) { in nested_svm_exit_special()
[all …]
A Dsvm.c3488 svm_exit_handlers[exit_code]); in svm_check_exit_valid()
3509 if (exit_code == SVM_EXIT_MSR) in svm_invoke_exit_handler()
3513 else if (exit_code == SVM_EXIT_INTR) in svm_invoke_exit_handler()
3515 else if (exit_code == SVM_EXIT_HLT || exit_code == SVM_EXIT_IDLE_HLT) in svm_invoke_exit_handler()
3517 else if (exit_code == SVM_EXIT_NPF) in svm_invoke_exit_handler()
3533 *reason = control->exit_code; in svm_get_exit_info()
3563 u32 exit_code = svm->vmcb->control.exit_code; in svm_handle_exit() local
3590 = svm->vmcb->control.exit_code; in svm_handle_exit()
4488 u32 exit_code; member
4562 switch (icpt_info.exit_code) { in svm_check_intercept()
[all …]
A Dhyperv.c13 svm->vmcb->control.exit_code = HV_SVM_EXITCODE_ENL; in svm_hv_inject_synthetic_vmexit_post_tlb_flush()
A Dsvm.h161 u32 exit_code; member
699 int svm_invoke_exit_handler(struct kvm_vcpu *vcpu, u64 exit_code);
761 static inline int nested_svm_simple_vmexit(struct vcpu_svm *svm, u32 exit_code) in nested_svm_simple_vmexit() argument
763 svm->vmcb->control.exit_code = exit_code; in nested_svm_simple_vmexit()
A Dsev.c3260 u64 exit_code; in sev_es_sync_from_ghcb() local
3293 exit_code = ghcb_get_sw_exit_code(ghcb); in sev_es_sync_from_ghcb()
3294 control->exit_code = lower_32_bits(exit_code); in sev_es_sync_from_ghcb()
3308 u64 exit_code; in sev_es_validate_vmgexit() local
3315 exit_code = kvm_ghcb_get_sw_exit_code(control); in sev_es_validate_vmgexit()
3330 switch (exit_code) { in sev_es_validate_vmgexit()
3436 exit_code); in sev_es_validate_vmgexit()
3439 exit_code); in sev_es_validate_vmgexit()
4281 u64 ghcb_gpa, exit_code; in sev_handle_vmgexit() local
4323 exit_code = kvm_ghcb_get_sw_exit_code(control); in sev_handle_vmgexit()
[all …]
/arch/x86/boot/startup/
A Dsev-shared.c290 u64 exit_code, u64 exit_info_1, in sev_es_ghcb_hv_call() argument
297 ghcb_set_sw_exit_code(ghcb, exit_code); in sev_es_ghcb_hv_call()
632 void __head do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code) in do_vc_no_ghcb() argument
641 if (exit_code != SVM_EXIT_CPUID) in do_vc_no_ghcb()
/arch/x86/include/asm/
A Dsev.h70 void do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code);
245 u64 exit_code; member
560 u64 exit_code, u64 exit_info_1,
A Dsvm.h139 u32 exit_code; member
/arch/x86/hyperv/
A Divm.c124 static enum es_result hv_ghcb_hv_call(struct ghcb *ghcb, u64 exit_code, in hv_ghcb_hv_call() argument
131 ghcb_set_sw_exit_code(ghcb, exit_code); in hv_ghcb_hv_call()
/arch/x86/kvm/
A Dtrace.h783 TP_PROTO(__u32 exit_code,
786 TP_ARGS(exit_code, exit_info1, exit_info2,
790 __field( __u32, exit_code )
799 __entry->exit_code = exit_code;
809 kvm_print_exit_reason(__entry->exit_code, __entry->isa),
/arch/sparc/include/asm/
A Dhypervisor.h106 void sun4v_mach_exit(unsigned long exit_code);

Completed in 65 milliseconds