* [PATCH] cputable: Correct IBM/750CXe rev3.x setup
@ 2006-08-06 8:42 Nicolas DET
2006-08-08 7:03 ` Paul Mackerras
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas DET @ 2006-08-06 8:42 UTC (permalink / raw)
To: linuxppc-dev; +Cc: akpm
[-- Attachment #1: Type: text/plain, Size: 163 bytes --]
This patch simply add an entry in the cputable to recognize correctly the IBM750CXe rev3.1. Only rev 2.x was correctly detected before.
Your sincerly
Nicolas DET
[-- Attachment #2: powerpc_750cxe_rev3.patch --]
[-- Type: application/octet-stream, Size: 684 bytes --]
--- linux-2.6.17.7.orig/arch/powerpc/kernel/cputable.c 2006-07-25 05:36:01.000000000 +0200
+++ linux-2.6.17.7_nico/arch/powerpc/kernel/cputable.c 2006-08-06 07:50:29.000000000 +0200
@@ -447,6 +447,18 @@
.cpu_setup = __setup_cpu_750cx,
.platform = "ppc750",
},
+ { /* 750CXe rev 3.1 (0008x311) */
+ .pvr_mask = 0xffff0fff,
+ .pvr_value = 0x00080311,
+ .cpu_name = "750CXe",
+ .cpu_features = CPU_FTRS_750,
+ .cpu_user_features = COMMON_USER,
+ .icache_bsize = 32,
+ .dcache_bsize = 32,
+ .num_pmcs = 4,
+ .cpu_setup = __setup_cpu_750cx,
+ .platform = "ppc750",
+ },
{ /* 750CXe "Gekko" (83214) */
.pvr_mask = 0xffffffff,
.pvr_value = 0x00083214,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cputable: Correct IBM/750CXe rev3.x setup
2006-08-06 8:42 [PATCH] cputable: Correct IBM/750CXe rev3.x setup Nicolas DET
@ 2006-08-08 7:03 ` Paul Mackerras
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 2006-08-08 7:03 UTC (permalink / raw)
To: Nicolas DET; +Cc: akpm, linuxppc-dev
Nicolas DET writes:
> This patch simply add an entry in the cputable to recognize
> correctly the IBM750CXe rev3.1. Only rev 2.x was correctly detected
> before.
[Patch annoyingly as an attachment...]
+ { /* 750CXe rev 3.1 (0008x311) */
+ .pvr_mask = 0xffff0fff,
+ .pvr_value = 0x00080311,
+ .cpu_name = "750CXe",
Any reason to make this so specific? The rest of the entry is
identical to the ones we have for PVR values 0x0008221x and
0x00083214 (except that you missed out PPC_FEATURE_PPC_LE).
It looks to me like we could collapse all three into a single entry
with a suitable pvr_mask value (say 0xffff0e00?).
(akpm - consider this a nack)
Paul.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-08 7:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-06 8:42 [PATCH] cputable: Correct IBM/750CXe rev3.x setup Nicolas DET
2006-08-08 7:03 ` Paul Mackerras
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).