diff options
Diffstat (limited to 'include/asm-powerpc/cputable.h')
-rw-r--r-- | include/asm-powerpc/cputable.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index 64210549f56b..99d12ff6346c 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h | |||
@@ -117,6 +117,7 @@ extern void do_cpu_ftr_fixups(unsigned long offset); | |||
117 | #define CPU_FTR_MMCRA_SIHV ASM_CONST(0x0000080000000000) | 117 | #define CPU_FTR_MMCRA_SIHV ASM_CONST(0x0000080000000000) |
118 | #define CPU_FTR_CI_LARGE_PAGE ASM_CONST(0x0000100000000000) | 118 | #define CPU_FTR_CI_LARGE_PAGE ASM_CONST(0x0000100000000000) |
119 | #define CPU_FTR_PAUSE_ZERO ASM_CONST(0x0000200000000000) | 119 | #define CPU_FTR_PAUSE_ZERO ASM_CONST(0x0000200000000000) |
120 | #define CPU_FTR_PURR ASM_CONST(0x0000400000000000) | ||
120 | #else | 121 | #else |
121 | /* ensure on 32b processors the flags are available for compiling but | 122 | /* ensure on 32b processors the flags are available for compiling but |
122 | * don't do anything */ | 123 | * don't do anything */ |
@@ -132,6 +133,7 @@ extern void do_cpu_ftr_fixups(unsigned long offset); | |||
132 | #define CPU_FTR_LOCKLESS_TLBIE ASM_CONST(0x0) | 133 | #define CPU_FTR_LOCKLESS_TLBIE ASM_CONST(0x0) |
133 | #define CPU_FTR_MMCRA_SIHV ASM_CONST(0x0) | 134 | #define CPU_FTR_MMCRA_SIHV ASM_CONST(0x0) |
134 | #define CPU_FTR_CI_LARGE_PAGE ASM_CONST(0x0) | 135 | #define CPU_FTR_CI_LARGE_PAGE ASM_CONST(0x0) |
136 | #define CPU_FTR_PURR ASM_CONST(0x0) | ||
135 | #endif | 137 | #endif |
136 | 138 | ||
137 | #ifndef __ASSEMBLY__ | 139 | #ifndef __ASSEMBLY__ |
@@ -159,9 +161,11 @@ extern void do_cpu_ftr_fixups(unsigned long offset); | |||
159 | #endif | 161 | #endif |
160 | 162 | ||
161 | /* We need to mark all pages as being coherent if we're SMP or we | 163 | /* We need to mark all pages as being coherent if we're SMP or we |
162 | * have a 74[45]x and an MPC107 host bridge. | 164 | * have a 74[45]x and an MPC107 host bridge. Also 83xx requires |
165 | * it for PCI "streaming/prefetch" to work properly. | ||
163 | */ | 166 | */ |
164 | #if defined(CONFIG_SMP) || defined(CONFIG_MPC10X_BRIDGE) | 167 | #if defined(CONFIG_SMP) || defined(CONFIG_MPC10X_BRIDGE) \ |
168 | || defined(CONFIG_PPC_83xx) | ||
165 | #define CPU_FTR_COMMON CPU_FTR_NEED_COHERENT | 169 | #define CPU_FTR_COMMON CPU_FTR_NEED_COHERENT |
166 | #else | 170 | #else |
167 | #define CPU_FTR_COMMON 0 | 171 | #define CPU_FTR_COMMON 0 |
@@ -277,7 +281,8 @@ enum { | |||
277 | CPU_FTRS_G2_LE = CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | | 281 | CPU_FTRS_G2_LE = CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | |
278 | CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS, | 282 | CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS, |
279 | CPU_FTRS_E300 = CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | | 283 | CPU_FTRS_E300 = CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | |
280 | CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS, | 284 | CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS | |
285 | CPU_FTR_COMMON, | ||
281 | CPU_FTRS_CLASSIC32 = CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | | 286 | CPU_FTRS_CLASSIC32 = CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | |
282 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE, | 287 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE, |
283 | CPU_FTRS_POWER3_32 = CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | | 288 | CPU_FTRS_POWER3_32 = CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | |
@@ -313,7 +318,7 @@ enum { | |||
313 | CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2 | | 318 | CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2 | |
314 | CPU_FTR_MMCRA | CPU_FTR_SMT | | 319 | CPU_FTR_MMCRA | CPU_FTR_SMT | |
315 | CPU_FTR_COHERENT_ICACHE | CPU_FTR_LOCKLESS_TLBIE | | 320 | CPU_FTR_COHERENT_ICACHE | CPU_FTR_LOCKLESS_TLBIE | |
316 | CPU_FTR_MMCRA_SIHV, | 321 | CPU_FTR_MMCRA_SIHV | CPU_FTR_PURR, |
317 | CPU_FTRS_CELL = CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | | 322 | CPU_FTRS_CELL = CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | |
318 | CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2 | | 323 | CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2 | |
319 | CPU_FTR_ALTIVEC_COMP | CPU_FTR_MMCRA | CPU_FTR_SMT | | 324 | CPU_FTR_ALTIVEC_COMP | CPU_FTR_MMCRA | CPU_FTR_SMT | |