Searched refs:zcr_el2 (Results 1 – 1 of 1) sorted by relevance
467 u64 zcr_el2 = vcpu_sve_max_vq(vcpu) - 1; in __hyp_sve_restore_guest() local473 sve_cond_update_zcr_vq(zcr_el2, SYS_ZCR_EL2); in __hyp_sve_restore_guest()484 zcr_el2 = min(zcr_el2, __vcpu_sys_reg(vcpu, ZCR_EL2)); in __hyp_sve_restore_guest()485 sve_cond_update_zcr_vq(zcr_el2, SYS_ZCR_EL2); in __hyp_sve_restore_guest()504 u64 zcr_el1, zcr_el2; in fpsimd_lazy_switch_to_guest() local510 zcr_el2 = vcpu_sve_max_vq(vcpu) - 1; in fpsimd_lazy_switch_to_guest()514 zcr_el2 = min(zcr_el2, __vcpu_sys_reg(vcpu, ZCR_EL2)); in fpsimd_lazy_switch_to_guest()516 write_sysreg_el2(zcr_el2, SYS_ZCR); in fpsimd_lazy_switch_to_guest()525 u64 zcr_el1, zcr_el2; in fpsimd_lazy_switch_to_host() local549 zcr_el2 = vcpu_sve_max_vq(vcpu) - 1; in fpsimd_lazy_switch_to_host()[all …]