Skip to content

arm64/sysreg: More system register generation

Mark Brown linux-arm-kernel 12 versions – Applied

Status from this message: Applied to arm64 (for-next/sysregs), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 posting 2/228 patches 3 repliesApplied
  2. v5 posting 2/228 patches 4 repliesSuperseded
  3. v4 posting 2/228 patches 0 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v2 posting 3/328 patches2 repliesSuperseded
v7 Latest28 patches1 replyApplied
v6 posting 1/227 patches5 repliesSuperseded
v5 posting 1/227 patches1 replySuperseded
v4 posting 1/226 patches8 repliesSuperseded
v326 patches0 repliesSuperseded
v2 posting 2/317 patches1 replySuperseded
v2 posting 1/36 patches2 repliesApplied
v19 patches11 repliesSuperseded

Changes in v7 from the cover letter

- Rather than guarding macros in sysreg.h minimise the set of headers included in cache.h when used for assembly.
- Fix more indentation in icache_policy_str().
- Fix preexisting whitespace damage in idreg-override.c

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/28arm64/cpuinfo: Remove references to reserved cache typearch/arm64/include/asm/cache.h arch/arm64/kernel/cpuinfo.c+15 -90 replies
2/28arm64/idreg: Fix tab/space damagearch/arm64/kernel/idreg-override.c+7 -70 replies
3/28arm64/sysreg: Allow leading blanks on comments in sysreg filearch/arm64/tools/gen-sysreg.awk+1 -10 replies
4/28arm64/sysreg: Add SYS_FIELD_GET() helperarch/arm64/include/asm/sysreg.h+3 -00 replies
5/28arm64/cache: Restrict which headers are included in __ASSEMBLY__arch/arm64/include/asm/cache.h+5 -60 replies
6/28arm64/sysreg: Standardise naming for CTR_EL0 fieldsarch/arm64/include/asm/cache.h arch/arm64/include/asm/sysreg.h arch/arm64/kernel/alternative.c +4 more+45 -430 replies
7/28arm64/sysreg: Standardise naming for DCZID_EL0 field namesarch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c+4 -40 replies
8/28arm64/mte: Standardise GMID field name definitionsarch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c arch/arm64/lib/mte.S+4 -40 replies
9/28arm64/sysreg: Align pointer auth enumeration defines with architecturearch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c+29 -290 replies
10/28arm64/sysreg: Make BHB clear feature defines match the architecturearch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c+3 -30 replies
11/28arm64/sysreg: Standardise naming for WFxT definesarch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c arch/arm64/kvm/sys_regs.c+8 -80 replies
12/28arm64/sysreg: Standardise naming for ID_AA64SMFR0_EL1 enumsarch/arm64/include/asm/el2_setup.h arch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c+32 -320 replies
13/28arm64/sysreg: Standardise naming for ID_AA64ZFR0_EL1 fieldsarch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c+39 -390 replies
14/28arm64/sysreg: Remove defines for RPRES enumerationarch/arm64/include/asm/sysreg.h+0 -20 replies
15/28arm64/sysreg: Add _EL1 into ID_AA64ISAR1_EL1 definition namesarch/arm64/include/asm/asm_pointer_auth.h arch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c +4 more+103 -1030 replies
16/28arm64/sysreg: Add _EL1 into ID_AA64ISAR2_EL1 definition namesarch/arm64/include/asm/asm_pointer_auth.h arch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/sysreg.h +5 more+45 -450 replies
17/28arm64/sysreg: Convert CTR_EL0 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+21 -160 replies
18/28arm64/sysreg: Convert DCZID_EL0 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+6 -50 replies
19/28arm64/sysreg: Convert GMID to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+5 -10 replies
20/28arm64/sysreg: Convert ID_AA64ISAR1_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+83 -340 replies
21/28arm64/sysreg: Convert ID_AA64ISAR2_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+33 -270 replies
22/28arm64/sysreg: Convert LORSA_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+8 -10 replies
23/28arm64/sysreg: Convert LOREA_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+6 -10 replies
24/28arm64/sysreg: Convert LORN_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+5 -10 replies
25/28arm64/sysreg: Convert LORC_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+7 -10 replies
26/28arm64/sysreg: Convert LORID_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+7 -20 replies
27/28arm64/sysreg: Convert ID_AA64SMFR0_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+37 -180 replies
28/28arm64/sysreg: Convert ID_AA64ZFR0_EL1 to automatic generationarch/arm64/include/asm/sysreg.h arch/arm64/tools/sysreg+46 -230 replies

Reviews trailers per patch

1 of 28 patches has a Reviewed-by or Acked-by.

