Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/nvhe/
A Dhyp-main.c184 cpu_reg(host_ctxt, 1) = ret; in handle___kvm_vcpu_run()
203 DECLARE_REG(int, level, host_ctxt, 3); in handle___kvm_tlb_flush_vmid_ipa()
212 DECLARE_REG(int, level, host_ctxt, 3); in handle___kvm_tlb_flush_vmid_ipa_nsh()
310 DECLARE_REG(u64, pfn, host_ctxt, 1); in handle___pkvm_host_share_hyp()
317 DECLARE_REG(u64, pfn, host_ctxt, 1); in handle___pkvm_host_unshare_hyp()
344 cpu_reg(host_ctxt, 1) = haddr; in handle___pkvm_create_private_mapping()
449 hfn(host_ctxt); in handle_host_hcall()
472 default_host_smc_handler(host_ctxt); in handle_host_smc()
484 handle_host_hcall(host_ctxt); in handle_trap()
487 handle_host_smc(host_ctxt); in handle_trap()
[all …]
A Dpsci-relay.c74 return psci_call(cpu_reg(host_ctxt, 0), cpu_reg(host_ctxt, 1), in psci_forward()
75 cpu_reg(host_ctxt, 2), cpu_reg(host_ctxt, 3)); in psci_forward()
208 host_ctxt = host_data_ptr(host_ctxt); in __kvm_host_psci_cpu_entry()
221 __host_enter(host_ctxt); in __kvm_host_psci_cpu_entry()
227 return psci_forward(host_ctxt); in psci_0_1_handler()
245 return psci_forward(host_ctxt); in psci_0_2_handler()
252 return psci_forward(host_ctxt); in psci_0_2_handler()
298 cpu_reg(host_ctxt, 0) = ret; in kvm_host_psci_handler()
299 cpu_reg(host_ctxt, 1) = 0; in kvm_host_psci_handler()
300 cpu_reg(host_ctxt, 2) = 0; in kvm_host_psci_handler()
[all …]
A Dswitch.c272 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run() local
289 host_ctxt = host_data_ptr(host_ctxt); in __kvm_vcpu_run()
290 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run()
295 __sysreg_save_state_nvhe(host_ctxt); in __kvm_vcpu_run()
360 __sysreg_restore_state_nvhe(host_ctxt); in __kvm_vcpu_run()
379 host_ctxt->__hyp_running_vcpu = NULL; in __kvm_vcpu_run()
389 struct kvm_cpu_context *host_ctxt; in hyp_panic() local
392 host_ctxt = host_data_ptr(host_ctxt); in hyp_panic()
393 vcpu = host_ctxt->__hyp_running_vcpu; in hyp_panic()
399 __sysreg_restore_state_nvhe(host_ctxt); in hyp_panic()
[all …]
A Dtlb.c24 struct kvm_cpu_context *host_ctxt; in enter_vmid_context() local
27 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in enter_vmid_context()
28 vcpu = host_ctxt->__hyp_running_vcpu; in enter_vmid_context()
121 struct kvm_cpu_context *host_ctxt; in exit_vmid_context() local
124 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in exit_vmid_context()
125 vcpu = host_ctxt->__hyp_running_vcpu; in exit_vmid_context()
A Dffa.c792 bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id) in kvm_host_ffa_handler() argument
819 if (!do_ffa_features(&res, host_ctxt)) in kvm_host_ffa_handler()
824 do_ffa_rxtx_map(&res, host_ctxt); in kvm_host_ffa_handler()
827 do_ffa_rxtx_unmap(&res, host_ctxt); in kvm_host_ffa_handler()
831 do_ffa_mem_xfer(FFA_FN64_MEM_SHARE, &res, host_ctxt); in kvm_host_ffa_handler()
834 do_ffa_mem_reclaim(&res, host_ctxt); in kvm_host_ffa_handler()
838 do_ffa_mem_xfer(FFA_FN64_MEM_LEND, &res, host_ctxt); in kvm_host_ffa_handler()
841 do_ffa_mem_frag_tx(&res, host_ctxt); in kvm_host_ffa_handler()
844 do_ffa_version(&res, host_ctxt); in kvm_host_ffa_handler()
847 do_ffa_part_get(&res, host_ctxt); in kvm_host_ffa_handler()
[all …]
A Dsetup.c284 struct kvm_cpu_context *host_ctxt = host_data_ptr(host_ctxt); in __pkvm_init_finalise() local
332 cpu_reg(host_ctxt, 1) = ret; in __pkvm_init_finalise()
334 __host_enter(host_ctxt); in __pkvm_init_finalise()
A Dmem_protect.c529 void handle_host_mem_abort(struct kvm_cpu_context *host_ctxt) in handle_host_mem_abort() argument
/linux/arch/arm64/kvm/hyp/vhe/
A Dsysreg-sr.c68 struct kvm_cpu_context *host_ctxt; in __vcpu_load_switch_sysregs() local
70 host_ctxt = host_data_ptr(host_ctxt); in __vcpu_load_switch_sysregs()
71 __sysreg_save_user_state(host_ctxt); in __vcpu_load_switch_sysregs()
111 struct kvm_cpu_context *host_ctxt; in __vcpu_put_switch_sysregs() local
113 host_ctxt = host_data_ptr(host_ctxt); in __vcpu_put_switch_sysregs()
120 __sysreg_restore_user_state(host_ctxt); in __vcpu_put_switch_sysregs()
A Dswitch.c244 host_data_ptr(host_ctxt)->__hyp_running_vcpu = vcpu; in kvm_vcpu_load_vhe()
256 host_data_ptr(host_ctxt)->__hyp_running_vcpu = NULL; in kvm_vcpu_put_vhe()
465 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local
469 host_ctxt = host_data_ptr(host_ctxt); in __kvm_vcpu_run_vhe()
472 sysreg_save_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
498 sysreg_restore_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
545 struct kvm_cpu_context *host_ctxt; in __hyp_call_panic() local
548 host_ctxt = host_data_ptr(host_ctxt); in __hyp_call_panic()
549 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic()
552 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic()
/linux/arch/arm64/kvm/hyp/include/hyp/
A Ddebug-sr.h130 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_guest_common() local
138 host_ctxt = host_data_ptr(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 = host_data_ptr(host_ctxt); in __debug_switch_to_host_common()
163 __debug_restore_state(host_dbg, host_ctxt); in __debug_switch_to_host_common()
A Dswitch.h152 struct kvm_cpu_context *hctxt = host_data_ptr(host_ctxt); in __activate_traps_hfgxtr()
188 struct kvm_cpu_context *hctxt = host_data_ptr(host_ctxt); in __deactivate_traps_hfgxtr()
223 hctxt = host_data_ptr(host_ctxt); in __activate_traps_common()
257 hctxt = host_data_ptr(host_ctxt); in __deactivate_traps_common()
/linux/arch/arm64/include/asm/
A Dkvm_hyp.h119 bool kvm_host_psci_handler(struct kvm_cpu_context *host_ctxt, u32 func_id);
122 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
131 void __noreturn __host_enter(struct kvm_cpu_context *host_ctxt);
A Dkvm_asm.h286 void handle_trap(struct kvm_cpu_context *host_ctxt);
A Dkvm_host.h604 struct kvm_cpu_context host_ctxt; member
/linux/arch/arm64/kvm/hyp/include/nvhe/
A Dffa.h15 bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id);
A Dmem_protect.h78 void handle_host_mem_abort(struct kvm_cpu_context *host_ctxt);
/linux/arch/arm64/kvm/
A Dpmu.c190 hctxt = host_data_ptr(host_ctxt); in kvm_set_pmuserenr()
A Darm.c2131 kvm_init_host_cpu_context(host_data_ptr(host_ctxt)); in cpu_hyp_init_context()
2498 fpsimd_state = &per_cpu_ptr_nvhe_sym(kvm_host_data, cpu)->host_ctxt.fp_regs; in finalize_init_hyp_mode()
/linux/arch/arm64/kernel/
A Dasm-offsets.c140 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()

Completed in 35 milliseconds