From: Richard Henderson <richard.henderson@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>,
qemu-arm@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [PATCH v2 0/2] target/arm: Implement ID_AA64PFR2_EL1
Date: Tue, 23 Sep 2025 13:08:38 -0700 [thread overview]
Message-ID: <ea5c9843-527a-410c-9c7d-12f3a5264f9e@linaro.org> (raw)
In-Reply-To: <20250923175751.966795-1-peter.maydell@linaro.org>
On 9/23/25 10:57, Peter Maydell wrote:
> The ID register ID_AA64PFR2_EL1 is in the space previously reserved
> in the system register ID space, but recent versions of the
> architecture have started to define fields in it to advertise the
> presence of new architectural features. We don't implement any
> of those new features yet, but will need to do so at some point.
> (Notably, the GICv5 EAC spec defines a field in this register
> to advertise the GICv5 CPU interface.)
>
> This patchset gives ID_AA64PFR2_EL1 a backing field in the CPU
> ID regs struct, defines the field names, and reads it from KVM if
> it's present there. The only visible behaviour change is the
> name we present to the user via the gdbstub.
>
> Commit 1 is a code movement one to clear some more stuff out
> of cpu.h that doesn't need to be there; it's mostly because of that
> that I'm sending this patchset rather than holding on to it until
> I have some GICv5 patches ready to send.
>
> (Compare commit f7ddd7b6a1f90c from last year which added the
> ID_AA64MMFR3_EL1 register.)
>
> v2 here is just a rebase which updates the patchset to handle
> the new array-based storage we're using for ID register values.
>
> thanks
> -- PMM
>
> Peter Maydell (2):
> target/arm: Move ID register field defs to cpu-features.h
> target/arm: Implement ID_AA64PFR2_EL1
>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
prev parent reply other threads:[~2025-09-23 20:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-23 17:57 [PATCH v2 0/2] target/arm: Implement ID_AA64PFR2_EL1 Peter Maydell
2025-09-23 17:57 ` [PATCH v2 1/2] target/arm: Move ID register field defs to cpu-features.h Peter Maydell
2025-09-24 4:05 ` Philippe Mathieu-Daudé
2025-09-23 17:57 ` [PATCH v2 2/2] target/arm: Implement ID_AA64PFR2_EL1 Peter Maydell
2025-09-24 4:08 ` Philippe Mathieu-Daudé
2025-09-23 20:08 ` Richard Henderson [this message]
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=ea5c9843-527a-410c-9c7d-12f3a5264f9e@linaro.org \
--to=richard.henderson@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.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).