From: Yeoreum Yun Date: Wed, 18 Jun 2025 09:29:55 +0000 (+0100) Subject: kselftest/arm64/abi: Add MTE_STORE_ONLY feature hwcap test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=964a07426eb8bfc3a6aed8d07eeeca77f44f6d91;p=thirdparty%2Flinux.git kselftest/arm64/abi: Add MTE_STORE_ONLY feature hwcap test add MTE_STORE_ONLY feature hwcap test. Signed-off-by: Yeoreum Yun Reviewed-by: Mark Brown Link: https://lore.kernel.org/r/20250618092957.2069907-7-yeoreum.yun@arm.com Signed-off-by: Catalin Marinas --- diff --git a/tools/testing/selftests/arm64/abi/hwcap.c b/tools/testing/selftests/arm64/abi/hwcap.c index e60bfb798ba29..42b59a994bd03 100644 --- a/tools/testing/selftests/arm64/abi/hwcap.c +++ b/tools/testing/selftests/arm64/abi/hwcap.c @@ -1104,6 +1104,12 @@ static const struct hwcap_data { .hwcap_bit = HWCAP3_MTE_FAR, .cpuinfo = "mtefar", }, + { + .name = "MTE_STOREONLY", + .at_hwcap = AT_HWCAP3, + .hwcap_bit = HWCAP3_MTE_STORE_ONLY, + .cpuinfo = "mtestoreonly", + }, }; typedef void (*sighandler_fn)(int, siginfo_t *, void *);