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)
commitca765153eb90577e5fda281485048427b80a9a77
treed54525493808a65cb94c22c748aa19aec1af88be
parentd21435e9670b11a02bcb1b5683dddd50da61966d
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]