diff options
author | Olof Johansson <olof@lixom.net> | 2006-09-06 15:35:57 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-09-13 04:39:52 -0400 |
commit | b3ebd1d862d6c23caa58e40d341eefc426f835e1 (patch) | |
tree | c4db512b520833be44b72b97aab0c439138bfb5e /arch/powerpc/kernel/cputable.c | |
parent | 0024300000769eadcb4a4fcdff531d45ee7735d4 (diff) |
[POWERPC] powerpc: PA6T cputable entry, PVR value
Introduce PWRficient PA6T cputable entries and feature bits.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 306da4cd37a0..db65c9f6559a 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -58,6 +58,9 @@ extern void __restore_cpu_ppc970(void); | |||
58 | #define COMMON_USER_POWER6 (COMMON_USER_PPC64 | PPC_FEATURE_ARCH_2_05 |\ | 58 | #define COMMON_USER_POWER6 (COMMON_USER_PPC64 | PPC_FEATURE_ARCH_2_05 |\ |
59 | PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \ | 59 | PPC_FEATURE_SMT | PPC_FEATURE_ICACHE_SNOOP | \ |
60 | PPC_FEATURE_TRUE_LE) | 60 | PPC_FEATURE_TRUE_LE) |
61 | #define COMMON_USER_PA6T (COMMON_USER_PPC64 | PPC_FEATURE_PA6T |\ | ||
62 | PPC_FEATURE_TRUE_LE | \ | ||
63 | PPC_FEATURE_HAS_ALTIVEC_COMP) | ||
61 | #define COMMON_USER_BOOKE (PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU | \ | 64 | #define COMMON_USER_BOOKE (PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU | \ |
62 | PPC_FEATURE_BOOKE) | 65 | PPC_FEATURE_BOOKE) |
63 | 66 | ||
@@ -286,6 +289,17 @@ struct cpu_spec cpu_specs[] = { | |||
286 | .dcache_bsize = 128, | 289 | .dcache_bsize = 128, |
287 | .platform = "ppc-cell-be", | 290 | .platform = "ppc-cell-be", |
288 | }, | 291 | }, |
292 | { /* PA Semi PA6T */ | ||
293 | .pvr_mask = 0x7fff0000, | ||
294 | .pvr_value = 0x00900000, | ||
295 | .cpu_name = "PA6T", | ||
296 | .cpu_features = CPU_FTRS_PA6T, | ||
297 | .cpu_user_features = COMMON_USER_PA6T, | ||
298 | .icache_bsize = 64, | ||
299 | .dcache_bsize = 64, | ||
300 | .num_pmcs = 6, | ||
301 | .platform = "pa6t", | ||
302 | }, | ||
289 | { /* default match */ | 303 | { /* default match */ |
290 | .pvr_mask = 0x00000000, | 304 | .pvr_mask = 0x00000000, |
291 | .pvr_value = 0x00000000, | 305 | .pvr_value = 0x00000000, |