Kconfig 9.5 KB

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