The GCS support patches are based on GDB 15.
Copy the GDB 14.2 recipe from meta, upgrade to 15.1, and add the patches.
Signed-off-by: James McGregor <james.mcgregor2@arm.com>
Update the GCS patches to v12.
They've been rebased onto 6.11-rc3, so update to use that too.
GCS support now depends on !UPROBES, so add a config fragment to disable it.
Signed-off-by: James McGregor <james.mcgregor2@arm.com>
The values prctl() expects for shadow stack operations have changed.
Update the glibc patch to match the values in the kernel.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Package up the kselftest from the kernel, and execute the arm64 GCS tests
inside CI.
At the moment some of the tests fail: gcs_write_fault and gcs_stress.
Mark the test as expected to fail until this is resolved.
Signed-off-by: Ross Burton <ross.burton@arm.com>
The bit index for HWCAP2_GCS changed, so update the glibc patch to
reflect the number used in the kernel.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Change gcs-test.yml so that it just enables automatic testimage and does
not duplicate options.
Also change debug-tweaks to the specific features that we want.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Add a basic job for testing the GCS patches that runs testimage with the
gcs test suite.
For speed, disable all the other jobs.
Signed-off-by: Ross Burton <ross.burton@arm.com>