[PATCH v2 06/10] arm64: sysreg: Drop the leading zeros from the TRFCR_ELx.TS values
Steffen Eiden
seiden at linux.ibm.com
Fri Nov 27 06:24:15 PST 2026
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 at kernel.org>
> Signed-off-by: Fuad Tabba <fuad.tabba at linux.dev>
Reviewed-by: Steffen Eiden <seiden at linux.ibm.com>
More information about the linux-arm-kernel
mailing list