diff options
author | Mark Brown <broonie@kernel.org> | 2023-01-16 16:04:48 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-01-20 12:23:07 +0000 |
commit | 7d5d8601e4577c918fdb5fa922c634a73557ac0f (patch) | |
tree | c02a9e4de75a72fe0ee10ee92e3812fd7a2fefbc /arch/arm64/include/uapi | |
parent | f90b529bcbe57c66da2b6a0d3c7c81e8567af63d (diff) | |
download | linux-stable-7d5d8601e4577c918fdb5fa922c634a73557ac0f.tar.gz linux-stable-7d5d8601e4577c918fdb5fa922c634a73557ac0f.tar.bz2 linux-stable-7d5d8601e4577c918fdb5fa922c634a73557ac0f.zip |
arm64/sme: Add hwcaps for SME 2 and 2.1 features
In order to allow userspace to discover the presence of the new SME features
add hwcaps for them.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221208-arm64-sme2-v4-13-f2fa0aef982f@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/uapi')
-rw-r--r-- | arch/arm64/include/uapi/asm/hwcap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h index b713d30544f1..69a4fb749c65 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -96,5 +96,11 @@ #define HWCAP2_CSSC (1UL << 34) #define HWCAP2_RPRFM (1UL << 35) #define HWCAP2_SVE2P1 (1UL << 36) +#define HWCAP2_SME2 (1UL << 37) +#define HWCAP2_SME2P1 (1UL << 38) +#define HWCAP2_SME_I16I32 (1UL << 39) +#define HWCAP2_SME_BI32I32 (1UL << 40) +#define HWCAP2_SME_B16B16 (1UL << 41) +#define HWCAP2_SME_F16F16 (1UL << 42) #endif /* _UAPI__ASM_HWCAP_H */ |