selftests: arm64: Add utility to set SVE vector lengths
authorMark Brown <broonie@kernel.org>
Wed, 19 Aug 2020 11:48:35 +0000 (12:48 +0100)
committerWill Deacon <will@kernel.org>
Fri, 18 Sep 2020 13:17:58 +0000 (14:17 +0100)
commitfc7e611f9f38de7166c5f8951df93f7351542448
tree1a9e4fb70ea5df80f9df1a84ca5bd264ef71f483
parent5e992c638ea55d928e43d3c1aab1bd8e13835e6e
selftests: arm64: Add utility to set SVE vector lengths

vlset is a small utility for use in conjunction with tests like the sve-test
stress test which allows another executable to be invoked with a configured
SVE vector length.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20200819114837.51466-5-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/vlset.c [new file with mode: 0644]