]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kselftest/arm64: Add a no-SVE loop after SVE in fp-pidbench
authorMark Brown <broonie@kernel.org>
Tue, 27 Jan 2026 16:16:14 +0000 (16:16 +0000)
committerWill Deacon <will@kernel.org>
Wed, 28 Jan 2026 13:09:30 +0000 (13:09 +0000)
Some applications use SVE intermittently, one common case being where SVE
is used during statup (eg, by ld.so) but then rarely if ever during the
main application runtime. Add a repeat of the no SVE loop after we've done
the SVE loops to fp-pidbench to capture results for that.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/fp-pidbench.S

index 73830f6bc99b69f4de006145956eee9af3821579..aeeadc7873dc1456da892524ecc58b8b43bfe25b 100644 (file)
@@ -63,6 +63,10 @@ function _start
        puts    "SVE used per syscall: "
        test_loop "rdvl x0, #8"
 
+       // Test non-SVE execution after SVE
+       puts    "No SVE after SVE: "
+       test_loop
+
        //  And we're done
 out:
        mov     x0, #0