[PATCH v3 0/4] selftests: arm64: vec-syscfg updates

Mark Brown broonie at kernel.org
Wed Sep 29 08:19:21 PDT 2021


This series fixes up a few issues introduced into vec-syscfg during
refactoring in the review process, then adds a new test which ensures
that the behaviour when we attempt to set a vector length which is not
supported by the current system matches what is documented in the SVE
ABI documentation.

v3:
 - Rebased onto v5.14-rc3.
 - Check to see if we discovered the system vector lengths before trying
   to set all possible vector lengths since we need that information to
   validate the results.
v2:
 - Fix handling of missing VLs when checking that vector length setting
   works as expected.

Mark Brown (4):
  selftests: arm64: Fix printf() format mismatch in vec-syscfg
  selftests: arm64: Remove bogus error check on writing to files
  selftests: arm64: Fix and enable test for setting current VL in
    vec-syscfg
  selftests: arm64: Verify that all possible vector lengths are handled

 tools/testing/selftests/arm64/fp/vec-syscfg.c | 95 ++++++++++++++++---
 1 file changed, 82 insertions(+), 13 deletions(-)


base-commit: 5816b3e6577eaa676ceb00a848f0fd65fe2adc29
-- 
2.20.1




More information about the linux-arm-kernel mailing list