Kconfig 9.6 KB

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