Kconfig 11 KB

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