Kconfig 29 KB

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