selftests: arm64: add hugetlb mte tests
authorYang Shi <yang@os.amperecomputing.com>
Tue, 1 Oct 2024 22:52:20 +0000 (15:52 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 16 Oct 2024 13:50:47 +0000 (14:50 +0100)
commit27879e8cb6b0fdb5cdcd76685f290729309711c6
tree68bb2f0e8df7f9b633efba6c6071555187db7e56
parent25c17c4b55def92a01e3eecc9c775a6ee25ca20f
selftests: arm64: add hugetlb mte tests

The tests cover mmap, mprotect hugetlb with MTE prot and COW.

Signed-off-by: Yang Shi <yang@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20241001225220.271178-2-yang@os.amperecomputing.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/mte/check_hugetlb_options.c [new file with mode: 0644]