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 <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 7502bdb commit 964a074

File tree

1 file changed

+6
-0
lines changed
  • tools/testing/selftests/arm64/abi

1 file changed

+6
-0
lines changed

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)