4 select HAVE_VIRT_CPU_ACCOUNTING
7 This option selects whether a 32-bit or a 64-bit kernel
10 menu "Processor support"
12 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 embedded 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"
47 bool "AMCC 44x, 46x or 47x"
60 prompt "Processor Type"
63 There are two families of 64 bit PowerPC chips supported.
64 The most common ones are the desktop and server CPUs
65 (POWER4, POWER5, 970, POWER5+, POWER6, POWER7, POWER8 ...)
67 The other are the "embedded" processors compliant with the
68 "Book 3E" variant of the architecture
71 bool "Server processors"
73 select PPC_HAVE_PMU_SUPPORT
74 select SYS_SUPPORTS_HUGETLBFS
75 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if PPC_64K_PAGES
76 select ARCH_SUPPORTS_NUMA_BALANCING
80 bool "Embedded processors"
81 select PPC_FPU # Make it a choice ?
82 select PPC_SMP_MUXED_IPI
88 prompt "CPU selection"
92 This will create a kernel which is optimised for a particular CPU.
93 The resulting kernel may not run on other CPUs, so use this with care.
95 If unsure, select Generic.
99 depends on !CPU_LITTLE_ENDIAN
102 bool "Cell Broadband Engine"
103 depends on PPC_BOOK3S_64 && !CPU_LITTLE_ENDIAN
107 depends on PPC_BOOK3S_64 && !CPU_LITTLE_ENDIAN
111 depends on PPC_BOOK3S_64 && !CPU_LITTLE_ENDIAN
115 depends on PPC_BOOK3S_64 && !CPU_LITTLE_ENDIAN
119 depends on PPC_BOOK3S_64
120 select ARCH_HAS_FAST_MULTIPLIER
124 depends on PPC_BOOK3S_64
125 select ARCH_HAS_FAST_MULTIPLIER
128 bool "Freescale e5500"
132 bool "Freescale e6500"
139 depends on PPC_BOOK3S_32 || PPC_BOOK3S_64
143 depends on PPC_BOOK3E_64
147 depends on PPC32 && PPC_BOOK3S
148 select PPC_HAVE_PMU_SUPPORT
151 bool "Optimize for Cell Broadband Engine"
152 depends on PPC64 && PPC_BOOK3S
154 Cause the compiler to optimize for the PPE of the Cell Broadband
155 Engine. This will make the code run considerably faster on Cell
156 but somewhat slower on other machines. This option only changes
157 the scheduling of instructions, not the selection of instructions
158 itself, so the resulting kernel will keep running on all other
161 # this is temp to handle compat with arch=ppc
166 select FSL_EMB_PERFMON
167 select PPC_FSL_BOOK3E
171 bool "e500mc Support"
176 This must be enabled for running on e500mc (and derivatives
177 such as e5500/e6500), and must be disabled for running on
184 config FSL_EMB_PERFMON
185 bool "Freescale Embedded Perfmon"
186 depends on E500 || PPC_83xx
188 This is the Performance Monitor support found on the e500 core
189 and some e300 cores (c3 and c4). Select this only if your
190 core supports the Embedded Performance Monitor APU
192 config FSL_EMB_PERF_EVENT
194 depends on FSL_EMB_PERFMON && PERF_EVENTS && !PPC_PERF_CTRS
197 config FSL_EMB_PERF_EVENT_E500
199 depends on FSL_EMB_PERF_EVENT && E500
204 depends on 40x || 44x
209 depends on E200 || E500 || 44x || PPC_BOOK3E
214 depends on (E200 || E500) && PPC32
217 # this is for common code between PPC32 & PPC64 FSL BOOKE
218 config PPC_FSL_BOOK3E
220 select FSL_EMB_PERFMON
221 select PPC_SMP_MUXED_IPI
222 select SYS_SUPPORTS_HUGETLBFS if PHYS_64BIT || PPC64
224 default y if FSL_BOOKE
228 depends on 44x || E500 || PPC_86xx
229 default y if PHYS_64BIT
232 bool 'Large physical address support' if E500 || PPC_86xx
233 depends on (44x || E500 || PPC_86xx) && !PPC_83xx && !PPC_82xx
235 This option enables kernel support for larger than 32-bit physical
236 addresses. This feature may not be available on all cores.
238 If you have more than 3.5GB of RAM or so, you also need to enable
239 SWIOTLB under Kernel Options for this to work. The actual number
240 is platform-dependent.
242 If in doubt, say N here.
245 bool "AltiVec Support"
246 depends on 6xx || PPC_BOOK3S_64 || (PPC_E500MC && PPC64)
248 This option enables kernel support for the Altivec extensions to the
249 PowerPC processor. The kernel currently supports saving and restoring
250 altivec registers, and turning on the 'altivec enable' bit so user
251 processes can execute altivec instructions.
253 This option is only usefully if you have a processor that supports
254 altivec (G4, otherwise known as 74xx series), but does not have
255 any affect on a non-altivec cpu (it does, however add code to the
258 If in doubt, say Y here.
262 depends on PPC_BOOK3S_64 && ALTIVEC && PPC_FPU
265 This option enables kernel support for the Vector Scaler extensions
266 to the PowerPC processor. The kernel currently supports saving and
267 restoring VSX registers, and turning on the 'VSX enable' bit so user
268 processes can execute VSX instructions.
270 This option is only useful if you have a processor that supports
271 VSX (P7 and above), but does not have any affect on a non-VSX
272 CPUs (it does, however add code to the kernel).
274 If in doubt, say Y here.
277 bool "Support for PowerPC icswx coprocessor instruction"
278 depends on PPC_BOOK3S_64
282 This option enables kernel support for the PowerPC Initiate
283 Coprocessor Store Word (icswx) coprocessor instruction on POWER7
286 This option is only useful if you have a processor that supports
287 the icswx coprocessor instruction. It does not have any effect
288 on processors without the icswx coprocessor instruction.
290 This option slightly increases kernel memory usage.
292 If in doubt, say N here.
295 bool "icswx requires direct PID management"
299 The PID register in server is used explicitly for ICSWX. In
300 embedded systems PID management is done by the system.
302 config PPC_ICSWX_USE_SIGILL
303 bool "Should a bad CT cause a SIGILL?"
307 Should a bad CT used for "non-record form ICSWX" cause an
308 illegal instruction signal or should it be silent as
311 If in doubt, say N here.
315 depends on E200 || (E500 && !PPC_E500MC)
319 depends on SPE_POSSIBLE
322 This option enables kernel support for the Signal Processing
323 Extensions (SPE) to the PowerPC processor. The kernel currently
324 supports saving and restoring SPE registers, and turning on the
325 'spe enable' bit so user processes can execute SPE instructions.
327 This option is only useful if you have a processor that supports
328 SPE (e500, otherwise known as 85xx series), but does not have any
329 effect on a non-spe cpu (it does, however add code to the kernel).
331 If in doubt, say Y here.
335 depends on PPC_BOOK3S
337 config PPC_STD_MMU_32
339 depends on PPC_STD_MMU && PPC32
341 config PPC_STD_MMU_64
343 depends on PPC_STD_MMU && PPC64
345 config PPC_MMU_NOHASH
347 depends on !PPC_STD_MMU
349 config PPC_BOOK3E_MMU
351 depends on FSL_BOOKE || PPC_BOOK3E
355 default y if (!PPC_FSL_BOOK3E && PPC64 && HUGETLB_PAGE) || (PPC_STD_MMU_64 && PPC_64K_PAGES)
358 config PPC_HAVE_PMU_SUPPORT
363 depends on PERF_EVENTS && PPC_HAVE_PMU_SUPPORT
365 This enables the powerpc-specific perf_event back-end.
368 depends on PPC_BOOK3S || PPC_BOOK3E || FSL_BOOKE || PPC_47x
369 bool "Symmetric multi-processing support"
371 This enables support for systems with more than one CPU. If you have
372 a system with only one CPU, say N. If you have a system with more
373 than one CPU, say Y. Note that the kernel does not currently
374 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
375 since they have inadequate hardware support for multiprocessor
378 If you say N here, the kernel will run on single and multiprocessor
379 machines, but will use only one CPU of a multiprocessor machine. If
380 you say Y here, the kernel will run on single-processor machines.
381 On a single-processor machine, the kernel will run faster if you say
384 If you don't know what to do here, say N.
387 int "Maximum number of CPUs (2-8192)"
390 default "32" if PPC64
393 config NOT_COHERENT_CACHE
395 depends on 4xx || 8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON
399 config CHECK_CACHE_COHERENCY
409 prompt "Endianness selection"
410 default CPU_BIG_ENDIAN
412 This option selects whether a big endian or little endian kernel will
415 config CPU_BIG_ENDIAN
416 bool "Build big endian kernel"
418 Build a big endian kernel.
420 If unsure, select this option.
422 config CPU_LITTLE_ENDIAN
423 bool "Build little endian kernel"
424 select PPC64_BOOT_WRAPPER
426 Build a little endian kernel.
428 Note that if cross compiling a little endian kernel,
429 CROSS_COMPILE must point to a toolchain capable of targeting
430 little endian powerpc.
434 config PPC64_BOOT_WRAPPER
436 depends on CPU_LITTLE_ENDIAN