diff options
Diffstat (limited to 'arch/powerpc/kernel')
| -rw-r--r-- | arch/powerpc/kernel/cputable.c | 20 | ||||
| -rw-r--r-- | arch/powerpc/kernel/smp.c | 2 | 
2 files changed, 21 insertions, 1 deletions
| diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 965291b4c2fa..0c157642c2a1 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -527,6 +527,26 @@ static struct cpu_spec __initdata cpu_specs[] = {  		.machine_check_early	= __machine_check_early_realmode_p8,  		.platform		= "power8",  	}, +	{	/* Power8 DD1: Does not support doorbell IPIs */ +		.pvr_mask		= 0xffffff00, +		.pvr_value		= 0x004d0100, +		.cpu_name		= "POWER8 (raw)", +		.cpu_features		= CPU_FTRS_POWER8_DD1, +		.cpu_user_features	= COMMON_USER_POWER8, +		.cpu_user_features2	= COMMON_USER2_POWER8, +		.mmu_features		= MMU_FTRS_POWER8, +		.icache_bsize		= 128, +		.dcache_bsize		= 128, +		.num_pmcs		= 6, +		.pmc_type		= PPC_PMC_IBM, +		.oprofile_cpu_type	= "ppc64/power8", +		.oprofile_type		= PPC_OPROFILE_INVALID, +		.cpu_setup		= __setup_cpu_power8, +		.cpu_restore		= __restore_cpu_power8, +		.flush_tlb		= __flush_tlb_power8, +		.machine_check_early	= __machine_check_early_realmode_p8, +		.platform		= "power8", +	},  	{	/* Power8 */  		.pvr_mask		= 0xffff0000,  		.pvr_value		= 0x004d0000, diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 51a3ff78838a..1007fb802e6b 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c @@ -747,7 +747,7 @@ int setup_profiling_timer(unsigned int multiplier)  #ifdef CONFIG_SCHED_SMT  /* cpumask of CPUs with asymetric SMT dependancy */ -static const int powerpc_smt_flags(void) +static int powerpc_smt_flags(void)  {  	int flags = SD_SHARE_CPUCAPACITY | SD_SHARE_PKG_RESOURCES; |