Home
last modified time | relevance | path

Searched refs:kvm_cpu_context (Results 1 – 14 of 14) sorted by relevance

/arch/arm64/kvm/hyp/
Dsysreg-sr.c26 static void __hyp_text __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state()
37 static void __hyp_text __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state()
43 static void __hyp_text __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state()
69 static void __hyp_text __sysreg_save_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el2_return_state()
78 void __hyp_text __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_save_state_nvhe()
86 void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_host_state_vhe()
92 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_guest_state_vhe()
99 static void __hyp_text __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_common_state()
110 static void __hyp_text __sysreg_restore_user_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_user_state()
116 static void __hyp_text __sysreg_restore_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_el1_state()
[all …]
Ddebug-sr.c134 struct kvm_cpu_context *ctxt) in __debug_save_state()
153 struct kvm_cpu_context *ctxt) in __debug_restore_state()
173 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_guest()
174 struct kvm_cpu_context *guest_ctxt; in __debug_switch_to_guest()
199 struct kvm_cpu_context *host_ctxt; in __debug_switch_to_host()
200 struct kvm_cpu_context *guest_ctxt; in __debug_switch_to_host()
Dswitch.c553 static bool __hyp_text __pmu_switch_to_guest(struct kvm_cpu_context *host_ctxt) in __pmu_switch_to_guest()
573 static void __hyp_text __pmu_switch_to_host(struct kvm_cpu_context *host_ctxt) in __pmu_switch_to_host()
591 struct kvm_cpu_context *host_ctxt; in kvm_vcpu_run_vhe()
592 struct kvm_cpu_context *guest_ctxt; in kvm_vcpu_run_vhe()
647 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_nvhe()
648 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run_nvhe()
730 struct kvm_cpu_context *__host_ctxt) in __hyp_call_panic_nvhe()
758 struct kvm_cpu_context *host_ctxt) in __hyp_call_panic_vhe()
773 void __hyp_text __noreturn hyp_panic(struct kvm_cpu_context *host_ctxt) in hyp_panic()
/arch/arm64/include/asm/
Dkvm_hyp.h63 void __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt);
64 void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt);
65 void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt);
66 void sysreg_restore_host_state_vhe(struct kvm_cpu_context *ctxt);
67 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt);
68 void sysreg_restore_guest_state_vhe(struct kvm_cpu_context *ctxt);
81 u64 __guest_enter(struct kvm_vcpu *vcpu, struct kvm_cpu_context *host_ctxt);
Dkvm_host.h215 struct kvm_cpu_context { struct
231 struct kvm_cpu_context host_ctxt; argument
245 struct kvm_cpu_context ctxt;
280 struct kvm_cpu_context *host_cpu_context;
487 static inline void kvm_init_host_cpu_context(struct kvm_cpu_context *cpu_ctxt) in kvm_init_host_cpu_context()
/arch/arm64/kernel/
Dasm-offsets.c99 DEFINE(CPU_GP_REGS, offsetof(struct kvm_cpu_context, gp_regs)); in main()
100 DEFINE(CPU_APIAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIAKEYLO_EL1])); in main()
101 DEFINE(CPU_APIBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIBKEYLO_EL1])); in main()
102 DEFINE(CPU_APDAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDAKEYLO_EL1])); in main()
103 DEFINE(CPU_APDBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDBKEYLO_EL1])); in main()
104 DEFINE(CPU_APGAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APGAKEYLO_EL1])); in main()
106 DEFINE(HOST_CONTEXT_VCPU, offsetof(struct kvm_cpu_context, __hyp_running_vcpu)); in main()
/arch/arm/include/asm/
Dkvm_hyp.h102 void __sysreg_save_state(struct kvm_cpu_context *ctxt);
103 void __sysreg_restore_state(struct kvm_cpu_context *ctxt);
119 void __hyp_text __banked_save_state(struct kvm_cpu_context *ctxt);
120 void __hyp_text __banked_restore_state(struct kvm_cpu_context *ctxt);
123 struct kvm_cpu_context *host);
Dkvm_host.h137 struct kvm_cpu_context { struct
144 struct kvm_cpu_context host_ctxt; argument
149 static inline void kvm_init_host_cpu_context(struct kvm_cpu_context *cpu_ctxt) in kvm_init_host_cpu_context()
163 struct kvm_cpu_context ctxt;
178 struct kvm_cpu_context *host_cpu_context;
/arch/arm/kvm/hyp/
Dcp15-sr.c12 static u64 *cp15_64(struct kvm_cpu_context *ctxt, int idx) in cp15_64()
17 void __hyp_text __sysreg_save_state(struct kvm_cpu_context *ctxt) in __sysreg_save_state()
45 void __hyp_text __sysreg_restore_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_state()
Dswitch.c148 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_nvhe()
149 struct kvm_cpu_context *guest_ctxt; in __kvm_vcpu_run_nvhe()
227 struct kvm_cpu_context *host_ctxt; in __hyp_panic()
Dbanked-sr.c18 void __hyp_text __banked_save_state(struct kvm_cpu_context *ctxt) in __banked_save_state()
45 void __hyp_text __banked_restore_state(struct kvm_cpu_context *ctxt) in __banked_restore_state()
/arch/arm64/kvm/
Dpmu.c166 struct kvm_cpu_context *host_ctxt; in kvm_vcpu_pmu_restore_guest()
187 struct kvm_cpu_context *host_ctxt; in kvm_vcpu_pmu_restore_host()
Dhandle_exit.c177 struct kvm_cpu_context *ctxt; in kvm_arm_vcpu_ptrauth_trap()
/arch/arm/kernel/
Dasm-offsets.c173 DEFINE(CPU_CTXT_VFP, offsetof(struct kvm_cpu_context, vfp)); in main()
174 DEFINE(CPU_CTXT_GP_REGS, offsetof(struct kvm_cpu_context, gp_regs)); in main()