Kconfig 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  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. default y
  214. config RTAS_FLASH
  215. tristate "Firmware flash interface"
  216. depends on RTAS_PROC
  217. config SCANLOG
  218. tristate "Scanlog dump interface"
  219. depends on RTAS_PROC && PPC_PSERIES
  220. config LPARCFG
  221. tristate "LPAR Configuration Data"
  222. depends on PPC_PSERIES || PPC_ISERIES
  223. help
  224. Provide system capacity information via human readable
  225. <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
  226. config SECCOMP
  227. bool "Enable seccomp to safely compute untrusted bytecode"
  228. depends on PROC_FS
  229. default y
  230. help
  231. This kernel feature is useful for number crunching applications
  232. that may need to compute untrusted bytecode during their
  233. execution. By using pipes or other transports made available to
  234. the process as file descriptors supporting the read/write
  235. syscalls, it's possible to isolate those applications in
  236. their own address space using seccomp. Once seccomp is
  237. enabled via /proc/<pid>/seccomp, it cannot be disabled
  238. and the task is only allowed to execute a few safe syscalls
  239. defined by each seccomp mode.
  240. If unsure, say Y. Only embedded should say N here.
  241. endmenu
  242. config ISA_DMA_API
  243. bool
  244. default y
  245. menu "General setup"
  246. config ISA
  247. bool
  248. help
  249. Find out whether you have ISA slots on your motherboard. ISA is the
  250. name of a bus system, i.e. the way the CPU talks to the other stuff
  251. inside your box. If you have an Apple machine, say N here; if you
  252. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  253. you have an embedded board, consult your board documentation.
  254. config SBUS
  255. bool
  256. config MCA
  257. bool
  258. config EISA
  259. bool
  260. config PCI
  261. bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
  262. default y
  263. help
  264. Find out whether your system includes a PCI bus. PCI is the name of
  265. a bus system, i.e. the way the CPU talks to the other stuff inside
  266. your box. If you say Y here, the kernel will include drivers and
  267. infrastructure code to support PCI bus devices.
  268. config PCI_DOMAINS
  269. bool
  270. default PCI
  271. source "fs/Kconfig.binfmt"
  272. source "drivers/pci/Kconfig"
  273. config HOTPLUG_CPU
  274. bool "Support for hot-pluggable CPUs"
  275. depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  276. select HOTPLUG
  277. ---help---
  278. Say Y here to be able to turn CPUs off and on.
  279. Say N if you are unsure.
  280. source "drivers/pcmcia/Kconfig"
  281. source "drivers/pci/hotplug/Kconfig"
  282. config PROC_DEVICETREE
  283. bool "Support for Open Firmware device tree in /proc"
  284. depends on !PPC_ISERIES
  285. help
  286. This option adds a device-tree directory under /proc which contains
  287. an image of the device tree that the kernel copies from Open
  288. Firmware. If unsure, say Y here.
  289. config CMDLINE_BOOL
  290. bool "Default bootloader kernel arguments"
  291. depends on !PPC_ISERIES
  292. config CMDLINE
  293. string "Initial kernel command string"
  294. depends on CMDLINE_BOOL
  295. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  296. help
  297. On some platforms, there is currently no way for the boot loader to
  298. pass arguments to the kernel. For these platforms, you can supply
  299. some command-line options at build time by entering them here. In
  300. most cases you will need to specify the root device here.
  301. endmenu
  302. source "drivers/Kconfig"
  303. source "fs/Kconfig"
  304. menu "iSeries device drivers"
  305. depends on PPC_ISERIES
  306. config VIOCONS
  307. tristate "iSeries Virtual Console Support"
  308. config VIODASD
  309. tristate "iSeries Virtual I/O disk support"
  310. help
  311. If you are running on an iSeries system and you want to use
  312. virtual disks created and managed by OS/400, say Y.
  313. config VIOCD
  314. tristate "iSeries Virtual I/O CD support"
  315. help
  316. If you are running Linux on an IBM iSeries system and you want to
  317. read a CD drive owned by OS/400, say Y here.
  318. config VIOTAPE
  319. tristate "iSeries Virtual Tape Support"
  320. help
  321. If you are running Linux on an iSeries system and you want Linux
  322. to read and/or write a tape drive owned by OS/400, say Y here.
  323. endmenu
  324. config VIOPATH
  325. bool
  326. depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
  327. default y
  328. source "arch/ppc64/oprofile/Kconfig"
  329. source "arch/ppc64/Kconfig.debug"
  330. source "security/Kconfig"
  331. config KEYS_COMPAT
  332. bool
  333. depends on COMPAT && KEYS
  334. default y
  335. source "crypto/Kconfig"
  336. source "lib/Kconfig"