Kconfig 27 KB

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