[PATCH 0/4] selftest/arm64: Fix MTE test setup and TAP reporting

From: Muhammad Usama Anjum

Date: Thu Aug 20 2026 - 11:37:23 EST


Running the mainline arm64 MTE selftests on a Pixel 8 exposed three
independent reporting problems. Fix each issue independently, then
add an arm64 Kconfig fragment covering the facilities used by the MTE
tests.

Testing was performed on a Pixel 8 with an Android 6.1 kernel built with
the new configuration. All nine static MTE binaries returned success.

Muhammad Usama Anjum (4):
selftest/arm64: Print TAP header
selftest/arm64: Treat KSM merge_across_nodes as optional
selftest/arm64: Fix MTE prctl TAP plan
selftest/arm64: Add MTE test config fragment

.../selftests/arm64/mte/check_gcr_el1_cswitch.c | 1 +
.../testing/selftests/arm64/mte/check_ksm_options.c | 12 +++++++++---
tools/testing/selftests/arm64/mte/check_prctl.c | 2 +-
tools/testing/selftests/arm64/mte/config | 8 ++++++++
4 files changed, 19 insertions(+), 4 deletions(-)
create mode 100644 tools/testing/selftests/arm64/mte/config

--
2.47.3