Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h278 u64 zcr_el1, zcr_el2; in fpsimd_lazy_switch_to_guest() local
288 zcr_el1 = __vcpu_sys_reg(vcpu, ZCR_EL1); in fpsimd_lazy_switch_to_guest()
289 write_sysreg_el1(zcr_el1, SYS_ZCR); in fpsimd_lazy_switch_to_guest()
295 u64 zcr_el1, zcr_el2; in fpsimd_lazy_switch_to_host() local
309 zcr_el1 = read_sysreg_el1(SYS_ZCR); in fpsimd_lazy_switch_to_host()
310 __vcpu_sys_reg(vcpu, ZCR_EL1) = zcr_el1; in fpsimd_lazy_switch_to_host()
325 zcr_el1 = vcpu_sve_max_vq(vcpu) - 1; in fpsimd_lazy_switch_to_host()
326 write_sysreg_el1(zcr_el1, SYS_ZCR); in fpsimd_lazy_switch_to_host()