PatchMark Rutland
1/28
2/28
3/28
4/28A-b
5/28
6/28
7/28
8/28
9/28
10/28
11/28
12/28
13/28
14/28
15/28
16/28
17/28
18/28
19/28
20/28
21/28
22/28
23/28
24/28
25/28
26/28
27/28
28/28

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 00/28] arm64/sysreg: More system register generation

This series continues on with the conversion of the system registers to automatic generation, together with a few cleanups and improvements that were identified as part of looking through all the register definitions and bringing them into line with the conventions we've been using.

v7:
- Rather than guarding macros in sysreg.h minimise the set of headers included in cache.h when used for assembly.
- Fix more indentation in icache_policy_str().
- Fix preexisting whitespace damage in idreg-override.c
v6:
- Fix indentation in icache_policy_str().
- Assume aliasing for unknown cache type.
v5:
- Remove definition of AIVIVT cache type entirely, no longer referencing the constant.
- Allow leading blanks on comments in the input file.
v4:
- Rebase onto v5.19-rc3.
v3:
- Fix value for ID_AA64ISAR2_EL1.WFxT IMP enumeration value.
- Add conversions of LOR*_EL1, ID_AA64SMFR0_EL1 and ID_AA64ZFR0_EL1.
- Rebase onto for-next/fixes due to the ID_AA64SMFR0_EL1 conversion.
v2:
- Rework handling of AIVIVT so we just update the define to reflect the naming but don't change the user visible decode, the type was removed from v8 rather than being added in v9.

Mark Brown (28):
arm64/cpuinfo: Remove references to reserved cache type arm64/idreg: Fix tab/space damage
arm64/sysreg: Allow leading blanks on comments in sysreg file arm64/sysreg: Add SYS_FIELD_GET() helper
arm64/cache: Restrict which headers are included in __ASSEMBLY__ arm64/sysreg: Standardise naming for CTR_EL0 fields arm64/sysreg: Standardise naming for DCZID_EL0 field names arm64/mte: Standardise GMID field name definitions arm64/sysreg: Align pointer auth enumeration defines with architecture arm64/sysreg: Make BHB clear feature defines match the architecture arm64/sysreg: Standardise naming for WFxT defines arm64/sysreg: Standardise naming for ID_AA64SMFR0_EL1 enums arm64/sysreg: Standardise naming for ID_AA64ZFR0_EL1 fields arm64/sysreg: Remove defines for RPRES enumeration arm64/sysreg: Add _EL1 into ID_AA64ISAR1_EL1 definition names arm64/sysreg: Add _EL1 into ID_AA64ISAR2_EL1 definition names arm64/sysreg: Convert CTR_EL0 to automatic generation arm64/sysreg: Convert DCZID_EL0 to automatic generation arm64/sysreg: Convert GMID to automatic generation arm64/sysreg: Convert ID_AA64ISAR1_EL1 to automatic generation arm64/sysreg: Convert ID_AA64ISAR2_EL1 to automatic generation arm64/sysreg: Convert LORSA_EL1 to automatic generation arm64/sysreg: Convert LOREA_EL1 to automatic generation arm64/sysreg: Convert LORN_EL1 to automatic generation arm64/sysreg: Convert LORC_EL1 to automatic generation arm64/sysreg: Convert LORID_EL1 to automatic generation arm64/sysreg: Convert ID_AA64SMFR0_EL1 to automatic generation arm64/sysreg: Convert ID_AA64ZFR0_EL1 to automatic generation

 arch/arm64/include/asm/asm_pointer_auth.h     |   4 +-
 arch/arm64/include/asm/cache.h                |  41 +--
 arch/arm64/include/asm/cpufeature.h           |   2 +-
 arch/arm64/include/asm/el2_setup.h            |   2 +-
 arch/arm64/include/asm/sysreg.h               | 124 +-------
 arch/arm64/kernel/alternative.c               |   2 +-
 arch/arm64/kernel/cpu_errata.c                |   2 +-
 arch/arm64/kernel/cpufeature.c                | 220 +++++++--------
 arch/arm64/kernel/cpuinfo.c                   |  29 +-
 arch/arm64/kernel/idreg-override.c            |  14 +-
 arch/arm64/kernel/traps.c                     |   6 +-
 .../arm64/kvm/hyp/include/nvhe/fixed_config.h |  32 +--
 arch/arm64/kvm/hyp/nvhe/sys_regs.c            |  12 +-
 arch/arm64/kvm/sys_regs.c                     |  14 +-
 arch/arm64/lib/mte.S                          |   2 +-
 arch/arm64/tools/gen-sysreg.awk               |   2 +-
 arch/arm64/tools/sysreg                       | 264 ++++++++++++++++++
 17 files changed, 457 insertions(+), 315 deletions(-)

base-commit: a111daf0c53ae91e71fd2bfe7497862d14132e3e

Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel