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

Sebastian Ott posted 3 patches 3 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260702133606.34529-1-sebott@redhat.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>
hw/arm/virt.c                 | 19 ++++------
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              | 31 ++++++++++++++++
target/arm/tcg/cpu32-system.c | 26 +++++++-------
target/arm/tcg/cpu64.c        | 68 +++++++++++++++++------------------
11 files changed, 123 insertions(+), 73 deletions(-)
[PATCH v4 0/3] arm: demuxed ID registers (CCSIDR_EL1)
Posted by Sebastian Ott 3 weeks, 2 days ago
Handle the demuxed ID register CCSIDR_EL1 as part of the
idregs array. V3 of this series was posted here:
https://lore.kernel.org/qemu-devel/20260622135627.40573-1-sebott@redhat.com/

Changes V3->V4:
* added R-B from Eric
* incorporated suggestions from Eric

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                 | 19 ++++------
 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              | 31 ++++++++++++++++
 target/arm/tcg/cpu32-system.c | 26 +++++++-------
 target/arm/tcg/cpu64.c        | 68 +++++++++++++++++------------------
 11 files changed, 123 insertions(+), 73 deletions(-)

-- 
2.54.0
Re: [PATCH v4 0/3] arm: demuxed ID registers (CCSIDR_EL1)
Posted by Peter Maydell 3 weeks, 1 day ago
On Thu, 2 Jul 2026 at 14:36, Sebastian Ott <sebott@redhat.com> wrote:
>
> Handle the demuxed ID register CCSIDR_EL1 as part of the
> idregs array. V3 of this series was posted here:
> https://lore.kernel.org/qemu-devel/20260622135627.40573-1-sebott@redhat.com/
>
> Changes V3->V4:
> * added R-B from Eric
> * incorporated suggestions from Eric

Hi; there's no description in this cover letter of
what the series is trying to accomplish. Could you
explain a bit what the motivation is, please?

thanks
-- PMM
Re: [PATCH v4 0/3] arm: demuxed ID registers (CCSIDR_EL1)
Posted by Sebastian Ott 2 weeks, 5 days ago
Hello Peter,

On Fri, 3 Jul 2026, Peter Maydell wrote:
> On Thu, 2 Jul 2026 at 14:36, Sebastian Ott <sebott@redhat.com> wrote:
>>
>> Handle the demuxed ID register CCSIDR_EL1 as part of the
>> idregs array. V3 of this series was posted here:
>> https://lore.kernel.org/qemu-devel/20260622135627.40573-1-sebott@redhat.com/
>>
>> Changes V3->V4:
>> * added R-B from Eric
>> * incorporated suggestions from Eric
>
> Hi; there's no description in this cover letter of
> what the series is trying to accomplish. Could you
> explain a bit what the motivation is, please?

Sure!

"
To support efforts to generalize handling of writable System ID Registers
[1] this series addresses the demuxed registers that are kept outside of
ARMISARegisters namely CSSELR_EL1.

CSSELR_EL1 is moved within ARMISARegisters and accessors to retrieve
and set the demuxed values are provided. Initial values are gathered via
the usual KVM_GET_ONE_REG ioctl.
"

Thanks,
Sebastian

[1] https://lore.kernel.org/qemu-arm/20260616132625.1732031-1-eric.auger@redhat.com/