Mark Brown f645e888b1 arm64/mm: Restructure arch_validate_flags() for extensibility
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@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241001-arm64-gcs-v13-3-222b78d87eee@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2024-10-04 12:04:33 +01:00
..
2024-09-26 11:54:40 -07:00
2024-09-24 13:02:06 -07:00
2024-09-26 12:00:25 -07:00
2024-09-23 08:17:50 -07:00
2024-09-28 09:20:14 -07:00
2024-09-28 09:20:14 -07:00
2024-09-25 11:17:25 -07:00
2024-09-28 09:20:14 -07:00
2024-09-28 09:20:14 -07:00
2024-09-27 10:10:21 -07:00
2024-09-25 10:25:40 -07:00