Home
last modified time | relevance | path

Searched refs:cptr_el2 (Results 1 – 3 of 3) sorted by relevance

/arch/arm64/include/asm/
A Dkvm_nested.h34 static inline u64 translate_cptr_el2_to_cpacr_el1(u64 cptr_el2) in translate_cptr_el2_to_cpacr_el1() argument
38 if (cptr_el2 & CPTR_EL2_TTA) in translate_cptr_el2_to_cpacr_el1()
40 if (!(cptr_el2 & CPTR_EL2_TFP)) in translate_cptr_el2_to_cpacr_el1()
42 if (!(cptr_el2 & CPTR_EL2_TZ)) 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()
A Del2_setup.h232 msr cptr_el2, x0 // Disable copro. traps to EL2
491 mrs x0, cptr_el2 // Disable SVE traps
493 msr cptr_el2, x0
512 mrs x0, cptr_el2 // Disable SME traps
514 msr cptr_el2, x0
/arch/arm64/kvm/hyp/include/hyp/
A Dswitch.h84 write_sysreg(val, cptr_el2); in __activate_cptr_traps_nvhe()
175 write_sysreg(val, cptr_el2); in __deactivate_cptr_traps_nvhe()

Completed in 8 milliseconds