qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] target/ppc: Fix 7748 support
@ 2022-01-17  9:25 Cédric Le Goater
  2022-01-17 13:07 ` Fabiano Rosas
  2022-01-18 12:01 ` Cédric Le Goater
  0 siblings, 2 replies; 3+ messages in thread
From: Cédric Le Goater @ 2022-01-17  9:25 UTC (permalink / raw)
  To: qemu-ppc, qemu-devel
  Cc: Cédric Le Goater, Fabiano Rosas, Greg Kurz, David Gibson

The 7448 CPU is an evolution of the PowerPC 7447A and the last of the
G4 family. Change its family to reflect correctly its features. This
fixes Linux boot.

Cc: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 target/ppc/cpu-models.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c
index 96fec9c2e501..764afe5a2afb 100644
--- a/target/ppc/cpu-models.c
+++ b/target/ppc/cpu-models.c
@@ -636,13 +636,13 @@
                 "PowerPC 7410 v1.3 (G4)")
     POWERPC_DEF("7410_v1.4",     CPU_POWERPC_7410_v14,               7410,
                 "PowerPC 7410 v1.4 (G4)")
-    POWERPC_DEF("7448_v1.0",     CPU_POWERPC_7448_v10,               7400,
+    POWERPC_DEF("7448_v1.0",     CPU_POWERPC_7448_v10,               7445,
                 "PowerPC 7448 v1.0 (G4)")
-    POWERPC_DEF("7448_v1.1",     CPU_POWERPC_7448_v11,               7400,
+    POWERPC_DEF("7448_v1.1",     CPU_POWERPC_7448_v11,               7445,
                 "PowerPC 7448 v1.1 (G4)")
-    POWERPC_DEF("7448_v2.0",     CPU_POWERPC_7448_v20,               7400,
+    POWERPC_DEF("7448_v2.0",     CPU_POWERPC_7448_v20,               7445,
                 "PowerPC 7448 v2.0 (G4)")
-    POWERPC_DEF("7448_v2.1",     CPU_POWERPC_7448_v21,               7400,
+    POWERPC_DEF("7448_v2.1",     CPU_POWERPC_7448_v21,               7445,
                 "PowerPC 7448 v2.1 (G4)")
     POWERPC_DEF("7450_v1.0",     CPU_POWERPC_7450_v10,               7450,
                 "PowerPC 7450 v1.0 (G4)")
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] target/ppc: Fix 7748 support
  2022-01-17  9:25 [PATCH] target/ppc: Fix 7748 support Cédric Le Goater
@ 2022-01-17 13:07 ` Fabiano Rosas
  2022-01-18 12:01 ` Cédric Le Goater
  1 sibling, 0 replies; 3+ messages in thread
From: Fabiano Rosas @ 2022-01-17 13:07 UTC (permalink / raw)
  To: Cédric Le Goater, qemu-ppc, qemu-devel
  Cc: David Gibson, Cédric Le Goater, Greg Kurz

Cédric Le Goater <clg@kaod.org> writes:

> The 7448 CPU is an evolution of the PowerPC 7447A and the last of the
> G4 family. Change its family to reflect correctly its features. This
> fixes Linux boot.
>
> Cc: Fabiano Rosas <farosas@linux.ibm.com>
> Signed-off-by: Cédric Le Goater <clg@kaod.org>

Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>

> ---
>  target/ppc/cpu-models.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c
> index 96fec9c2e501..764afe5a2afb 100644
> --- a/target/ppc/cpu-models.c
> +++ b/target/ppc/cpu-models.c
> @@ -636,13 +636,13 @@
>                  "PowerPC 7410 v1.3 (G4)")
>      POWERPC_DEF("7410_v1.4",     CPU_POWERPC_7410_v14,               7410,
>                  "PowerPC 7410 v1.4 (G4)")
> -    POWERPC_DEF("7448_v1.0",     CPU_POWERPC_7448_v10,               7400,
> +    POWERPC_DEF("7448_v1.0",     CPU_POWERPC_7448_v10,               7445,
>                  "PowerPC 7448 v1.0 (G4)")
> -    POWERPC_DEF("7448_v1.1",     CPU_POWERPC_7448_v11,               7400,
> +    POWERPC_DEF("7448_v1.1",     CPU_POWERPC_7448_v11,               7445,
>                  "PowerPC 7448 v1.1 (G4)")
> -    POWERPC_DEF("7448_v2.0",     CPU_POWERPC_7448_v20,               7400,
> +    POWERPC_DEF("7448_v2.0",     CPU_POWERPC_7448_v20,               7445,
>                  "PowerPC 7448 v2.0 (G4)")
> -    POWERPC_DEF("7448_v2.1",     CPU_POWERPC_7448_v21,               7400,
> +    POWERPC_DEF("7448_v2.1",     CPU_POWERPC_7448_v21,               7445,
>                  "PowerPC 7448 v2.1 (G4)")
>      POWERPC_DEF("7450_v1.0",     CPU_POWERPC_7450_v10,               7450,
>                  "PowerPC 7450 v1.0 (G4)")


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] target/ppc: Fix 7748 support
  2022-01-17  9:25 [PATCH] target/ppc: Fix 7748 support Cédric Le Goater
  2022-01-17 13:07 ` Fabiano Rosas
@ 2022-01-18 12:01 ` Cédric Le Goater
  1 sibling, 0 replies; 3+ messages in thread
From: Cédric Le Goater @ 2022-01-18 12:01 UTC (permalink / raw)
  To: qemu-ppc, qemu-devel; +Cc: Fabiano Rosas, Greg Kurz, David Gibson

On 1/17/22 10:25, Cédric Le Goater wrote:
> The 7448 CPU is an evolution of the PowerPC 7447A and the last of the
> G4 family. Change its family to reflect correctly its features. This
> fixes Linux boot.
> 
> Cc: Fabiano Rosas <farosas@linux.ibm.com>
> Signed-off-by: Cédric Le Goater <clg@kaod.org>
> ---
>   target/ppc/cpu-models.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)

Applied to ppc-7.0

Thanks,

C.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-18 12:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-17  9:25 [PATCH] target/ppc: Fix 7748 support Cédric Le Goater
2022-01-17 13:07 ` Fabiano Rosas
2022-01-18 12:01 ` Cédric Le Goater

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).