diff options
author | Joel Schopp <jschopp@austin.ibm.com> | 2008-06-18 16:18:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 21:27:59 -0400 |
commit | 635f5a6354eaf2cf7d72116086175b82b12ac80a (patch) | |
tree | 81e39efaad8b6eebeb32596a18212e780b1ce979 /arch | |
parent | 3a8247cc2c856930f34eafce33f6a039227ee175 (diff) |
powerpc: Add cputable entry for Power7 architected mode
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>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index d8d669308403..f8deb3761de4 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -386,10 +386,21 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
386 | .machine_check = machine_check_generic, | 386 | .machine_check = machine_check_generic, |
387 | .platform = "power6", | 387 | .platform = "power6", |
388 | }, | 388 | }, |
389 | { /* 2.06-compliant processor, i.e. Power7 "architected" mode */ | ||
390 | .pvr_mask = 0xffffffff, | ||
391 | .pvr_value = 0x0f000003, | ||
392 | .cpu_name = "POWER7 (architected)", | ||
393 | .cpu_features = CPU_FTRS_POWER7, | ||
394 | .cpu_user_features = COMMON_USER_POWER7, | ||
395 | .icache_bsize = 128, | ||
396 | .dcache_bsize = 128, | ||
397 | .machine_check = machine_check_generic, | ||
398 | .platform = "power7", | ||
399 | }, | ||
389 | { /* Power7 */ | 400 | { /* Power7 */ |
390 | .pvr_mask = 0xffff0000, | 401 | .pvr_mask = 0xffff0000, |
391 | .pvr_value = 0x003f0000, | 402 | .pvr_value = 0x003f0000, |
392 | .cpu_name = "POWER7", | 403 | .cpu_name = "POWER7 (raw)", |
393 | .cpu_features = CPU_FTRS_POWER7, | 404 | .cpu_features = CPU_FTRS_POWER7, |
394 | .cpu_user_features = COMMON_USER_POWER7, | 405 | .cpu_user_features = COMMON_USER_POWER7, |
395 | .icache_bsize = 128, | 406 | .icache_bsize = 128, |