Kconfig 29 KB

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