]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: arm64: Test case for enumeration of SVE vector lengths
authorMark Brown <broonie@kernel.org>
Wed, 19 Aug 2020 11:48:32 +0000 (12:48 +0100)
committerWill Deacon <will@kernel.org>
Fri, 18 Sep 2020 13:17:58 +0000 (14:17 +0100)
commit97977d2ff27b4a25a3a89c43ab32f0f7c3f1d050
treed54525493808a65cb94c22c748aa19aec1af88be
parenta0b1b212a11dfd16f6e8cab6a9d49ce2b89f7718
selftests: arm64: Test case for enumeration of SVE vector lengths

Add a test case that verifies that we can enumerate the SVE vector lengths
on systems where we detect SVE, and that those SVE vector lengths are
valid. This program was written by Dave Martin and adapted to kselftest by
me.

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-2-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/sve-probe-vls.c [new file with mode: 0644]