diff options
author | Mark Brown <broonie@kernel.org> | 2022-07-07 11:36:32 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-07-20 11:18:11 +0100 |
commit | a6a468f50d6a1fa20bcd023f286713d243f5025d (patch) | |
tree | 503f434b6569d8d60016cb00ec1acde2b357675c /arch/arm64/include/asm/hwcap.h | |
parent | 60c868eff2bc59656ff449258d30da23adae544a (diff) | |
download | lwn-a6a468f50d6a1fa20bcd023f286713d243f5025d.tar.gz lwn-a6a468f50d6a1fa20bcd023f286713d243f5025d.zip |
arm64/hwcap: Support FEAT_EBF16
The v9.2 feature FEAT_EBF16 provides support for an extended BFloat16 mode.
Allow userspace to discover system support for this feature by adding a
hwcap for it.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220707103632.12745-4-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/hwcap.h')
-rw-r--r-- | arch/arm64/include/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h index 9b5fdc114f8c..cef4ae7a3d8b 100644 --- a/arch/arm64/include/asm/hwcap.h +++ b/arch/arm64/include/asm/hwcap.h @@ -118,6 +118,7 @@ #define KERNEL_HWCAP_SME_F32F32 __khwcap2_feature(SME_F32F32) #define KERNEL_HWCAP_SME_FA64 __khwcap2_feature(SME_FA64) #define KERNEL_HWCAP_WFXT __khwcap2_feature(WFXT) +#define KERNEL_HWCAP_EBF16 __khwcap2_feature(EBF16) /* * This yields a mask that user programs can use to figure out what |