Kconfig 29 KB

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