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

Mark Brown broonie at kernel.org
Tue Jun 28 04:28:32 PDT 2022


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>
-------------- 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/20220628/72f51589/attachment.sig>


More information about the linux-arm-kernel mailing list