Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/arm64/fp/
A DMakefile9 sve-ptrace sve-probe-vls \
13 rdvl-sme rdvl-sve \
14 sve-test \
20 TEST_PROGS_EXTENDED := fpsimd-stress sve-stress ssve-stress za-stress
29 $(OUTPUT)/rdvl-sve: rdvl-sve.c $(OUTPUT)/rdvl.o
31 $(OUTPUT)/sve-ptrace: sve-ptrace.c
32 $(OUTPUT)/sve-probe-vls: sve-probe-vls.c $(OUTPUT)/rdvl.o
33 $(OUTPUT)/sve-test: sve-test.S $(OUTPUT)/asm-utils.o
35 $(OUTPUT)/ssve-test: sve-test.S $(OUTPUT)/asm-utils.o
A Dsve-ptrace.c116 size_t sz = sizeof *sve; in get_sve()
136 sve = *buf; in get_sve()
137 if (sve->size <= sz) in get_sve()
140 sz = sve->size; in get_sve()
143 return sve; in get_sve()
168 memset(&sve, 0, sizeof(sve)); in ptrace_set_get_inherit()
169 sve.size = sizeof(sve); in ptrace_set_get_inherit()
234 memset(&sve, 0, sizeof(sve)); in ptrace_set_get_vl()
235 sve.size = sizeof(sve); in ptrace_set_get_vl()
236 sve.vl = vl; in ptrace_set_get_vl()
[all …]
A DREADME7 sve-probe-vls - Checks the SVE vector length enumeration interface
8 sve-ptrace - Checks the SVE ptrace interface
13 sve-stress performs an SVE context switch stress test, as described
17 "sve" in the following commands.)
25 $ ./sve-stress
67 To try to reproduce the bugs that we have been observing, sve-stress
73 $ lkvm run --console=virtio -pconsole=hvc0 --sve Image
89 guest$ ./vlset --inherit 32 ./sve-stress
91 3) Run the sve-stress on the host with the maximum Vector-Length:
92 host$ ./vlset --inherit --max ./sve-stress
[all …]
A D.gitignore5 rdvl-sve
6 sve-probe-vls
7 sve-ptrace
8 sve-test
A Drdvl.S6 .arch_extension sve
A Dsve-stress45 ./sve-test >$log &
A Dza-fork-asm.S6 .arch_extension sve
A Dfp-pidbench.S13 .arch_extension sve
A Dzt-test.S14 .arch_extension sve
A Dza-test.S18 .arch_extension sve
A Dsve-test.S22 .arch_extension sve
/linux-6.3-rc2/tools/testing/selftests/arm64/signal/testcases/
A Dtestcases.c61 bool validate_sve_context(struct sve_context *sve, char **err) in validate_sve_context() argument
65 = ((SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve->vl)) + 15) / 16) * 16; in validate_sve_context()
67 if (!sve || !err) in validate_sve_context()
71 if ((sve->head.size != sizeof(struct sve_context)) && in validate_sve_context()
72 (sve->head.size != regs_size)) { in validate_sve_context()
77 if (!sve_vl_valid(sve->vl)) { in validate_sve_context()
138 struct sve_context *sve = NULL; in validate_reserved() local
195 sve = (struct sve_context *)head; in validate_reserved()
264 if (!validate_sve_context(sve, err)) in validate_reserved()
A Dsve_regs.c63 struct sve_context *sve; in do_one_sve_vl() local
87 sve = (struct sve_context *)head; in do_one_sve_vl()
88 if (sve->vl != vl) { in do_one_sve_vl()
89 fprintf(stderr, "Got VL %d, expected %d\n", sve->vl, vl); in do_one_sve_vl()
95 head->size, sve->vl); in do_one_sve_vl()
A Dsve_vl.c34 struct sve_context *sve; in sve_vl() local
46 sve = (struct sve_context *)head; in sve_vl()
48 if (sve->vl != vl) { in sve_vl()
50 sve->vl, vl); in sve_vl()
A Dfake_sigreturn_sve_change_vl.c56 struct sve_context *sve; in fake_sigreturn_sve_change_vl() local
74 sve = (struct sve_context *)head; in fake_sigreturn_sve_change_vl()
78 sve->vl, vls[0]); in fake_sigreturn_sve_change_vl()
79 sve->vl = vls[0]; in fake_sigreturn_sve_change_vl()
A Dfake_sigreturn_sme_change_vl.c54 struct sve_context *sve; in fake_sigreturn_ssve_change_vl() local
72 sve = (struct sve_context *)head; in fake_sigreturn_ssve_change_vl()
76 sve->vl, vls[0]); in fake_sigreturn_ssve_change_vl()
77 sve->vl = vls[0]; in fake_sigreturn_ssve_change_vl()
/linux-6.3-rc2/tools/testing/selftests/arm64/abi/
A Dsyscall-abi.c404 int sve, sme; in test_one_syscall() local
411 for (sve = 0; sve < sve_vl_count; sve++) { in test_one_syscall()
412 ret = prctl(PR_SVE_SET_VL, sve_vls[sve]); in test_one_syscall()
417 ksft_test_result(do_test(cfg, sve_vls[sve], default_sme_vl, 0), in test_one_syscall()
418 "%s SVE VL %d\n", cfg->name, sve_vls[sve]); in test_one_syscall()
426 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall()
430 cfg->name, sve_vls[sve], in test_one_syscall()
432 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall()
435 cfg->name, sve_vls[sve], in test_one_syscall()
437 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall()
[all …]
A Dsyscall-abi-asm.S24 .arch_extension sve
/linux-6.3-rc2/arch/arm64/kernel/
A Dsignal.c176 struct sve_context __user *sve; member
279 if (user->sve_size < sizeof(*user->sve)) in restore_sve_fpsimd_context()
282 __get_user_error(user_vl, &(user->sve->vl), err); in restore_sve_fpsimd_context()
283 __get_user_error(flags, &(user->sve->flags), err); in restore_sve_fpsimd_context()
307 if (user->sve_size == sizeof(*user->sve)) { in restore_sve_fpsimd_context()
336 (char __user const *)user->sve + in restore_sve_fpsimd_context()
588 user->sve = NULL; in parse_user_sigframe()
646 if (user->sve) in parse_user_sigframe()
649 user->sve = (struct sve_context __user *)head; in parse_user_sigframe()
799 if (user.sve) in restore_sigframe()
/linux-6.3-rc2/Documentation/arm64/
A Dindex.rst25 sve
A Dsme.rst10 documentation in sve.rst which provides details on the Streaming SVE mode
276 sve.rst.
A Dsve.rst35 described in this document. SVE is reported in /proc/cpuinfo as "sve".
/linux-6.3-rc2/Documentation/process/
A Dmaintainer-pgp-guide.rst821 ✓ [PATCH v1 2/3] arm64/sve: Document our actual ABI for clearing registers on syscall
/linux-6.3-rc2/Documentation/virt/kvm/
A Dapi.rst2616 (See Documentation/arm64/sve.rst for an explanation of the "vq"

Completed in 28 milliseconds