Home
last modified time | relevance | path

Searched refs:host_ctxt (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/arm/kvm/hyp/
Dswitch.c159 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_nvhe() local
168 host_ctxt = kern_hyp_va(vcpu->arch.host_cpu_context); in __kvm_vcpu_run_nvhe()
171 __sysreg_save_state(host_ctxt); in __kvm_vcpu_run_nvhe()
172 __banked_save_state(host_ctxt); in __kvm_vcpu_run_nvhe()
185 exit_code = __guest_enter(vcpu, host_ctxt); in __kvm_vcpu_run_nvhe()
202 __banked_restore_state(host_ctxt); in __kvm_vcpu_run_nvhe()
203 __sysreg_restore_state(host_ctxt); in __kvm_vcpu_run_nvhe()
207 __vfp_restore_state(&host_ctxt->vfp); in __kvm_vcpu_run_nvhe()
238 struct kvm_cpu_context *host_ctxt; in __hyp_panic() local
241 host_ctxt = kern_hyp_va(vcpu->arch.host_cpu_context); in __hyp_panic()
[all …]
/Linux-v4.19/arch/arm64/kvm/hyp/
Dswitch.c492 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()
[all …]
Ddebug-sr.c154 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_guest() local
169 host_ctxt = kern_hyp_va(vcpu->arch.host_cpu_context); in __debug_switch_to_guest()
174 __debug_save_state(vcpu, host_dbg, host_ctxt); in __debug_switch_to_guest()
180 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_host() local
191 host_ctxt = kern_hyp_va(vcpu->arch.host_cpu_context); in __debug_switch_to_host()
197 __debug_restore_state(vcpu, host_dbg, host_ctxt); in __debug_switch_to_host()
Dsysreg-sr.c238 struct kvm_cpu_context *host_ctxt = vcpu->arch.host_cpu_context; in kvm_vcpu_load_sysregs() local
244 __sysreg_save_user_state(host_ctxt); in kvm_vcpu_load_sysregs()
274 struct kvm_cpu_context *host_ctxt = vcpu->arch.host_cpu_context; in kvm_vcpu_put_sysregs() local
287 __sysreg_restore_user_state(host_ctxt); in kvm_vcpu_put_sysregs()
/Linux-v4.19/arch/arm64/include/asm/
Dkvm_hyp.h155 u64 __guest_enter(struct kvm_vcpu *vcpu, struct kvm_cpu_context *host_ctxt);