mbox series

[v2,0/7] arm64/sysreg: More conversions to automatic generation

Message ID 20230419-arm64-syreg-gen-v2-0-4c6add1f6257@kernel.org (mailing list archive)
Headers show
Series arm64/sysreg: More conversions to automatic generation | expand

Message

Mark Brown May 23, 2023, 6:36 p.m. UTC
Continue working through the register defintions, converting them to
automatic generation.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Changes in v2:
- Also convert OSECCR_EL1, OSDTRRX_EL1 and OSDTRTX_EL1 instead of
  dropping them.
- Link to v1: https://lore.kernel.org/r/20230419-arm64-syreg-gen-v1-0-936cd769cb9e@kernel.org

---
Mark Brown (7):
      arm64/sysreg: Convert MDCCINT_EL1 to automatic register generation
      arm64/sysreg: Convert MDSCR_EL1 to automatic register generation
      arm64/sysreg: Standardise naming of bitfield constants in OSL[AS]R_EL1
      arm64/sysreg: Convert OSLAR_EL1 to automatic generation
      arm64/sysreg: Convert OSDTRRX_EL1 to automatic generation
      arm64/sysreg: Convert OSDTRTX_EL1 to automatic generation
      arm64/sysreg: Convert OSECCR_EL1 to automatic generation

 arch/arm64/include/asm/kvm_host.h |  2 +-
 arch/arm64/include/asm/sysreg.h   | 16 +++---------
 arch/arm64/kvm/sys_regs.c         | 10 +++----
 arch/arm64/tools/sysreg           | 55 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 65 insertions(+), 18 deletions(-)
---
base-commit: 44c026a73be8038f03dbdeef028b642880cf1511
change-id: 20230419-arm64-syreg-gen-b2aa896b8af6

Best regards,

Comments

Oliver Upton May 25, 2023, 9:41 p.m. UTC | #1
On Tue, May 23, 2023 at 07:36:58PM +0100, Mark Brown wrote:
> Continue working through the register defintions, converting them to
> automatic generation.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
> Changes in v2:
> - Also convert OSECCR_EL1, OSDTRRX_EL1 and OSDTRTX_EL1 instead of
>   dropping them.
> - Link to v1: https://lore.kernel.org/r/20230419-arm64-syreg-gen-v1-0-936cd769cb9e@kernel.org
> 
> ---
> Mark Brown (7):
>       arm64/sysreg: Convert MDCCINT_EL1 to automatic register generation
>       arm64/sysreg: Convert MDSCR_EL1 to automatic register generation
>       arm64/sysreg: Standardise naming of bitfield constants in OSL[AS]R_EL1
>       arm64/sysreg: Convert OSLAR_EL1 to automatic generation
>       arm64/sysreg: Convert OSDTRRX_EL1 to automatic generation
>       arm64/sysreg: Convert OSDTRTX_EL1 to automatic generation
>       arm64/sysreg: Convert OSECCR_EL1 to automatic generation

Besides the one comment I had:

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>

I imagine these will go through the arm64 tree right? The KVM diff is
miniscule.
Catalin Marinas June 6, 2023, 5:30 p.m. UTC | #2
On Tue, 23 May 2023 19:36:58 +0100, Mark Brown wrote:
> Continue working through the register defintions, converting them to
> automatic generation.
> 
> 

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

[1/7] arm64/sysreg: Convert MDCCINT_EL1 to automatic register generation
      https://git.kernel.org/arm64/c/3def3387f755
[2/7] arm64/sysreg: Convert MDSCR_EL1 to automatic register generation
      https://git.kernel.org/arm64/c/103b88427bc5
[3/7] arm64/sysreg: Standardise naming of bitfield constants in OSL[AS]R_EL1
      https://git.kernel.org/arm64/c/187de7c2aad8
[4/7] arm64/sysreg: Convert OSLAR_EL1 to automatic generation
      https://git.kernel.org/arm64/c/31d504fce595
[5/7] arm64/sysreg: Convert OSDTRRX_EL1 to automatic generation
      https://git.kernel.org/arm64/c/7b416a162229
[6/7] arm64/sysreg: Convert OSDTRTX_EL1 to automatic generation
      https://git.kernel.org/arm64/c/42383388758a
[7/7] arm64/sysreg: Convert OSECCR_EL1 to automatic generation
      https://git.kernel.org/arm64/c/175cea665877