qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org, "Andreas Färber" <afaerber@suse.de>,
	"Alexander Graf" <agraf@suse.de>
Subject: [Qemu-devel] [PATCH for-next 4/4] target-ppc: Add POWER5+ v2.1 CPU model
Date: Thu,  1 Aug 2013 03:42:03 +0200	[thread overview]
Message-ID: <1375321323-29954-5-git-send-email-afaerber@suse.de> (raw)
In-Reply-To: <1375321323-29954-1-git-send-email-afaerber@suse.de>

Let's avoid -cpu host barfing at this PVR.
Linux recognizes it as "POWER5+ (gs) v2.1".

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 target-ppc/cpu-models.c | 2 ++
 target-ppc/cpu-models.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/target-ppc/cpu-models.c b/target-ppc/cpu-models.c
index f2604eb..70157d6 100644
--- a/target-ppc/cpu-models.c
+++ b/target-ppc/cpu-models.c
@@ -1123,6 +1123,8 @@
 #endif
     POWERPC_DEF("POWER5+",       CPU_POWERPC_POWER5P,                POWER5P,
                 "POWER5+")
+    POWERPC_DEF("POWER5+_v2.1",  CPU_POWERPC_POWER5P_v21,            POWER5P,
+                "POWER5+ v2.1")
 #if defined(TODO)
     POWERPC_DEF("POWER6",        CPU_POWERPC_POWER6,                 POWER6,
                 "POWER6")
diff --git a/target-ppc/cpu-models.h b/target-ppc/cpu-models.h
index a844d0d..830ab84 100644
--- a/target-ppc/cpu-models.h
+++ b/target-ppc/cpu-models.h
@@ -548,6 +548,7 @@ enum {
      /* XXX: missing 0x003A0201 */
     CPU_POWERPC_POWER5             = 0x003A0203,
     CPU_POWERPC_POWER5P            = 0x003B0000,
+    CPU_POWERPC_POWER5P_v21        = 0x003B0201,
     CPU_POWERPC_POWER6             = 0x003E0000,
     CPU_POWERPC_POWER6_5           = 0x0F000001, /* POWER6 in POWER5 mode */
     CPU_POWERPC_POWER6A            = 0x0F000002,
-- 
1.8.1.4

  parent reply	other threads:[~2013-08-01  1:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01  1:41 [Qemu-devel] [PATCH for-next 0/4] target-ppc: Complete POWER5+ CPU model support Andreas Färber
2013-08-01  1:42 ` [Qemu-devel] [PATCH for-next 1/4] target-ppc: Turn POWER5gs CPU into alias for POWER5+ Andreas Färber
2013-08-01  1:42 ` [Qemu-devel] [PATCH for-next 2/4] target-ppc: Turn POWER5gr CPU into alias for POWER5 Andreas Färber
2013-08-01  1:42 ` [Qemu-devel] [PATCH for-next 3/4] target-ppc: Prepare POWER5P CPU family Andreas Färber
2013-08-01  1:42 ` Andreas Färber [this message]
2013-08-05 20:35 ` [Qemu-devel] Ping for-1.6: [PATCH for-next 0/4] target-ppc: Complete POWER5+ CPU model support Andreas Färber
2013-08-14 13:59 ` [Qemu-devel] " Alexander Graf
2013-08-14 14:03   ` Andreas Färber
2013-08-14 16:29 ` Anthony Liguori

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=1375321323-29954-5-git-send-email-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=agraf@suse.de \
    --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 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).