Searched refs:zcr_el2 (Results 1 – 1 of 1) sorted by relevance
278 u64 zcr_el1, zcr_el2; in fpsimd_lazy_switch_to_guest() local284 zcr_el2 = vcpu_sve_max_vq(vcpu) - 1; in fpsimd_lazy_switch_to_guest()286 write_sysreg_el2(zcr_el2, SYS_ZCR); in fpsimd_lazy_switch_to_guest()295 u64 zcr_el1, zcr_el2; in fpsimd_lazy_switch_to_host() local319 zcr_el2 = vcpu_sve_max_vq(vcpu) - 1; in fpsimd_lazy_switch_to_host()320 write_sysreg_el2(zcr_el2, SYS_ZCR); in fpsimd_lazy_switch_to_host()322 zcr_el2 = sve_vq_from_vl(kvm_host_sve_max_vl) - 1; in fpsimd_lazy_switch_to_host()323 write_sysreg_el2(zcr_el2, SYS_ZCR); in fpsimd_lazy_switch_to_host()