Skip to content

Commit 49a9942

Browse files
LeviYeoReumctmarinas
authored andcommitted
kselftest/arm64: Add MTE_FAR hwcap test
add MTE_FAR hwcap test on kselftest. 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 61eae49 commit 49a9942

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
@@ -1098,6 +1098,12 @@ static const struct hwcap_data {
10981098
.sigill_fn = hbc_sigill,
10991099
.sigill_reliable = true,
11001100
},
1101+
{
1102+
.name = "MTE_FAR",
1103+
.at_hwcap = AT_HWCAP3,
1104+
.hwcap_bit = HWCAP3_MTE_FAR,
1105+
.cpuinfo = "mtefar",
1106+
},
11011107
};
11021108

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

0 commit comments

Comments
 (0)