diff options
author | Mark Brown <broonie@kernel.org> | 2023-09-15 13:18:06 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-09-29 15:56:17 +0100 |
commit | 5d5b4e8c2d9ec12a5cc013b82c1873cd387e0ddf (patch) | |
tree | f7705ca29fb1e96d692e1e69e2fbe56ab2dcfd42 /arch/arm64/tools | |
parent | 6465e260f48790807eef06b583b38ca9789b6072 (diff) |
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/tools')
-rw-r--r-- | arch/arm64/tools/sysreg | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 76ce150e7347..bb69ab34202b 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -1026,7 +1026,11 @@ UnsignedEnum 35:32 SHA3 0b0000 NI 0b0001 IMP EndEnum -Res0 31:24 +Res0 31:28 +UnsignedEnum 27:24 B16B16 + 0b0000 NI + 0b0001 IMP +EndEnum UnsignedEnum 23:20 BF16 0b0000 NI 0b0001 IMP |