Searched refs:host_ctxt (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/ |
D | hyp-main.c | 18 struct kvm_cpu_context *host_ctxt) in handle_host_hcall() argument 24 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall() 34 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall() 36 phys_addr_t ipa = host_ctxt->regs.regs[2]; in handle_host_hcall() 37 int level = host_ctxt->regs.regs[3]; in handle_host_hcall() 43 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall() 50 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall() 57 u64 cntvoff = host_ctxt->regs.regs[1]; in handle_host_hcall() 72 u32 vmcr = host_ctxt->regs.regs[1]; in handle_host_hcall() 84 unsigned long r1 = host_ctxt->regs.regs[1]; in handle_host_hcall() [all …]
|
D | switch.c | 130 static bool __pmu_switch_to_guest(struct kvm_cpu_context *host_ctxt) in __pmu_switch_to_guest() argument 135 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_guest() 150 static void __pmu_switch_to_host(struct kvm_cpu_context *host_ctxt) in __pmu_switch_to_host() argument 155 host = container_of(host_ctxt, struct kvm_host_data, host_ctxt); in __pmu_switch_to_host() 168 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run() local 184 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run() 185 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run() 188 pmu_switch_needed = __pmu_switch_to_guest(host_ctxt); in __kvm_vcpu_run() 190 __sysreg_save_state_nvhe(host_ctxt); in __kvm_vcpu_run() 234 __sysreg_restore_state_nvhe(host_ctxt); in __kvm_vcpu_run() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/vhe/ |
D | sysreg-sr.c | 67 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()
|
D | switch.c | 117 struct kvm_cpu_context *host_ctxt; in __kvm_vcpu_run_vhe() local 121 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __kvm_vcpu_run_vhe() 122 host_ctxt->__hyp_running_vcpu = vcpu; in __kvm_vcpu_run_vhe() 125 sysreg_save_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe() 155 sysreg_restore_host_state_vhe(host_ctxt); in __kvm_vcpu_run_vhe() 203 struct kvm_cpu_context *host_ctxt; in __hyp_call_panic() local 206 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __hyp_call_panic() 207 vcpu = host_ctxt->__hyp_running_vcpu; in __hyp_call_panic() 210 sysreg_restore_host_state_vhe(host_ctxt); in __hyp_call_panic()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/include/hyp/ |
D | debug-sr.h | 130 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()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | kvm_hyp.h | 102 void __noreturn __hyp_do_panic(struct kvm_cpu_context *host_ctxt, u64 spsr,
|
D | kvm_host.h | 273 struct kvm_cpu_context host_ctxt; member
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | asm-offsets.c | 114 DEFINE(HOST_DATA_CONTEXT, offsetof(struct kvm_host_data, host_ctxt)); in main()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | arm.c | 1417 kvm_init_host_cpu_context(&this_cpu_ptr_hyp_sym(kvm_host_data)->host_ctxt); in cpu_hyp_reinit()
|