Kconfig 28 KB

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