On Thu, Aug 01, 2024 at 01:06:28PM +0100, Mark Brown wrote: > Currently arch_validate_flags() is written in a very non-extensible > fashion, returning immediately if MTE is not supported and writing the MTE > check as a direct return. Since we will want to add more checks for GCS > refactor the existing code to be more extensible, no functional change > intended. > > Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@xxxxxxxxxx> > Signed-off-by: Mark Brown <broonie@xxxxxxxxxx> Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>