aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2012-11-08 15:26:42 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-14 23:02:00 -0500
commitc674e703cb1028e468527163074810b4a17bf379 (patch)
tree94f0cc0091da132a5da72a7ee92865aac5a5c197 /arch/powerpc
parentdf77c79920292673b2ce9a338c0da80fe2538b42 (diff)
powerpc: Add POWER8 architected mode to cputable
A PVR of 0x0F000004 means we are arch v2.07 complicate ie, POWER8. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/cputable.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 216ff845caf8..75a3d71b895d 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -435,6 +435,21 @@ static struct cpu_spec __initdata cpu_specs[] = {
435 .cpu_restore = __restore_cpu_power7, 435 .cpu_restore = __restore_cpu_power7,
436 .platform = "power7", 436 .platform = "power7",
437 }, 437 },
438 { /* 2.07-compliant processor, i.e. Power8 "architected" mode */
439 .pvr_mask = 0xffffffff,
440 .pvr_value = 0x0f000004,
441 .cpu_name = "POWER8 (architected)",
442 .cpu_features = CPU_FTRS_POWER8,
443 .cpu_user_features = COMMON_USER_POWER8,
444 .mmu_features = MMU_FTRS_POWER8,
445 .icache_bsize = 128,
446 .dcache_bsize = 128,
447 .oprofile_type = PPC_OPROFILE_POWER4,
448 .oprofile_cpu_type = "ppc64/ibm-compat-v1",
449 .cpu_setup = __setup_cpu_power8,
450 .cpu_restore = __restore_cpu_power8,
451 .platform = "power8",
452 },
438 { /* Power7 */ 453 { /* Power7 */
439 .pvr_mask = 0xffff0000, 454 .pvr_mask = 0xffff0000,
440 .pvr_value = 0x003f0000, 455 .pvr_value = 0x003f0000,