Re: [PATCH v8 35/38] selftests/arm64: Add GCS signal tests

From: Thiago Jung Bauermann
Date: Mon Feb 19 2024 - 21:18:12 EST



Mark Brown <broonie@xxxxxxxxxx> writes:

> Do some testing of the signal handling for GCS, checking that a GCS
> frame has the expected information in it and that the expected signals
> are delivered with invalid operations.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
> tools/testing/selftests/arm64/signal/.gitignore | 1 +
> .../selftests/arm64/signal/test_signals_utils.h | 10 +++
> .../arm64/signal/testcases/gcs_exception_fault.c | 62 +++++++++++++++
> .../selftests/arm64/signal/testcases/gcs_frame.c | 88 ++++++++++++++++++++++
> .../arm64/signal/testcases/gcs_write_fault.c | 67 ++++++++++++++++
> 5 files changed, 228 insertions(+)

Just FYI, in v7 I reported that gcs_write_fault was failing for me.
Now all tests in this patch are passing.

--
Thiago