[PATCH v1 0/6] kselftest/arm64: SVE signal handling tests
Mark Brown
broonie at kernel.org
Thu Aug 19 06:42:39 PDT 2021
Currently we have no real tests for SVE signal handling (though the
stress test does trigger the code paths as it regularly sends signals to
the test processes). Add some basic coverage, this is very much
incomplete but it's more coverage than we currently have, a TODO file is
included with some omissions that occurred to me.
Mark Brown (6):
kselftest/arm64: signal: Add SVE to the set of features we can check
for
kselftest/arm64: signal: Support signal frames with SVE register data
kselftest/arm64: signal: Check SVE signal frame shows expected vector
length
kselftest/arm64: signal: Verify that signals can't change the SVE
vector length
kselftest/arm64: signal: Add test case for SVE register state in
signals
kselftest/arm64: signal: Add a TODO list for signal handling tests
.../testing/selftests/arm64/signal/.gitignore | 1 +
.../selftests/arm64/signal/test_signals.h | 2 +
.../arm64/signal/test_signals_utils.c | 3 +
.../selftests/arm64/signal/testcases/TODO | 2 +
.../testcases/fake_sigreturn_sve_change_vl.c | 92 +++++++++++++
.../arm64/signal/testcases/sve_regs.c | 126 ++++++++++++++++++
.../selftests/arm64/signal/testcases/sve_vl.c | 68 ++++++++++
.../arm64/signal/testcases/testcases.c | 34 ++++-
8 files changed, 325 insertions(+), 3 deletions(-)
create mode 100644 tools/testing/selftests/arm64/signal/testcases/TODO
create mode 100644 tools/testing/selftests/arm64/signal/testcases/fake_sigreturn_sve_change_vl.c
create mode 100644 tools/testing/selftests/arm64/signal/testcases/sve_regs.c
create mode 100644 tools/testing/selftests/arm64/signal/testcases/sve_vl.c
base-commit: ff1176468d368232b684f75e82563369208bc371
--
2.20.1
More information about the linux-arm-kernel
mailing list