From: James Morse <james.morse@arm.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Catalin Marinas <catalin.marinas@arm.com>,
Mark Brown <broonie@kernel.org>, Will Deacon <will@kernel.org>,
James Morse <james.morse@arm.com>
Subject: [PATCH v2 00/38] arm64/sysreg: Convert aarch32 id regs
Date: Wed, 30 Nov 2022 17:15:59 +0000 [thread overview]
Message-ID: <20221130171637.718182-1-james.morse@arm.com> (raw)
Hello!
Changes since the v1
* Duplicate definition muck up in patch 29 fixed.
* Rebased onto arm64/for-next/sysregs, which is just rc4.
---
To cleanup an erratum affecting aarch32, I wanted a mask for an id register.
This would have been quick to add, but the right thing to do is to convert
that register to automatic generation. If I was going that far, I may as
well do the lot...
Thanks to Mark Brown for reviewing all this - it was mind numbing to write,
I'm sure its even worse to review!
This will conflict with Amit's series that adds new HWCAPs for 32bit.
Let me know what I should rebase this onto.
The patch that changes the size of the fields in the middle of the series
is the most interesting thing. I also discovered that the tools accept
'0b002' as a value, and it doesn't mind duplicate entries.
This series is based on v6.1-rc4, and can be retrieved from:
https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git arm64/generated_sysreg/a32/v2
James Morse (38):
arm64/sysreg: Standardise naming for ID_MMFR0_EL1
arm64/sysreg: Standardise naming for ID_MMFR4_EL1
arm64/sysreg: Standardise naming for ID_MMFR5_EL1
arm64/sysreg: Standardise naming for ID_ISAR0_EL1
arm64/sysreg: Standardise naming for ID_ISAR4_EL1
arm64/sysreg: Standardise naming for ID_ISAR5_EL1
arm64/sysreg: Standardise naming for ID_ISAR6_EL1
arm64/sysreg: Standardise naming for ID_PFR0_EL1
arm64/sysreg: Standardise naming for ID_PFR1_EL1
arm64/sysreg: Standardise naming for ID_PFR2_EL1
arm64/sysreg: Standardise naming for ID_DFR0_EL1
arm64/sysreg: Standardise naming for ID_DFR1_EL1
arm64/sysreg: Standardise naming for MVFR0_EL1
arm64/sysreg: Standardise naming for MVFR1_EL1
arm64/sysreg: Standardise naming for MVFR2_EL1
arm64/sysreg: Extend the maximum width of a register and symbol name
arm64/sysreg: Convert ID_MMFR0_EL1 to automatic generation
arm64/sysreg: Convert ID_MMFR1_EL1 to automatic generation
arm64/sysreg: Convert ID_MMFR2_EL1 to automatic generation
arm64/sysreg: Convert ID_MMFR3_EL1 to automatic generation
arm64/sysreg: Convert ID_MMFR4_EL1 to automatic generation
arm64/sysreg: Convert ID_ISAR0_EL1 to automatic generation
arm64/sysreg: Convert ID_ISAR1_EL1 to automatic generation
arm64/sysreg: Convert ID_ISAR2_EL1 to automatic generation
arm64/sysreg: Convert ID_ISAR3_EL1 to automatic generation
arm64/sysreg: Convert ID_ISAR4_EL1 to automatic generation
arm64/sysreg: Convert ID_ISAR5_EL1 to automatic generation
arm64/sysreg: Convert ID_ISAR6_EL1 to automatic generation
arm64/sysreg: Convert ID_PFR0_EL1 to automatic generation
arm64/sysreg: Convert ID_PFR1_EL1 to automatic generation
arm64/sysreg: Convert ID_PFR2_EL1 to automatic generation
arm64/sysreg: Convert MVFR0_EL1 to automatic generation
arm64/sysreg: Convert MVFR1_EL1 to automatic generation
arm64/sysreg: Convert MVFR2_EL1 to automatic generation
arm64/sysreg: Convert ID_MMFR5_EL1 to automatic generation
arm64/sysreg: Convert ID_AFR0_EL1 to automatic generation
arm64/sysreg: Convert ID_DFR0_EL1 to automatic generation
arm64/sysreg: Convert ID_DFR1_EL1 to automatic generation
arch/arm64/include/asm/sysreg.h | 134 +-----
arch/arm64/kernel/cpufeature.c | 208 ++++-----
arch/arm64/kvm/sys_regs.c | 4 +-
arch/arm64/tools/gen-sysreg.awk | 2 +-
arch/arm64/tools/sysreg | 754 ++++++++++++++++++++++++++++++++
5 files changed, 862 insertions(+), 240 deletions(-)
--
2.30.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2022-11-30 17:22 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 17:15 James Morse [this message]
2022-11-30 17:16 ` [PATCH v2 01/38] arm64/sysreg: Standardise naming for ID_MMFR0_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 02/38] arm64/sysreg: Standardise naming for ID_MMFR4_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 03/38] arm64/sysreg: Standardise naming for ID_MMFR5_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 04/38] arm64/sysreg: Standardise naming for ID_ISAR0_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 05/38] arm64/sysreg: Standardise naming for ID_ISAR4_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 06/38] arm64/sysreg: Standardise naming for ID_ISAR5_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 07/38] arm64/sysreg: Standardise naming for ID_ISAR6_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 08/38] arm64/sysreg: Standardise naming for ID_PFR0_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 09/38] arm64/sysreg: Standardise naming for ID_PFR1_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 10/38] arm64/sysreg: Standardise naming for ID_PFR2_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 11/38] arm64/sysreg: Standardise naming for ID_DFR0_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 12/38] arm64/sysreg: Standardise naming for ID_DFR1_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 13/38] arm64/sysreg: Standardise naming for MVFR0_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 14/38] arm64/sysreg: Standardise naming for MVFR1_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 15/38] arm64/sysreg: Standardise naming for MVFR2_EL1 James Morse
2022-11-30 17:16 ` [PATCH v2 16/38] arm64/sysreg: Extend the maximum width of a register and symbol name James Morse
2022-11-30 17:16 ` [PATCH v2 17/38] arm64/sysreg: Convert ID_MMFR0_EL1 to automatic generation James Morse
2022-11-30 17:16 ` [PATCH v2 18/38] arm64/sysreg: Convert ID_MMFR1_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 19/38] arm64/sysreg: Convert ID_MMFR2_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 20/38] arm64/sysreg: Convert ID_MMFR3_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 21/38] arm64/sysreg: Convert ID_MMFR4_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 22/38] arm64/sysreg: Convert ID_ISAR0_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 23/38] arm64/sysreg: Convert ID_ISAR1_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 24/38] arm64/sysreg: Convert ID_ISAR2_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 25/38] arm64/sysreg: Convert ID_ISAR3_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 26/38] arm64/sysreg: Convert ID_ISAR4_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 27/38] arm64/sysreg: Convert ID_ISAR5_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 28/38] arm64/sysreg: Convert ID_ISAR6_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 29/38] arm64/sysreg: Convert ID_PFR0_EL1 " James Morse
2022-11-30 19:07 ` Mark Brown
2022-11-30 17:16 ` [PATCH v2 30/38] arm64/sysreg: Convert ID_PFR1_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 31/38] arm64/sysreg: Convert ID_PFR2_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 32/38] arm64/sysreg: Convert MVFR0_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 33/38] arm64/sysreg: Convert MVFR1_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 34/38] arm64/sysreg: Convert MVFR2_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 35/38] arm64/sysreg: Convert ID_MMFR5_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 36/38] arm64/sysreg: Convert ID_AFR0_EL1 " James Morse
2022-11-30 17:16 ` [PATCH v2 37/38] arm64/sysreg: Convert ID_DFR0_EL1 " James Morse
2022-11-30 19:08 ` Mark Brown
2022-11-30 17:16 ` [PATCH v2 38/38] arm64/sysreg: Convert ID_DFR1_EL1 " James Morse
2022-12-01 17:00 ` [PATCH v2 00/38] arm64/sysreg: Convert aarch32 id regs Will Deacon
2022-12-02 11:17 ` Will Deacon
2022-12-02 15:52 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221130171637.718182-1-james.morse@arm.com \
--to=james.morse@arm.com \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).