Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/
A Dhyp-main.c104 cpu_reg(host_ctxt, 1) = ret; in handle___kvm_vcpu_run()
123 DECLARE_REG(int, level, host_ctxt, 3); in handle___kvm_tlb_flush_vmid_ipa()
221 DECLARE_REG(u64, pfn, host_ctxt, 1); in handle___pkvm_host_share_hyp()
228 DECLARE_REG(u64, pfn, host_ctxt, 1); in handle___pkvm_host_unshare_hyp()
255 cpu_reg(host_ctxt, 1) = haddr; in handle___pkvm_create_private_mapping()
359 hfn(host_ctxt); in handle_host_hcall()
368 __kvm_hyp_host_forward_smc(host_ctxt); in default_host_smc_handler()
377 default_host_smc_handler(host_ctxt); in handle_host_smc()
389 handle_host_hcall(host_ctxt); in handle_trap()
392 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 = &this_cpu_ptr(&kvm_host_data)->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()
299 cpu_reg(host_ctxt, 0) = ret; in kvm_host_psci_handler()
300 cpu_reg(host_ctxt, 1) = 0; in kvm_host_psci_handler()
301 cpu_reg(host_ctxt, 2) = 0; in kvm_host_psci_handler()
[all …]
A Dswitch.c242 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run() local
259 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run()
260 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run()
265 __sysreg_save_state_nvhe(host_ctxt); in __kvm_vcpu_run()
312 __sysreg_restore_state_nvhe(host_ctxt); in __kvm_vcpu_run()
331 host_ctxt->__hyp_running_vcpu = NULL; in __kvm_vcpu_run()
341 struct kvm_cpu_context *host_ctxt; in hyp_panic() local
344 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in hyp_panic()
345 vcpu = host_ctxt->__hyp_running_vcpu; in hyp_panic()
351 __sysreg_restore_state_nvhe(host_ctxt); in hyp_panic()
[all …]
A Dsetup.c279 struct kvm_cpu_context *host_ctxt = &host_data->host_ctxt; in __pkvm_init_finalise() local
323 cpu_reg(host_ctxt, 1) = ret; in __pkvm_init_finalise()
325 __host_enter(host_ctxt); in __pkvm_init_finalise()
A Dmem_protect.c522 void handle_host_mem_abort(struct kvm_cpu_context *host_ctxt) in handle_host_mem_abort() argument
/linux-6.3-rc2/arch/arm64/kvm/hyp/vhe/
A 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()
A Dswitch.c147 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local
151 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run_vhe()
152 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run_vhe()
155 sysreg_save_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
192 sysreg_restore_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
240 struct kvm_cpu_context *host_ctxt; in __hyp_call_panic() local
243 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __hyp_call_panic()
244 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic()
247 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic()
/linux-6.3-rc2/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 = &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-6.3-rc2/arch/arm64/include/asm/
A Dkvm_hyp.h102 bool kvm_host_psci_handler(struct kvm_cpu_context *host_ctxt);
105 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
114 void __noreturn __host_enter(struct kvm_cpu_context *host_ctxt);
A Dkvm_host.h385 struct kvm_cpu_context host_ctxt; member
/linux-6.3-rc2/arch/arm64/kvm/hyp/include/nvhe/
A Dmem_protect.h75 void handle_host_mem_abort(struct kvm_cpu_context *host_ctxt);
/linux-6.3-rc2/arch/arm64/kernel/
A Dasm-offsets.c138 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()
/linux-6.3-rc2/arch/arm64/kvm/
A Darm.c1640 kvm_init_host_cpu_context(&this_cpu_ptr_hyp_sym(kvm_host_data)->host_ctxt); in cpu_hyp_init_context()

Completed in 34 milliseconds