linux/tools/testing/selftests/arm64/mte
Joey Gouly 0a775ccb81 kselftest/arm64: mte: user_mem: test a wider range of values
Instead of hard coding a small amount of tests, generate a wider
range of tests to try catch any corner cases that could show up.

These new tests test different MTE tag lengths and offsets, which
previously would have caused infinite loops in the kernel. This was
fixed by 295cf15623 ("arm64: Avoid premature usercopy failure"),
so these are regressions tests for that corner case.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220209152240.52788-7-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2022-02-15 16:57:51 +00:00
..
.gitignore kselftest/arm64: Ignore check_gcr_el1_cswitch binary 2021-08-02 13:21:30 +01:00
Makefile kselftest/arm64: mte: Makefile: Fix clang compilation 2021-03-24 15:43:20 +00:00
check_buffer_fill.c arm64: mte: style: Simplify bool comparison 2021-01-20 12:44:26 +00:00
check_child_memory.c kselftest/arm64: Fix check_child_memory test 2020-10-28 13:42:23 +00:00
check_gcr_el1_cswitch.c kselftest/arm64: Remove local definitions of MTE prctls 2022-02-15 15:59:20 +00:00
check_ksm_options.c kselftest/arm64: mte: ksm_options: Fix fscanf warning 2021-03-23 16:36:30 +00:00
check_mmap_options.c kselftest/arm64: Fix check_mmap_options test 2020-10-28 13:42:23 +00:00
check_tags_inclusion.c kselftest/arm64: Fix check_tags_inclusion test 2020-10-28 13:42:23 +00: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: mte: Fix misleading output when skipping tests 2021-08-20 11:11:05 +01:00
mte_common_util.h kselftest/arm64: Check mte tagged user address in kernel 2020-10-05 18:52:17 +01:00
mte_def.h
mte_helper.S kselftest/arm64: Check mte tagged user address in kernel 2020-10-05 18:52:17 +01:00