diff options
author | Mark Brown <broonie@kernel.org> | 2025-07-18 23:14:50 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2025-07-22 09:34:00 +0100 |
commit | b021f45d39f37f67005948a96abea84736890463 (patch) | |
tree | b074169ad0aeb6ea6a88941803a5f0ab7d618d24 | |
parent | b84d2b27954f83c95c4b984d4f85574e8f51caa5 (diff) |
kselftest/arm64: Test SME on SME only systems in fp-ptrace
When checking that the vector extensions are supported fp-ptrace
currently only checks for SVE being supported which means that we get
into a confused half configured state for SME only systems. Check for
SME as well.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250718-arm64-fp-ptrace-sme-only-v1-1-3b96dd19a503@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r-- | tools/testing/selftests/arm64/fp/fp-ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/fp/fp-ptrace.c b/tools/testing/selftests/arm64/fp/fp-ptrace.c index c479c97dea1a..52d4d8fa2958 100644 --- a/tools/testing/selftests/arm64/fp/fp-ptrace.c +++ b/tools/testing/selftests/arm64/fp/fp-ptrace.c @@ -1669,7 +1669,7 @@ int main(void) * Run the test set if there is no SVE or SME, with those we * have to pick a VL for each run. */ - if (!sve_supported()) { + if (!sve_supported() && !sme_supported()) { test_config.sve_vl_in = 0; test_config.sve_vl_expected = 0; test_config.sme_vl_in = 0; |