On Wed, 21 Aug 2024 17:44:01 +0100, Andre Przywara wrote:
Currently a number of SVE/SME related tests have almost identical functions to enumerate all supported vector lengths. However over time the copy&pasted code has diverged, allowing some bugs to creep in:
- fake_sigreturn_sme_change_vl reports a failure, not a SKIP if only one vector length is supported (but the SVE version is fine)
- fake_sigreturn_sme_change_vl tries to set the SVE vector length, not the SME one (but the other SME tests are fine)
- za_no_regs keeps iterating forever if only one vector length is supported (but za_regs is correct)
[...]
Applied to arm64 (for-next/selftests), thanks!
[1/1] kselftest/arm64: signal: fix/refactor SVE vector length enumeration https://git.kernel.org/arm64/c/5225b6562b9a
Cheers,