Re: [PATCH v4 02/29] arm64: Update ID_AA64MMFR4_EL1 description to 2026-03 JSON release

Joey Gouly <[email protected]>
Newsgroups dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.kvm
Message-ID <[email protected]>
On Thu, Jul 30, 2026 at 08:09:55AM +0100, Marc Zyngier wrote:
> ID_AA64MMFR4_EL1 has gained a few fields and enum values in the past
> few months, so resync its definition with the 2026-03 JSON release.
> 
> Signed-off-by: Marc Zyngier <[email protected]>

Checked the values.

Reviewed-by: Joey Gouly <[email protected]>

> ---
>  arch/arm64/tools/sysreg | 32 ++++++++++++++++++++++++++++----
>  1 file changed, 28 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
> index 7cb61aca3797f..3171c87eb2447 100644
> --- a/arch/arm64/tools/sysreg
> +++ b/arch/arm64/tools/sysreg
> @@ -2386,17 +2386,40 @@ EndEnum
>  EndSysreg
>  
>  Sysreg	ID_AA64MMFR4_EL1	3	0	0	7	4
> -Res0	63:48
> -UnsignedEnum	47:44	SRMASK
> +UnsignedEnum	63:60	MTEFGT
> +	0b0000	NI
> +	0b0001	IMP
> +EndEnum
> +UnsignedEnum	59:56	SCRX
> +	0b0000	NI
> +	0b0001	IMP
> +EndEnum
> +UnsignedEnum	55:52	TEV
> +	0b0000	NI
> +	0b0001	IMP
> +EndEnum
> +UnsignedEnum	51:48	TPS
> +	0b0000	VAL_0000
> +	0b0001	VAL_0001
> +	0b0010	VAL_0010
> +EndEnum
> +UnsignedEnum	47:44	SRMASK
> +	0b0000	NI
> +	0b0001	IMP
> +	0b0010	SRMASK2
> +EndEnum
> +UnsignedEnum	43:40	TLBID
>  	0b0000	NI
>  	0b0001	IMP
>  EndEnum
> -Res0	43:40
>  UnsignedEnum	39:36	E3DSE
>  	0b0000	NI
>  	0b0001	IMP
>  EndEnum
> -Res0	35:32
> +UnsignedEnum	35:32	EAESR
> +	0b0000	NI
> +	0b0001	IMP
> +EndEnum
>  UnsignedEnum	31:28	RMEGDI
>  	0b0000	NI
>  	0b0001	IMP
> @@ -2410,6 +2433,7 @@ UnsignedEnum	23:20	NV_frac
>  	0b0000	NV_NV2
>  	0b0001	NV2_ONLY
>  	0b0010	NV2P1
> +	0b0011	NV3
>  EndEnum
>  UnsignedEnum	19:16	FGWTE3
>  	0b0000	NI
> -- 
> 2.47.3
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.