Kconfig 25 KB

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