Kconfig 30 KB

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