Kconfig 26 KB

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