From: Alexander Graf <agraf@suse.de>
To: "Andreas Färber" <afaerber@suse.de>,
"Alexey Kardashevskiy" <aik@ozlabs.ru>,
qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] target-ppc: Add versions to server CPU descriptions
Date: Wed, 04 Mar 2015 15:48:20 +0100 [thread overview]
Message-ID: <54F71B34.6070206@suse.de> (raw)
In-Reply-To: <54F71336.60806@suse.de>
On 04.03.15 15:14, Andreas Färber wrote:
> Alex,
>
> Am 04.03.2015 um 13:28 schrieb Alexander Graf:
>> On 04.03.15 02:31, Alexey Kardashevskiy wrote:
>>> 5b79b1c "target-ppc: Create versionless CPU class per family if KVM" added
>>> a dynamic CPU class registration with the name of the CPU family which
>>> QEMU is running on. For example, this allowed specifying "-cpu POWER7"
>>> on every version of POWER7 machine, not just the one which POWER7 was
>>> an alias of. I.e. before 5b79b1c, "-cpu POWER7" would not work on real
>>> POWER7 2.1 and would work on POWER7 2.3 only. The same story for POWER8.
>>>
>>> However that patch broke POWER5+ support as POWER5+ CPU uses the same
>>> name as the CPU class so dynamic registering of the POWER5+ class failed.
>>>
>>> This redefines POWER5+ server CPUs by adding a version to them and adding
>>> an alias for TCG case. KVM will use dynamically registered CPUs.
>>>
>>> While we are here, do the same for 970 CPU.
>>>
>>> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
>>
>> Thanks, applied to ppc-next.
>
> As Alexey predicted, I object.
>
> The 970 part looks good and could be applied immediately if it were a
> separate patch.
>
> But the POWER5+ part I have my doubts about: Was there really a v0.0???
IIUC most IBM POWER PVRs are regular in that their lower 16 bits are
major/minor. The PVR we have as "POWER5+" has those bits as 0, thus v0.0
is the correct translation of that.
Whether that CPU ever existed is a different question and arguably out
of scope for the patch.
> Others start with v1.0 and I have:
>
> revision : 2.1 (pvr 003b 0201)
I wouldn't object to removing the v0.0 version altogether and just make
POWER5+ be an alias to v2.1 instead. But that's something for a
follow-up patch ;).
Alex
next prev parent reply other threads:[~2015-03-04 14:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 1:31 [Qemu-devel] [PATCH] target-ppc: Add versions to server CPU descriptions Alexey Kardashevskiy
2015-03-04 12:28 ` Alexander Graf
2015-03-04 14:14 ` Andreas Färber
2015-03-04 14:48 ` Alexander Graf [this message]
2015-03-04 23:26 ` Alexey Kardashevskiy
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=54F71B34.6070206@suse.de \
--to=agraf@suse.de \
--cc=afaerber@suse.de \
--cc=aik@ozlabs.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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 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.