Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/arm64/fp/
DMakefile9 sve-ptrace sve-probe-vls \
13 rdvl-sme rdvl-sve \
14 sve-test \
18 TEST_PROGS_EXTENDED := fpsimd-stress sve-stress ssve-stress za-stress
27 $(OUTPUT)/rdvl-sve: rdvl-sve.c $(OUTPUT)/rdvl.o
29 $(OUTPUT)/sve-ptrace: sve-ptrace.c
30 $(OUTPUT)/sve-probe-vls: sve-probe-vls.c $(OUTPUT)/rdvl.o
31 $(OUTPUT)/sve-test: sve-test.S $(OUTPUT)/asm-utils.o
33 $(OUTPUT)/ssve-test: sve-test.S $(OUTPUT)/asm-utils.o
Dsve-ptrace.c104 struct user_sve_header *sve; in get_sve() local
106 size_t sz = sizeof *sve; in get_sve()
126 sve = *buf; in get_sve()
127 if (sve->size <= sz) in get_sve()
130 sz = sve->size; in get_sve()
133 return sve; in get_sve()
140 const struct user_sve_header *sve) in set_sve() argument
144 iov.iov_base = (void *)sve; in set_sve()
145 iov.iov_len = sve->size; in set_sve()
152 struct user_sve_header sve; in ptrace_set_get_inherit() local
[all …]
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
88 2) Run the sve-stress on *each* guest with the Vector-Length set to 32:
89 guest$ ./vlset --inherit 32 ./sve-stress
91 3) Run the sve-stress on the host with the maximum Vector-Length:
[all …]
D.gitignore5 rdvl-sve
6 sve-probe-vls
7 sve-ptrace
8 sve-test
Drdvl.S6 .arch_extension sve
Dsve-stress45 ./sve-test >$log &
Dza-fork-asm.S6 .arch_extension sve
Dfp-pidbench.S13 .arch_extension sve
Dza-test.S18 .arch_extension sve
Dsve-test.S22 .arch_extension sve
/Linux-v6.1/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c57 bool validate_sve_context(struct sve_context *sve, char **err) in validate_sve_context() argument
61 = ((SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve->vl)) + 15) / 16) * 16; in validate_sve_context()
63 if (!sve || !err) in validate_sve_context()
67 if ((sve->head.size != sizeof(struct sve_context)) && in validate_sve_context()
68 (sve->head.size != regs_size)) { in validate_sve_context()
73 if (!sve_vl_valid(sve->vl)) { in validate_sve_context()
114 struct sve_context *sve = NULL; in validate_reserved() local
165 sve = (struct sve_context *)head; in validate_reserved()
219 if (!validate_sve_context(sve, err)) in validate_reserved()
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()
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()
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()
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()
/Linux-v6.1/arch/arm64/kernel/
Dsignal.c221 struct sve_context __user *sve; member
272 struct sve_context sve; in restore_sve_fpsimd_context() local
274 if (__copy_from_user(&sve, user->sve, sizeof(sve))) in restore_sve_fpsimd_context()
277 if (sve.flags & SVE_SIG_FLAG_SM) { in restore_sve_fpsimd_context()
289 if (sve.vl != vl) in restore_sve_fpsimd_context()
292 if (sve.head.size <= sizeof(*user->sve)) { in restore_sve_fpsimd_context()
298 vq = sve_vq_from_vl(sve.vl); in restore_sve_fpsimd_context()
300 if (sve.head.size < SVE_SIG_CONTEXT_SIZE(vq)) in restore_sve_fpsimd_context()
320 (char __user const *)user->sve + in restore_sve_fpsimd_context()
326 if (sve.flags & SVE_SIG_FLAG_SM) in restore_sve_fpsimd_context()
[all …]
/Linux-v6.1/Documentation/arm64/
Dindex.rst25 sve
Dsme.rst10 documentation in sve.rst which provides details on the Streaming SVE mode
256 sve.rst.
Dsve.rst35 described in this document. SVE is reported in /proc/cpuinfo as "sve".
/Linux-v6.1/tools/testing/selftests/arm64/abi/
Dsyscall-abi-asm.S24 .arch_extension sve
/Linux-v6.1/Documentation/process/
Dmaintainer-pgp-guide.rst863 ✓ [PATCH v1 2/3] arm64/sve: Document our actual ABI for clearing registers on syscall
/Linux-v6.1/Documentation/virt/kvm/
Dapi.rst2635 (See Documentation/arm64/sve.rst for an explanation of the "vq"