[PATCH v3 0/3] arm: demuxed ID registers (CCSIDR_EL1)

Sebastian Ott posted 3 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260622135627.40573-1-sebott@redhat.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
hw/arm/virt.c                 | 23 ++++++------
hw/intc/armv7m_nvic.c         |  2 +-
target/arm/cpu-max.c          |  6 ++--
target/arm/cpu-sysregs.h      |  9 +++++
target/arm/cpu-sysregs.h.inc  |  1 +
target/arm/cpu.h              | 18 ++++++----
target/arm/cpu64.c            | 14 ++++++--
target/arm/helper.c           |  2 +-
target/arm/kvm.c              | 32 +++++++++++++++++
target/arm/tcg/cpu32-system.c | 26 +++++++-------
target/arm/tcg/cpu64.c        | 68 +++++++++++++++++------------------
11 files changed, 129 insertions(+), 72 deletions(-)
[PATCH v3 0/3] arm: demuxed ID registers (CCSIDR_EL1)
Posted by Sebastian Ott 1 month ago
Handle the demuxed ID register CCSIDR_EL1 as part of the
idregs array. V2 of this series was posted here:
https://lore.kernel.org/qemu-devel/20260204133229.297061-1-cohuck@redhat.com/

Connie asked me to carry these forward.
Changes V2->V3:
* removed extra idregs_demux[] array based on suggestion from Richard
* removed COPY_IDREG_DEMUX suggested from Eric
* add CSSELR_MAX define
* rebased to current master
* removed my R-Bs

We still manually add the register definition to target/arm/cpu-sysregs.h.inc
- can we add special handling for that in the script that generates this?

Cornelia Huck (3):
  arm: handle demuxed ID registers
  arm: handle CCSIDR_EL1 as a demuxed register
  arm/kvm: get demuxed ID registers from kvm

 hw/arm/virt.c                 | 23 ++++++------
 hw/intc/armv7m_nvic.c         |  2 +-
 target/arm/cpu-max.c          |  6 ++--
 target/arm/cpu-sysregs.h      |  9 +++++
 target/arm/cpu-sysregs.h.inc  |  1 +
 target/arm/cpu.h              | 18 ++++++----
 target/arm/cpu64.c            | 14 ++++++--
 target/arm/helper.c           |  2 +-
 target/arm/kvm.c              | 32 +++++++++++++++++
 target/arm/tcg/cpu32-system.c | 26 +++++++-------
 target/arm/tcg/cpu64.c        | 68 +++++++++++++++++------------------
 11 files changed, 129 insertions(+), 72 deletions(-)

-- 
2.54.0