From: jschopp@austin.ibm.com
To: paulus@samba.org
Cc: linuxppc-dev@ozlabs.org, mikey@neuling.org
Subject: [PATCH 1/2] Power7 architected entry
Date: Wed, 18 Jun 2008 15:18:21 -0500 [thread overview]
Message-ID: <20080618201821.GA23865@gamma> (raw)
In-Reply-To: <20080618201124.GA23828@gamma>
Add an entry for Power7 architected mode and add "(raw)" to Power7 raw mode to
distinguish it more clearly.
Signed-off-by: Joel Schopp <jschopp@austin.ibm.com>
---
arch/powerpc/kernel/cputable.c | 48 +++++++++++++++++++++++++++++
arch/powerpc/platforms/pseries/cpu_setup.S | 6 +++
include/asm-powerpc/cputable.h | 9 +++++
3 files changed, 63 insertions(+)
Index: 2.6.26-rc6/arch/powerpc/kernel/cputable.c
===================================================================
--- 2.6.26-rc6.orig/arch/powerpc/kernel/cputable.c
+++ 2.6.26-rc6/arch/powerpc/kernel/cputable.c
@@ -385,10 +385,21 @@ static struct cpu_spec __initdata cpu_sp
.machine_check = machine_check_generic,
.platform = "power6",
},
+ { /* 2.06-compliant processor, i.e. Power7 "architected" mode */
+ .pvr_mask = 0xffffffff,
+ .pvr_value = 0x0f000003,
+ .cpu_name = "POWER7 (architected)",
+ .cpu_features = CPU_FTRS_POWER7,
+ .cpu_user_features = COMMON_USER_POWER7,
+ .icache_bsize = 128,
+ .dcache_bsize = 128,
+ .machine_check = machine_check_generic,
+ .platform = "power7",
+ },
{ /* Power7 */
.pvr_mask = 0xffff0000,
.pvr_value = 0x003f0000,
- .cpu_name = "POWER7",
+ .cpu_name = "POWER7 (raw)",
.cpu_features = CPU_FTRS_POWER7,
.cpu_user_features = COMMON_USER_POWER7,
.icache_bsize = 128,
next prev parent reply other threads:[~2008-06-18 20:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-18 20:11 [PATCH 0/2] more power7 bits jschopp
2008-06-18 20:18 ` jschopp [this message]
2008-06-18 20:51 ` [PATCH 1/2] Power7 architected entry Olof Johansson
2008-06-18 21:28 ` Joel Schopp
2008-06-18 20:23 ` [PATCH 2/2] 2.06 architecture-vec jschopp
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=20080618201821.GA23865@gamma \
--to=jschopp@austin.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikey@neuling.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 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).