[PATCH 2/3] arm64/sysreg: Standardise naming for ID_AA64MMFR1_EL1 fields

Mark Brown broonie at kernel.org
Mon Jul 18 05:04:57 PDT 2022


On Mon, Jul 18, 2022 at 12:29:25PM +0100, Kristina Martsenko wrote:
> In preparation for converting the ID_AA64MMFR1_EL1 system register
> defines to automatic generation, rename them to follow the conventions
> used by other automatically generated registers:
> 
>  * Add _EL1 in the register name.
> 
>  * Rename fields to match the names in the ARM ARM:
>    * LOR -> LO
>    * HPD -> HPDS
>    * VHE -> VH
>    * HADBS -> HAFDBS
>    * SPECSEI -> SpecSEI
>    * VMIDBITS -> VMIDBits
> 
> There should be no functional change as a result of this patch.

FWIW I tend to do these as several individual patches because it is
easier to verify a single mechanical change at once (especially the
bigger ones like adding _EL1) than to keep multiple changes in mind
at once when checking if the patch is doing what it should.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220718/0f45dfa7/attachment.sig>


More information about the linux-arm-kernel mailing list