Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c18 struct kvm_cpu_context *host_ctxt) in handle_host_hcall() argument
24 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall()
34 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall()
36 phys_addr_t ipa = host_ctxt->regs.regs[2]; in handle_host_hcall()
37 int level = host_ctxt->regs.regs[3]; in handle_host_hcall()
43 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall()
50 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall()
57 u64 cntvoff = host_ctxt->regs.regs[1]; in handle_host_hcall()
72 u32 vmcr = host_ctxt->regs.regs[1]; in handle_host_hcall()
84 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall()
[all …]
Dswitch.c130 static bool __pmu_switch_to_guest(struct kvm_cpu_context *host_ctxt) in __pmu_switch_to_guest() argument
135 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_guest()
150 static void __pmu_switch_to_host(struct kvm_cpu_context *host_ctxt) in __pmu_switch_to_host() argument
155 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_host()
168 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run() local
184 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run()
185 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run()
188 pmu_switch_needed = __pmu_switch_to_guest(host_ctxt); in __kvm_vcpu_run()
190 __sysreg_save_state_nvhe(host_ctxt); in __kvm_vcpu_run()
226 __sysreg_restore_state_nvhe(host_ctxt); in __kvm_vcpu_run()
[all …]
/Linux-v5.10/arch/arm64/kvm/hyp/vhe/
Dsysreg-sr.c67 struct kvm_cpu_context *host_ctxt; in kvm_vcpu_load_sysregs_vhe() local
69 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in kvm_vcpu_load_sysregs_vhe()
70 __sysreg_save_user_state(host_ctxt); in kvm_vcpu_load_sysregs_vhe()
101 struct kvm_cpu_context *host_ctxt; in kvm_vcpu_put_sysregs_vhe() local
103 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in kvm_vcpu_put_sysregs_vhe()
111 __sysreg_restore_user_state(host_ctxt); in kvm_vcpu_put_sysregs_vhe()
Dswitch.c112 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local
116 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run_vhe()
117 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run_vhe()
120 sysreg_save_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
150 sysreg_restore_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
198 struct kvm_cpu_context *host_ctxt; in __hyp_call_panic() local
201 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __hyp_call_panic()
202 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic()
205 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic()
/Linux-v5.10/arch/arm64/kvm/hyp/include/hyp/
Ddebug-sr.h130 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_guest_common() local
138 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __debug_switch_to_guest_common()
143 __debug_save_state(host_dbg, host_ctxt); in __debug_switch_to_guest_common()
149 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_host_common() local
157 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __debug_switch_to_host_common()
163 __debug_restore_state(host_dbg, host_ctxt); in __debug_switch_to_host_common()
/Linux-v5.10/arch/arm64/kernel/
Dasm-offsets.c112 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()
/Linux-v5.10/arch/arm64/include/asm/
Dkvm_host.h272 struct kvm_cpu_context host_ctxt; member
/Linux-v5.10/arch/arm64/kvm/
Darm.c1401 kvm_init_host_cpu_context(&this_cpu_ptr_hyp_sym(kvm_host_data)->host_ctxt); in cpu_hyp_reinit()