aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2012-10-30 15:34:15 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-14 21:00:45 -0500
commit71e184972456a8095657e80fd1470a3857b441a0 (patch)
treece0664e3750cb16c693525f9391aae5723873703 /arch/powerpc/kernel/cputable.c
parentaec937b1ee6d7b28499d50ea6df1b2fe9edee91b (diff)
powerpc: POWER8 cputable entry
Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r--arch/powerpc/kernel/cputable.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 361f6d91ab1b..216ff845caf8 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -96,6 +96,10 @@ extern void __restore_cpu_e5500(void);
96 PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \ 96 PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \
97 PPC_FEATURE_TRUE_LE | \ 97 PPC_FEATURE_TRUE_LE | \
98 PPC_FEATURE_PSERIES_PERFMON_COMPAT) 98 PPC_FEATURE_PSERIES_PERFMON_COMPAT)
99#define COMMON_USER_POWER8 (COMMON_USER_PPC64 | PPC_FEATURE_ARCH_2_06 |\
100 PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \
101 PPC_FEATURE_TRUE_LE | \
102 PPC_FEATURE_PSERIES_PERFMON_COMPAT)
99#define COMMON_USER_PA6T (COMMON_USER_PPC64 | PPC_FEATURE_PA6T |\ 103#define COMMON_USER_PA6T (COMMON_USER_PPC64 | PPC_FEATURE_PA6T |\
100 PPC_FEATURE_TRUE_LE | \ 104 PPC_FEATURE_TRUE_LE | \
101 PPC_FEATURE_HAS_ALTIVEC_COMP) 105 PPC_FEATURE_HAS_ALTIVEC_COMP)
@@ -465,6 +469,23 @@ static struct cpu_spec __initdata cpu_specs[] = {
465 .cpu_restore = __restore_cpu_power7, 469 .cpu_restore = __restore_cpu_power7,
466 .platform = "power7+", 470 .platform = "power7+",
467 }, 471 },
472 { /* Power8 */
473 .pvr_mask = 0xffff0000,
474 .pvr_value = 0x004b0000,
475 .cpu_name = "POWER8 (raw)",
476 .cpu_features = CPU_FTRS_POWER8,
477 .cpu_user_features = COMMON_USER_POWER8,
478 .mmu_features = MMU_FTRS_POWER8,
479 .icache_bsize = 128,
480 .dcache_bsize = 128,
481 .num_pmcs = 6,
482 .pmc_type = PPC_PMC_IBM,
483 .oprofile_cpu_type = "ppc64/power8",
484 .oprofile_type = PPC_OPROFILE_POWER4,
485 .cpu_setup = __setup_cpu_power8,
486 .cpu_restore = __restore_cpu_power8,
487 .platform = "power8",
488 },
468 { /* Cell Broadband Engine */ 489 { /* Cell Broadband Engine */
469 .pvr_mask = 0xffff0000, 490 .pvr_mask = 0xffff0000,
470 .pvr_value = 0x00700000, 491 .pvr_value = 0x00700000,