mirror-linux/tools/testing/selftests/arm64/mte
Catalin Marinas 306219d59b kselftest/arm64: mte: Skip the hugetlb tests if MTE not supported on such mappings
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: 27879e8cb6 ("selftests: arm64: add hugetlb mte tests")
Cc: Yang Shi <yang@os.amperecomputing.com>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Yang Shi <yang@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20250221093331.2184245-3-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2025-03-05 18:54:02 +00:00
..
.gitignore kselftest/arm64: Add simple test for MTE prctl 2022-04-28 17:57:11 +01:00
Makefile kselftest/arm64: Remove spurious comment from MTE test Makefile 2023-01-20 14:30:46 +00:00
check_buffer_fill.c kselftest/arm64: mte: fix printf type warnings about pointers 2024-10-17 18:54:17 +01:00
check_child_memory.c kselftest/arm64: fix array_size.cocci warning 2022-04-28 17:57:13 +01:00
check_gcr_el1_cswitch.c
check_hugetlb_options.c kselftest/arm64: mte: Skip the hugetlb tests if MTE not supported on such mappings 2025-03-05 18:54:02 +00:00
check_ksm_options.c
check_mmap_options.c kselftest/arm64: fix array_size.cocci warning 2022-11-14 14:43:49 +00:00
check_prctl.c kselftest/arm64: Fix printf() warning in the arm64 MTE prctl() test 2024-11-11 22:45:36 +00:00
check_tags_inclusion.c kselftest/arm64: mte: fix printf type warnings about longs 2024-10-17 18:54:35 +01:00
check_user_mem.c kselftest/arm64: mte: user_mem: test a wider range of values 2022-02-15 16:57:51 +00:00
mte_common_util.c kselftest/arm64: Use ksft_perror() to log MTE failures 2024-11-01 15:47:17 +00:00
mte_common_util.h kselftest/arm64: mte: use string literal for printf-style functions 2024-10-17 18:54:11 +01:00
mte_def.h
mte_helper.S kselftest/arm64: Don't enable v8.5 for MTE selftest builds 2022-09-29 17:34:40 +01:00