Searched refs:cpacr_el1 (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/arm64/include/asm/ |
D | fpsimd.h | 35 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()
|
D | kvm_nested.h | 36 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()
|
D | el2_setup.h | 150 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
|
D | kvm_emulate.h | 602 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/ |
D | fpsimd.c | 69 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/ |
D | proc.S | 84 mrs x6, cpacr_el1 128 msr cpacr_el1, x6 456 msr cpacr_el1, xzr // Reset cpacr_el1
|
/linux-6.12.1/arch/arm64/kernel/ |
D | hyp-stub.S | 111 msr cpacr_el1, x0
|
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/ |
D | switch.c | 136 write_sysreg(val, cpacr_el1); in __activate_cptr_traps()
|