Skip to content

selftests: arm64: vec-syscfg updates

Mark Brown linux-arm-kernel linux-kselftest 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 8 repliesSuperseded
  3. v14 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- 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.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftests: arm64: Fix printf() format mismatch in vec-syscfgtools/testing/selftests/arm64/fp/vec-syscfg.c+1 -10 replies
2/4selftests: arm64: Remove bogus error check on writing to filestools/testing/selftests/arm64/fp/vec-syscfg.c+0 -60 replies
3/4selftests: arm64: Fix and enable test for setting current VL in vec-syscfgtools/testing/selftests/arm64/fp/vec-syscfg.c+4 -60 replies
4/4selftests: arm64: Verify that all possible vector lengths are handledtools/testing/selftests/arm64/fp/vec-syscfg.c+77 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchTomohiro Misono
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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

Signature · 1 line
2.20.1