diff options
author | Mark Brown <broonie@kernel.org> | 2022-02-07 16:20:34 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-02-25 15:38:29 +0100 |
commit | 32de73e89099c3f243032a733d3a64d417327a70 (patch) | |
tree | 0404b7f983292d7a29ecbc035fa4dfe256bbfc79 /tools/testing/selftests/arm64/signal/test_signals.h | |
parent | kselftest/arm64: mte: user_mem: test a wider range of values (diff) | |
download | linux-32de73e89099c3f243032a733d3a64d417327a70.tar.xz linux-32de73e89099c3f243032a733d3a64d417327a70.zip |
kselftest/arm64: signal: Allow tests to be incompatible with features
Some features may invalidate some tests, for example by supporting an
operation which would trap otherwise. Allow tests to list features that
they are incompatible with so we can cover the case where a signal will
be generated without disruption on systems where that won't happen.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220207152109.197566-6-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64/signal/test_signals.h')
-rw-r--r-- | tools/testing/selftests/arm64/signal/test_signals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/arm64/signal/test_signals.h b/tools/testing/selftests/arm64/signal/test_signals.h index ebe8694dbef0..f909b70d9e98 100644 --- a/tools/testing/selftests/arm64/signal/test_signals.h +++ b/tools/testing/selftests/arm64/signal/test_signals.h @@ -53,6 +53,7 @@ struct tdescr { char *name; char *descr; unsigned long feats_required; + unsigned long feats_incompatible; /* bitmask of effectively supported feats: populated at run-time */ unsigned long feats_supported; bool initialized; |