Kconfig 28 KB

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