Kconfig 26 KB

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