[PATCH v4 27/36] KVM: arm64: Add a composite EL2 visibility helper
Oliver Upton
oliver.upton at linux.dev
Thu Oct 10 00:52:52 PDT 2024
On Wed, Oct 09, 2024 at 08:00:10PM +0100, Marc Zyngier wrote:
> We are starting to have a bunch of visibility helpers checking
> for EL2 + something else, and we are going to add more.
>
> Simplify things somehow by introducing a helper that implement
> extractly that by taking a visibility helper as a parameter,
> and convert the existing ones to that.
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
nit: avoid churn and order this before introducing more open-coded
instances of EL2 + FEAT_something checks.
--
Thanks,
Oliver
More information about the linux-arm-kernel
mailing list