Kconfig 9.7 KB

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