All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabiano Rosas <farosas@linux.ibm.com>
To: qemu-devel@nongnu.org
Cc: danielhb413@gmail.com, mark.cave-ayland@ilande.co.uk,
	qemu-ppc@nongnu.org, clg@kaod.org, openbios@openbios.org,
	david@gibson.dropbear.id.au
Subject: [RFC PATCH 2/2] ppc: Add PVRs for the MPC7450 family
Date: Fri, 19 Nov 2021 10:44:31 -0300	[thread overview]
Message-ID: <20211119134431.406753-3-farosas@linux.ibm.com> (raw)
In-Reply-To: <20211119134431.406753-1-farosas@linux.ibm.com>

This allows the processors from the 7450 family to pass the initial
PVR verification. Enables 7441, 7445, 7447, 7447a, 7448, 7450, 7451,
7455, 7457 and 7457a.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
---
 arch/ppc/qemu/init.c | 52 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index 45cd77e..e40385a 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -569,6 +569,58 @@ static const struct cpudef ppc_defs[] = {
         .tlb_size = 0x80,
         .initfn = cpu_g4_init,
     },
+    {
+        .iu_version = 0x80000000,
+        .name = "PowerPC,G4",
+        .icache_size = 0x8000,
+        .dcache_size = 0x8000,
+        .icache_sets = 0x80,
+        .dcache_sets = 0x80,
+        .icache_block_size = 0x20,
+        .dcache_block_size = 0x20,
+        .tlb_sets = 0x40,
+        .tlb_size = 0x80,
+        .initfn = cpu_g4_init,
+    },
+    {
+        .iu_version = 0x80010000,
+        .name = "PowerPC,G4",
+        .icache_size = 0x8000,
+        .dcache_size = 0x8000,
+        .icache_sets = 0x80,
+        .dcache_sets = 0x80,
+        .icache_block_size = 0x20,
+        .dcache_block_size = 0x20,
+        .tlb_sets = 0x40,
+        .tlb_size = 0x80,
+        .initfn = cpu_g4_init,
+    },
+    {
+        .iu_version = 0x80020000,
+        .name = "PowerPC,G4",
+        .icache_size = 0x8000,
+        .dcache_size = 0x8000,
+        .icache_sets = 0x80,
+        .dcache_sets = 0x80,
+        .icache_block_size = 0x20,
+        .dcache_block_size = 0x20,
+        .tlb_sets = 0x40,
+        .tlb_size = 0x80,
+        .initfn = cpu_g4_init,
+    },
+    {
+        .iu_version = 0x80030000,
+        .name = "PowerPC,G4",
+        .icache_size = 0x8000,
+        .dcache_size = 0x8000,
+        .icache_sets = 0x80,
+        .dcache_sets = 0x80,
+        .icache_block_size = 0x20,
+        .dcache_block_size = 0x20,
+        .tlb_sets = 0x40,
+        .tlb_size = 0x80,
+        .initfn = cpu_g4_init,
+    },
     {
         .iu_version = 0x00390000,
         .name = "PowerPC,970",
-- 
2.29.2



  parent reply	other threads:[~2021-11-19 13:49 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19 13:44 [RFC PATCH 0/2] QEMU/openbios: PPC Software TLB support in the G4 family Fabiano Rosas
2021-11-19 13:44 ` [RFC PATCH 1/2] ppc: Add support for MPC7450 software TLB miss interrupts Fabiano Rosas
2021-11-19 13:44 ` Fabiano Rosas [this message]
2021-11-24 22:00 ` [RFC PATCH 0/2] QEMU/openbios: PPC Software TLB support in the G4 family Fabiano Rosas
2021-11-25  0:45   ` BALATON Zoltan
2021-11-25  8:11     ` Cédric Le Goater
2021-11-25 14:03       ` BALATON Zoltan
2021-11-25 14:28         ` Cédric Le Goater
2021-11-25  9:38     ` [OpenBIOS] " Segher Boessenkool
2021-11-26  8:34       ` Cédric Le Goater
2021-11-26 10:37         ` Segher Boessenkool
2021-11-26 12:13           ` Fabiano Rosas
2021-11-26 12:45             ` Cédric Le Goater
2021-11-26 13:02               ` Fabiano Rosas
2021-11-26 12:43     ` Fabiano Rosas
2021-11-26 14:46       ` BALATON Zoltan
2021-11-26  8:01   ` Mark Cave-Ayland
2021-11-26  8:40     ` Cédric Le Goater
2021-11-26  8:56       ` Mark Cave-Ayland
2021-11-26 12:31         ` Fabiano Rosas
2021-11-26 13:53           ` Cédric Le Goater
2021-11-26 15:02             ` BALATON Zoltan
2021-11-29 15:28             ` Fabiano Rosas
2022-01-07  8:19               ` Cédric Le Goater
2022-01-07 13:19                 ` Fabiano Rosas
2022-01-07 13:51                   ` Cédric Le Goater
2022-01-07 23:19                     ` [OpenBIOS] " Mark Cave-Ayland

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=20211119134431.406753-3-farosas@linux.ibm.com \
    --to=farosas@linux.ibm.com \
    --cc=clg@kaod.org \
    --cc=danielhb413@gmail.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=openbios@openbios.org \
    --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.