Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/kernel/
Dfpsimd.c127 int __ro_after_init sve_max_vl = SVE_VL_MIN; variable
323 int max_vl = sve_max_vl; in find_supported_vector_length()
358 vl = sve_max_vl; in sve_proc_do_default_vl()
788 if (!sve_vl_valid(sve_max_vl)) in sve_efi_setup()
792 SVE_SIG_REGS_SIZE(sve_vq_from_vl(sve_max_vl)), SVE_VQ_BYTES); in sve_efi_setup()
857 sve_max_vl = sve_vl_from_vq((zcr & ZCR_ELx_LEN_MASK) + 1); in sve_setup()
863 if (WARN_ON(sve_max_vl != find_supported_vector_length(sve_max_vl))) in sve_setup()
864 sve_max_vl = find_supported_vector_length(sve_max_vl); in sve_setup()
885 if (sve_max_virtualisable_vl > sve_max_vl) in sve_setup()
886 sve_max_virtualisable_vl = sve_max_vl; in sve_setup()
[all …]
Dsignal.c588 int vl = sve_max_vl; in setup_sigframe_layout()
Dptrace.c760 header->max_vl = sve_max_vl; in sve_init_header_from_task()
/Linux-v5.4/arch/arm64/kvm/
Dreset.c125 if (kvm_sve_max_vl < sve_max_vl) in kvm_arm_init_sve()
142 vcpu->arch.sve_max_vl = kvm_sve_max_vl; in kvm_vcpu_enable_sve()
163 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve()
Dguest.c221 if (WARN_ON(!sve_vl_valid(vcpu->arch.sve_max_vl))) in get_sve_vls()
226 max_vq = sve_vq_from_vl(vcpu->arch.sve_max_vl); in get_sve_vls()
278 vcpu->arch.sve_max_vl = sve_vl_from_vq(max_vq); in set_sve_vls()
354 vq = sve_vq_from_vl(vcpu->arch.sve_max_vl); in sve_reg_to_region()
364 vq = sve_vq_from_vl(vcpu->arch.sve_max_vl); in sve_reg_to_region()
Dfpsimd.c91 vcpu->arch.sve_max_vl); in kvm_arch_vcpu_ctxsync_fp()
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_host.h247 unsigned int sve_max_vl; member
345 sve_ffr_offset((vcpu)->arch.sve_max_vl)))
351 if (WARN_ON(!sve_vl_valid((vcpu)->arch.sve_max_vl))) { \
354 __vcpu_vq = sve_vq_from_vl((vcpu)->arch.sve_max_vl); \
Dfpsimd.h79 extern int __ro_after_init sve_max_vl;
/Linux-v5.4/arch/arm64/kvm/hyp/
Dswitch.c372 sve_vq_from_vl(vcpu->arch.sve_max_vl) - 1); in __hyp_handle_fpsimd()