]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Verify the GCS hwcap
authorMark Brown <broonie@kernel.org>
Tue, 1 Oct 2024 22:59:08 +0000 (23:59 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Oct 2024 11:04:42 +0000 (12:04 +0100)
commit7a2f671db61f32de0671eeb163a7764e5a258114
tree2f54ed270b3d35f6e1e4e91014c4cc9fec10fd94
parent5d8b172e7005c6b42c16a0952c1d8873051d68ae
kselftest/arm64: Verify the GCS hwcap

Add coverage of the GCS hwcap to the hwcap selftest, using a read of
GCSPR_EL0 to generate SIGILL without having to worry about enabling GCS.

Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Tested-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241001-arm64-gcs-v13-29-222b78d87eee@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/abi/hwcap.c