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

Mark Brown broonie at kernel.org
Mon Sep 13 05:54:57 PDT 2021


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/20210909165356.10675-1-broonie@kernel.org/

(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
-- 
2.20.1




More information about the linux-arm-kernel mailing list