diff options
author | 2025-06-18 10:29:55 +0100 | |
---|---|---|
committer | 2025-07-02 18:50:53 +0100 | |
commit | 964a07426eb8bfc3a6aed8d07eeeca77f44f6d91 (patch) | |
tree | fa54eb60d2ec146c66bc33493f9e4189692f9352 | |
parent | KVM: arm64: Expose MTE_STORE_ONLY feature to guest (diff) | |
download | wireguard-linux-964a07426eb8bfc3a6aed8d07eeeca77f44f6d91.tar.xz wireguard-linux-964a07426eb8bfc3a6aed8d07eeeca77f44f6d91.zip |
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>
-rw-r--r-- | tools/testing/selftests/arm64/abi/hwcap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/arm64/abi/hwcap.c b/tools/testing/selftests/arm64/abi/hwcap.c index e60bfb798ba2..42b59a994bd0 100644 --- a/tools/testing/selftests/arm64/abi/hwcap.c +++ b/tools/testing/selftests/arm64/abi/hwcap.c @@ -1104,6 +1104,12 @@ static const struct hwcap_data { .hwcap_bit = HWCAP3_MTE_FAR, .cpuinfo = "mtefar", }, + { + .name = "MTE_STOREONLY", + .at_hwcap = AT_HWCAP3, + .hwcap_bit = HWCAP3_MTE_STORE_ONLY, + .cpuinfo = "mtestoreonly", + }, }; typedef void (*sighandler_fn)(int, siginfo_t *, void *); |