Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64/gcs: Fix documentation for HWCAP

In one of the renumberings of the GCS hwcap a stray reference to HWCAP2 was
left, fix it.

Reported-by: David Spickett <David.Spickett@arm.com>
Fixes: 7058bf87cd59 ("arm64/gcs: Document the ABI for Guarded Control Stacks")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250124-arm64-gcs-hwcap-doc-v1-1-fa9368b01ca6@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Mark Brown and committed by
Will Deacon
f64f9ddd f458b216

+1 -1
+1 -1
Documentation/arch/arm64/gcs.rst
··· 37 37 shadow stacks rather than GCS. 38 38 39 39 * Support for GCS is reported to userspace via HWCAP_GCS in the aux vector 40 - AT_HWCAP2 entry. 40 + AT_HWCAP entry. 41 41 42 42 * GCS is enabled per thread. While there is support for disabling GCS 43 43 at runtime this should be done with great care.