Re: [PATCH v10 01/40] arm64/mm: Restructure arch_validate_flags() for extensibility
From: Catalin Marinas
Date: Thu Aug 15 2024 - 06:48:42 EST
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>