]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64/cpufeature: Runtime detection of Guarded Control Stack (GCS)
authorMark Brown <broonie@kernel.org>
Tue, 1 Oct 2024 22:58:51 +0000 (23:58 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Oct 2024 11:04:35 +0000 (12:04 +0100)
commit6487c963083c24ede289d4267ffa60a9db668cd4
treeba5450deb7fda7dd11a19472e1713f1f4ef8edd5
parentff5181d8a2a82c982276a7e035896185c390e856
arm64/cpufeature: Runtime detection of Guarded Control Stack (GCS)

Add a cpufeature for GCS, allowing other code to conditionally support it
at runtime.

Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241001-arm64-gcs-v13-12-222b78d87eee@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c
arch/arm64/tools/cpucaps