[PATCH v5 02/28] arm64/sysreg: Describe ID_AA64SMFR0_EL1.SMEVer as an enumeration

Kristina Martsenko kristina.martsenko at arm.com
Fri Sep 2 10:48:41 PDT 2022


On 30/08/2022 11:21, Mark Brown wrote:
> As with the corresponding SVE field ID_AA64ZFR0_EL1.SVEVer and other ID
> register fields the SMEVer field should be identified as an enumeration
> but it is currently described as a plain field (most likely due to there
> presently being only one possible value). Update it to be an enumeration
> as one would expect. No functional change.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
>  arch/arm64/tools/sysreg | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
> index 9ae483ec1e56..7e7fb3891b01 100644
> --- a/arch/arm64/tools/sysreg
> +++ b/arch/arm64/tools/sysreg
> @@ -98,7 +98,9 @@ Enum	63	FA64
>  	0b1	IMP
>  EndEnum
>  Res0	62:60
> -Field	59:56	SMEver
> +Enum	59:56	SMEver
> +	0b0000	SME

Maybe s/SME/IMP/ to be consistent with SVEver.

Thanks,
Kristina

> +EndEnum
>  Enum	55:52	I16I64
>  	0b0000	NI
>  	0b1111	IMP




More information about the linux-arm-kernel mailing list