Re: [PATCH v10 01/40] arm64/mm: Restructure arch_validate_flags() for extensibility

2024-08-15 Thread Catalin Marinas
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 exi

[PATCH v10 01/40] arm64/mm: Restructure arch_validate_flags() for extensibility

2024-08-01 Thread Mark Brown
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. Re