Kconfig 26 KB

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