Skip to content

selftests: arm64: SVE ptrace test rework

Mark Brown linux-arm-kernel linux-kselftest 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8selftests: arm64: Use a define for the number of SVE ptrace tests to be runtools/testing/selftests/arm64/fp/sve-ptrace.c+3 -10 replies
2/8selftests: arm64: Don't log child creation as a test in SVE ptrace testtools/testing/selftests/arm64/fp/sve-ptrace.c+1 -30 replies
3/8selftests: arm64: Remove extraneous register setting codetools/testing/selftests/arm64/fp/Makefile tools/testing/selftests/arm64/fp/sve-ptrace-asm.S tools/testing/selftests/arm64/fp/sve-ptrace.c+1 -620 replies
4/8selftests: arm64: Document what the SVE ptrace test is doingtools/testing/selftests/arm64/fp/sve-ptrace.c+8 -30 replies
5/8selftests: arm64: Clarify output when verifying SVE register settools/testing/selftests/arm64/fp/sve-ptrace.c+1 -10 replies
6/8selftests: arm64: Verify interoperation of SVE and FPSIMD register setstools/testing/selftests/arm64/fp/sve-ptrace.c+26 -20 replies
7/8selftests: arm64: More comprehensively test the SVE ptrace interfacetools/testing/selftests/arm64/fp/TODO tools/testing/selftests/arm64/fp/sve-ptrace.c+254 -820 replies
8/8selftests: arm64: Move FPSIMD in SVE ptrace test into a functiontools/testing/selftests/arm64/fp/sve-ptrace.c+59 -610 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/8] selftests: arm64: SVE ptrace test rework

This series overhauls the selftests we have for the SVE ptrace interface to make them much more comprehensive than they are currently, making the coverage of the data read and written more complete. The new coverage for setting data on all vector lengths showed the issue with using the wrong buffer size with ptrace reported and fixed by:

https://lore.kernel.org/linux-arm-kernel/[email protected]/

(arm64/sve: Use correct size when reinitialising SVE state).

Mark Brown (8):
selftests: arm64: Use a define for the number of SVE ptrace tests to
be run
selftests: arm64: Don't log child creation as a test in SVE ptrace
test
selftests: arm64: Remove extraneous register setting code
selftests: arm64: Document what the SVE ptrace test is doing
selftests: arm64: Clarify output when verifying SVE register set
selftests: arm64: Verify interoperation of SVE and FPSIMD register
sets
selftests: arm64: More comprehensively test the SVE ptrace interface
selftests: arm64: Move FPSIMD in SVE ptrace test into a function

 tools/testing/selftests/arm64/fp/Makefile     |   2 +-
 tools/testing/selftests/arm64/fp/TODO         |   9 +-
 .../selftests/arm64/fp/sve-ptrace-asm.S       |  33 --
 tools/testing/selftests/arm64/fp/sve-ptrace.c | 460 ++++++++++++------
 4 files changed, 321 insertions(+), 183 deletions(-)
 delete mode 100644 tools/testing/selftests/arm64/fp/sve-ptrace-asm.S

base-commit: 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f

Signature · 1 line
2.20.1