[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [RFC 01/17] ppc: Remove some stub POWER6 models
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [RFC 01/17] ppc: Remove some stub POWER6 models |
Date: |
Tue, 8 Nov 2016 14:40:19 +1100 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Sun, Oct 30, 2016 at 10:11:52PM +1100, David Gibson wrote:
> The CPU model table includes stub (commented out) definitions for
> CPU_POWERPC_POWER6_5 and CPU_POWERPC_POWER6A. These are not real cpu
> models, but represent the POWER6 in some compatiblity modes. If we ever
> do implement POWER6 (unlikely), we'll implement its compatibility modes in
> a different way (similar to what we do for POWER7 and POWER8). So these
> stub definitions can be removed.
>
> Signed-off-by: David Gibson <address@hidden>
I think this one is sufficiently non-controversial that I've merged it
into ppc-for-2.8.
> ---
> target-ppc/cpu-models.c | 4 ----
> target-ppc/cpu-models.h | 2 --
> 2 files changed, 6 deletions(-)
>
> diff --git a/target-ppc/cpu-models.c b/target-ppc/cpu-models.c
> index 901cf40..506dee1 100644
> --- a/target-ppc/cpu-models.c
> +++ b/target-ppc/cpu-models.c
> @@ -1130,10 +1130,6 @@
> #if defined(TODO)
> POWERPC_DEF("POWER6", CPU_POWERPC_POWER6, POWER6,
> "POWER6")
> - POWERPC_DEF("POWER6_5", CPU_POWERPC_POWER6_5, POWER5,
> - "POWER6 running in POWER5 mode")
> - POWERPC_DEF("POWER6A", CPU_POWERPC_POWER6A, POWER6,
> - "POWER6A")
> #endif
> POWERPC_DEF("POWER7_v2.3", CPU_POWERPC_POWER7_v23, POWER7,
> "POWER7 v2.3")
> diff --git a/target-ppc/cpu-models.h b/target-ppc/cpu-models.h
> index 7d9e6a2..aafbbd7 100644
> --- a/target-ppc/cpu-models.h
> +++ b/target-ppc/cpu-models.h
> @@ -549,8 +549,6 @@ enum {
> CPU_POWERPC_POWER5 = 0x003A0203,
> CPU_POWERPC_POWER5P_v21 = 0x003B0201,
> CPU_POWERPC_POWER6 = 0x003E0000,
> - CPU_POWERPC_POWER6_5 = 0x0F000001, /* POWER6 in POWER5 mode */
> - CPU_POWERPC_POWER6A = 0x0F000002,
> CPU_POWERPC_POWER_SERVER_MASK = 0xFFFF0000,
> CPU_POWERPC_POWER7_BASE = 0x003F0000,
> CPU_POWERPC_POWER7_v23 = 0x003F0203,
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-ppc] [RFC 01/17] ppc: Remove some stub POWER6 models,
David Gibson <=