Re: [PATCH v10 39/40] kselftest/arm64: Enable GCS for the FP stress tests

Thiago Jung Bauermann
2024-08-08T06:25:27Z

Mark Brown <broonie@kernel.org> writes:

> While it's a bit off topic for them the floating point stress tests do give
> us some coverage of context thrashing cases, and also of active signal
> delivery separate to the relatively complicated framework in the actual
> signals tests. Have the tests enable GCS on startup, ignoring failures so
> they continue to work as before on systems without GCS.
>
> Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
> tools/testing/selftests/arm64/fp/assembler.h | 15 +++++++++++++++
> tools/testing/selftests/arm64/fp/fpsimd-test.S | 2 ++
> tools/testing/selftests/arm64/fp/sve-test.S | 2 ++
> tools/testing/selftests/arm64/fp/za-test.S | 2 ++
> tools/testing/selftests/arm64/fp/zt-test.S | 2 ++
> 5 files changed, 23 insertions(+)

The fpsimd, sve, za and zt tests don't find any errors on my FVP setup
when left running for a while:

Tested-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>

--
Thiago