]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
kselftest/arm64/abi: Add MTE_STORE_ONLY feature hwcap test
authorYeoreum Yun <yeoreum.yun@arm.com>
Wed, 18 Jun 2025 09:29:55 +0000 (10:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 2 Jul 2025 17:50:53 +0000 (18:50 +0100)
add MTE_STORE_ONLY feature hwcap test.

Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250618092957.2069907-7-yeoreum.yun@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/abi/hwcap.c

index e60bfb798ba29ea0e3a175b0d63f80868cc4a2eb..42b59a994bd0329a3369386a861e680e82590702 100644 (file)
@@ -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 *);