Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "IA-64 Linux Kernel Configuration"
  6. source "init/Kconfig"
  7. menu "Processor type and features"
  8. config IA64
  9. bool
  10. default y
  11. help
  12. The Itanium Processor Family is Intel's 64-bit successor to
  13. the 32-bit X86 line. The IA-64 Linux project has a home
  14. page at <http://www.linuxia64.org/> and a mailing list at
  15. <linux-ia64@vger.kernel.org>.
  16. config 64BIT
  17. bool
  18. default y
  19. config MMU
  20. bool
  21. default y
  22. config RWSEM_XCHGADD_ALGORITHM
  23. bool
  24. default y
  25. config GENERIC_CALIBRATE_DELAY
  26. bool
  27. default y
  28. config TIME_INTERPOLATION
  29. bool
  30. default y
  31. config EFI
  32. bool
  33. default y
  34. config GENERIC_IOMAP
  35. bool
  36. default y
  37. config SCHED_NO_NO_OMIT_FRAME_POINTER
  38. bool
  39. default y
  40. config IA64_UNCACHED_ALLOCATOR
  41. bool
  42. select GENERIC_ALLOCATOR
  43. choice
  44. prompt "System type"
  45. default IA64_GENERIC
  46. config IA64_GENERIC
  47. bool "generic"
  48. select NUMA
  49. select ACPI_NUMA
  50. select VIRTUAL_MEM_MAP
  51. select DISCONTIGMEM
  52. help
  53. This selects the system type of your hardware. A "generic" kernel
  54. will run on any supported IA-64 system. However, if you configure
  55. a kernel for your specific system, it will be faster and smaller.
  56. generic For any supported IA-64 system
  57. DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
  58. HP-zx1/sx1000 For HP systems
  59. HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
  60. SGI-SN2 For SGI Altix systems
  61. Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
  62. If you don't know what to do, choose "generic".
  63. config IA64_DIG
  64. bool "DIG-compliant"
  65. config IA64_HP_ZX1
  66. bool "HP-zx1/sx1000"
  67. help
  68. Build a kernel that runs on HP zx1 and sx1000 systems. This adds
  69. support for the HP I/O MMU.
  70. config IA64_HP_ZX1_SWIOTLB
  71. bool "HP-zx1/sx1000 with software I/O TLB"
  72. help
  73. Build a kernel that runs on HP zx1 and sx1000 systems even when they
  74. have broken PCI devices which cannot DMA to full 32 bits. Apart
  75. from support for the HP I/O MMU, this includes support for the software
  76. I/O TLB, which allows supporting the broken devices at the expense of
  77. wasting some kernel memory (about 2MB by default).
  78. config IA64_SGI_SN2
  79. bool "SGI-SN2"
  80. help
  81. Selecting this option will optimize the kernel for use on sn2 based
  82. systems, but the resulting kernel binary will not run on other
  83. types of ia64 systems. If you have an SGI Altix system, it's safe
  84. to select this option. If in doubt, select ia64 generic support
  85. instead.
  86. config IA64_HP_SIM
  87. bool "Ski-simulator"
  88. endchoice
  89. choice
  90. prompt "Processor type"
  91. default ITANIUM
  92. config ITANIUM
  93. bool "Itanium"
  94. help
  95. Select your IA-64 processor type. The default is Itanium.
  96. This choice is safe for all IA-64 systems, but may not perform
  97. optimally on systems with, say, Itanium 2 or newer processors.
  98. config MCKINLEY
  99. bool "Itanium 2"
  100. help
  101. Select this to configure for an Itanium 2 (McKinley) processor.
  102. endchoice
  103. choice
  104. prompt "Kernel page size"
  105. default IA64_PAGE_SIZE_16KB
  106. config IA64_PAGE_SIZE_4KB
  107. bool "4KB"
  108. help
  109. This lets you select the page size of the kernel. For best IA-64
  110. performance, a page size of 8KB or 16KB is recommended. For best
  111. IA-32 compatibility, a page size of 4KB should be selected (the vast
  112. majority of IA-32 binaries work perfectly fine with a larger page
  113. size). For Itanium 2 or newer systems, a page size of 64KB can also
  114. be selected.
  115. 4KB For best IA-32 compatibility
  116. 8KB For best IA-64 performance
  117. 16KB For best IA-64 performance
  118. 64KB Requires Itanium 2 or newer processor.
  119. If you don't know what to do, choose 16KB.
  120. config IA64_PAGE_SIZE_8KB
  121. bool "8KB"
  122. config IA64_PAGE_SIZE_16KB
  123. bool "16KB"
  124. config IA64_PAGE_SIZE_64KB
  125. depends on !ITANIUM
  126. bool "64KB"
  127. endchoice
  128. config IA64_BRL_EMU
  129. bool
  130. depends on ITANIUM
  131. default y
  132. # align cache-sensitive data to 128 bytes
  133. config IA64_L1_CACHE_SHIFT
  134. int
  135. default "7" if MCKINLEY
  136. default "6" if ITANIUM
  137. # align cache-sensitive data to 64 bytes
  138. config NUMA
  139. bool "NUMA support"
  140. depends on !IA64_HP_SIM
  141. default y if IA64_SGI_SN2
  142. select ACPI_NUMA
  143. help
  144. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  145. Access). This option is for configuring high-end multiprocessor
  146. server systems. If in doubt, say N.
  147. config VIRTUAL_MEM_MAP
  148. bool "Virtual mem map"
  149. default y if !IA64_HP_SIM
  150. help
  151. Say Y to compile the kernel with support for a virtual mem map.
  152. This code also only takes effect if a memory hole of greater than
  153. 1 Gb is found during boot. You must turn this option on if you
  154. require the DISCONTIGMEM option for your machine. If you are
  155. unsure, say Y.
  156. config HOLES_IN_ZONE
  157. bool
  158. default y if VIRTUAL_MEM_MAP
  159. config DISCONTIGMEM
  160. bool "Discontiguous memory support"
  161. depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) && NUMA && VIRTUAL_MEM_MAP
  162. default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA
  163. help
  164. Say Y to support efficient handling of discontiguous physical memory,
  165. for architectures which are either NUMA (Non-Uniform Memory Access)
  166. or have huge holes in the physical address space for other reasons.
  167. See <file:Documentation/vm/numa> for more.
  168. config IA64_CYCLONE
  169. bool "Cyclone (EXA) Time Source support"
  170. help
  171. Say Y here to enable support for IBM EXA Cyclone time source.
  172. If you're unsure, answer N.
  173. config IOSAPIC
  174. bool
  175. depends on !IA64_HP_SIM
  176. default y
  177. config IA64_SGI_SN_SIM
  178. bool "SGI Medusa Simulator Support"
  179. depends on IA64_SGI_SN2
  180. help
  181. If you are compiling a kernel that will run under SGI's IA-64
  182. simulator (Medusa) then say Y, otherwise say N.
  183. config IA64_SGI_SN_XP
  184. tristate "Support communication between SGI SSIs"
  185. select IA64_UNCACHED_ALLOCATOR
  186. help
  187. An SGI machine can be divided into multiple Single System
  188. Images which act independently of each other and have
  189. hardware based memory protection from the others. Enabling
  190. this feature will allow for direct communication between SSIs
  191. based on a network adapter and DMA messaging.
  192. config FORCE_MAX_ZONEORDER
  193. int
  194. default "18"
  195. config SMP
  196. bool "Symmetric multi-processing support"
  197. help
  198. This enables support for systems with more than one CPU. If you have
  199. a system with only one CPU, say N. If you have a system with more
  200. than one CPU, say Y.
  201. If you say N here, the kernel will run on single and multiprocessor
  202. systems, but will use only one CPU of a multiprocessor system. If
  203. you say Y here, the kernel will run on many, but not all,
  204. single processor systems. On a single processor system, the kernel
  205. will run faster if you say N here.
  206. See also the <file:Documentation/smp.txt> and the SMP-HOWTO
  207. available at <http://www.tldp.org/docs.html#howto>.
  208. If you don't know what to do here, say N.
  209. config NR_CPUS
  210. int "Maximum number of CPUs (2-512)"
  211. range 2 512
  212. depends on SMP
  213. default "64"
  214. help
  215. You should set this to the number of CPUs in your system, but
  216. keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
  217. only use 2 CPUs on a >2 CPU system. Setting this to a value larger
  218. than 64 will cause the use of a CPU mask array, causing a small
  219. performance hit.
  220. config HOTPLUG_CPU
  221. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  222. depends on SMP && EXPERIMENTAL
  223. select HOTPLUG
  224. default n
  225. ---help---
  226. Say Y here to experiment with turning CPUs off and on. CPUs
  227. can be controlled through /sys/devices/system/cpu/cpu#.
  228. Say N if you want to disable CPU hotplug.
  229. config SCHED_SMT
  230. bool "SMT scheduler support"
  231. depends on SMP
  232. default off
  233. help
  234. Improves the CPU scheduler's decision making when dealing with
  235. Intel IA64 chips with MultiThreading at a cost of slightly increased
  236. overhead in some places. If unsure say N here.
  237. config PREEMPT
  238. bool "Preemptible Kernel"
  239. help
  240. This option reduces the latency of the kernel when reacting to
  241. real-time or interactive events by allowing a low priority process to
  242. be preempted even if it is in kernel mode executing a system call.
  243. This allows applications to run more reliably even when the system is
  244. under load.
  245. Say Y here if you are building a kernel for a desktop, embedded
  246. or real-time system. Say N if you are unsure.
  247. config HAVE_DEC_LOCK
  248. bool
  249. depends on (SMP || PREEMPT)
  250. default y
  251. config IA32_SUPPORT
  252. bool "Support for Linux/x86 binaries"
  253. help
  254. IA-64 processors can execute IA-32 (X86) instructions. By
  255. saying Y here, the kernel will include IA-32 system call
  256. emulation support which makes it possible to transparently
  257. run IA-32 Linux binaries on an IA-64 Linux system.
  258. If in doubt, say Y.
  259. config COMPAT
  260. bool
  261. depends on IA32_SUPPORT
  262. default y
  263. config IA64_MCA_RECOVERY
  264. tristate "MCA recovery from errors other than TLB."
  265. config PERFMON
  266. bool "Performance monitor support"
  267. help
  268. Selects whether support for the IA-64 performance monitor hardware
  269. is included in the kernel. This makes some kernel data-structures a
  270. little bigger and slows down execution a bit, but it is generally
  271. a good idea to turn this on. If you're unsure, say Y.
  272. config IA64_PALINFO
  273. tristate "/proc/pal support"
  274. help
  275. If you say Y here, you are able to get PAL (Processor Abstraction
  276. Layer) information in /proc/pal. This contains useful information
  277. about the processors in your systems, such as cache and TLB sizes
  278. and the PAL firmware version in use.
  279. To use this option, you have to ensure that the "/proc file system
  280. support" (CONFIG_PROC_FS) is enabled, too.
  281. config ACPI_DEALLOCATE_IRQ
  282. bool
  283. depends on IOSAPIC && EXPERIMENTAL
  284. default y
  285. source "drivers/firmware/Kconfig"
  286. source "fs/Kconfig.binfmt"
  287. endmenu
  288. menu "Power management and ACPI"
  289. config PM
  290. bool "Power Management support"
  291. depends on !IA64_HP_SIM
  292. default y
  293. help
  294. "Power Management" means that parts of your computer are shut
  295. off or put into a power conserving "sleep" mode if they are not
  296. being used. There are two competing standards for doing this: APM
  297. and ACPI. If you want to use either one, say Y here and then also
  298. to the requisite support below.
  299. Power Management is most important for battery powered laptop
  300. computers; if you have a laptop, check out the Linux Laptop home
  301. page on the WWW at <http://www.linux-on-laptops.com/> and the
  302. Battery Powered Linux mini-HOWTO, available from
  303. <http://www.tldp.org/docs.html#howto>.
  304. Note that, even if you say N here, Linux on the x86 architecture
  305. will issue the hlt instruction if nothing is to be done, thereby
  306. sending the processor to sleep and saving power.
  307. config ACPI
  308. bool
  309. depends on !IA64_HP_SIM
  310. default y
  311. if !IA64_HP_SIM
  312. source "drivers/acpi/Kconfig"
  313. endif
  314. endmenu
  315. if !IA64_HP_SIM
  316. menu "Bus options (PCI, PCMCIA)"
  317. config PCI
  318. bool "PCI support"
  319. help
  320. Find out whether you have a PCI motherboard. PCI is the name of a
  321. bus system, i.e. the way the CPU talks to the other stuff inside
  322. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  323. VESA. If you have PCI, say Y, otherwise N.
  324. The PCI-HOWTO, available from
  325. <http://www.tldp.org/docs.html#howto>, contains valuable
  326. information about which PCI hardware does work under Linux and which
  327. doesn't.
  328. config PCI_DOMAINS
  329. bool
  330. default PCI
  331. source "drivers/pci/Kconfig"
  332. source "drivers/pci/hotplug/Kconfig"
  333. source "drivers/pcmcia/Kconfig"
  334. endmenu
  335. endif
  336. source "drivers/Kconfig"
  337. source "fs/Kconfig"
  338. source "lib/Kconfig"
  339. #
  340. # Use the generic interrupt handling code in kernel/irq/:
  341. #
  342. config GENERIC_HARDIRQS
  343. bool
  344. default y
  345. config GENERIC_IRQ_PROBE
  346. bool
  347. default y
  348. source "arch/ia64/hp/sim/Kconfig"
  349. source "arch/ia64/oprofile/Kconfig"
  350. source "arch/ia64/Kconfig.debug"
  351. source "security/Kconfig"
  352. source "crypto/Kconfig"