[PATCH v1 4/9] arm64/sysreg: Generate definitions for CPACR_ELx

Mark Brown broonie at kernel.org
Fri May 20 08:29:49 PDT 2022


On Fri, May 20, 2022 at 04:10:15PM +0100, Mark Rutland wrote:
> On Tue, May 17, 2022 at 07:22:14PM +0100, Mark Brown wrote:
> > Convert the CPACR system register definitions to be automatically generated
> > using the definitions in DDI0487H.a. The kernel does have some additional
> > definitions for subfields of SMEN, FPEN and ZEN which are not identified as
> > distinct subfields in the architecture so the definitions are not updated
> > as part of this patch.

> Maybe we should covert those over to an enumeration style?

That doesn't really help our usage at all, the effective bitfields are
two independent bits for EL1 and EL0 which we use as such.  Enumeration
values would cover the two bits at once.
-------------- 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/20220520/9c337465/attachment.sig>


More information about the linux-arm-kernel mailing list