On Tue, 3 Aug 2021 15:04:46 +0100, Mark Brown wrote:
Currently we don't have full automated tests for the vector length configuation ABIs offered for SVE, we have a helper binary for setting the vector length which can be used for manual tests and we use the prctl() interface to enumerate the vector lengths but don't actually verify that the vector lengths enumerated were set.
This patch series provides a small helper which allows us to get the currently configured vector length using the RDVL instruction via either a library call or stdout of a process and then uses this to both add verification of enumerated vector lengths to our existing tests and also add a new test program which exercises both the prctl() and sysfs interfaces.
[...]
Applied to arm64 (for-next/kselftest), thanks!
[1/4] kselftest/arm64: Provide a helper binary and "library" for SVE RDVL https://git.kernel.org/arm64/c/7710861017ac [2/4] kselftest/arm64: Validate vector lengths are set in sve-probe-vls https://git.kernel.org/arm64/c/b43ab36a6d86 [3/4] kselftest/arm64: Add tests for SVE vector configuration https://git.kernel.org/arm64/c/95cf3f23877b [4/4] kselftest/arm64: Add a TODO list for floating point tests https://git.kernel.org/arm64/c/e96595c55d23