[PATCH v1 00/12] arm64/fp: Generate definitons for floating point system registers

Mark Brown broonie at kernel.org
Tue May 10 09:11:56 PDT 2022


This series builds on top of the recently applied series for system
register generation, converting the floating point registers to
automatic generation. There's nothing remarkable in here, just a bunch
of straightforward cleanups and the addition of support for RAZ fields
followed by the actual conversions.

It does skip over the SVCRSM, SVCRZA and SVCRSMZA aliases for now since
I need to think a little about what to do with those.

Since the series includes conversion of the SME registers it is based on
for-next/core rather than for-next/sysreg-gen to pick up for-next/sme as
well.

Mark Brown (12):
  arm64/fp: Make SVE and SME length register definition match
    architecture
  arm64/fp: Rename SVE and SME LEN field name to _WIDTH
  arm64/sme: Drop SYS_ from SMIDR_EL1 defines
  arm64/sme: Standardise bitfield names for SVCR
  arm64/sme: Remove _EL0 from name of SVCR - FIXME sysreg.h
  arm64/sysreg: Support generation of RAZ fields
  arm64/sme: Automatically generate defines for SMCR
  arm64/sme: Automatically generate SMIDR_EL1 defines
  arm64/sme: Automatically generate SMPRIMAP_EL2 definitions
  arm64/sme: Generate SMPRI_EL1 definitions
  arm64/sme: Generate defintions for SVCR
  arm64/sve: Generate ZCR definitions

 arch/arm64/include/asm/el2_setup.h |  2 +-
 arch/arm64/include/asm/fpsimd.h    |  4 +-
 arch/arm64/include/asm/processor.h |  2 +-
 arch/arm64/include/asm/sysreg.h    | 42 ++--------------
 arch/arm64/kernel/cpufeature.c     |  4 +-
 arch/arm64/kernel/fpsimd.c         | 26 +++++-----
 arch/arm64/kernel/ptrace.c         |  8 ++--
 arch/arm64/kernel/signal.c         | 14 +++---
 arch/arm64/kernel/syscall.c        |  4 +-
 arch/arm64/kvm/fpsimd.c            |  4 +-
 arch/arm64/kvm/sys_regs.c          |  2 +-
 arch/arm64/tools/gen-sysreg.awk    |  7 +++
 arch/arm64/tools/sysreg            | 77 ++++++++++++++++++++++++++++++
 13 files changed, 122 insertions(+), 74 deletions(-)


base-commit: 01ce2f5af527043a591208fe26788f55101b90bd
-- 
2.30.2




More information about the linux-arm-kernel mailing list