Home
last modified time | relevance | path

Searched refs:ctxt_sys_reg (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h23 ctxt_sys_reg(ctxt, MDSCR_EL1) = read_sysreg(mdscr_el1); in __sysreg_save_common_state()
27 ctxt_sys_reg(ctxt, POR_EL0) = read_sysreg_s(SYS_POR_EL0); in __sysreg_save_common_state()
32 ctxt_sys_reg(ctxt, TPIDR_EL0) = read_sysreg(tpidr_el0); in __sysreg_save_user_state()
33 ctxt_sys_reg(ctxt, TPIDRRO_EL0) = read_sysreg(tpidrro_el0); in __sysreg_save_user_state()
88 ctxt_sys_reg(ctxt, SCTLR_EL1) = read_sysreg_el1(SYS_SCTLR); in __sysreg_save_el1_state()
89 ctxt_sys_reg(ctxt, CPACR_EL1) = read_sysreg_el1(SYS_CPACR); in __sysreg_save_el1_state()
90 ctxt_sys_reg(ctxt, TTBR0_EL1) = read_sysreg_el1(SYS_TTBR0); in __sysreg_save_el1_state()
91 ctxt_sys_reg(ctxt, TTBR1_EL1) = read_sysreg_el1(SYS_TTBR1); in __sysreg_save_el1_state()
92 ctxt_sys_reg(ctxt, TCR_EL1) = read_sysreg_el1(SYS_TCR); in __sysreg_save_el1_state()
94 ctxt_sys_reg(ctxt, TCR2_EL1) = read_sysreg_el1(SYS_TCR2); in __sysreg_save_el1_state()
[all …]
Dswitch.h112 ctxt_sys_reg(hctxt, reg) = read_sysreg_s(SYS_ ## reg); \
182 write_sysreg_s(ctxt_sys_reg(hctxt, reg), \
196 write_sysreg_s(ctxt_sys_reg(hctxt, HFGWTR_EL2), SYS_HFGWTR_EL2); in __deactivate_traps_hfgxtr()
224 ctxt_sys_reg(hctxt, PMUSERENR_EL0) = read_sysreg(pmuserenr_el0); in __activate_traps_common()
258 write_sysreg(ctxt_sys_reg(hctxt, PMUSERENR_EL0), pmuserenr_el0); in __deactivate_traps_common()
Ddebug-sr.h106 ctxt_sys_reg(ctxt, MDCCINT_EL1) = read_sysreg(mdccint_el1); in __debug_save_state()
125 write_sysreg(ctxt_sys_reg(ctxt, MDCCINT_EL1), mdccint_el1); in __debug_restore_state()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_ptrauth.h109 ctxt_sys_reg(ctxt, key ## KEYLO_EL1) = __val; \
111 ctxt_sys_reg(ctxt, key ## KEYHI_EL1) = __val; \
Dkvm_emulate.h190 (ctxt_sys_reg(ctxt, HCR_EL2) & HCR_E2H)); in __vcpu_el2_e2h_is_set()
200 return ctxt_sys_reg(ctxt, HCR_EL2) & HCR_TGE; in __vcpu_el2_tge_is_set()
Dkvm_host.h1003 #define ctxt_sys_reg(c,r) (*__ctxt_sys_reg(c,r)) macro
1308 ctxt_sys_reg(cpu_ctxt, MPIDR_EL1) = read_cpuid_mpidr(); in kvm_init_host_cpu_context()
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dswitch.c77 write_sysreg_el1(ctxt_sys_reg(ctxt, SCTLR_EL1), SYS_SCTLR); in __activate_traps()
79 write_sysreg_el1(ctxt_sys_reg(ctxt, TCR_EL1), SYS_TCR); in __activate_traps()
/linux-6.12.1/arch/arm64/kvm/
Dpmu.c191 ctxt_sys_reg(hctxt, PMUSERENR_EL0) = val; in kvm_set_pmuserenr()
Dnested.c938 u64 v = ctxt_sys_reg(&vcpu->arch.ctxt, sr); in kvm_vcpu_sanitise_vncr_reg()