Searched refs:host_ctxt (Results 1 – 8 of 8) sorted by relevance
18 struct kvm_cpu_context *host_ctxt) in handle_host_hcall() argument24 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 …]
130 static bool __pmu_switch_to_guest(struct kvm_cpu_context *host_ctxt) in __pmu_switch_to_guest() argument135 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() argument155 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() local184 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 …]
67 struct kvm_cpu_context *host_ctxt; in kvm_vcpu_load_sysregs_vhe() local69 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() local103 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()
112 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local116 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() local201 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()
130 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_guest_common() local138 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() local157 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()
112 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()
272 struct kvm_cpu_context host_ctxt; member
1401 kvm_init_host_cpu_context(&this_cpu_ptr_hyp_sym(kvm_host_data)->host_ctxt); in cpu_hyp_reinit()