diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-01 03:42:03 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-08-07 12:47:44 -0500 |
commit | f71d4c4673d0b2b92bccd46eb06f6c1723d6bb0f (patch) | |
tree | d244f7403a392b8b5613d692661af4b906c6cf23 /target-ppc | |
parent | 35ebcb2b7a469739e6452d27379181bfbfc0388d (diff) |
target-ppc: Add POWER5+ v2.1 CPU model
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>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375321323-29954-5-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/cpu-models.c | 2 | ||||
-rw-r--r-- | target-ppc/cpu-models.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/target-ppc/cpu-models.c b/target-ppc/cpu-models.c index 81f694c479..8dea560383 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 a79cd1b327..d9145d147f 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, |