Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. config 64BIT
  6. def_bool y
  7. config MMU
  8. bool
  9. default y
  10. config PPC_STD_MMU
  11. def_bool y
  12. config UID16
  13. bool
  14. config RWSEM_GENERIC_SPINLOCK
  15. bool
  16. config RWSEM_XCHGADD_ALGORITHM
  17. bool
  18. default y
  19. config GENERIC_CALIBRATE_DELAY
  20. bool
  21. default y
  22. config GENERIC_ISA_DMA
  23. bool
  24. default y
  25. config EARLY_PRINTK
  26. bool
  27. default y
  28. config COMPAT
  29. bool
  30. default y
  31. config SCHED_NO_NO_OMIT_FRAME_POINTER
  32. bool
  33. default y
  34. config ARCH_MAY_HAVE_PC_FDC
  35. bool
  36. default y
  37. # We optimistically allocate largepages from the VM, so make the limit
  38. # large enough (16MB). This badly named config option is actually
  39. # max order + 1
  40. config FORCE_MAX_ZONEORDER
  41. int
  42. default "13"
  43. source "init/Kconfig"
  44. config SYSVIPC_COMPAT
  45. bool
  46. depends on COMPAT && SYSVIPC
  47. default y
  48. menu "Platform support"
  49. choice
  50. prompt "Platform Type"
  51. default PPC_MULTIPLATFORM
  52. config PPC_ISERIES
  53. bool "IBM Legacy iSeries"
  54. config PPC_MULTIPLATFORM
  55. bool "Generic"
  56. endchoice
  57. config PPC_PSERIES
  58. depends on PPC_MULTIPLATFORM
  59. bool " IBM pSeries & new iSeries"
  60. default y
  61. config PPC_BPA
  62. bool " Broadband Processor Architecture"
  63. depends on PPC_MULTIPLATFORM
  64. config PPC_PMAC
  65. depends on PPC_MULTIPLATFORM
  66. bool " Apple G5 based machines"
  67. default y
  68. select U3_DART
  69. config PPC_MAPLE
  70. depends on PPC_MULTIPLATFORM
  71. bool " Maple 970FX Evaluation Board"
  72. select U3_DART
  73. select MPIC_BROKEN_U3
  74. default n
  75. help
  76. This option enables support for the Maple 970FX Evaluation Board.
  77. For more informations, refer to <http://www.970eval.com>
  78. config PPC
  79. bool
  80. default y
  81. config PPC64
  82. bool
  83. default y
  84. config PPC_OF
  85. depends on PPC_MULTIPLATFORM
  86. bool
  87. default y
  88. config XICS
  89. depends on PPC_PSERIES
  90. bool
  91. default y
  92. config MPIC
  93. depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE
  94. bool
  95. default y
  96. config PPC_I8259
  97. depends on PPC_PSERIES
  98. bool
  99. default y
  100. config BPA_IIC
  101. depends on PPC_BPA
  102. bool
  103. default y
  104. # VMX is pSeries only for now until somebody writes the iSeries
  105. # exception vectors for it
  106. config ALTIVEC
  107. bool "Support for VMX (Altivec) vector unit"
  108. depends on PPC_MULTIPLATFORM
  109. default y
  110. config PPC_SPLPAR
  111. depends on PPC_PSERIES
  112. bool "Support for shared-processor logical partitions"
  113. default n
  114. help
  115. Enabling this option will make the kernel run more efficiently
  116. on logically-partitioned pSeries systems which use shared
  117. processors, that is, which share physical processors between
  118. two or more partitions.
  119. config KEXEC
  120. bool "kexec system call (EXPERIMENTAL)"
  121. depends on PPC_MULTIPLATFORM && EXPERIMENTAL
  122. help
  123. kexec is a system call that implements the ability to shutdown your
  124. current kernel, and to start another kernel. It is like a reboot
  125. but it is indepedent of the system firmware. And like a reboot
  126. you can start any kernel with it, not just Linux.
  127. The name comes from the similiarity to the exec system call.
  128. It is an ongoing process to be certain the hardware in a machine
  129. is properly shutdown, so do not be surprised if this code does not
  130. initially work for you. It may help to enable device hotplugging
  131. support. As of this writing the exact hardware interface is
  132. strongly in flux, so no good recommendation can be made.
  133. config IBMVIO
  134. depends on PPC_PSERIES || PPC_ISERIES
  135. bool
  136. default y
  137. config U3_DART
  138. bool
  139. depends on PPC_MULTIPLATFORM
  140. default n
  141. config MPIC_BROKEN_U3
  142. bool
  143. depends on PPC_MAPLE
  144. default y
  145. config PPC_PMAC64
  146. bool
  147. depends on PPC_PMAC
  148. default y
  149. config BOOTX_TEXT
  150. bool "Support for early boot text console"
  151. depends PPC_OF
  152. help
  153. Say Y here to see progress messages from the boot firmware in text
  154. mode. Requires an Open Firmware compatible video card.
  155. config POWER4
  156. def_bool y
  157. config PPC_FPU
  158. def_bool y
  159. config POWER4_ONLY
  160. bool "Optimize for POWER4"
  161. default n
  162. ---help---
  163. Cause the compiler to optimize for POWER4 processors. The resulting
  164. binary will not work on POWER3 or RS64 processors when compiled with
  165. binutils 2.15 or later.
  166. config IOMMU_VMERGE
  167. bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
  168. depends on EXPERIMENTAL
  169. default n
  170. help
  171. Cause IO segments sent to a device for DMA to be merged virtually
  172. by the IOMMU when they happen to have been allocated contiguously.
  173. This doesn't add pressure to the IOMMU allocator. However, some
  174. drivers don't support getting large merged segments coming back
  175. from *_map_sg(). Say Y if you know the drivers you are using are
  176. properly handling this case.
  177. config SMP
  178. bool "Symmetric multi-processing support"
  179. ---help---
  180. This enables support for systems with more than one CPU. If you have
  181. a system with only one CPU, say N. If you have a system with more
  182. than one CPU, say Y.
  183. If you say N here, the kernel will run on single and multiprocessor
  184. machines, but will use only one CPU of a multiprocessor machine. If
  185. you say Y here, the kernel will run on single-processor machines.
  186. On a single-processor machine, the kernel will run faster if you say
  187. N here.
  188. If you don't know what to do here, say Y.
  189. config NR_CPUS
  190. int "Maximum number of CPUs (2-128)"
  191. range 2 128
  192. depends on SMP
  193. default "32"
  194. config HMT
  195. bool "Hardware multithreading"
  196. depends on SMP && PPC_PSERIES && BROKEN
  197. help
  198. This option enables hardware multithreading on RS64 cpus.
  199. pSeries systems p620 and p660 have such a cpu type.
  200. config NUMA
  201. bool "NUMA support"
  202. default y if SMP && PPC_PSERIES
  203. config ARCH_SELECT_MEMORY_MODEL
  204. def_bool y
  205. config ARCH_FLATMEM_ENABLE
  206. def_bool y
  207. depends on !NUMA
  208. config ARCH_DISCONTIGMEM_ENABLE
  209. def_bool y
  210. depends on SMP && PPC_PSERIES
  211. config ARCH_DISCONTIGMEM_DEFAULT
  212. def_bool y
  213. depends on ARCH_DISCONTIGMEM_ENABLE
  214. config ARCH_SPARSEMEM_ENABLE
  215. def_bool y
  216. depends on ARCH_DISCONTIGMEM_ENABLE
  217. source "mm/Kconfig"
  218. config HAVE_ARCH_EARLY_PFN_TO_NID
  219. def_bool y
  220. depends on NEED_MULTIPLE_NODES
  221. # Some NUMA nodes have memory ranges that span
  222. # other nodes. Even though a pfn is valid and
  223. # between a node's start and end pfns, it may not
  224. # reside on that node.
  225. #
  226. # This is a relatively temporary hack that should
  227. # be able to go away when sparsemem is fully in
  228. # place
  229. config NODES_SPAN_OTHER_NODES
  230. def_bool y
  231. depends on NEED_MULTIPLE_NODES
  232. config SCHED_SMT
  233. bool "SMT (Hyperthreading) scheduler support"
  234. depends on SMP
  235. default off
  236. help
  237. SMT scheduler support improves the CPU scheduler's decision making
  238. when dealing with POWER5 cpus at a cost of slightly increased
  239. overhead in some places. If unsure say N here.
  240. source "kernel/Kconfig.preempt"
  241. source kernel/Kconfig.hz
  242. config EEH
  243. bool "PCI Extended Error Handling (EEH)" if EMBEDDED
  244. depends on PPC_PSERIES
  245. default y if !EMBEDDED
  246. #
  247. # Use the generic interrupt handling code in kernel/irq/:
  248. #
  249. config GENERIC_HARDIRQS
  250. bool
  251. default y
  252. config PPC_RTAS
  253. bool
  254. depends on PPC_PSERIES || PPC_BPA
  255. default y
  256. config RTAS_ERROR_LOGGING
  257. bool
  258. depends on PPC_RTAS
  259. default y
  260. config RTAS_PROC
  261. bool "Proc interface to RTAS"
  262. depends on PPC_RTAS
  263. default y
  264. config RTAS_FLASH
  265. tristate "Firmware flash interface"
  266. depends on RTAS_PROC
  267. config SCANLOG
  268. tristate "Scanlog dump interface"
  269. depends on RTAS_PROC && PPC_PSERIES
  270. config LPARCFG
  271. tristate "LPAR Configuration Data"
  272. depends on PPC_PSERIES || PPC_ISERIES
  273. help
  274. Provide system capacity information via human readable
  275. <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
  276. config SECCOMP
  277. bool "Enable seccomp to safely compute untrusted bytecode"
  278. depends on PROC_FS
  279. default y
  280. help
  281. This kernel feature is useful for number crunching applications
  282. that may need to compute untrusted bytecode during their
  283. execution. By using pipes or other transports made available to
  284. the process as file descriptors supporting the read/write
  285. syscalls, it's possible to isolate those applications in
  286. their own address space using seccomp. Once seccomp is
  287. enabled via /proc/<pid>/seccomp, it cannot be disabled
  288. and the task is only allowed to execute a few safe syscalls
  289. defined by each seccomp mode.
  290. If unsure, say Y. Only embedded should say N here.
  291. source "fs/Kconfig.binfmt"
  292. config HOTPLUG_CPU
  293. bool "Support for hot-pluggable CPUs"
  294. depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  295. select HOTPLUG
  296. ---help---
  297. Say Y here to be able to turn CPUs off and on.
  298. Say N if you are unsure.
  299. config PROC_DEVICETREE
  300. bool "Support for Open Firmware device tree in /proc"
  301. help
  302. This option adds a device-tree directory under /proc which contains
  303. an image of the device tree that the kernel copies from Open
  304. Firmware. If unsure, say Y here.
  305. config CMDLINE_BOOL
  306. bool "Default bootloader kernel arguments"
  307. depends on !PPC_ISERIES
  308. config CMDLINE
  309. string "Initial kernel command string"
  310. depends on CMDLINE_BOOL
  311. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  312. help
  313. On some platforms, there is currently no way for the boot loader to
  314. pass arguments to the kernel. For these platforms, you can supply
  315. some command-line options at build time by entering them here. In
  316. most cases you will need to specify the root device here.
  317. endmenu
  318. config ISA_DMA_API
  319. bool
  320. default y
  321. menu "Bus Options"
  322. config ISA
  323. bool
  324. help
  325. Find out whether you have ISA slots on your motherboard. ISA is the
  326. name of a bus system, i.e. the way the CPU talks to the other stuff
  327. inside your box. If you have an Apple machine, say N here; if you
  328. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  329. you have an embedded board, consult your board documentation.
  330. config SBUS
  331. bool
  332. config MCA
  333. bool
  334. config EISA
  335. bool
  336. config PCI
  337. bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
  338. default y
  339. help
  340. Find out whether your system includes a PCI bus. PCI is the name of
  341. a bus system, i.e. the way the CPU talks to the other stuff inside
  342. your box. If you say Y here, the kernel will include drivers and
  343. infrastructure code to support PCI bus devices.
  344. config PCI_DOMAINS
  345. bool
  346. default PCI
  347. source "drivers/pci/Kconfig"
  348. source "drivers/pcmcia/Kconfig"
  349. source "drivers/pci/hotplug/Kconfig"
  350. endmenu
  351. source "net/Kconfig"
  352. source "drivers/Kconfig"
  353. source "fs/Kconfig"
  354. menu "iSeries device drivers"
  355. depends on PPC_ISERIES
  356. config VIOCONS
  357. tristate "iSeries Virtual Console Support"
  358. config VIODASD
  359. tristate "iSeries Virtual I/O disk support"
  360. help
  361. If you are running on an iSeries system and you want to use
  362. virtual disks created and managed by OS/400, say Y.
  363. config VIOCD
  364. tristate "iSeries Virtual I/O CD support"
  365. help
  366. If you are running Linux on an IBM iSeries system and you want to
  367. read a CD drive owned by OS/400, say Y here.
  368. config VIOTAPE
  369. tristate "iSeries Virtual Tape Support"
  370. help
  371. If you are running Linux on an iSeries system and you want Linux
  372. to read and/or write a tape drive owned by OS/400, say Y here.
  373. endmenu
  374. config VIOPATH
  375. bool
  376. depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
  377. default y
  378. source "arch/powerpc/oprofile/Kconfig"
  379. source "arch/ppc64/Kconfig.debug"
  380. source "security/Kconfig"
  381. config KEYS_COMPAT
  382. bool
  383. depends on COMPAT && KEYS
  384. default y
  385. source "crypto/Kconfig"
  386. source "lib/Kconfig"