[PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE7143d

4 messages, 2 authors, 2007-01-12 · open the first message on its own page

[PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B

From: Roland Dreier <hidden>
Date: 2007-01-11 22:28:00

Add a cputable entry for revision B of the AMCC 440SPe.  When adding
this entry, we need to adjust the entry for 440SP Rev. A so that it
matches more bits of the PVR, since the 440SPe Rev. B has PVR
53421891, which would match the old 440SP PVR pattern of 53xxx891.

Signed-off-by: Roland Dreier <redacted>
---
I'm still working on cleaning up the PCI Express changes for 440SPe
Rev. B support but I think we might as well queue this up at least.

I haven't heard from Matt in a while so maybe you could pick this up
directly Paul?

Thanks,
  Roland
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index b742013..869d5fe 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1123,8 +1123,8 @@ static struct cpu_spec cpu_specs[] = {
 		.platform		= "ppc440",
 	},
 	{ /* 440SP Rev. A */
-		.pvr_mask		= 0xff000fff,
-		.pvr_value		= 0x53000891,
+		.pvr_mask		= 0xfff00fff,
+		.pvr_value		= 0x53200891,
 		.cpu_name		= "440SP Rev. A",
 		.cpu_features		= CPU_FTRS_44X,
 		.cpu_user_features	= COMMON_USER_BOOKE,
@@ -1133,8 +1133,8 @@ static struct cpu_spec cpu_specs[] = {
 		.platform		= "ppc440",
 	},
 	{ /* 440SPe Rev. A */
-		.pvr_mask		= 0xff000fff,
-		.pvr_value		= 0x53000890,
+		.pvr_mask		= 0xfff00fff,
+		.pvr_value		= 0x53400890,
 		.cpu_name		= "440SPe Rev. A",
 		.cpu_features		= CPU_FTRS_44X,
 		.cpu_user_features	= COMMON_USER_BOOKE,
@@ -1142,6 +1142,16 @@ static struct cpu_spec cpu_specs[] = {
 		.dcache_bsize		= 32,
 		.platform		= "ppc440",
 	},
+	{ /* 440SPe Rev. B */
+		.pvr_mask		= 0xfff00fff,
+		.pvr_value		= 0x53400891,
+		.cpu_name		= "440SPe Rev. B",
+		.cpu_features		= CPU_FTRS_44X,
+		.cpu_user_features	= COMMON_USER_BOOKE,
+		.icache_bsize		= 32,
+		.dcache_bsize		= 32,
+		.platform		= "ppc440",
+	},
 #endif /* CONFIG_44x */
 #ifdef CONFIG_FSL_BOOKE
 	{	/* e200z5 */

Re: [PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B

From: Josh Boyer <hidden>
Date: 2007-01-11 23:53:42

On Thu, 2007-01-11 at 14:18 -0800, Roland Dreier wrote:
Add a cputable entry for revision B of the AMCC 440SPe.  When adding
this entry, we need to adjust the entry for 440SP Rev. A so that it
matches more bits of the PVR, since the 440SPe Rev. B has PVR
53421891, which would match the old 440SP PVR pattern of 53xxx891.
Is Rev. B the one found on the AMCC Katmai board?

josh

Re: [PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B

From: Roland Dreier <hidden>
Date: 2007-01-11 23:58:06

 > > Add a cputable entry for revision B of the AMCC 440SPe.  When adding
 > > this entry, we need to adjust the entry for 440SP Rev. A so that it
 > > matches more bits of the PVR, since the 440SPe Rev. B has PVR
 > > 53421891, which would match the old 440SP PVR pattern of 53xxx891.
 > 
 > Is Rev. B the one found on the AMCC Katmai board?

I would guess so -- it's the current rev.

I don't have a katmai board (just a yucca reworked with a rev. b chip)

 - R.

Re: [PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B

From: Josh Boyer <hidden>
Date: 2007-01-12 00:14:26

On Thu, 2007-01-11 at 15:58 -0800, Roland Dreier wrote:
 > > Add a cputable entry for revision B of the AMCC 440SPe.  When adding
 > > this entry, we need to adjust the entry for 440SP Rev. A so that it
 > > matches more bits of the PVR, since the 440SPe Rev. B has PVR
 > > 53421891, which would match the old 440SP PVR pattern of 53xxx891.
 >
 > Is Rev. B the one found on the AMCC Katmai board?

I would guess so -- it's the current rev.

I don't have a katmai board (just a yucca reworked with a rev. b chip)
Ok.  I'm supposedly getting a 440SPe board soon, so I guess I'll find
out soon enough.

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help