diff options
author | Olof Johansson <olof@lixom.net> | 2005-07-13 04:11:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 14:25:25 -0400 |
commit | f264cc28245d4d635d586be8c2148140726756dd (patch) | |
tree | b1ab054289acd3054e54d3caabaadaf1455f2d58 /arch/ppc64/kernel/cputable.c | |
parent | 96e2844999f99878fc5b03b81ccaa60580005b81 (diff) |
[PATCH] ppc64: add 970MP PVR
Add PVR value and tests for 970MP. Also switch to a simpler (but slightly
longer) check at init time for simplicity.
Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64/kernel/cputable.c')
-rw-r--r-- | arch/ppc64/kernel/cputable.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/cputable.c b/arch/ppc64/kernel/cputable.c index 8d4c46f6f0b6..77cec42f9525 100644 --- a/arch/ppc64/kernel/cputable.c +++ b/arch/ppc64/kernel/cputable.c | |||
@@ -183,6 +183,21 @@ struct cpu_spec cpu_specs[] = { | |||
183 | .cpu_setup = __setup_cpu_ppc970, | 183 | .cpu_setup = __setup_cpu_ppc970, |
184 | .firmware_features = COMMON_PPC64_FW, | 184 | .firmware_features = COMMON_PPC64_FW, |
185 | }, | 185 | }, |
186 | { /* PPC970MP */ | ||
187 | .pvr_mask = 0xffff0000, | ||
188 | .pvr_value = 0x00440000, | ||
189 | .cpu_name = "PPC970MP", | ||
190 | .cpu_features = CPU_FTR_SPLIT_ID_CACHE | | ||
191 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE | | ||
192 | CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_ALTIVEC_COMP | | ||
193 | CPU_FTR_CAN_NAP | CPU_FTR_PMC8 | CPU_FTR_MMCRA, | ||
194 | .cpu_user_features = COMMON_USER_PPC64 | | ||
195 | PPC_FEATURE_HAS_ALTIVEC_COMP, | ||
196 | .icache_bsize = 128, | ||
197 | .dcache_bsize = 128, | ||
198 | .cpu_setup = __setup_cpu_ppc970, | ||
199 | .firmware_features = COMMON_PPC64_FW, | ||
200 | }, | ||
186 | { /* Power5 */ | 201 | { /* Power5 */ |
187 | .pvr_mask = 0xffff0000, | 202 | .pvr_mask = 0xffff0000, |
188 | .pvr_value = 0x003a0000, | 203 | .pvr_value = 0x003a0000, |