Kconfig 26 KB

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