diff options
author | Mark Brown <broonie@kernel.org> | 2023-09-15 14:18:06 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-09-29 16:56:17 +0200 |
commit | 5d5b4e8c2d9ec12a5cc013b82c1873cd387e0ddf (patch) | |
tree | f7705ca29fb1e96d692e1e69e2fbe56ab2dcfd42 /arch/arm64/include/uapi/asm | |
parent | Linux 6.6-rc3 (diff) | |
download | linux-5d5b4e8c2d9ec12a5cc013b82c1873cd387e0ddf.tar.xz linux-5d5b4e8c2d9ec12a5cc013b82c1873cd387e0ddf.zip |
arm64/sve: Report FEAT_SVE_B16B16 to userspace
SVE 2.1 introduced a new feature FEAT_SVE_B16B16 which adds instructions
supporting the BFloat16 floating point format. Report this to userspace
through the ID registers and hwcap.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230915-arm64-zfr-b16b16-el0-v1-1-f9aba807bdb5@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/uapi/asm')
-rw-r--r-- | arch/arm64/include/uapi/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h index 53026f45a509..6faf549077c5 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -104,5 +104,6 @@ #define HWCAP2_SME_F16F16 (1UL << 42) #define HWCAP2_MOPS (1UL << 43) #define HWCAP2_HBC (1UL << 44) +#define HWCAP2_SVE_B16B16 (1UL << 45) #endif /* _UAPI__ASM_HWCAP_H */ |