Kconfig 25 KB

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