Lines Matching refs:host_ctxt
492 struct kvm_cpu_context *host_ctxt; in kvm_vcpu_run_vhe() local
496 host_ctxt = vcpu->arch.host_cpu_context; in kvm_vcpu_run_vhe()
497 host_ctxt->__hyp_running_vcpu = vcpu; in kvm_vcpu_run_vhe()
500 sysreg_save_host_state_vhe(host_ctxt); in kvm_vcpu_run_vhe()
512 exit_code = __guest_enter(vcpu, host_ctxt); in kvm_vcpu_run_vhe()
523 sysreg_restore_host_state_vhe(host_ctxt); in kvm_vcpu_run_vhe()
536 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_nvhe() local
542 host_ctxt = kern_hyp_va(vcpu->arch.host_cpu_context); in __kvm_vcpu_run_nvhe()
543 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run_nvhe()
546 __sysreg_save_state_nvhe(host_ctxt); in __kvm_vcpu_run_nvhe()
566 exit_code = __guest_enter(vcpu, host_ctxt); in __kvm_vcpu_run_nvhe()
581 __sysreg_restore_state_nvhe(host_ctxt); in __kvm_vcpu_run_nvhe()
626 struct kvm_cpu_context *host_ctxt) in __hyp_call_panic_vhe() argument
629 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic_vhe()
632 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic_vhe()
640 void __hyp_text __noreturn hyp_panic(struct kvm_cpu_context *host_ctxt) in hyp_panic() argument
647 __hyp_call_panic_nvhe(spsr, elr, par, host_ctxt); in hyp_panic()
649 __hyp_call_panic_vhe(spsr, elr, par, host_ctxt); in hyp_panic()