Re: [PATCH v2 06/10] arm64: sysreg: Drop the leading zeros from the TRFCR_ELx.TS values

From: Steffen Eiden

Date: Fri Nov 27 2026 - 09:27:17 EST


On Fri, Nov 27, 2026 at 07:44:22AM +0000, Fuad Tabba wrote:
> TS in TRFCR_EL1 and TRFCR_EL2 is a two-bit field, but its enum values
> are written with four binary digits. They're the only enum values in the
> sysreg file whose number of digits differs from their field's width, and
> the values themselves fit.
>
> Drop the two leading zeros from each, ahead of a check that requires
> every enum value to have as many digits as its field has bits.
>
> No functional change intended.
>
> Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>
> Signed-off-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>

Reviewed-by: Steffen Eiden <seiden@xxxxxxxxxxxxx>