Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1 | # For a description of the syntax of this configuration file, |
| 2 | # see Documentation/kbuild/kconfig-language.txt. |
| 3 | # |
| 4 | |
| 5 | mainmenu "Linux/PowerPC Kernel Configuration" |
| 6 | |
| 7 | config PPC64 |
| 8 | bool "64-bit kernel" |
| 9 | default n |
| 10 | help |
| 11 | This option selects whether a 32-bit or a 64-bit kernel |
| 12 | will be built. |
| 13 | |
| 14 | config PPC32 |
| 15 | bool |
| 16 | default y if !PPC64 |
| 17 | |
| 18 | config 64BIT |
| 19 | bool |
| 20 | default y if PPC64 |
| 21 | |
| 22 | config PPC_MERGE |
| 23 | def_bool y |
| 24 | |
| 25 | config MMU |
| 26 | bool |
| 27 | default y |
| 28 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 29 | config GENERIC_HARDIRQS |
| 30 | bool |
| 31 | default y |
| 32 | |
Ingo Molnar | 0d7012a | 2006-06-29 02:24:43 -0700 | [diff] [blame] | 33 | config IRQ_PER_CPU |
| 34 | bool |
| 35 | default y |
| 36 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 37 | config RWSEM_GENERIC_SPINLOCK |
| 38 | bool |
| 39 | |
| 40 | config RWSEM_XCHGADD_ALGORITHM |
| 41 | bool |
| 42 | default y |
| 43 | |
Akinobu Mita | e779b2f | 2006-03-26 01:39:33 -0800 | [diff] [blame] | 44 | config GENERIC_HWEIGHT |
| 45 | bool |
| 46 | default y |
| 47 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 48 | config GENERIC_CALIBRATE_DELAY |
| 49 | bool |
| 50 | default y |
| 51 | |
Jon Mason | 0a9cb46 | 2006-05-19 15:35:32 -0500 | [diff] [blame] | 52 | config GENERIC_FIND_NEXT_BIT |
| 53 | bool |
| 54 | default y |
| 55 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 56 | config PPC |
| 57 | bool |
| 58 | default y |
| 59 | |
| 60 | config EARLY_PRINTK |
| 61 | bool |
Benjamin Herrenschmidt | 51d3082 | 2005-11-23 17:57:25 +1100 | [diff] [blame] | 62 | default y |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 63 | |
| 64 | config COMPAT |
| 65 | bool |
| 66 | default y if PPC64 |
| 67 | |
| 68 | config SYSVIPC_COMPAT |
| 69 | bool |
| 70 | depends on COMPAT && SYSVIPC |
| 71 | default y |
| 72 | |
| 73 | # All PPC32s use generic nvram driver through ppc_md |
| 74 | config GENERIC_NVRAM |
| 75 | bool |
| 76 | default y if PPC32 |
| 77 | |
| 78 | config SCHED_NO_NO_OMIT_FRAME_POINTER |
| 79 | bool |
| 80 | default y |
| 81 | |
| 82 | config ARCH_MAY_HAVE_PC_FDC |
| 83 | bool |
| 84 | default y |
| 85 | |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 86 | config PPC_OF |
| 87 | def_bool y |
| 88 | |
| 89 | config PPC_UDBG_16550 |
| 90 | bool |
| 91 | default n |
| 92 | |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 93 | config GENERIC_TBSYNC |
| 94 | bool |
| 95 | default y if PPC32 && SMP |
| 96 | default n |
| 97 | |
Al Viro | e65e1fc | 2006-09-12 03:04:40 -0400 | [diff] [blame] | 98 | config AUDIT_ARCH |
| 99 | bool |
| 100 | default y |
| 101 | |
Kumar Gala | f4fc4a5 | 2006-01-16 10:53:22 -0600 | [diff] [blame] | 102 | config DEFAULT_UIMAGE |
| 103 | bool |
| 104 | help |
| 105 | Used to allow a board to specify it wants a uImage built by default |
| 106 | default n |
| 107 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 108 | menu "Processor support" |
| 109 | choice |
| 110 | prompt "Processor Type" |
| 111 | depends on PPC32 |
| 112 | default 6xx |
| 113 | |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 114 | config CLASSIC32 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 115 | bool "6xx/7xx/74xx" |
| 116 | select PPC_FPU |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 117 | select 6xx |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 118 | help |
| 119 | There are four families of PowerPC chips supported. The more common |
| 120 | types (601, 603, 604, 740, 750, 7400), the Motorola embedded |
| 121 | versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC |
| 122 | embedded versions (403 and 405) and the high end 64 bit Power |
| 123 | processors (POWER 3, POWER4, and IBM PPC970 also known as G5). |
| 124 | |
| 125 | Unless you are building a kernel for one of the embedded processor |
| 126 | systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx. |
| 127 | Note that the kernel runs in 32-bit mode even on 64-bit chips. |
| 128 | |
| 129 | config PPC_52xx |
| 130 | bool "Freescale 52xx" |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 131 | select 6xx |
| 132 | select PPC_FPU |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 133 | |
| 134 | config PPC_82xx |
| 135 | bool "Freescale 82xx" |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 136 | select 6xx |
| 137 | select PPC_FPU |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 138 | |
| 139 | config PPC_83xx |
| 140 | bool "Freescale 83xx" |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 141 | select 6xx |
| 142 | select FSL_SOC |
| 143 | select 83xx |
| 144 | select PPC_FPU |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 145 | |
Becky Bruce | 63dafe5 | 2006-01-14 16:57:39 -0600 | [diff] [blame] | 146 | config PPC_85xx |
| 147 | bool "Freescale 85xx" |
| 148 | select E500 |
| 149 | select FSL_SOC |
| 150 | select 85xx |
| 151 | |
Jon Loeliger | c9b484b | 2006-06-17 17:52:35 -0500 | [diff] [blame] | 152 | config PPC_86xx |
| 153 | bool "Freescale 86xx" |
| 154 | select 6xx |
| 155 | select FSL_SOC |
| 156 | select PPC_FPU |
| 157 | select ALTIVEC |
| 158 | help |
| 159 | The Freescale E600 SoCs have 74xx cores. |
| 160 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 161 | config 40x |
| 162 | bool "AMCC 40x" |
Benjamin Herrenschmidt | 4c75a6f | 2006-11-11 17:24:53 +1100 | [diff] [blame^] | 163 | select PPC_DCR_NATIVE |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 164 | |
| 165 | config 44x |
| 166 | bool "AMCC 44x" |
Benjamin Herrenschmidt | 4c75a6f | 2006-11-11 17:24:53 +1100 | [diff] [blame^] | 167 | select PPC_DCR_NATIVE |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 168 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 169 | config 8xx |
| 170 | bool "Freescale 8xx" |
| 171 | |
| 172 | config E200 |
| 173 | bool "Freescale e200" |
| 174 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 175 | endchoice |
| 176 | |
| 177 | config POWER4_ONLY |
| 178 | bool "Optimize for POWER4" |
Paul Mackerras | 187a006 | 2005-10-06 12:49:05 +1000 | [diff] [blame] | 179 | depends on PPC64 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 180 | default n |
| 181 | ---help--- |
| 182 | Cause the compiler to optimize for POWER4/POWER5/PPC970 processors. |
| 183 | The resulting binary will not work on POWER3 or RS64 processors |
| 184 | when compiled with binutils 2.15 or later. |
| 185 | |
| 186 | config POWER3 |
| 187 | bool |
Paul Mackerras | 187a006 | 2005-10-06 12:49:05 +1000 | [diff] [blame] | 188 | depends on PPC64 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 189 | default y if !POWER4_ONLY |
| 190 | |
| 191 | config POWER4 |
Paul Mackerras | 187a006 | 2005-10-06 12:49:05 +1000 | [diff] [blame] | 192 | depends on PPC64 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 193 | def_bool y |
| 194 | |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 195 | config 6xx |
| 196 | bool |
| 197 | |
| 198 | # this is temp to handle compat with arch=ppc |
| 199 | config 83xx |
| 200 | bool |
| 201 | |
Becky Bruce | 63dafe5 | 2006-01-14 16:57:39 -0600 | [diff] [blame] | 202 | # this is temp to handle compat with arch=ppc |
| 203 | config 85xx |
| 204 | bool |
| 205 | |
| 206 | config E500 |
| 207 | bool |
| 208 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 209 | config PPC_FPU |
Paul Mackerras | 187a006 | 2005-10-06 12:49:05 +1000 | [diff] [blame] | 210 | bool |
| 211 | default y if PPC64 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 212 | |
Benjamin Herrenschmidt | 4c75a6f | 2006-11-11 17:24:53 +1100 | [diff] [blame^] | 213 | config PPC_DCR_NATIVE |
| 214 | bool |
| 215 | default n |
| 216 | |
| 217 | config PPC_DCR_MMIO |
| 218 | bool |
| 219 | default n |
| 220 | |
| 221 | config PPC_DCR |
| 222 | bool |
| 223 | depends on PPC_DCR_NATIVE || PPC_DCR_MMIO |
| 224 | default y |
| 225 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 226 | config BOOKE |
| 227 | bool |
| 228 | depends on E200 || E500 |
| 229 | default y |
| 230 | |
| 231 | config FSL_BOOKE |
| 232 | bool |
| 233 | depends on E200 || E500 |
| 234 | default y |
| 235 | |
| 236 | config PTE_64BIT |
| 237 | bool |
| 238 | depends on 44x || E500 |
| 239 | default y if 44x |
| 240 | default y if E500 && PHYS_64BIT |
| 241 | |
| 242 | config PHYS_64BIT |
| 243 | bool 'Large physical address support' if E500 |
| 244 | depends on 44x || E500 |
| 245 | default y if 44x |
| 246 | ---help--- |
| 247 | This option enables kernel support for larger than 32-bit physical |
| 248 | addresses. This features is not be available on all e500 cores. |
| 249 | |
| 250 | If in doubt, say N here. |
| 251 | |
| 252 | config ALTIVEC |
| 253 | bool "AltiVec Support" |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 254 | depends on CLASSIC32 || POWER4 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 255 | ---help--- |
| 256 | This option enables kernel support for the Altivec extensions to the |
| 257 | PowerPC processor. The kernel currently supports saving and restoring |
| 258 | altivec registers, and turning on the 'altivec enable' bit so user |
| 259 | processes can execute altivec instructions. |
| 260 | |
| 261 | This option is only usefully if you have a processor that supports |
| 262 | altivec (G4, otherwise known as 74xx series), but does not have |
| 263 | any affect on a non-altivec cpu (it does, however add code to the |
| 264 | kernel). |
| 265 | |
| 266 | If in doubt, say Y here. |
| 267 | |
| 268 | config SPE |
| 269 | bool "SPE Support" |
| 270 | depends on E200 || E500 |
Becky Bruce | 63dafe5 | 2006-01-14 16:57:39 -0600 | [diff] [blame] | 271 | default y |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 272 | ---help--- |
| 273 | This option enables kernel support for the Signal Processing |
| 274 | Extensions (SPE) to the PowerPC processor. The kernel currently |
| 275 | supports saving and restoring SPE registers, and turning on the |
| 276 | 'spe enable' bit so user processes can execute SPE instructions. |
| 277 | |
| 278 | This option is only useful if you have a processor that supports |
| 279 | SPE (e500, otherwise known as 85xx series), but does not have any |
| 280 | effect on a non-spe cpu (it does, however add code to the kernel). |
| 281 | |
| 282 | If in doubt, say Y here. |
| 283 | |
| 284 | config PPC_STD_MMU |
| 285 | bool |
| 286 | depends on 6xx || POWER3 || POWER4 || PPC64 |
| 287 | default y |
| 288 | |
| 289 | config PPC_STD_MMU_32 |
| 290 | def_bool y |
| 291 | depends on PPC_STD_MMU && PPC32 |
| 292 | |
Paul Mackerras | c6622f6 | 2006-02-24 10:06:59 +1100 | [diff] [blame] | 293 | config VIRT_CPU_ACCOUNTING |
| 294 | bool "Deterministic task and CPU time accounting" |
| 295 | depends on PPC64 |
| 296 | default y |
| 297 | help |
| 298 | Select this option to enable more accurate task and CPU time |
| 299 | accounting. This is done by reading a CPU counter on each |
| 300 | kernel entry and exit and on transitions within the kernel |
| 301 | between system, softirq and hardirq state, so there is a |
| 302 | small performance impact. This also enables accounting of |
| 303 | stolen time on logically-partitioned systems running on |
| 304 | IBM POWER5-based machines. |
| 305 | |
| 306 | If in doubt, say Y here. |
| 307 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 308 | config SMP |
| 309 | depends on PPC_STD_MMU |
| 310 | bool "Symmetric multi-processing support" |
| 311 | ---help--- |
| 312 | This enables support for systems with more than one CPU. If you have |
| 313 | a system with only one CPU, say N. If you have a system with more |
| 314 | than one CPU, say Y. Note that the kernel does not currently |
| 315 | support SMP machines with 603/603e/603ev or PPC750 ("G3") processors |
| 316 | since they have inadequate hardware support for multiprocessor |
| 317 | operation. |
| 318 | |
| 319 | If you say N here, the kernel will run on single and multiprocessor |
| 320 | machines, but will use only one CPU of a multiprocessor machine. If |
| 321 | you say Y here, the kernel will run on single-processor machines. |
| 322 | On a single-processor machine, the kernel will run faster if you say |
| 323 | N here. |
| 324 | |
| 325 | If you don't know what to do here, say N. |
| 326 | |
| 327 | config NR_CPUS |
Olaf Hering | e8a167a | 2005-12-01 21:10:10 +0100 | [diff] [blame] | 328 | int "Maximum number of CPUs (2-128)" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 329 | range 2 128 |
| 330 | depends on SMP |
| 331 | default "32" if PPC64 |
| 332 | default "4" |
| 333 | |
| 334 | config NOT_COHERENT_CACHE |
| 335 | bool |
| 336 | depends on 4xx || 8xx || E200 |
| 337 | default y |
| 338 | endmenu |
| 339 | |
| 340 | source "init/Kconfig" |
| 341 | |
| 342 | menu "Platform support" |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 343 | depends on PPC64 || CLASSIC32 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 344 | |
| 345 | choice |
| 346 | prompt "Machine type" |
| 347 | default PPC_MULTIPLATFORM |
| 348 | |
| 349 | config PPC_MULTIPLATFORM |
| 350 | bool "Generic desktop/server/laptop" |
| 351 | help |
| 352 | Select this option if configuring for an IBM pSeries or |
| 353 | RS/6000 machine, an Apple machine, or a PReP, CHRP, |
| 354 | Maple or Cell-based machine. |
| 355 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 356 | config EMBEDDED6xx |
| 357 | bool "Embedded 6xx/7xx/7xxx-based board" |
Zang Roy-r61911 | c5d5633 | 2006-06-13 15:07:15 +0800 | [diff] [blame] | 358 | depends on PPC32 && (BROKEN||BROKEN_ON_SMP) |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 359 | |
| 360 | config APUS |
| 361 | bool "Amiga-APUS" |
| 362 | depends on PPC32 && BROKEN |
| 363 | help |
| 364 | Select APUS if configuring for a PowerUP Amiga. |
| 365 | More information is available at: |
| 366 | <http://linux-apus.sourceforge.net/>. |
| 367 | endchoice |
| 368 | |
Li Yang | 9865853 | 2006-10-03 23:10:46 -0500 | [diff] [blame] | 369 | config QUICC_ENGINE |
| 370 | bool |
| 371 | depends on PPC_MPC836x || PPC_MPC832x |
| 372 | default y |
| 373 | help |
| 374 | The QUICC Engine (QE) is a new generation of communications |
| 375 | coprocessors on Freescale embedded CPUs (akin to CPM in older chips). |
| 376 | Selecting this option means that you wish to build a kernel |
| 377 | for a machine with a QE coprocessor. |
| 378 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 379 | config PPC_PSERIES |
| 380 | depends on PPC_MULTIPLATFORM && PPC64 |
Andrew Morton | 4a3ecc6 | 2006-06-01 20:36:04 -0700 | [diff] [blame] | 381 | bool "IBM pSeries & new (POWER5-based) iSeries" |
Zang Roy-r61911 | 7233593 | 2006-08-25 14:16:30 +1000 | [diff] [blame] | 382 | select MPIC |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 383 | select PPC_I8259 |
Paul Mackerras | 033ef33 | 2005-10-26 17:05:24 +1000 | [diff] [blame] | 384 | select PPC_RTAS |
| 385 | select RTAS_ERROR_LOGGING |
Paul Mackerras | 13b8a27 | 2006-01-10 16:19:05 +1100 | [diff] [blame] | 386 | select PPC_UDBG_16550 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 387 | default y |
| 388 | |
Stephen Rothwell | a542dbd | 2006-09-25 13:49:58 +1000 | [diff] [blame] | 389 | config PPC_ISERIES |
| 390 | bool "IBM Legacy iSeries" |
| 391 | depends on PPC_MULTIPLATFORM && PPC64 |
| 392 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 393 | config PPC_CHRP |
Andrew Morton | 4a3ecc6 | 2006-06-01 20:36:04 -0700 | [diff] [blame] | 394 | bool "Common Hardware Reference Platform (CHRP) based machines" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 395 | depends on PPC_MULTIPLATFORM && PPC32 |
Zang Roy-r61911 | 7233593 | 2006-08-25 14:16:30 +1000 | [diff] [blame] | 396 | select MPIC |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 397 | select PPC_I8259 |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 398 | select PPC_INDIRECT_PCI |
Paul Mackerras | 033ef33 | 2005-10-26 17:05:24 +1000 | [diff] [blame] | 399 | select PPC_RTAS |
Paul Mackerras | 830825d | 2005-10-26 17:16:38 +1000 | [diff] [blame] | 400 | select PPC_MPC106 |
Paul Mackerras | 13b8a27 | 2006-01-10 16:19:05 +1100 | [diff] [blame] | 401 | select PPC_UDBG_16550 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 402 | default y |
| 403 | |
Nicolas DET | c37858d | 2006-11-05 12:57:16 +0100 | [diff] [blame] | 404 | config PPC_EFIKA |
| 405 | bool "bPlan Efika 5k2. MPC5200B based computer" |
| 406 | depends on PPC_MULTIPLATFORM && PPC32 |
| 407 | select PPC_RTAS |
| 408 | select RTAS_PROC |
| 409 | select PPC_MPC52xx |
| 410 | default y |
| 411 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 412 | config PPC_PMAC |
Andrew Morton | 4a3ecc6 | 2006-06-01 20:36:04 -0700 | [diff] [blame] | 413 | bool "Apple PowerMac based machines" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 414 | depends on PPC_MULTIPLATFORM |
Zang Roy-r61911 | 7233593 | 2006-08-25 14:16:30 +1000 | [diff] [blame] | 415 | select MPIC |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 416 | select PPC_INDIRECT_PCI if PPC32 |
Paul Mackerras | b6a4ce5 | 2005-10-26 22:54:17 +1000 | [diff] [blame] | 417 | select PPC_MPC106 if PPC32 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 418 | default y |
| 419 | |
| 420 | config PPC_PMAC64 |
| 421 | bool |
| 422 | depends on PPC_PMAC && POWER4 |
Zang Roy-r61911 | 7233593 | 2006-08-25 14:16:30 +1000 | [diff] [blame] | 423 | select MPIC |
Paul Mackerras | 35499c0 | 2005-10-22 16:02:39 +1000 | [diff] [blame] | 424 | select U3_DART |
Benjamin Herrenschmidt | 1beb6a7 | 2005-12-14 13:10:10 +1100 | [diff] [blame] | 425 | select MPIC_BROKEN_U3 |
Paul Mackerras | 8ad200d | 2005-11-04 13:28:58 +1100 | [diff] [blame] | 426 | select GENERIC_TBSYNC |
Paul Mackerras | f39224a | 2006-04-18 21:49:11 +1000 | [diff] [blame] | 427 | select PPC_970_NAP |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 428 | default y |
| 429 | |
| 430 | config PPC_PREP |
Andrew Morton | 4a3ecc6 | 2006-06-01 20:36:04 -0700 | [diff] [blame] | 431 | bool "PowerPC Reference Platform (PReP) based machines" |
Paul Mackerras | 5be396b | 2005-11-14 17:31:55 +1100 | [diff] [blame] | 432 | depends on PPC_MULTIPLATFORM && PPC32 && BROKEN |
Zang Roy-r61911 | 7233593 | 2006-08-25 14:16:30 +1000 | [diff] [blame] | 433 | select MPIC |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 434 | select PPC_I8259 |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 435 | select PPC_INDIRECT_PCI |
Paul Mackerras | 13b8a27 | 2006-01-10 16:19:05 +1100 | [diff] [blame] | 436 | select PPC_UDBG_16550 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 437 | default y |
| 438 | |
| 439 | config PPC_MAPLE |
| 440 | depends on PPC_MULTIPLATFORM && PPC64 |
Andrew Morton | 4a3ecc6 | 2006-06-01 20:36:04 -0700 | [diff] [blame] | 441 | bool "Maple 970FX Evaluation Board" |
Zang Roy-r61911 | 7233593 | 2006-08-25 14:16:30 +1000 | [diff] [blame] | 442 | select MPIC |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 443 | select U3_DART |
| 444 | select MPIC_BROKEN_U3 |
Paul Mackerras | 8ad200d | 2005-11-04 13:28:58 +1100 | [diff] [blame] | 445 | select GENERIC_TBSYNC |
Paul Mackerras | 13b8a27 | 2006-01-10 16:19:05 +1100 | [diff] [blame] | 446 | select PPC_UDBG_16550 |
Paul Mackerras | f39224a | 2006-04-18 21:49:11 +1000 | [diff] [blame] | 447 | select PPC_970_NAP |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 448 | default n |
| 449 | help |
| 450 | This option enables support for the Maple 970FX Evaluation Board. |
Matt LaPlante | 3cb2fcc | 2006-11-30 05:22:59 +0100 | [diff] [blame] | 451 | For more information, refer to <http://www.970eval.com> |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 452 | |
Olof Johansson | 1e76875 | 2006-09-06 14:42:08 -0500 | [diff] [blame] | 453 | config PPC_PASEMI |
| 454 | depends on PPC_MULTIPLATFORM && PPC64 |
| 455 | bool "PA Semi SoC-based platforms" |
| 456 | default n |
| 457 | select MPIC |
| 458 | select PPC_UDBG_16550 |
| 459 | select GENERIC_TBSYNC |
| 460 | help |
| 461 | This option enables support for PA Semi's PWRficient line |
| 462 | of SoC processors, including PA6T-1682M |
| 463 | |
Arnd Bergmann | f3f66f5 | 2005-10-31 20:08:37 -0500 | [diff] [blame] | 464 | config PPC_CELL |
Geoff Levand | c01ea72 | 2006-06-19 20:33:28 +0200 | [diff] [blame] | 465 | bool |
| 466 | default n |
| 467 | |
| 468 | config PPC_CELL_NATIVE |
| 469 | bool |
| 470 | select PPC_CELL |
Benjamin Herrenschmidt | 4c75a6f | 2006-11-11 17:24:53 +1100 | [diff] [blame^] | 471 | select PPC_DCR_MMIO |
Geoff Levand | c01ea72 | 2006-06-19 20:33:28 +0200 | [diff] [blame] | 472 | default n |
| 473 | |
| 474 | config PPC_IBM_CELL_BLADE |
Andrew Morton | f127a2b | 2006-06-25 01:49:07 -0700 | [diff] [blame] | 475 | bool "IBM Cell Blade" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 476 | depends on PPC_MULTIPLATFORM && PPC64 |
Geoff Levand | c01ea72 | 2006-06-19 20:33:28 +0200 | [diff] [blame] | 477 | select PPC_CELL_NATIVE |
Paul Mackerras | 033ef33 | 2005-10-26 17:05:24 +1000 | [diff] [blame] | 478 | select PPC_RTAS |
Arnd Bergmann | edf03c1 | 2005-10-31 20:08:40 -0500 | [diff] [blame] | 479 | select MMIO_NVRAM |
Paul Mackerras | 13b8a27 | 2006-01-10 16:19:05 +1100 | [diff] [blame] | 480 | select PPC_UDBG_16550 |
Michael Ellerman | 94b60ec | 2006-06-23 18:20:22 +1000 | [diff] [blame] | 481 | select UDBG_RTAS_CONSOLE |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 482 | |
Michael Ellerman | cc46bb9 | 2006-06-23 18:20:16 +1000 | [diff] [blame] | 483 | config UDBG_RTAS_CONSOLE |
Michael Neuling | 9a2ded5 | 2006-08-16 23:12:14 -0500 | [diff] [blame] | 484 | bool "RTAS based debug console" |
| 485 | depends on PPC_RTAS |
Michael Ellerman | cc46bb9 | 2006-06-23 18:20:16 +1000 | [diff] [blame] | 486 | default n |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 487 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 488 | config XICS |
| 489 | depends on PPC_PSERIES |
| 490 | bool |
| 491 | default y |
| 492 | |
| 493 | config U3_DART |
| 494 | bool |
| 495 | depends on PPC_MULTIPLATFORM && PPC64 |
| 496 | default n |
| 497 | |
Paul Mackerras | 033ef33 | 2005-10-26 17:05:24 +1000 | [diff] [blame] | 498 | config PPC_RTAS |
| 499 | bool |
| 500 | default n |
| 501 | |
| 502 | config RTAS_ERROR_LOGGING |
| 503 | bool |
| 504 | depends on PPC_RTAS |
| 505 | default n |
| 506 | |
Paul Mackerras | f4fcbbe | 2005-11-03 14:41:19 +1100 | [diff] [blame] | 507 | config RTAS_PROC |
| 508 | bool "Proc interface to RTAS" |
Arnd Bergmann | e9add2e | 2005-10-31 20:08:39 -0500 | [diff] [blame] | 509 | depends on PPC_RTAS |
Paul Mackerras | f4fcbbe | 2005-11-03 14:41:19 +1100 | [diff] [blame] | 510 | default y |
| 511 | |
| 512 | config RTAS_FLASH |
| 513 | tristate "Firmware flash interface" |
| 514 | depends on PPC64 && RTAS_PROC |
Arnd Bergmann | e9add2e | 2005-10-31 20:08:39 -0500 | [diff] [blame] | 515 | |
Arnd Bergmann | edf03c1 | 2005-10-31 20:08:40 -0500 | [diff] [blame] | 516 | config MMIO_NVRAM |
| 517 | bool |
| 518 | default n |
| 519 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 520 | config MPIC_BROKEN_U3 |
| 521 | bool |
| 522 | depends on PPC_MAPLE |
| 523 | default y |
| 524 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 525 | config IBMVIO |
| 526 | depends on PPC_PSERIES || PPC_ISERIES |
| 527 | bool |
| 528 | default y |
| 529 | |
Heiko J Schick | d7a3010 | 2005-11-16 08:56:43 +0100 | [diff] [blame] | 530 | config IBMEBUS |
| 531 | depends on PPC_PSERIES |
| 532 | bool "Support for GX bus based adapters" |
Heiko J Schick | d7a3010 | 2005-11-16 08:56:43 +0100 | [diff] [blame] | 533 | help |
| 534 | Bus device driver for GX bus based adapters. |
| 535 | |
Paul Mackerras | 830825d | 2005-10-26 17:16:38 +1000 | [diff] [blame] | 536 | config PPC_MPC106 |
| 537 | bool |
| 538 | default n |
| 539 | |
Paul Mackerras | f39224a | 2006-04-18 21:49:11 +1000 | [diff] [blame] | 540 | config PPC_970_NAP |
| 541 | bool |
| 542 | default n |
| 543 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 544 | source "drivers/cpufreq/Kconfig" |
| 545 | |
| 546 | config CPU_FREQ_PMAC |
| 547 | bool "Support for Apple PowerBooks" |
| 548 | depends on CPU_FREQ && ADB_PMU && PPC32 |
| 549 | select CPU_FREQ_TABLE |
| 550 | help |
| 551 | This adds support for frequency switching on Apple PowerBooks, |
| 552 | this currently includes some models of iBook & Titanium |
| 553 | PowerBook. |
| 554 | |
Benjamin Herrenschmidt | 4350147 | 2005-11-07 14:27:33 +1100 | [diff] [blame] | 555 | config CPU_FREQ_PMAC64 |
| 556 | bool "Support for some Apple G5s" |
Benjamin Herrenschmidt | 7ed14c2 | 2006-07-06 15:09:19 +1000 | [diff] [blame] | 557 | depends on CPU_FREQ && PPC64 |
Benjamin Herrenschmidt | 4350147 | 2005-11-07 14:27:33 +1100 | [diff] [blame] | 558 | select CPU_FREQ_TABLE |
| 559 | help |
| 560 | This adds support for frequency switching on Apple iMac G5, |
| 561 | and some of the more recent desktop G5 machines as well. |
| 562 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 563 | config PPC601_SYNC_FIX |
| 564 | bool "Workarounds for PPC601 bugs" |
| 565 | depends on 6xx && (PPC_PREP || PPC_PMAC) |
| 566 | help |
| 567 | Some versions of the PPC601 (the first PowerPC chip) have bugs which |
| 568 | mean that extra synchronization instructions are required near |
| 569 | certain instructions, typically those that make major changes to the |
| 570 | CPU state. These extra instructions reduce performance slightly. |
| 571 | If you say N here, these extra instructions will not be included, |
| 572 | resulting in a kernel which will run faster but may not run at all |
| 573 | on some systems with the PPC601 chip. |
| 574 | |
| 575 | If in doubt, say Y here. |
| 576 | |
| 577 | config TAU |
Paul Mackerras | 9b78172 | 2006-03-27 19:15:26 +1100 | [diff] [blame] | 578 | bool "On-chip CPU temperature sensor support" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 579 | depends on 6xx |
| 580 | help |
| 581 | G3 and G4 processors have an on-chip temperature sensor called the |
| 582 | 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die |
| 583 | temperature within 2-4 degrees Celsius. This option shows the current |
| 584 | on-die temperature in /proc/cpuinfo if the cpu supports it. |
| 585 | |
| 586 | Unfortunately, on some chip revisions, this sensor is very inaccurate |
Paul Mackerras | 9b78172 | 2006-03-27 19:15:26 +1100 | [diff] [blame] | 587 | and in many cases, does not work at all, so don't assume the cpu |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 588 | temp is actually what /proc/cpuinfo says it is. |
| 589 | |
| 590 | config TAU_INT |
| 591 | bool "Interrupt driven TAU driver (DANGEROUS)" |
| 592 | depends on TAU |
| 593 | ---help--- |
| 594 | The TAU supports an interrupt driven mode which causes an interrupt |
| 595 | whenever the temperature goes out of range. This is the fastest way |
| 596 | to get notified the temp has exceeded a range. With this option off, |
| 597 | a timer is used to re-check the temperature periodically. |
| 598 | |
| 599 | However, on some cpus it appears that the TAU interrupt hardware |
| 600 | is buggy and can cause a situation which would lead unexplained hard |
| 601 | lockups. |
| 602 | |
| 603 | Unless you are extending the TAU driver, or enjoy kernel/hardware |
| 604 | debugging, leave this option off. |
| 605 | |
| 606 | config TAU_AVERAGE |
| 607 | bool "Average high and low temp" |
| 608 | depends on TAU |
| 609 | ---help--- |
| 610 | The TAU hardware can compare the temperature to an upper and lower |
| 611 | bound. The default behavior is to show both the upper and lower |
| 612 | bound in /proc/cpuinfo. If the range is large, the temperature is |
| 613 | either changing a lot, or the TAU hardware is broken (likely on some |
| 614 | G4's). If the range is small (around 4 degrees), the temperature is |
| 615 | relatively stable. If you say Y here, a single temperature value, |
| 616 | halfway between the upper and lower bounds, will be reported in |
| 617 | /proc/cpuinfo. |
| 618 | |
| 619 | If in doubt, say N here. |
Mark A. Greer | c220153 | 2006-06-28 14:13:20 -0700 | [diff] [blame] | 620 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 621 | endmenu |
| 622 | |
| 623 | source arch/powerpc/platforms/embedded6xx/Kconfig |
| 624 | source arch/powerpc/platforms/4xx/Kconfig |
Vitaly Bordug | ed943c1 | 2006-10-02 22:41:50 +0400 | [diff] [blame] | 625 | source arch/powerpc/platforms/82xx/Kconfig |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 626 | source arch/powerpc/platforms/83xx/Kconfig |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 627 | source arch/powerpc/platforms/85xx/Kconfig |
Jon Loeliger | c9b484b | 2006-06-17 17:52:35 -0500 | [diff] [blame] | 628 | source arch/powerpc/platforms/86xx/Kconfig |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 629 | source arch/powerpc/platforms/8xx/Kconfig |
Arnd Bergmann | 67207b9 | 2005-11-15 15:53:48 -0500 | [diff] [blame] | 630 | source arch/powerpc/platforms/cell/Kconfig |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 631 | |
| 632 | menu "Kernel options" |
| 633 | |
| 634 | config HIGHMEM |
| 635 | bool "High memory support" |
| 636 | depends on PPC32 |
| 637 | |
| 638 | source kernel/Kconfig.hz |
| 639 | source kernel/Kconfig.preempt |
| 640 | source "fs/Kconfig.binfmt" |
| 641 | |
| 642 | # We optimistically allocate largepages from the VM, so make the limit |
| 643 | # large enough (16MB). This badly named config option is actually |
| 644 | # max order + 1 |
| 645 | config FORCE_MAX_ZONEORDER |
| 646 | int |
| 647 | depends on PPC64 |
Mike Kravetz | 0286486 | 2005-11-07 13:48:59 -0800 | [diff] [blame] | 648 | default "9" if PPC_64K_PAGES |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 649 | default "13" |
| 650 | |
| 651 | config MATH_EMULATION |
| 652 | bool "Math emulation" |
| 653 | depends on 4xx || 8xx || E200 || E500 |
| 654 | ---help--- |
| 655 | Some PowerPC chips designed for embedded applications do not have |
| 656 | a floating-point unit and therefore do not implement the |
| 657 | floating-point instructions in the PowerPC instruction set. If you |
| 658 | say Y here, the kernel will include code to emulate a floating-point |
| 659 | unit, which will allow programs that use floating-point |
| 660 | instructions to run. |
| 661 | |
| 662 | config IOMMU_VMERGE |
| 663 | bool "Enable IOMMU virtual merging (EXPERIMENTAL)" |
| 664 | depends on EXPERIMENTAL && PPC64 |
| 665 | default n |
| 666 | help |
| 667 | Cause IO segments sent to a device for DMA to be merged virtually |
| 668 | by the IOMMU when they happen to have been allocated contiguously. |
| 669 | This doesn't add pressure to the IOMMU allocator. However, some |
| 670 | drivers don't support getting large merged segments coming back |
| 671 | from *_map_sg(). Say Y if you know the drivers you are using are |
| 672 | properly handling this case. |
| 673 | |
| 674 | config HOTPLUG_CPU |
| 675 | bool "Support for enabling/disabling CPUs" |
| 676 | depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC) |
| 677 | ---help--- |
| 678 | Say Y here to be able to disable and re-enable individual |
| 679 | CPUs at runtime on SMP machines. |
| 680 | |
| 681 | Say N if you are unsure. |
| 682 | |
Yasunori Goto | cc57637 | 2006-06-29 02:24:27 -0700 | [diff] [blame] | 683 | config ARCH_ENABLE_MEMORY_HOTPLUG |
| 684 | def_bool y |
| 685 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 686 | config KEXEC |
| 687 | bool "kexec system call (EXPERIMENTAL)" |
| 688 | depends on PPC_MULTIPLATFORM && EXPERIMENTAL |
| 689 | help |
| 690 | kexec is a system call that implements the ability to shutdown your |
| 691 | current kernel, and to start another kernel. It is like a reboot |
Matt LaPlante | 1f1332f | 2006-06-29 01:32:47 -0400 | [diff] [blame] | 692 | but it is independent of the system firmware. And like a reboot |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 693 | you can start any kernel with it, not just Linux. |
| 694 | |
Matt LaPlante | 1f1332f | 2006-06-29 01:32:47 -0400 | [diff] [blame] | 695 | The name comes from the similarity to the exec system call. |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 696 | |
| 697 | It is an ongoing process to be certain the hardware in a machine |
| 698 | is properly shutdown, so do not be surprised if this code does not |
| 699 | initially work for you. It may help to enable device hotplugging |
| 700 | support. As of this writing the exact hardware interface is |
| 701 | strongly in flux, so no good recommendation can be made. |
| 702 | |
Haren Myneni | e8625d46 | 2006-01-14 13:48:25 -0800 | [diff] [blame] | 703 | config CRASH_DUMP |
Michael Ellerman | cd9c99d | 2006-03-10 15:01:08 +1100 | [diff] [blame] | 704 | bool "Build a kdump crash kernel (EXPERIMENTAL)" |
Haren Myneni | e8625d46 | 2006-01-14 13:48:25 -0800 | [diff] [blame] | 705 | depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL |
| 706 | help |
| 707 | Build a kernel suitable for use as a kdump capture kernel. |
| 708 | The kernel will be linked at a different address than normal, and |
| 709 | so can only be used for Kdump. |
| 710 | |
| 711 | Don't change this unless you know what you are doing. |
| 712 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 713 | config EMBEDDEDBOOT |
| 714 | bool |
| 715 | depends on 8xx || 8260 |
| 716 | default y |
| 717 | |
| 718 | config PC_KEYBOARD |
| 719 | bool "PC PS/2 style Keyboard" |
| 720 | depends on 4xx || CPM2 |
| 721 | |
| 722 | config PPCBUG_NVRAM |
| 723 | bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC |
| 724 | default y if PPC_PREP |
| 725 | |
| 726 | config IRQ_ALL_CPUS |
| 727 | bool "Distribute interrupts on all CPUs by default" |
| 728 | depends on SMP && !MV64360 |
| 729 | help |
| 730 | This option gives the kernel permission to distribute IRQs across |
| 731 | multiple CPUs. Saying N here will route all IRQs to the first |
| 732 | CPU. Generally saying Y is safe, although some problems have been |
| 733 | reported with SMP Power Macintoshes with this option enabled. |
| 734 | |
| 735 | source "arch/powerpc/platforms/pseries/Kconfig" |
| 736 | |
Andy Whitcroft | ffa27b6 | 2005-10-28 17:46:58 -0700 | [diff] [blame] | 737 | config NUMA |
| 738 | bool "NUMA support" |
| 739 | depends on PPC64 |
| 740 | default y if SMP && PPC_PSERIES |
| 741 | |
Yasunori Goto | c80d79d | 2006-04-10 22:53:53 -0700 | [diff] [blame] | 742 | config NODES_SHIFT |
| 743 | int |
| 744 | default "4" |
| 745 | depends on NEED_MULTIPLE_NODES |
| 746 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 747 | config ARCH_SELECT_MEMORY_MODEL |
| 748 | def_bool y |
| 749 | depends on PPC64 |
| 750 | |
| 751 | config ARCH_FLATMEM_ENABLE |
Andy Whitcroft | 9100b20 | 2005-11-29 19:20:55 +0000 | [diff] [blame] | 752 | def_bool y |
| 753 | depends on (PPC64 && !NUMA) || PPC32 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 754 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 755 | config ARCH_SPARSEMEM_ENABLE |
| 756 | def_bool y |
Andy Whitcroft | 9100b20 | 2005-11-29 19:20:55 +0000 | [diff] [blame] | 757 | depends on PPC64 |
Anton Blanchard | 45fb6ce | 2005-11-11 14:22:35 +1100 | [diff] [blame] | 758 | |
| 759 | config ARCH_SPARSEMEM_DEFAULT |
| 760 | def_bool y |
Geoff Levand | 36b600f | 2006-11-02 21:08:45 -0800 | [diff] [blame] | 761 | depends on (SMP && PPC_PSERIES) || PPC_CELL |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 762 | |
Mel Gorman | c67c3cb | 2006-09-27 01:49:49 -0700 | [diff] [blame] | 763 | config ARCH_POPULATES_NODE_MAP |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 764 | def_bool y |
Mel Gorman | c67c3cb | 2006-09-27 01:49:49 -0700 | [diff] [blame] | 765 | |
| 766 | source "mm/Kconfig" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 767 | |
Mike Kravetz | 7e9191d | 2005-11-07 09:39:48 -0800 | [diff] [blame] | 768 | config ARCH_MEMORY_PROBE |
| 769 | def_bool y |
| 770 | depends on MEMORY_HOTPLUG |
| 771 | |
Andy Whitcroft | 7516795 | 2006-10-21 10:24:14 -0700 | [diff] [blame] | 772 | # Some NUMA nodes have memory ranges that span |
| 773 | # other nodes. Even though a pfn is valid and |
| 774 | # between a node's start and end pfns, it may not |
| 775 | # reside on that node. See memmap_init_zone() |
| 776 | # for details. |
| 777 | config NODES_SPAN_OTHER_NODES |
| 778 | def_bool y |
| 779 | depends on NEED_MULTIPLE_NODES |
| 780 | |
Benjamin Herrenschmidt | 3c726f8 | 2005-11-07 11:06:55 +1100 | [diff] [blame] | 781 | config PPC_64K_PAGES |
| 782 | bool "64k page size" |
Benjamin Herrenschmidt | 863c84b | 2005-11-07 00:57:58 -0800 | [diff] [blame] | 783 | depends on PPC64 |
Benjamin Herrenschmidt | 3c726f8 | 2005-11-07 11:06:55 +1100 | [diff] [blame] | 784 | help |
| 785 | This option changes the kernel logical page size to 64k. On machines |
| 786 | without processor support for 64k pages, the kernel will simulate |
| 787 | them by loading each individual 4k page on demand transparently, |
| 788 | while on hardware with such support, it will be used to map |
| 789 | normal application pages. |
| 790 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 791 | config SCHED_SMT |
| 792 | bool "SMT (Hyperthreading) scheduler support" |
| 793 | depends on PPC64 && SMP |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 794 | help |
| 795 | SMT scheduler support improves the CPU scheduler's decision making |
| 796 | when dealing with POWER5 cpus at a cost of slightly increased |
| 797 | overhead in some places. If unsure say N here. |
| 798 | |
| 799 | config PROC_DEVICETREE |
Paul Mackerras | 5f29675 | 2005-10-17 20:14:59 +1000 | [diff] [blame] | 800 | bool "Support for device tree in /proc" |
| 801 | depends on PROC_FS |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 802 | help |
| 803 | This option adds a device-tree directory under /proc which contains |
| 804 | an image of the device tree that the kernel copies from Open |
Paul Mackerras | 5f29675 | 2005-10-17 20:14:59 +1000 | [diff] [blame] | 805 | Firmware or other boot firmware. If unsure, say Y here. |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 806 | |
| 807 | source "arch/powerpc/platforms/prep/Kconfig" |
| 808 | |
| 809 | config CMDLINE_BOOL |
| 810 | bool "Default bootloader kernel arguments" |
| 811 | depends on !PPC_ISERIES |
| 812 | |
| 813 | config CMDLINE |
| 814 | string "Initial kernel command string" |
| 815 | depends on CMDLINE_BOOL |
| 816 | default "console=ttyS0,9600 console=tty0 root=/dev/sda2" |
| 817 | help |
| 818 | On some platforms, there is currently no way for the boot loader to |
| 819 | pass arguments to the kernel. For these platforms, you can supply |
| 820 | some command-line options at build time by entering them here. In |
| 821 | most cases you will need to specify the root device here. |
| 822 | |
| 823 | if !44x || BROKEN |
| 824 | source kernel/power/Kconfig |
| 825 | endif |
| 826 | |
| 827 | config SECCOMP |
| 828 | bool "Enable seccomp to safely compute untrusted bytecode" |
| 829 | depends on PROC_FS |
| 830 | default y |
| 831 | help |
| 832 | This kernel feature is useful for number crunching applications |
| 833 | that may need to compute untrusted bytecode during their |
| 834 | execution. By using pipes or other transports made available to |
| 835 | the process as file descriptors supporting the read/write |
| 836 | syscalls, it's possible to isolate those applications in |
| 837 | their own address space using seccomp. Once seccomp is |
| 838 | enabled via /proc/<pid>/seccomp, it cannot be disabled |
| 839 | and the task is only allowed to execute a few safe syscalls |
| 840 | defined by each seccomp mode. |
| 841 | |
| 842 | If unsure, say Y. Only embedded should say N here. |
| 843 | |
| 844 | endmenu |
| 845 | |
| 846 | config ISA_DMA_API |
| 847 | bool |
| 848 | default y |
| 849 | |
| 850 | menu "Bus options" |
| 851 | |
| 852 | config ISA |
| 853 | bool "Support for ISA-bus hardware" |
| 854 | depends on PPC_PREP || PPC_CHRP |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 855 | select PPC_I8259 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 856 | help |
| 857 | Find out whether you have ISA slots on your motherboard. ISA is the |
| 858 | name of a bus system, i.e. the way the CPU talks to the other stuff |
| 859 | inside your box. If you have an Apple machine, say N here; if you |
| 860 | have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If |
| 861 | you have an embedded board, consult your board documentation. |
| 862 | |
| 863 | config GENERIC_ISA_DMA |
| 864 | bool |
| 865 | depends on PPC64 || POWER4 || 6xx && !CPM2 |
| 866 | default y |
| 867 | |
Zang Roy-r61911 | 7233593 | 2006-08-25 14:16:30 +1000 | [diff] [blame] | 868 | config MPIC |
| 869 | bool |
| 870 | default n |
| 871 | |
| 872 | config MPIC_WEIRD |
| 873 | bool |
| 874 | default n |
| 875 | |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 876 | config PPC_I8259 |
| 877 | bool |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 878 | default n |
| 879 | |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 880 | config PPC_INDIRECT_PCI |
| 881 | bool |
| 882 | depends on PCI |
Becky Bruce | 63dafe5 | 2006-01-14 16:57:39 -0600 | [diff] [blame] | 883 | default y if 40x || 44x |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 884 | default n |
| 885 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 886 | config EISA |
| 887 | bool |
| 888 | |
| 889 | config SBUS |
| 890 | bool |
| 891 | |
Kumar Gala | 08264cb | 2006-01-10 21:43:56 -0600 | [diff] [blame] | 892 | config FSL_SOC |
| 893 | bool |
| 894 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 895 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any |
| 896 | config MCA |
| 897 | bool |
| 898 | |
| 899 | config PCI |
Jon Loeliger | 5315862 | 2006-08-09 10:37:28 -0500 | [diff] [blame] | 900 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ |
| 901 | || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 |
| 902 | default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ |
| 903 | && !PPC_85xx && !PPC_86xx |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 904 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS |
| 905 | default PCI_QSPAN if !4xx && !CPM2 && 8xx |
| 906 | help |
| 907 | Find out whether your system includes a PCI bus. PCI is the name of |
| 908 | a bus system, i.e. the way the CPU talks to the other stuff inside |
| 909 | your box. If you say Y here, the kernel will include drivers and |
| 910 | infrastructure code to support PCI bus devices. |
| 911 | |
| 912 | config PCI_DOMAINS |
| 913 | bool |
| 914 | default PCI |
| 915 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 916 | config PCI_QSPAN |
| 917 | bool "QSpan PCI" |
| 918 | depends on !4xx && !CPM2 && 8xx |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 919 | select PPC_I8259 |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 920 | help |
| 921 | Say Y here if you have a system based on a Motorola 8xx-series |
| 922 | embedded processor with a QSPAN PCI interface, otherwise say N. |
| 923 | |
| 924 | config PCI_8260 |
| 925 | bool |
| 926 | depends on PCI && 8260 |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 927 | select PPC_INDIRECT_PCI |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 928 | default y |
| 929 | |
| 930 | config 8260_PCI9 |
Andrew Morton | 4a3ecc6 | 2006-06-01 20:36:04 -0700 | [diff] [blame] | 931 | bool "Enable workaround for MPC826x erratum PCI 9" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 932 | depends on PCI_8260 && !ADS8272 |
| 933 | default y |
| 934 | |
| 935 | choice |
Andrew Morton | 4a3ecc6 | 2006-06-01 20:36:04 -0700 | [diff] [blame] | 936 | prompt "IDMA channel for PCI 9 workaround" |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 937 | depends on 8260_PCI9 |
| 938 | |
| 939 | config 8260_PCI9_IDMA1 |
| 940 | bool "IDMA1" |
| 941 | |
| 942 | config 8260_PCI9_IDMA2 |
| 943 | bool "IDMA2" |
| 944 | |
| 945 | config 8260_PCI9_IDMA3 |
| 946 | bool "IDMA3" |
| 947 | |
| 948 | config 8260_PCI9_IDMA4 |
| 949 | bool "IDMA4" |
| 950 | |
| 951 | endchoice |
| 952 | |
Jake Moilanen | bb53bb3 | 2006-06-07 16:05:46 -0500 | [diff] [blame] | 953 | source "drivers/pci/pcie/Kconfig" |
| 954 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 955 | source "drivers/pci/Kconfig" |
| 956 | |
| 957 | source "drivers/pcmcia/Kconfig" |
| 958 | |
| 959 | source "drivers/pci/hotplug/Kconfig" |
| 960 | |
| 961 | endmenu |
| 962 | |
| 963 | menu "Advanced setup" |
| 964 | depends on PPC32 |
| 965 | |
| 966 | config ADVANCED_OPTIONS |
| 967 | bool "Prompt for advanced kernel configuration options" |
| 968 | help |
| 969 | This option will enable prompting for a variety of advanced kernel |
| 970 | configuration options. These options can cause the kernel to not |
| 971 | work if they are set incorrectly, but can be used to optimize certain |
| 972 | aspects of kernel memory management. |
| 973 | |
| 974 | Unless you know what you are doing, say N here. |
| 975 | |
| 976 | comment "Default settings for advanced configuration options are used" |
| 977 | depends on !ADVANCED_OPTIONS |
| 978 | |
| 979 | config HIGHMEM_START_BOOL |
| 980 | bool "Set high memory pool address" |
| 981 | depends on ADVANCED_OPTIONS && HIGHMEM |
| 982 | help |
| 983 | This option allows you to set the base address of the kernel virtual |
| 984 | area used to map high memory pages. This can be useful in |
| 985 | optimizing the layout of kernel virtual memory. |
| 986 | |
| 987 | Say N here unless you know what you are doing. |
| 988 | |
| 989 | config HIGHMEM_START |
| 990 | hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL |
| 991 | default "0xfe000000" |
| 992 | |
| 993 | config LOWMEM_SIZE_BOOL |
| 994 | bool "Set maximum low memory" |
| 995 | depends on ADVANCED_OPTIONS |
| 996 | help |
| 997 | This option allows you to set the maximum amount of memory which |
| 998 | will be used as "low memory", that is, memory which the kernel can |
| 999 | access directly, without having to set up a kernel virtual mapping. |
| 1000 | This can be useful in optimizing the layout of kernel virtual |
| 1001 | memory. |
| 1002 | |
| 1003 | Say N here unless you know what you are doing. |
| 1004 | |
| 1005 | config LOWMEM_SIZE |
| 1006 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL |
| 1007 | default "0x30000000" |
| 1008 | |
| 1009 | config KERNEL_START_BOOL |
| 1010 | bool "Set custom kernel base address" |
| 1011 | depends on ADVANCED_OPTIONS |
| 1012 | help |
| 1013 | This option allows you to set the kernel virtual address at which |
| 1014 | the kernel will map low memory (the kernel image will be linked at |
| 1015 | this address). This can be useful in optimizing the virtual memory |
| 1016 | layout of the system. |
| 1017 | |
| 1018 | Say N here unless you know what you are doing. |
| 1019 | |
| 1020 | config KERNEL_START |
| 1021 | hex "Virtual address of kernel base" if KERNEL_START_BOOL |
| 1022 | default "0xc0000000" |
| 1023 | |
| 1024 | config TASK_SIZE_BOOL |
| 1025 | bool "Set custom user task size" |
| 1026 | depends on ADVANCED_OPTIONS |
| 1027 | help |
| 1028 | This option allows you to set the amount of virtual address space |
| 1029 | allocated to user tasks. This can be useful in optimizing the |
| 1030 | virtual memory layout of the system. |
| 1031 | |
| 1032 | Say N here unless you know what you are doing. |
| 1033 | |
| 1034 | config TASK_SIZE |
| 1035 | hex "Size of user task space" if TASK_SIZE_BOOL |
| 1036 | default "0x80000000" |
| 1037 | |
| 1038 | config CONSISTENT_START_BOOL |
| 1039 | bool "Set custom consistent memory pool address" |
| 1040 | depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE |
| 1041 | help |
| 1042 | This option allows you to set the base virtual address |
Matt LaPlante | 4b3f686 | 2006-10-03 22:21:02 +0200 | [diff] [blame] | 1043 | of the consistent memory pool. This pool of virtual |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1044 | memory is used to make consistent memory allocations. |
| 1045 | |
| 1046 | config CONSISTENT_START |
| 1047 | hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL |
| 1048 | default "0xff100000" if NOT_COHERENT_CACHE |
| 1049 | |
| 1050 | config CONSISTENT_SIZE_BOOL |
| 1051 | bool "Set custom consistent memory pool size" |
| 1052 | depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE |
| 1053 | help |
Matt LaPlante | 4b3f686 | 2006-10-03 22:21:02 +0200 | [diff] [blame] | 1054 | This option allows you to set the size of the |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1055 | consistent memory pool. This pool of virtual memory |
| 1056 | is used to make consistent memory allocations. |
| 1057 | |
| 1058 | config CONSISTENT_SIZE |
| 1059 | hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL |
| 1060 | default "0x00200000" if NOT_COHERENT_CACHE |
| 1061 | |
| 1062 | config BOOT_LOAD_BOOL |
| 1063 | bool "Set the boot link/load address" |
| 1064 | depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM |
| 1065 | help |
| 1066 | This option allows you to set the initial load address of the zImage |
| 1067 | or zImage.initrd file. This can be useful if you are on a board |
| 1068 | which has a small amount of memory. |
| 1069 | |
| 1070 | Say N here unless you know what you are doing. |
| 1071 | |
| 1072 | config BOOT_LOAD |
| 1073 | hex "Link/load address for booting" if BOOT_LOAD_BOOL |
| 1074 | default "0x00400000" if 40x || 8xx || 8260 |
| 1075 | default "0x01000000" if 44x |
| 1076 | default "0x00800000" |
| 1077 | |
| 1078 | config PIN_TLB |
| 1079 | bool "Pinned Kernel TLBs (860 ONLY)" |
| 1080 | depends on ADVANCED_OPTIONS && 8xx |
| 1081 | endmenu |
| 1082 | |
Stephen Rothwell | cabb558 | 2005-09-30 16:16:52 +1000 | [diff] [blame] | 1083 | if PPC64 |
| 1084 | config KERNEL_START |
| 1085 | hex |
Stephen Rothwell | eeb2d21 | 2005-09-30 17:24:15 +1000 | [diff] [blame] | 1086 | default "0xc000000000000000" |
Stephen Rothwell | cabb558 | 2005-09-30 16:16:52 +1000 | [diff] [blame] | 1087 | endif |
| 1088 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1089 | source "net/Kconfig" |
| 1090 | |
| 1091 | source "drivers/Kconfig" |
| 1092 | |
| 1093 | source "fs/Kconfig" |
| 1094 | |
| 1095 | # XXX source "arch/ppc/8xx_io/Kconfig" |
| 1096 | |
| 1097 | # XXX source "arch/ppc/8260_io/Kconfig" |
| 1098 | |
Li Yang | 9865853 | 2006-10-03 23:10:46 -0500 | [diff] [blame] | 1099 | source "arch/powerpc/sysdev/qe_lib/Kconfig" |
| 1100 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1101 | source "arch/powerpc/platforms/iseries/Kconfig" |
| 1102 | |
| 1103 | source "lib/Kconfig" |
| 1104 | |
Prasanna S Panchamukhi | cd6b076 | 2005-11-07 00:59:14 -0800 | [diff] [blame] | 1105 | menu "Instrumentation Support" |
| 1106 | depends on EXPERIMENTAL |
| 1107 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1108 | source "arch/powerpc/oprofile/Kconfig" |
| 1109 | |
Prasanna S Panchamukhi | cd6b076 | 2005-11-07 00:59:14 -0800 | [diff] [blame] | 1110 | config KPROBES |
| 1111 | bool "Kprobes (EXPERIMENTAL)" |
Ananth N Mavinakayanahalli | 3a872d8 | 2006-10-02 02:17:30 -0700 | [diff] [blame] | 1112 | depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES |
Prasanna S Panchamukhi | cd6b076 | 2005-11-07 00:59:14 -0800 | [diff] [blame] | 1113 | help |
| 1114 | Kprobes allows you to trap at almost any kernel address and |
| 1115 | execute a callback function. register_kprobe() establishes |
| 1116 | a probepoint and specifies the callback. Kprobes is useful |
| 1117 | for kernel debugging, non-intrusive instrumentation and testing. |
| 1118 | If in doubt, say "N". |
| 1119 | endmenu |
| 1120 | |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1121 | source "arch/powerpc/Kconfig.debug" |
| 1122 | |
| 1123 | source "security/Kconfig" |
| 1124 | |
| 1125 | config KEYS_COMPAT |
| 1126 | bool |
| 1127 | depends on COMPAT && KEYS |
| 1128 | default y |
| 1129 | |
| 1130 | source "crypto/Kconfig" |