Kconfig 11 KB

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