Kconfig 28 KB

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