Searched refs:hctxt (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/ |
H A D | switch.h | 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() 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() 187 struct kvm_cpu_context *hctxt; in __activate_traps_common() local 191 hctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in __activate_traps_common() 192 ctxt_sys_reg(hctxt, PMUSERENR_EL0) = read_sysreg(pmuserenr_el0); in __activate_traps_common() 223 struct kvm_cpu_context *hctxt; in __deactivate_traps_common() local [all …]
|
/openbmc/linux/arch/arm64/kvm/ |
H A 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()
|