/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/ |
H A D | za_regs.c | 38 if (vq < sve_vq_from_vl(vl)) in sme_get_vls() 42 vq = sve_vq_from_vl(vl); in sme_get_vls() 98 if (head->size != ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))) { in do_one_sme_vl() 100 head->size, ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))); in do_one_sme_vl() 109 ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) { in do_one_sme_vl()
|
H A D | ssve_za_regs.c | 38 if (vq < sve_vq_from_vl(vl)) in sme_get_vls() 42 vq = sve_vq_from_vl(vl); in sme_get_vls() 132 ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) { in do_one_sme_vl()
|
H A D | ssve_regs.c | 38 if (vq < sve_vq_from_vl(vl)) in sme_get_vls() 42 vq = sve_vq_from_vl(vl); in sme_get_vls()
|
H A D | testcases.c | 65 = ((SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve->vl)) + 15) / 16) * 16; in validate_sve_context() 90 = ((ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za->vl)) + 15) / 16) * 16; in validate_za_context()
|
H A D | fake_sigreturn_sve_change_vl.c | 36 vq = sve_vq_from_vl(vl); in sve_get_vls()
|
H A D | fake_sigreturn_sme_change_vl.c | 35 vq = sve_vq_from_vl(vl); in sme_get_vls()
|
H A D | sve_regs.c | 38 vq = sve_vq_from_vl(vl); in sve_get_vls()
|
H A D | za_no_regs.c | 38 vq = sve_vq_from_vl(vl); in sme_get_vls()
|
/openbmc/linux/tools/testing/selftests/arm64/abi/ |
H A D | syscall-abi.c | 214 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_p() 261 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_ffr() 491 if (vq != sve_vq_from_vl(vl)) in sve_count_vls() 492 vq = sve_vq_from_vl(vl); in sve_count_vls() 518 if (sve_vq_from_vl(vl) > vq) in sme_count_vls() 521 if (vq != sve_vq_from_vl(vl)) in sme_count_vls() 522 vq = sve_vq_from_vl(vl); in sme_count_vls()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | fpsimd.c | 427 sme_set_vq(sve_vq_from_vl(sme_vl) - 1); in task_fpsimd_load() 552 __vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length() 685 vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread)); in fpsimd_to_sve() 712 vq = sve_vq_from_vl(vl); in sve_to_fpsimd() 750 return SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in sve_state_size() 842 vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread)); in sve_sync_from_fpsimd_zeropad() 1047 if (sve_vq_from_vl(vl) > vq) in vec_probe_vqs() 1190 return sve_vq_from_vl(sve_get_vl()) - 1; in read_zcr_features() 1356 return sve_vq_from_vl(sme_get_vl()) - 1; in read_smcr_features() 1441 sve_vq_from_vl(task_get_sve_vl(current)) - 1; in sve_init_regs() [all …]
|
H A D | signal.c | 243 vq = sve_vq_from_vl(vl); in preserve_sve_context() 246 vq = sve_vq_from_vl(vl); in preserve_sve_context() 315 vq = sve_vq_from_vl(vl); in restore_sve_fpsimd_context() 415 vq = sve_vq_from_vl(vl); in preserve_za_context() 463 vq = sve_vq_from_vl(user_vl); in restore_za_context() 888 vq = sve_vq_from_vl(vl); in setup_sigframe_layout() 914 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
|
H A D | ptrace.c | 765 vq = sve_vq_from_vl(header->vl); in sve_init_header_from_task() 769 header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl), in sve_init_header_from_task() 789 vq = sve_vq_from_vl(header.vl); in sve_get_common() 869 vq = sve_vq_from_vl(task_get_vl(target, type)); in sve_set_common() 924 if (count && vq != sve_vq_from_vl(header.vl)) { in sve_set_common() 1033 vq = sve_vq_from_vl(header.vl); in za_get() 1096 vq = sve_vq_from_vl(task_get_sme_vl(target)); in za_set() 1126 if (vq != sve_vq_from_vl(header.vl)) { in za_set()
|
H A D | entry-common.c | 382 sve_vq_minus_one = sve_vq_from_vl(task_get_sve_vl(current)) - 1; in fp_user_discard()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | fpsimd.h | 93 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset() 111 unsigned int sme_vq = sve_vq_from_vl(thread_get_sme_vl(thread)); in thread_zt_state() 375 size = ZA_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in sme_state_size()
|
H A D | kvm_host.h | 746 #define vcpu_sve_max_vq(vcpu) sve_vq_from_vl((vcpu)->arch.sve_max_vl)
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-probe-vls.c | 48 vq = sve_vq_from_vl(vl); in main()
|
H A D | sve-ptrace.c | 335 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_sve_get_sve_data() 430 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_sve_get_fpsimd_data() 514 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_fpsimd_get_sve_data()
|
H A D | za-ptrace.c | 197 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_get_data()
|
H A D | fp-stress.c | 404 vq = sve_vq_from_vl(vl); in probe_vls()
|
/openbmc/linux/arch/arm64/include/uapi/asm/ |
H A D | sigcontext.h | 195 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | guest.c | 359 if (max_vq > sve_vq_from_vl(kvm_sve_max_vl)) in set_sve_vls()
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | sve.rst | 156 sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)). 346 vq should be obtained using sve_vq_from_vl(vl).
|
H A D | sme.rst | 131 za_context.head.size >= ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za_context.vl))
|