Searched refs:hctxt (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/arch/arm64/kvm/hyp/include/hyp/ |
D | switch.h | 84 struct kvm_cpu_context *hctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __activate_traps_hfgxtr() local 91 ctxt_sys_reg(hctxt, HFGRTR_EL2) = read_sysreg_s(SYS_HFGRTR_EL2); in __activate_traps_hfgxtr() 92 ctxt_sys_reg(hctxt, HFGWTR_EL2) = read_sysreg_s(SYS_HFGWTR_EL2); in __activate_traps_hfgxtr() 127 ctxt_sys_reg(hctxt, HFGITR_EL2) = read_sysreg_s(SYS_HFGITR_EL2); in __activate_traps_hfgxtr() 137 ctxt_sys_reg(hctxt, HDFGRTR_EL2) = read_sysreg_s(SYS_HDFGRTR_EL2); in __activate_traps_hfgxtr() 138 ctxt_sys_reg(hctxt, HDFGWTR_EL2) = read_sysreg_s(SYS_HDFGWTR_EL2); in __activate_traps_hfgxtr() 159 struct kvm_cpu_context *hctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __deactivate_traps_hfgxtr() local 164 write_sysreg_s(ctxt_sys_reg(hctxt, HFGRTR_EL2), SYS_HFGRTR_EL2); in __deactivate_traps_hfgxtr() 165 write_sysreg_s(ctxt_sys_reg(hctxt, HFGWTR_EL2), SYS_HFGWTR_EL2); in __deactivate_traps_hfgxtr() 170 write_sysreg_s(ctxt_sys_reg(hctxt, HFGITR_EL2), SYS_HFGITR_EL2); in __deactivate_traps_hfgxtr() [all …]
|
/Linux-v6.6/arch/arm64/kvm/ |
D | pmu.c | 225 struct kvm_cpu_context *hctxt; in kvm_set_pmuserenr() local 235 hctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in kvm_set_pmuserenr() 236 ctxt_sys_reg(hctxt, PMUSERENR_EL0) = val; in kvm_set_pmuserenr()
|