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

From: Thiago Jung Bauermann
Date: Thu Aug 08 2024 - 02:25:45 EST


Mark Brown <broonie@xxxxxxxxxx> 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@xxxxxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

--
Thiago