Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  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_DISCONTIGMEM_ENABLE
  162. def_bool y
  163. depends on SMP && PPC_PSERIES
  164. config ARCH_DISCONTIGMEM_DEFAULT
  165. def_bool y
  166. depends on ARCH_DISCONTIGMEM_ENABLE
  167. config ARCH_FLATMEM_ENABLE
  168. def_bool y
  169. source "mm/Kconfig"
  170. config HAVE_ARCH_EARLY_PFN_TO_NID
  171. bool
  172. default y
  173. # Some NUMA nodes have memory ranges that span
  174. # other nodes. Even though a pfn is valid and
  175. # between a node's start and end pfns, it may not
  176. # reside on that node.
  177. #
  178. # This is a relatively temporary hack that should
  179. # be able to go away when sparsemem is fully in
  180. # place
  181. config NODES_SPAN_OTHER_NODES
  182. def_bool y
  183. depends on NEED_MULTIPLE_NODES
  184. config NUMA
  185. bool "NUMA support"
  186. depends on DISCONTIGMEM
  187. config SCHED_SMT
  188. bool "SMT (Hyperthreading) scheduler support"
  189. depends on SMP
  190. default off
  191. help
  192. SMT scheduler support improves the CPU scheduler's decision making
  193. when dealing with POWER5 cpus at a cost of slightly increased
  194. overhead in some places. If unsure say N here.
  195. config PREEMPT
  196. bool "Preemptible Kernel"
  197. help
  198. This option reduces the latency of the kernel when reacting to
  199. real-time or interactive events by allowing a low priority process to
  200. be preempted even if it is in kernel mode executing a system call.
  201. Say Y here if you are building a kernel for a desktop, embedded
  202. or real-time system. Say N if you are unsure.
  203. config PREEMPT_BKL
  204. bool "Preempt The Big Kernel Lock"
  205. depends on PREEMPT
  206. default y
  207. help
  208. This option reduces the latency of the kernel by making the
  209. big kernel lock preemptible.
  210. Say Y here if you are building a kernel for a desktop system.
  211. Say N if you are unsure.
  212. config EEH
  213. bool "PCI Extended Error Handling (EEH)" if EMBEDDED
  214. depends on PPC_PSERIES
  215. default y if !EMBEDDED
  216. #
  217. # Use the generic interrupt handling code in kernel/irq/:
  218. #
  219. config GENERIC_HARDIRQS
  220. bool
  221. default y
  222. config MSCHUNKS
  223. bool
  224. depends on PPC_ISERIES
  225. default y
  226. config PPC_RTAS
  227. bool
  228. depends on PPC_PSERIES
  229. default y
  230. config RTAS_PROC
  231. bool "Proc interface to RTAS"
  232. depends on PPC_RTAS
  233. default y
  234. config RTAS_FLASH
  235. tristate "Firmware flash interface"
  236. depends on RTAS_PROC
  237. config SCANLOG
  238. tristate "Scanlog dump interface"
  239. depends on RTAS_PROC && PPC_PSERIES
  240. config LPARCFG
  241. tristate "LPAR Configuration Data"
  242. depends on PPC_PSERIES || PPC_ISERIES
  243. help
  244. Provide system capacity information via human readable
  245. <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
  246. config SECCOMP
  247. bool "Enable seccomp to safely compute untrusted bytecode"
  248. depends on PROC_FS
  249. default y
  250. help
  251. This kernel feature is useful for number crunching applications
  252. that may need to compute untrusted bytecode during their
  253. execution. By using pipes or other transports made available to
  254. the process as file descriptors supporting the read/write
  255. syscalls, it's possible to isolate those applications in
  256. their own address space using seccomp. Once seccomp is
  257. enabled via /proc/<pid>/seccomp, it cannot be disabled
  258. and the task is only allowed to execute a few safe syscalls
  259. defined by each seccomp mode.
  260. If unsure, say Y. Only embedded should say N here.
  261. endmenu
  262. config ISA_DMA_API
  263. bool
  264. default y
  265. menu "General setup"
  266. config ISA
  267. bool
  268. help
  269. Find out whether you have ISA slots on your motherboard. ISA is the
  270. name of a bus system, i.e. the way the CPU talks to the other stuff
  271. inside your box. If you have an Apple machine, say N here; if you
  272. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  273. you have an embedded board, consult your board documentation.
  274. config SBUS
  275. bool
  276. config MCA
  277. bool
  278. config EISA
  279. bool
  280. config PCI
  281. bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
  282. default y
  283. help
  284. Find out whether your system includes a PCI bus. PCI is the name of
  285. a bus system, i.e. the way the CPU talks to the other stuff inside
  286. your box. If you say Y here, the kernel will include drivers and
  287. infrastructure code to support PCI bus devices.
  288. config PCI_DOMAINS
  289. bool
  290. default PCI
  291. source "fs/Kconfig.binfmt"
  292. source "drivers/pci/Kconfig"
  293. config HOTPLUG_CPU
  294. bool "Support for hot-pluggable CPUs"
  295. depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  296. select HOTPLUG
  297. ---help---
  298. Say Y here to be able to turn CPUs off and on.
  299. Say N if you are unsure.
  300. source "drivers/pcmcia/Kconfig"
  301. source "drivers/pci/hotplug/Kconfig"
  302. config PROC_DEVICETREE
  303. bool "Support for Open Firmware device tree in /proc"
  304. depends on !PPC_ISERIES
  305. help
  306. This option adds a device-tree directory under /proc which contains
  307. an image of the device tree that the kernel copies from Open
  308. Firmware. If unsure, say Y here.
  309. config CMDLINE_BOOL
  310. bool "Default bootloader kernel arguments"
  311. depends on !PPC_ISERIES
  312. config CMDLINE
  313. string "Initial kernel command string"
  314. depends on CMDLINE_BOOL
  315. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  316. help
  317. On some platforms, there is currently no way for the boot loader to
  318. pass arguments to the kernel. For these platforms, you can supply
  319. some command-line options at build time by entering them here. In
  320. most cases you will need to specify the root device here.
  321. endmenu
  322. source "drivers/Kconfig"
  323. source "fs/Kconfig"
  324. menu "iSeries device drivers"
  325. depends on PPC_ISERIES
  326. config VIOCONS
  327. tristate "iSeries Virtual Console Support"
  328. config VIODASD
  329. tristate "iSeries Virtual I/O disk support"
  330. help
  331. If you are running on an iSeries system and you want to use
  332. virtual disks created and managed by OS/400, say Y.
  333. config VIOCD
  334. tristate "iSeries Virtual I/O CD support"
  335. help
  336. If you are running Linux on an IBM iSeries system and you want to
  337. read a CD drive owned by OS/400, say Y here.
  338. config VIOTAPE
  339. tristate "iSeries Virtual Tape Support"
  340. help
  341. If you are running Linux on an iSeries system and you want Linux
  342. to read and/or write a tape drive owned by OS/400, say Y here.
  343. endmenu
  344. config VIOPATH
  345. bool
  346. depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
  347. default y
  348. source "arch/ppc64/oprofile/Kconfig"
  349. source "arch/ppc64/Kconfig.debug"
  350. source "security/Kconfig"
  351. config KEYS_COMPAT
  352. bool
  353. depends on COMPAT && KEYS
  354. default y
  355. source "crypto/Kconfig"
  356. source "lib/Kconfig"