Kconfig 11 KB

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