Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/nvhe/
A Dhyp-main.c46 DECLARE_REG(phys_addr_t, ipa, host_ctxt, 2); in handle___kvm_tlb_flush_vmid_ipa()
47 DECLARE_REG(int, level, host_ctxt, 3); in handle___kvm_tlb_flush_vmid_ipa()
92 __vgic_v3_write_vmcr(cpu_reg(host_ctxt, 1)); in handle___vgic_v3_write_vmcr()
145 DECLARE_REG(u64, pfn, host_ctxt, 1); in handle___pkvm_host_share_hyp()
153 DECLARE_REG(size_t, size, host_ctxt, 2); in handle___pkvm_create_private_mapping()
229 hfn(host_ctxt); in handle_host_hcall()
238 __kvm_hyp_host_forward_smc(host_ctxt); in default_host_smc_handler()
247 default_host_smc_handler(host_ctxt); in handle_host_smc()
259 handle_host_hcall(host_ctxt); in handle_trap()
262 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.c132 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_guest()
152 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_host()
257 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run() local
274 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run()
275 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run()
280 __sysreg_save_state_nvhe(host_ctxt); in __kvm_vcpu_run()
340 __pmu_switch_to_host(host_ctxt); in __kvm_vcpu_run()
346 host_ctxt->__hyp_running_vcpu = NULL; in __kvm_vcpu_run()
356 struct kvm_cpu_context *host_ctxt; in hyp_panic() local
359 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in hyp_panic()
[all …]
A Dsetup.c227 struct kvm_cpu_context *host_ctxt = &host_data->host_ctxt; in __pkvm_init_finalise() local
261 cpu_reg(host_ctxt, 1) = ret; in __pkvm_init_finalise()
263 __host_enter(host_ctxt); in __pkvm_init_finalise()
A Dmem_protect.c441 void handle_host_mem_abort(struct kvm_cpu_context *host_ctxt) in handle_host_mem_abort() argument
/linux/arch/arm64/kvm/hyp/vhe/
A Dswitch.c122 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local
126 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run_vhe()
127 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run_vhe()
130 sysreg_save_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
162 sysreg_restore_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
210 struct kvm_cpu_context *host_ctxt; in __hyp_call_panic() local
213 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __hyp_call_panic()
214 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic()
217 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic()
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()
/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 = &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/arch/arm64/include/asm/
A Dkvm_hyp.h103 bool kvm_host_psci_handler(struct kvm_cpu_context *host_ctxt);
106 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
115 void __noreturn __host_enter(struct kvm_cpu_context *host_ctxt);
A Dkvm_host.h249 struct kvm_cpu_context host_ctxt; member
/linux/arch/arm64/kvm/hyp/include/nvhe/
A Dmem_protect.h58 void handle_host_mem_abort(struct kvm_cpu_context *host_ctxt);
/linux/arch/arm64/kernel/
A Dasm-offsets.c125 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()
/linux/arch/arm64/kvm/
A Darm.c1590 kvm_init_host_cpu_context(&this_cpu_ptr_hyp_sym(kvm_host_data)->host_ctxt); in cpu_hyp_init_context()

Completed in 21 milliseconds