]> 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)
commit7ce162856627643401f0c54128674c7903cb1aa4
treed54525493808a65cb94c22c748aa19aec1af88be
parent95fc3177ee4f8c92aea0c4a6f8422e8a2b114443
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]