diff options
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 760872916013..1350f49d81a8 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -547,11 +547,31 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
547 | .machine_check_early = __machine_check_early_realmode_p9, | 547 | .machine_check_early = __machine_check_early_realmode_p9, |
548 | .platform = "power9", | 548 | .platform = "power9", |
549 | }, | 549 | }, |
550 | { /* Power9 */ | 550 | { /* Power9 DD2.0 */ |
551 | .pvr_mask = 0xffffefff, | ||
552 | .pvr_value = 0x004e0200, | ||
553 | .cpu_name = "POWER9 (raw)", | ||
554 | .cpu_features = CPU_FTRS_POWER9_DD2_0, | ||
555 | .cpu_user_features = COMMON_USER_POWER9, | ||
556 | .cpu_user_features2 = COMMON_USER2_POWER9, | ||
557 | .mmu_features = MMU_FTRS_POWER9, | ||
558 | .icache_bsize = 128, | ||
559 | .dcache_bsize = 128, | ||
560 | .num_pmcs = 6, | ||
561 | .pmc_type = PPC_PMC_IBM, | ||
562 | .oprofile_cpu_type = "ppc64/power9", | ||
563 | .oprofile_type = PPC_OPROFILE_INVALID, | ||
564 | .cpu_setup = __setup_cpu_power9, | ||
565 | .cpu_restore = __restore_cpu_power9, | ||
566 | .flush_tlb = __flush_tlb_power9, | ||
567 | .machine_check_early = __machine_check_early_realmode_p9, | ||
568 | .platform = "power9", | ||
569 | }, | ||
570 | { /* Power9 DD 2.1 or later (see DD2.0 above) */ | ||
551 | .pvr_mask = 0xffff0000, | 571 | .pvr_mask = 0xffff0000, |
552 | .pvr_value = 0x004e0000, | 572 | .pvr_value = 0x004e0000, |
553 | .cpu_name = "POWER9 (raw)", | 573 | .cpu_name = "POWER9 (raw)", |
554 | .cpu_features = CPU_FTRS_POWER9, | 574 | .cpu_features = CPU_FTRS_POWER9_DD2_1, |
555 | .cpu_user_features = COMMON_USER_POWER9, | 575 | .cpu_user_features = COMMON_USER_POWER9, |
556 | .cpu_user_features2 = COMMON_USER2_POWER9, | 576 | .cpu_user_features2 = COMMON_USER2_POWER9, |
557 | .mmu_features = MMU_FTRS_POWER9, | 577 | .mmu_features = MMU_FTRS_POWER9, |