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

Marc Zyngier maz at kernel.org
Wed Jun 29 08:46:55 PDT 2022


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?

	M.

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



More information about the linux-arm-kernel mailing list