diff options
author | Nishanth Aravamudan <nacc@linux.vnet.ibm.com> | 2013-05-03 10:49:59 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-05-05 19:25:40 -0400 |
commit | 748645bf06f4ed2f5355eb7b3e721b44fb94d5e6 (patch) | |
tree | 7b1b9154ead720cb8861fff3074e6dfee33355e0 /arch/powerpc/kernel/cputable.c | |
parent | 6c1bf48275dd354511bec309ce37c78d3cd8f604 (diff) |
powerpc/cputable: Advertise support for ISEL/HTM/DSCR/TAR on POWER8
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index f724bcac4dfe..c60bbec25c1f 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -103,6 +103,9 @@ extern void __restore_cpu_e6500(void); | |||
103 | PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \ | 103 | PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \ |
104 | PPC_FEATURE_TRUE_LE | \ | 104 | PPC_FEATURE_TRUE_LE | \ |
105 | PPC_FEATURE_PSERIES_PERFMON_COMPAT) | 105 | PPC_FEATURE_PSERIES_PERFMON_COMPAT) |
106 | #define COMMON_USER2_POWER8 (PPC_FEATURE2_ARCH_2_07 | \ | ||
107 | PPC_FEATURE2_HTM_COMP | PPC_FEATURE2_DSCR | \ | ||
108 | PPC_FEATURE2_ISEL | PPC_FEATURE2_TAR) | ||
106 | #define COMMON_USER_PA6T (COMMON_USER_PPC64 | PPC_FEATURE_PA6T |\ | 109 | #define COMMON_USER_PA6T (COMMON_USER_PPC64 | PPC_FEATURE_PA6T |\ |
107 | PPC_FEATURE_TRUE_LE | \ | 110 | PPC_FEATURE_TRUE_LE | \ |
108 | PPC_FEATURE_HAS_ALTIVEC_COMP) | 111 | PPC_FEATURE_HAS_ALTIVEC_COMP) |
@@ -445,6 +448,7 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
445 | .cpu_name = "POWER8 (architected)", | 448 | .cpu_name = "POWER8 (architected)", |
446 | .cpu_features = CPU_FTRS_POWER8, | 449 | .cpu_features = CPU_FTRS_POWER8, |
447 | .cpu_user_features = COMMON_USER_POWER8, | 450 | .cpu_user_features = COMMON_USER_POWER8, |
451 | .cpu_user_features2 = COMMON_USER2_POWER8, | ||
448 | .mmu_features = MMU_FTRS_POWER8, | 452 | .mmu_features = MMU_FTRS_POWER8, |
449 | .icache_bsize = 128, | 453 | .icache_bsize = 128, |
450 | .dcache_bsize = 128, | 454 | .dcache_bsize = 128, |
@@ -496,6 +500,7 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
496 | .cpu_name = "POWER8 (raw)", | 500 | .cpu_name = "POWER8 (raw)", |
497 | .cpu_features = CPU_FTRS_POWER8, | 501 | .cpu_features = CPU_FTRS_POWER8, |
498 | .cpu_user_features = COMMON_USER_POWER8, | 502 | .cpu_user_features = COMMON_USER_POWER8, |
503 | .cpu_user_features2 = COMMON_USER2_POWER8, | ||
499 | .mmu_features = MMU_FTRS_POWER8, | 504 | .mmu_features = MMU_FTRS_POWER8, |
500 | .icache_bsize = 128, | 505 | .icache_bsize = 128, |
501 | .dcache_bsize = 128, | 506 | .dcache_bsize = 128, |