Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h467 u64 zcr_el2 = vcpu_sve_max_vq(vcpu) - 1; in __hyp_sve_restore_guest() local
473 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() local
510 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() local
549 zcr_el2 = vcpu_sve_max_vq(vcpu) - 1; in fpsimd_lazy_switch_to_host()
[all …]