Kconfig 11 KB

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