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@xxxxxxxxxx> nit: avoid churn and order this before introducing more open-coded instances of EL2 + FEAT_something checks. -- Thanks, Oliver