]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: cpufeature: Add GCS to cpucap_is_possible()
authorRobin Murphy <robin.murphy@arm.com>
Thu, 5 Dec 2024 13:48:10 +0000 (13:48 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 5 Dec 2024 17:15:38 +0000 (17:15 +0000)
commitf00b53f1614f7be554fd28b9594ef4e63e2686c5
treeab8cea3d02173b350fa4c5a5cd5655cbcc8124b7
parent16d5306629c06ec2653c12794f344168a0eea809
arm64: cpufeature: Add GCS to cpucap_is_possible()

Since system_supports_gcs() ends up referring to cpucap_is_possible(),
teach the latter about GCS for consistency with similar features.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/416c7369fcdce4ebb2a8f12daae234507be27e38.1733406275.git.robin.murphy@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/cpufeature.h