From: Cornelia Huck <cohuck@redhat.com>
To: Khushit Shah <khushit.shah@nutanix.com>,
"eric.auger@redhat.com" <eric.auger@redhat.com>,
"qemu-arm@nongnu.org" <qemu-arm@nongnu.org>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: "peter.maydell@linaro.org" <peter.maydell@linaro.org>,
"Shaju Abraham" <shaju.abraham@nutanix.com>,
"Mark Cave-Ayland" <mark.caveayland@nutanix.com>,
"Daniel P . Berrangé" <berrange@redhat.com>,
"Shameer Kolothum" <skolothumtho@nvidia.com>,
"Jinqian Yang" <yangjinqian1@huawei.com>,
"Marc Zyngier" <maz@kernel.org>,
"Sebastian Ott" <sebott@redhat.com>,
"kvmarm@lists.linux.dev" <kvmarm@lists.linux.dev>
Subject: Re: [RFC] arm: property and value naming summary between named CPU models vs customizable host model
Date: Fri, 12 Jun 2026 13:24:57 +0200 [thread overview]
Message-ID: <87bjdgm25y.fsf@redhat.com> (raw)
In-Reply-To: <B820643E-3F14-4CDA-BA6B-09C632F17B9E@nutanix.com>
On Wed, Jun 10 2026, Khushit Shah <khushit.shah@nutanix.com> wrote:
Thank you for the writeup!
(...)
> I have tried to keep the comparison above neutral, but Eric/Cornelia can
> add more. I see real merit in [2]'s simplicity and generalization. But
> for [1], I love a command line that looks like:
> -cpu host,feat_DP=off,feat_AES=off,feat_RAS=0.0,...
>
> instead of:
> -cpu host \
> SYSREG_ID_AA64ISAR0_DP=0,\
> SYSREG_ID_AA64ISAR0_AES=0,\
> SYSREG_ID_AA64PFR0_RAS=0,\
> SYSREG_ID_AA64PFR1_RAS_FRAC=0
>
> I have no strong preference on this topic. The named CPU model layer is
> independent of whichever convention we choose here, so I'd like the
> community to decide which direction makes the most sense :)
I see the human-friendliness of providing prop names as in [1], but I
also see the advantages of generating properties automatically from the
ARM specification in [2]. Maybe there's a way to get the best of both
worlds? Can we expose the feat_XXX properties to users by mapping them
to the relevant registers respectively the combinations of them and
still keep the raw sysregs for those cases where something does not
match to feat_XXX (e.g. some cache values), or just as an alternative
way of configuring things?
Also, we've mostly talked about KVM so far. If we also consider TCG, or
other hypervisors such as HVF, I'd be in favour of grabbing definitions
from the spec, instead of from a specific kernel. (We can still choose
to match the Linux names, but we should not have to.)
There are also some pre-existing properties for cpus; can we express
them via the new interfaces, or do we want to deprecate them, only
keeping those that do not match to hardware, but to accelerator
implementation details?
prev parent reply other threads:[~2026-06-12 11:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-10 12:31 [RFC] arm: property and value naming summary between named CPU models vs customizable host model Khushit Shah
2026-06-11 18:09 ` Eric Auger
2026-06-12 11:24 ` Cornelia Huck [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=87bjdgm25y.fsf@redhat.com \
--to=cohuck@redhat.com \
--cc=berrange@redhat.com \
--cc=eric.auger@redhat.com \
--cc=khushit.shah@nutanix.com \
--cc=kvmarm@lists.linux.dev \
--cc=mark.caveayland@nutanix.com \
--cc=maz@kernel.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=sebott@redhat.com \
--cc=shaju.abraham@nutanix.com \
--cc=skolothumtho@nvidia.com \
--cc=yangjinqian1@huawei.com \
/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.