kselftest/arm64: Skip non-power of 2 SVE vector lengths in fp-stress
authorMark Brown <broonie@kernel.org>
Tue, 27 Dec 2022 13:07:45 +0000 (13:07 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 12 Jan 2023 16:20:59 +0000 (16:20 +0000)
commit67f49869106f78882a8a09b736d4884be85aba18
treecf2be60518ce9be7b3c8d9c9b250fd2676f2a8f4
parent10f326fbb4584f3b9fbf1102c1a71a9ecac0e97f
kselftest/arm64: Skip non-power of 2 SVE vector lengths in fp-stress

As documented in issue C215 in the known issues list for DDI0487I.a [1] Arm
will be making a retroactive change to SVE to remove the possibility of
selecting non power of two vector lengths. This has no impact on existing
physical implementations but most virtual implementations have implemented
the full range of permissible vector lengths. Given how demanding fp-stress
is for these implementations update to only attempt to enumerate the power
of two vector lengths, reducing the load created on existing virtual
implementations and only exercising the functionality that will be seen in
physical implementations.

[1] https://developer.arm.com/documentation/102105/ia-00/

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221220-arm64-fp-stress-pow2-v1-1-d0ce756b57af@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/fp-stress.c