4 select HAVE_PERF_COUNTERS
6 This option selects whether a 32-bit or a 64-bit kernel
9 menu "Processor support"
11 prompt "Processor Type"
15 There are five families of 32 bit PowerPC chips supported.
16 The most common ones are the desktop and server CPUs (601, 603,
17 604, 740, 750, 74xx) CPUs from Freescale and IBM, with their
18 embedded 512x/52xx/82xx/83xx/86xx counterparts.
19 The other embeeded parts, namely 4xx, 8xx, e200 (55xx) and e500
20 (85xx) each form a family of their own that is not compatible
23 If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx.
26 bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx"
62 bool "Optimize for POWER4"
66 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
67 The resulting binary will not work on POWER3 or RS64 processors
68 when compiled with binutils 2.15 or later.
73 default y if !POWER4_ONLY
80 bool "Optimize for Cell Broadband Engine"
83 Cause the compiler to optimize for the PPE of the Cell Broadband
84 Engine. This will make the code run considerably faster on Cell
85 but somewhat slower on other machines. This option only changes
86 the scheduling of instructions, not the selection of instructions
87 itself, so the resulting kernel will keep running on all other
88 machines. When building a kernel that is supposed to run only
89 on Cell, you should also select the POWER4_ONLY option.
91 # this is temp to handle compat with arch=ppc
96 select FSL_EMB_PERFMON
100 bool "e500mc Support"
110 depends on 40x || 44x
115 depends on E200 || E500 || 44x
120 depends on E200 || E500
123 config FSL_EMB_PERFMON
124 bool "Freescale Embedded Perfmon"
125 depends on E500 || PPC_83xx
127 This is the Performance Monitor support found on the e500 core
128 and some e300 cores (c3 and c4). Select this only if your
129 core supports the Embedded Performance Monitor APU
133 depends on 44x || E500 || PPC_86xx
134 default y if PHYS_64BIT
137 bool 'Large physical address support' if E500 || PPC_86xx
138 depends on (44x || E500 || PPC_86xx) && !PPC_83xx && !PPC_82xx
140 This option enables kernel support for larger than 32-bit physical
141 addresses. This feature may not be available on all cores.
143 If you have more than 3.5GB of RAM or so, you also need to enable
144 SWIOTLB under Kernel Options for this to work. The actual number
145 is platform-dependent.
147 If in doubt, say N here.
150 bool "AltiVec Support"
151 depends on CLASSIC32 || POWER4
153 This option enables kernel support for the Altivec extensions to the
154 PowerPC processor. The kernel currently supports saving and restoring
155 altivec registers, and turning on the 'altivec enable' bit so user
156 processes can execute altivec instructions.
158 This option is only usefully if you have a processor that supports
159 altivec (G4, otherwise known as 74xx series), but does not have
160 any affect on a non-altivec cpu (it does, however add code to the
163 If in doubt, say Y here.
167 depends on POWER4 && ALTIVEC && PPC_FPU
170 This option enables kernel support for the Vector Scaler extensions
171 to the PowerPC processor. The kernel currently supports saving and
172 restoring VSX registers, and turning on the 'VSX enable' bit so user
173 processes can execute VSX instructions.
175 This option is only useful if you have a processor that supports
176 VSX (P7 and above), but does not have any affect on a non-VSX
177 CPUs (it does, however add code to the kernel).
179 If in doubt, say Y here.
183 depends on E200 || (E500 && !PPC_E500MC)
186 This option enables kernel support for the Signal Processing
187 Extensions (SPE) to the PowerPC processor. The kernel currently
188 supports saving and restoring SPE registers, and turning on the
189 'spe enable' bit so user processes can execute SPE instructions.
191 This option is only useful if you have a processor that supports
192 SPE (e500, otherwise known as 85xx series), but does not have any
193 effect on a non-spe cpu (it does, however add code to the kernel).
195 If in doubt, say Y here.
199 depends on 6xx || PPC64
202 config PPC_STD_MMU_32
204 depends on PPC_STD_MMU && PPC32
206 config PPC_STD_MMU_64
208 depends on PPC_STD_MMU && PPC64
210 config PPC_MMU_NOHASH
212 depends on !PPC_STD_MMU
216 default y if HUGETLB_PAGE || (PPC_STD_MMU_64 && PPC_64K_PAGES)
219 config VIRT_CPU_ACCOUNTING
220 bool "Deterministic task and CPU time accounting"
224 Select this option to enable more accurate task and CPU time
225 accounting. This is done by reading a CPU counter on each
226 kernel entry and exit and on transitions within the kernel
227 between system, softirq and hardirq state, so there is a
228 small performance impact. This also enables accounting of
229 stolen time on logically-partitioned systems running on
230 IBM POWER5-based machines.
232 If in doubt, say Y here.
235 depends on PPC_STD_MMU || FSL_BOOKE
236 bool "Symmetric multi-processing support"
238 This enables support for systems with more than one CPU. If you have
239 a system with only one CPU, say N. If you have a system with more
240 than one CPU, say Y. Note that the kernel does not currently
241 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
242 since they have inadequate hardware support for multiprocessor
245 If you say N here, the kernel will run on single and multiprocessor
246 machines, but will use only one CPU of a multiprocessor machine. If
247 you say Y here, the kernel will run on single-processor machines.
248 On a single-processor machine, the kernel will run faster if you say
251 If you don't know what to do here, say N.
254 int "Maximum number of CPUs (2-1024)"
257 default "32" if PPC64
260 config NOT_COHERENT_CACHE
262 depends on 4xx || 8xx || E200 || PPC_MPC512x
265 config CHECK_CACHE_COHERENCY