[PATCH v5 27/37] arm64: Add encoding for POR_EL2

Marc Zyngier maz at kernel.org
Wed Oct 23 09:28:36 PDT 2024


On Wed, 23 Oct 2024 17:13:47 +0100,
Mark Brown <broonie at kernel.org> wrote:
> 
> [1  <text/plain; us-ascii (7bit)>]
> On Wed, Oct 23, 2024 at 03:53:35PM +0100, Marc Zyngier wrote:
> > POR_EL2 is the equivalent of POR_EL1 for the EL2&0 translation
> > regime, and it is sorely missing from the sysreg file.
> 
> > +Sysreg	POR_EL2		3	4	10	2	4
> > +Fields	PIRx_ELx
> > +EndSysreg
> 
> We should probably rename the Fields here, though there'd be an awful
> lot of xs in that name.

If you're in a renaming mood, please start with the TCR2_EL1x
brain-damage. Having a way to map an EL12 *accessor* onto the actual
register should come at zero cost to the namespace, and the tooling
should be augmented to support the way the architecture works.

	M.


-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list