From: Roland Dreier <rdreier@cisco.com>
To: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@ozlabs.org
Subject: [PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B
Date: Fri, 15 Jun 2007 12:36:32 -0700 [thread overview]
Message-ID: <adawsy5ggcf.fsf@cisco.com> (raw)
In-Reply-To: <18034.6787.951861.623265@cargo.ozlabs.ibm.com> (Paul Mackerras's message of "Fri, 15 Jun 2007 14:50:11 +1000")
When adding the cputable entry for 440SPe Rev. B, we also need to
adjust the existing entries for 440SP Rev. A and 440SPe Rev. B so that
they look more bits of the PVR. The 440SPe Rev. B has PVR 53421891,
which would match the current 440SP Rev. A pattern of 53xxx891. To
distinguish between 440SP and 440SPe, we need to use the first three
digits of the PVR, which are respectively 532 and 534.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---
Here's a patch I've had for a while -- I think it may as well go in,
although I haven't had a chance to put much work into moving
Yucca/Katmai 440SPe support to arch/powerpc, so I'll probably miss
2.6.23 for the rest of it.
arch/powerpc/kernel/cputable.c | 20 +++-
arch/ppc/syslib/ppc440spe_pcie.c | 219 +++++++++++++++++++++++++++-----------
2 files changed, 172 insertions(+), 67 deletions(-)
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index b2b5d66..157e6e3 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1178,8 +1178,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,
@@ -1188,9 +1188,19 @@ static struct cpu_spec cpu_specs[] = {
.platform = "ppc440",
},
{ /* 440SPe Rev. A */
- .pvr_mask = 0xff000fff,
- .pvr_value = 0x53000890,
- .cpu_name = "440SPe Rev. A",
+ .pvr_mask = 0xfff00fff,
+ .pvr_value = 0x53400890,
+ .cpu_name = "440SPe Rev. A",
+ .cpu_features = CPU_FTRS_44X,
+ .cpu_user_features = COMMON_USER_BOOKE,
+ .icache_bsize = 32,
+ .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,
next prev parent reply other threads:[~2007-06-15 19:36 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-15 4:50 for-2.6.23 branch in powerpc.git created Paul Mackerras
2007-06-15 5:32 ` Sachin P. Sant
2007-06-15 5:40 ` Michael Neuling
2007-06-15 8:24 ` Li Yang-r58472
2007-06-15 9:12 ` Michael Ellerman
2007-06-15 13:53 ` Olof Johansson
2007-06-19 5:47 ` Paul Mackerras
2007-06-15 16:29 ` Mark A. Greer
2007-06-15 16:54 ` Dave Jiang
2007-06-15 17:27 ` Nathan Lynch
2007-06-15 17:47 ` Guennadi Liakhovetski
2007-06-15 18:12 ` Scott Wood
2007-06-15 18:18 ` Guennadi Liakhovetski
2007-06-15 21:22 ` Scott Wood
2007-06-19 6:30 ` Paul Mackerras
2007-06-19 16:18 ` Scott Wood
2007-06-28 6:35 ` Paul Mackerras
2007-06-28 19:01 ` Guennadi Liakhovetski
2007-06-29 17:35 ` Scott Wood
2007-06-29 19:48 ` Guennadi Liakhovetski
2007-06-15 19:13 ` Milton Miller
2007-06-15 19:36 ` Roland Dreier [this message]
2007-06-15 20:44 ` [PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B Olof Johansson
2007-06-16 12:37 ` for-2.6.23 branch in powerpc.git created Johannes Berg
2007-06-18 5:07 ` Mohan Kumar M
2007-06-28 6:55 ` Zang Roy-r61911
-- strict thread matches above, loose matches on Subject: below --
2007-01-11 22:18 [PATCH] [POWERPC] Add cputable entry for PowerPC 440SPe Rev. B Roland Dreier
2007-01-11 23:53 ` Josh Boyer
2007-01-11 23:58 ` Roland Dreier
2007-01-12 0:14 ` Josh Boyer
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=adawsy5ggcf.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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.