Home
last modified time | relevance | path

Searched refs:zcr_el2 (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
284 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() local
319 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()