Home
last modified time | relevance | path

Searched refs:cpacr_el1 (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/arm64/include/asm/
Dfpsimd.h35 unsigned long old = read_sysreg(cpacr_el1); in cpacr_save_enable_kernel_sve()
38 write_sysreg(old | set, cpacr_el1); in cpacr_save_enable_kernel_sve()
45 unsigned long old = read_sysreg(cpacr_el1); in cpacr_save_enable_kernel_sme()
48 write_sysreg(old | set, cpacr_el1); in cpacr_save_enable_kernel_sme()
55 write_sysreg(cpacr, cpacr_el1); in cpacr_restore()
212 sysreg_clear_set(cpacr_el1, CPACR_EL1_ZEN_EL0EN, 0); in sve_user_disable()
217 sysreg_clear_set(cpacr_el1, 0, CPACR_EL1_ZEN_EL0EN); in sve_user_enable()
348 sysreg_clear_set(cpacr_el1, CPACR_EL1_SMEN_EL0EN, 0); in sme_user_disable()
353 sysreg_clear_set(cpacr_el1, 0, CPACR_EL1_SMEN_EL0EN); in sme_user_enable()
Dkvm_nested.h36 u64 cpacr_el1 = CPACR_ELx_RES1; in translate_cptr_el2_to_cpacr_el1() local
39 cpacr_el1 |= CPACR_ELx_TTA; in translate_cptr_el2_to_cpacr_el1()
41 cpacr_el1 |= CPACR_ELx_FPEN; in translate_cptr_el2_to_cpacr_el1()
43 cpacr_el1 |= CPACR_ELx_ZEN; in translate_cptr_el2_to_cpacr_el1()
45 cpacr_el1 |= cptr_el2 & (CPTR_EL2_TCPAC | CPTR_EL2_TAM); in translate_cptr_el2_to_cpacr_el1()
47 return cpacr_el1; in translate_cptr_el2_to_cpacr_el1()
Del2_setup.h150 msr cpacr_el1, x0
290 mrs x0, cpacr_el1 // Disable SVE traps
292 msr cpacr_el1, x0
311 mrs x0, cpacr_el1 // Disable SME traps
313 msr cpacr_el1, x0
Dkvm_emulate.h602 sysreg_clear_set(cpacr_el1, clr, set); \
612 write_sysreg(val, cpacr_el1); in kvm_write_cptr_el2()
/linux-6.12.1/arch/arm64/kvm/
Dfpsimd.c69 if (read_sysreg(cpacr_el1) & CPACR_EL1_ZEN_EL0EN) in kvm_arch_vcpu_load_fp()
74 if (read_sysreg(cpacr_el1) & CPACR_EL1_SMEN_EL0EN) in kvm_arch_vcpu_load_fp()
/linux-6.12.1/arch/arm64/mm/
Dproc.S84 mrs x6, cpacr_el1
128 msr cpacr_el1, x6
456 msr cpacr_el1, xzr // Reset cpacr_el1
/linux-6.12.1/arch/arm64/kernel/
Dhyp-stub.S111 msr cpacr_el1, x0
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/
Dswitch.c136 write_sysreg(val, cpacr_el1); in __activate_cptr_traps()