[PATCH v12 11/40] arm64/sme: Identify supported SME vector lengths at boot

Thiago Jung Bauermann thiago.bauermann at linaro.org
Wed Mar 16 14:32:47 PDT 2022


Hello,

Just a small suggestion:

Mark Brown <broonie at kernel.org> writes:

> diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/cpu.h
> index d08062bcb9c1..550e1fc4ae6c 100644
> --- a/arch/arm64/include/asm/cpu.h
> +++ b/arch/arm64/include/asm/cpu.h
> @@ -64,6 +64,9 @@ struct cpuinfo_arm64 {
>  
>  	/* pseudo-ZCR for recording maximum ZCR_EL1 LEN value: */
>  	u64		reg_zcr;
> +
> +	/* pseudo-SMCR for recording maximum ZCR_EL1 LEN value: */
> +	u64		reg_smcr;
>  };

Perhaps append “when in streaming mode” to the comment above (or mention
streaming mode in some other way), to convey the difference between
reg_smcr and reg_zcr?

-- 
Thiago



More information about the linux-arm-kernel mailing list