Kconfig 27 KB

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