[PATCH 0/4] arm64: sysreg: Bring field definitions in line with the spec
Fuad Tabba
fuad.tabba at linux.dev
Tue Oct 13 06:02:43 PDT 2026
Hi folks,
Fixes to definitions in the sysreg file that don't match the current
spec: three wrong enum values, two misspelt field names, and fields the
architecture has dropped, including leftovers from FEAT_TME. The last
patch also removes the BRBE driver's check on two more such
fields (BRBINFx_EL1.T and LASTFAILED), the only functional change in
the series.
These came out of the pKVM feature-bit audit, which led me to check the
whole file against ARM's register descriptions.
I plan to look at turning that check into a linter under
arch/arm64/tools, along the lines Will suggested [1], so the next
batch doesn't depend on someone reading the spec.
Based on Linux 7.3-rc6 (a90ee4305c4a5).
Cheers,
/fuad
[1] https://lore.kernel.org/all/20241211224015.GB17836@willie-the-truck/
Fuad Tabba (4):
arm64: sysreg: Fix three incorrect enum values
arm64: sysreg: Fix the names of two misspelt fields
arm64: sysreg: Mark fields the architecture dropped as RES0
perf: arm_brbe: Remove the check for TME transaction states
arch/arm64/kvm/config.c | 4 ++--
arch/arm64/kvm/emulate-nested.c | 2 +-
arch/arm64/tools/sysreg | 28 ++++++++++------------------
drivers/perf/arm_brbe.c | 18 ------------------
4 files changed, 13 insertions(+), 39 deletions(-)
base-commit: a90ee4305c4a5df72c11b31dacfdc76e00fcf78a
--
2.39.5
More information about the linux-arm-kernel
mailing list