Kconfig 29 KB

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