Kconfig 27 KB

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