[PATCH 0/2] Report FEAT_SVE_B16B16 to userspace

Mark Brown broonie at kernel.org
Fri Sep 15 05:18:05 PDT 2023


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.

Signed-off-by: Mark Brown <broonie at kernel.org>
---
Mark Brown (2):
      arm64/sve: Report FEAT_SVE_B16B16 to userspace
      kselftest/arm64: Verify HWCAP2_SVE_B16B16

 Documentation/arch/arm64/cpu-feature-registers.rst |  2 ++
 Documentation/arch/arm64/elf_hwcaps.rst            |  3 +++
 arch/arm64/include/asm/hwcap.h                     |  1 +
 arch/arm64/include/uapi/asm/hwcap.h                |  1 +
 arch/arm64/kernel/cpufeature.c                     |  3 +++
 arch/arm64/kernel/cpuinfo.c                        |  1 +
 arch/arm64/tools/sysreg                            |  6 +++++-
 tools/testing/selftests/arm64/abi/hwcap.c          | 13 +++++++++++++
 8 files changed, 29 insertions(+), 1 deletion(-)
---
base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
change-id: 20230913-arm64-zfr-b16b16-el0-0811fc70f147

Best regards,
-- 
Mark Brown <broonie at kernel.org>




More information about the linux-arm-kernel mailing list