summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64/fp/Makefile
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-08-03 15:04:49 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2021-08-03 16:20:05 +0100
commit95cf3f23877b682c56899aa34f9cdd2f910b8924 (patch)
treeeedfb866a3813be2559042ae2644c9767437f686 /tools/testing/selftests/arm64/fp/Makefile
parentb43ab36a6d86f6c693f5919ee2cf25c543446213 (diff)
downloadlinux-stable-95cf3f23877b682c56899aa34f9cdd2f910b8924.tar.gz
linux-stable-95cf3f23877b682c56899aa34f9cdd2f910b8924.tar.bz2
linux-stable-95cf3f23877b682c56899aa34f9cdd2f910b8924.zip
kselftest/arm64: Add tests for SVE vector configuration
We provide interfaces for configuring the SVE vector length seen by processes using prctl and also via /proc for configuring the default values. Provide tests that exercise all these interfaces and verify that they take effect as expected, though at present no test fully enumerates all the possible vector lengths. A subset of this is already tested via sve-probe-vls but the /proc interfaces are not currently covered at all. In preparation for the forthcoming support for SME, the Scalable Matrix Extension, which has separately but similarly configured vector lengths which we expect to offer similar userspace interfaces for, all the actual files and prctls used are parameterised and we don't validate that the architectural minimum vector length is the minimum we see. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Link: https://lore.kernel.org/r/20210803140450.46624-4-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing/selftests/arm64/fp/Makefile')
-rw-r--r--tools/testing/selftests/arm64/fp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/fp/Makefile b/tools/testing/selftests/arm64/fp/Makefile
index fa3a0167db2d..f2abdd6ba12e 100644
--- a/tools/testing/selftests/arm64/fp/Makefile
+++ b/tools/testing/selftests/arm64/fp/Makefile
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
CFLAGS += -I../../../../../usr/include/
-TEST_GEN_PROGS := sve-ptrace sve-probe-vls
+TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg
TEST_PROGS_EXTENDED := fpsimd-test fpsimd-stress \
rdvl-sve \
sve-test sve-stress \
@@ -16,6 +16,7 @@ sve-ptrace: sve-ptrace.o sve-ptrace-asm.o
sve-probe-vls: sve-probe-vls.o rdvl.o
sve-test: sve-test.o
$(CC) -nostdlib $^ -o $@
+vec-syscfg: vec-syscfg.o rdvl.o
vlset: vlset.o
include ../../lib.mk