[PATCH 2/2] kselftest/arm64: mte: Skip the hugetlb tests if MTE not supported on such mappings
Dev Jain
dev.jain at arm.com
Fri Feb 21 09:38:24 PST 2025
On 21/02/25 3:03 pm, Catalin Marinas wrote:
> While the kselftest was added at the same time with the kernel support
> for MTE on hugetlb mappings, the tests may be run on older kernels. Skip
> the tests if PROT_MTE is not supported on MAP_HUGETLB mappings.
>
> Fixes: 27879e8cb6b0 ("selftests: arm64: add hugetlb mte tests")
> Cc: Yang Shi <yang at os.amperecomputing.com>
> Reported-by: Naresh Kamboju <naresh.kamboju at linaro.org>
> Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
Reviewed-by: Dev Jain <dev.jain at arm.com>
More information about the linux-arm-kernel
mailing list