Home
last modified time | relevance | path

Searched refs:read_sysreg_el1 (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h88 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()
97 ctxt_sys_reg(ctxt, PIR_EL1) = read_sysreg_el1(SYS_PIR); in __sysreg_save_el1_state()
98 ctxt_sys_reg(ctxt, PIRE0_EL1) = read_sysreg_el1(SYS_PIRE0); in __sysreg_save_el1_state()
102 ctxt_sys_reg(ctxt, POR_EL1) = read_sysreg_el1(SYS_POR); in __sysreg_save_el1_state()
104 ctxt_sys_reg(ctxt, ESR_EL1) = read_sysreg_el1(SYS_ESR); in __sysreg_save_el1_state()
[all …]
Dswitch.h340 sve_state->zcr_el1 = read_sysreg_el1(SYS_ZCR); in __hyp_sve_save_host()
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Ddebug-sr.c34 *pmscr_el1 = read_sysreg_el1(SYS_PMSCR); in __debug_save_spe()
66 *trfcr_el1 = read_sysreg_el1(SYS_TRFCR); in __debug_save_trace()
Dtlb.c86 val = cxt->tcr = read_sysreg_el1(SYS_TCR); in enter_vmid_context()
92 val = cxt->sctlr = read_sysreg_el1(SYS_SCTLR); in enter_vmid_context()
Dswitch.c98 val = read_sysreg_el1(SYS_TCR); in __deactivate_traps()
101 val = read_sysreg_el1(SYS_SCTLR); in __deactivate_traps()
Dhyp-main.c28 __vcpu_sys_reg(vcpu, ZCR_EL1) = read_sysreg_el1(SYS_ZCR); in __hyp_sve_save_guest()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_hyp.h29 #define read_sysreg_el1(r) read_sysreg_s(r##_EL12) macro
63 #define read_sysreg_el1(r) read_sysreg_elx(r, _EL1, _EL12) macro
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/
Dtlb.c43 val = cxt->tcr = read_sysreg_el1(SYS_TCR); in enter_vmid_context()
46 val = cxt->sctlr = read_sysreg_el1(SYS_SCTLR); in enter_vmid_context()
Dswitch.c278 spsr = read_sysreg_el1(SYS_SPSR); in kvm_hyp_handle_eret()
301 elr = read_sysreg_el1(SYS_ELR); in kvm_hyp_handle_eret()
/linux-6.12.1/arch/arm64/kvm/
Dat.c423 config->ttbr0 = read_sysreg_el1(SYS_TTBR0); in __mmu_config_save()
424 config->ttbr1 = read_sysreg_el1(SYS_TTBR1); in __mmu_config_save()
425 config->tcr = read_sysreg_el1(SYS_TCR); in __mmu_config_save()
426 config->mair = read_sysreg_el1(SYS_MAIR); in __mmu_config_save()
427 config->sctlr = read_sysreg_el1(SYS_SCTLR); in __mmu_config_save()
Dfpsimd.c182 u64 zcr = read_sysreg_el1(SYS_ZCR); in kvm_arch_vcpu_put_fp()