Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
234 __sysreg_restore_state_nvhe(host_ctxt); in __kvm_vcpu_run()
[all …]
/kernel/linux/linux-5.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.c117 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local
121 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run_vhe()
122 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run_vhe()
125 sysreg_save_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
155 sysreg_restore_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
203 struct kvm_cpu_context *host_ctxt; in __hyp_call_panic() local
206 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __hyp_call_panic()
207 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic()
210 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_hyp.h102 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
Dkvm_host.h273 struct kvm_cpu_context host_ctxt; member
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dasm-offsets.c114 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Darm.c1417 kvm_init_host_cpu_context(&this_cpu_ptr_hyp_sym(kvm_host_data)->host_ctxt); in cpu_hyp_reinit()