mbox series

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

Message ID 20210929151925.9601-1-broonie@kernel.org
Headers show
Series selftests: arm64: vec-syscfg updates | expand

Message

Mark Brown Sept. 29, 2021, 3:19 p.m. UTC
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

Comments

Will Deacon Sept. 29, 2021, 5:48 p.m. UTC | #1
On Wed, 29 Sep 2021 16:19:21 +0100, Mark Brown wrote:
> 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.

> 

> [...]


Applied to arm64 (for-next/kselftest), thanks!

[1/4] selftests: arm64: Fix printf() format mismatch in vec-syscfg
      https://git.kernel.org/arm64/c/ff944c44b782
[2/4] selftests: arm64: Remove bogus error check on writing to files
      https://git.kernel.org/arm64/c/4caf339c037c
[3/4] selftests: arm64: Fix and enable test for setting current VL in vec-syscfg
      https://git.kernel.org/arm64/c/e42391150eab
[4/4] selftests: arm64: Verify that all possible vector lengths are handled
      https://git.kernel.org/arm64/c/8694e5e63886

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev