Re: [PATCH v10 35/40] kselftest/arm64: Add a GCS test program built with the system libc
From: Thiago Jung Bauermann
Date: Wed Aug 07 2024 - 18:32:52 EST
Mark Brown <broonie@xxxxxxxxxx> writes:
> There are things like threads which nolibc struggles with which we want
> to add coverage for, and the ABI allows us to test most of these even if
> libc itself does not understand GCS so add a test application built
> using the system libc.
>
> Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@xxxxxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
> tools/testing/selftests/arm64/gcs/.gitignore | 1 +
> tools/testing/selftests/arm64/gcs/Makefile | 4 +-
> tools/testing/selftests/arm64/gcs/gcs-util.h | 10 +
> tools/testing/selftests/arm64/gcs/libc-gcs.c | 736 +++++++++++++++++++++++++++
> 4 files changed, 750 insertions(+), 1 deletion(-)
The libc-gcs test passes on my FVP setup:
Tested-by: Thiago Jung Bauermann <thiago.bauermann@xxxxxxxxxx>
--
Thiago