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 <yeoreum.yun@arm.com> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20250618084513.1761345-5-yeoreum.yun@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 61eae49 commit 49a9942

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
@@ -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)