]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64/gcs: Fix documentation for HWCAP
authorMark Brown <broonie@kernel.org>
Fri, 24 Jan 2025 17:33:22 +0000 (17:33 +0000)
committerWill Deacon <will@kernel.org>
Tue, 4 Feb 2025 12:26:26 +0000 (12:26 +0000)
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>
Documentation/arch/arm64/gcs.rst

index 1f65a3193e7765dce9bfd6ad88b9fbd6a225ed86..226c0b008456f28c57c2221f45eed7e99610be46 100644 (file)
@@ -37,7 +37,7 @@ intended to be exhaustive.
   shadow stacks rather than GCS.
 
 * Support for GCS is reported to userspace via HWCAP_GCS in the aux vector
-  AT_HWCAP2 entry.
+  AT_HWCAP entry.
 
 * GCS is enabled per thread.  While there is support for disabling GCS
   at runtime this should be done with great care.