Kconfig 26 KB

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