mbox series

[0/2] kselftest/arm64: mte: Minor fixes to the MTE hugetlb test

Message ID 20250221093331.2184245-1-catalin.marinas@arm.com (mailing list archive)
Headers show
Series kselftest/arm64: mte: Minor fixes to the MTE hugetlb test | expand

Message

Catalin Marinas Feb. 21, 2025, 9:33 a.m. UTC
The first patch makes use of the correct terminology for synchronous and
asynchronous errors. The second patch checks whether PROT_MTE is
supported on hugetlb mappings before continuing with the tests. Such
support was added in 6.13 but people tend to use current kselftests on
older kernels. Avoid the failure reporting on such kernels, just skip
the tests.

Catalin Marinas (2):
  kselftest/arm64: mte: Use the correct naming for tag check modes in
    check_hugetlb_options.c
  kselftest/arm64: mte: Skip the hugetlb tests if MTE not supported on
    such mappings

 .../arm64/mte/check_hugetlb_options.c         | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)