[PATCH 5/5] arm64/sysreg: Convert OSLAR_EL1 to automatic generation

Mark Brown broonie at kernel.org
Tue May 23 01:39:02 PDT 2023


On Tue, May 23, 2023 at 08:13:01AM +0000, Oliver Upton wrote:
> On Mon, May 22, 2023 at 05:22:44PM +0100, Mark Brown wrote:

> > -#define SYS_OSLAR_EL1			sys_reg(2, 0, 1, 0, 4)
> > -#define OSLAR_EL1_OSLK			BIT(0)
> > -
> >  #define SYS_OSLSR_EL1			sys_reg(2, 0, 1, 1, 4)
> >  #define OSLSR_EL1_OSLM_MASK		(BIT(3) | BIT(0))
> >  #define OSLSR_EL1_OSLM_NI		0

> Should the OSLSR_EL1 definitions be rolled over to the generated scheme
> as well?

It should at some point but it has a field with non-contiguous bits
which the tool doesn't understand yet so it can wait.
-------------- 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/20230523/d9771d8c/attachment.sig>


More information about the linux-arm-kernel mailing list