Re: [PATCH v10 10/40] arm64/cpufeature: Runtime detection of Guarded Control Stack (GCS)
From: Catalin Marinas
Date: Fri Aug 16 2024 - 07:19:14 EST
On Thu, Aug 01, 2024 at 01:06:37PM +0100, Mark Brown wrote:
> @@ -2870,6 +2872,13 @@ static const struct arm64_cpu_capabilities arm64_features[] = {
> .matches = has_nv1,
> ARM64_CPUID_FIELDS_NEG(ID_AA64MMFR4_EL1, E2H0, NI_NV1)
> },
> + {
> + .desc = "Guarded Control Stack (GCS)",
> + .capability = ARM64_HAS_GCS,
> + .type = ARM64_CPUCAP_SYSTEM_FEATURE,
Given that it's for user space only, system feature makes sense.
Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>