Skip to contentSkip to conversation

Add 8641 CPU table entry.

PATCH In review Jon Loeliger 2 participants 2 messages Jun 17, 2006 – Jun 18, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH v3 3/9 Add 8641 CPU table entry.

---

 arch/powerpc/kernel/cputable.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
arch/powerpc/kernel/cputable.c +12 -0
index abf7d42..1c11488 100644
@@ -722,6 +722,18 @@ #if CLASSIC_PPC
 		.oprofile_type		= PPC_OPROFILE_G4,
 		.platform		= "ppc7450",
 	},
+        {       /* 8641 */
+               .pvr_mask               = 0xffffffff,
+               .pvr_value              = 0x80040010,
+               .cpu_name               = "8641",
+               .cpu_features           = CPU_FTRS_7447A,
+               .cpu_user_features      = COMMON_USER | PPC_FEATURE_HAS_ALTIVEC_COMP,
+               .icache_bsize           = 32,
+               .dcache_bsize           = 32,
+               .num_pmcs               = 6,
+               .cpu_setup              = __setup_cpu_745x
+        },
+
 	{	/* 82xx (8240, 8245, 8260 are all 603e cores) */
 		.pvr_mask		= 0x7fff0000,
 		.pvr_value		= 0x00810000,
#1 lore raw
Quoted 20 lines · Jon Loeliger

---

 arch/powerpc/kernel/cputable.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
arch/powerpc/kernel/cputable.c +3 -0
index abf7d42..1c11488 100644
@@ -722,6 +722,18 @@ #if CLASSIC_PPC
 		.oprofile_type		= PPC_OPROFILE_G4,
 		.platform		= "ppc7450",
 	},
+        {       /* 8641 */
+               .pvr_mask               = 0xffffffff,
+               .pvr_value              = 0x80040010,

arch/powerpc/kernel/cputable.c #if CLASSIC_PPC · line 737

Quoted 10 lines
arch/powerpc/kernel/cputable.c +9 -0
+               .cpu_name               = "8641",
+               .cpu_features           = CPU_FTRS_7447A,
+               .cpu_user_features      = COMMON_USER |  
 PPC_FEATURE_HAS_ALTIVEC_COMP,
+               .icache_bsize           = 32,
+               .dcache_bsize           = 32,
+               .num_pmcs               = 6,
+               .cpu_setup              = __setup_cpu_745x
+        },
+

is this really needed? Based on the PVR you'd match the 7448 entry which seems identical (beyond the name, which is irrelevant)? [also your missing oprofile & platform info]

Quoted 7 lines
arch/powerpc/kernel/cputable.c +0 -0
 	{	/* 82xx (8240, 8245, 8260 are all 603e cores) */
 		.pvr_mask		= 0x7fff0000,

.pvr_value = 0x00810000,
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev