[PATCH 4/6] arm64: Factor out checking of a feature against the override into a macro

Mark Brown broonie at kernel.org
Wed Jun 29 09:00:38 PDT 2022


On Wed, Jun 29, 2022 at 04:46:55PM +0100, Marc Zyngier wrote:
> On Tue, 28 Jun 2022 12:28:32 +0100,
> Mark Brown <broonie at kernel.org> wrote:
> > 
> > On Mon, Jun 27, 2022 at 04:14:10PM +0100, Marc Zyngier wrote:
> > > Checking for a feature being supported from assembly code is
> > > a bit tedious if we need to factor in the idreg override.
> > > 
> > > Since we already have such code written for forcing nVHE, move
> > > the whole thing into a macro. This heavily relies on the override
> > > structure being called foo_override for foo_el1.
> > 
> > Reviwed-by: Mark Brown <broonie at kernel.org>
> 
> Reviewed?

Yes, sorry.

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/20220629/2326990e/attachment-0001.sig>


More information about the linux-arm-kernel mailing list