Kconfig 10 KB

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