Kconfig 27 KB

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