Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/nvhe/
H 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()
H A Dmem_protect.c691 static void host_inject_mem_abort(struct kvm_cpu_context *host_ctxt) in host_inject_mem_abort() argument
724 void handle_host_mem_abort(struct kvm_cpu_context *host_ctxt) in handle_host_mem_abort() argument
748 host_inject_mem_abort(host_ctxt); in handle_host_mem_abort()
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Ddebug-sr.h136 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_guest_common() local
144 host_ctxt = host_data_ptr(host_ctxt); in __debug_switch_to_guest_common()
149 __debug_save_state(host_dbg, host_ctxt); in __debug_switch_to_guest_common()
155 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_host_common() local
163 host_ctxt = host_data_ptr(host_ctxt); in __debug_switch_to_host_common()
169 __debug_restore_state(host_dbg, host_ctxt); in __debug_switch_to_host_common()
H A Dsysreg-sr.h33 return host_data_ptr(host_ctxt) != ctxt; in ctxt_is_guest()
/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c218 host_data_ptr(host_ctxt)->__hyp_running_vcpu = vcpu; in kvm_vcpu_load_vhe()
230 host_data_ptr(host_ctxt)->__hyp_running_vcpu = NULL; in kvm_vcpu_put_vhe()
574 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local
578 host_ctxt = host_data_ptr(host_ctxt); in __kvm_vcpu_run_vhe()
583 sysreg_save_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
609 sysreg_restore_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe()
660 struct kvm_cpu_context *host_ctxt; in __hyp_call_panic() local
663 host_ctxt = host_data_ptr(host_ctxt); in __hyp_call_panic()
664 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic()
667 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic()
/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dffa.h15 bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id);
/linux/arch/arm64/kernel/
H A Dasm-offsets.c118 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()