Skip to content

Commit 964a074

Browse files
LeviYeoReumctmarinas
authored andcommitted
kselftest/arm64/abi: Add MTE_STORE_ONLY feature hwcap test
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>
1 parent 7502bdb commit 964a074

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • tools/testing/selftests/arm64/abi

tools/testing/selftests/arm64/abi/hwcap.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,12 @@ static const struct hwcap_data {
11041104
.hwcap_bit = HWCAP3_MTE_FAR,
11051105
.cpuinfo = "mtefar",
11061106
},
1107+
{
1108+
.name = "MTE_STOREONLY",
1109+
.at_hwcap = AT_HWCAP3,
1110+
.hwcap_bit = HWCAP3_MTE_STORE_ONLY,
1111+
.cpuinfo = "mtestoreonly",
1112+
},
11071113
};
11081114

11091115
typedef void (*sighandler_fn)(int, siginfo_t *, void *);

0 commit comments

Comments
 (0)