All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Ott <sebott@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	Eric Auger <eauger@redhat.com>,
	Jonathan Cameron <jonathan.cameron@huawei.com>,
	Alireza Sanaee <alireza.sanaee@huawei.com>,
	Richard Henderson <richard.henderson@linaro.org>,
	Cornelia Huck <cohuck@redhat.com>
Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org,
	Sebastian Ott <sebott@redhat.com>
Subject: [PATCH v3 0/3] arm: demuxed ID registers (CCSIDR_EL1)
Date: Mon, 22 Jun 2026 15:56:24 +0200	[thread overview]
Message-ID: <20260622135627.40573-1-sebott@redhat.com> (raw)

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



             reply	other threads:[~2026-06-22 13:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-22 13:56 Sebastian Ott [this message]
2026-06-22 13:56 ` [PATCH v3 1/3] arm: handle demuxed ID registers Sebastian Ott
2026-06-29 14:33   ` Eric Auger
2026-06-22 13:56 ` [PATCH v3 2/3] arm: handle CCSIDR_EL1 as a demuxed register Sebastian Ott
2026-06-29 15:23   ` Eric Auger
2026-06-30 13:49     ` Cornelia Huck
2026-07-02 13:11     ` Sebastian Ott
2026-06-22 13:56 ` [PATCH v3 3/3] arm/kvm: get demuxed ID registers from kvm Sebastian Ott
2026-06-29 15:28   ` Eric Auger
2026-07-02 13:14     ` Sebastian Ott

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=20260622135627.40573-1-sebott@redhat.com \
    --to=sebott@redhat.com \
    --cc=alireza.sanaee@huawei.com \
    --cc=cohuck@redhat.com \
    --cc=eauger@redhat.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.