kselftest/arm64: Don't require FA64 for streaming SVE tests
authorMark Brown <broonie@kernel.org>
Tue, 31 Jan 2023 18:28:05 +0000 (18:28 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 1 Feb 2023 17:19:36 +0000 (17:19 +0000)
During early development a dependedncy was added on having FA64
available so we could use the full FPSIMD register set in the signal
handler.  Subsequently the ABI was finialised so the handler is run with
streaming mode disabled meaning this is redundant but the dependency was
never removed, do so now.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230131-arm64-kselfetest-ssve-fa64-v1-1-f418efcc2b60@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/signal/testcases/ssve_regs.c

index cd73826..d0eceea 100644 (file)
@@ -121,12 +121,7 @@ static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc)
 struct tdescr tde = {
        .name = "Streaming SVE registers",
        .descr = "Check that we get the right Streaming SVE registers reported",
-       /*
-        * We shouldn't require FA64 but things like memset() used in the
-        * helpers might use unsupported instructions so for now disable
-        * the test unless we've got the full instruction set.
-        */
-       .feats_required = FEAT_SME | FEAT_SME_FA64,
+       .feats_required = FEAT_SME,
        .timeout = 3,
        .init = sme_get_vls,
        .run = sme_regs,