mbox series

[v1,0/6] arm64: Support for 2022 data processing instructions

Message ID 20221017152520.1039165-1-broonie@kernel.org (mailing list archive)
Headers show
Series arm64: Support for 2022 data processing instructions | expand

Message

Mark Brown Oct. 17, 2022, 3:25 p.m. UTC
The 2022 update to the Arm architecture includes a number of additions
of generic data processing features, covering the base architecture, SVE
and SME. Other than SME these are all simple features which introduce no
architectural state so we simply need to expose hwcaps for them. This
series covers these simple features. Since the SME updates do introduce
new architectural state for which we must add new ABI they will be
handled in a separate series.

Mark Brown (6):
  arm64/hwcap: Add support for FEAT_CSSC
  kselftest/arm64: Add FEAT_CSSC to the hwcap selftest
  arm64/hwcap: Add support for FEAT_RPRFM
  kselftest/arm64: Add FEAT_RPRFM to the hwcap test
  arm64/hwcap: Add support for SVE 2.1
  kselftest/arm64: Add SVE 2.1 to hwcap test

 Documentation/arm64/elf_hwcaps.rst        |  9 +++++++
 Documentation/arm64/sve.rst               |  1 +
 arch/arm64/include/asm/hwcap.h            |  3 +++
 arch/arm64/include/uapi/asm/hwcap.h       |  3 +++
 arch/arm64/kernel/cpufeature.c            |  5 ++++
 arch/arm64/kernel/cpuinfo.c               |  3 +++
 arch/arm64/tools/sysreg                   | 12 ++++++++-
 tools/testing/selftests/arm64/abi/hwcap.c | 32 +++++++++++++++++++++++
 8 files changed, 67 insertions(+), 1 deletion(-)


base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780

Comments

Will Deacon Nov. 9, 2022, 7:13 p.m. UTC | #1
On Mon, 17 Oct 2022 16:25:14 +0100, Mark Brown wrote:
> The 2022 update to the Arm architecture includes a number of additions
> of generic data processing features, covering the base architecture, SVE
> and SME. Other than SME these are all simple features which introduce no
> architectural state so we simply need to expose hwcaps for them. This
> series covers these simple features. Since the SME updates do introduce
> new architectural state for which we must add new ABI they will be
> handled in a separate series.
> 
> [...]

Applied to arm64 (for-next/cpufeature), thanks!

[1/6] arm64/hwcap: Add support for FEAT_CSSC
      https://git.kernel.org/arm64/c/95aa6860d608
[2/6] kselftest/arm64: Add FEAT_CSSC to the hwcap selftest
      https://git.kernel.org/arm64/c/b0ab73a5479f
[3/6] arm64/hwcap: Add support for FEAT_RPRFM
      https://git.kernel.org/arm64/c/939e4649d4fd
[4/6] kselftest/arm64: Add FEAT_RPRFM to the hwcap test
      https://git.kernel.org/arm64/c/989d37fc3d97
[5/6] arm64/hwcap: Add support for SVE 2.1
      https://git.kernel.org/arm64/c/d12aada8dfb0
[6/6] kselftest/arm64: Add SVE 2.1 to hwcap test
      https://git.kernel.org/arm64/c/c5195b027d29

Cheers,