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>
This commit is contained in:
Yeoreum Yun 2025-06-18 09:45:07 +01:00 committed by Catalin Marinas
parent 61eae495da
commit 49a9942ff8

View File

@ -1098,6 +1098,12 @@ static const struct hwcap_data {
.sigill_fn = hbc_sigill,
.sigill_reliable = true,
},
{
.name = "MTE_FAR",
.at_hwcap = AT_HWCAP3,
.hwcap_bit = HWCAP3_MTE_FAR,
.cpuinfo = "mtefar",
},
};
typedef void (*sighandler_fn)(int, siginfo_t *, void *);