Re: [PATCH v10 16/40] arm64/hwcap: Add hwcap for GCS

Catalin Marinas
2024-08-19T09:12:23Z

On Thu, Aug 01, 2024 at 01:06:43PM +0100, Mark Brown wrote:
> diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h
> index 285610e626f5..328fb7843e2f 100644
> --- a/arch/arm64/include/uapi/asm/hwcap.h
> +++ b/arch/arm64/include/uapi/asm/hwcap.h
> @@ -122,5 +122,6 @@
> #define HWCAP2_SME_SF8FMA (1UL << 60)
> #define HWCAP2_SME_SF8DP4 (1UL << 61)
> #define HWCAP2_SME_SF8DP2 (1UL << 62)
> +#define HWCAP2_GCS (1UL << 63)

You'll be fighting with Joey over the last bit here ;) (we do have
HWCAP3 though).

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>