Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  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 ACPI
  49. select NUMA
  50. select ACPI_NUMA
  51. help
  52. This selects the system type of your hardware. A "generic" kernel
  53. will run on any supported IA-64 system. However, if you configure
  54. a kernel for your specific system, it will be faster and smaller.
  55. generic For any supported IA-64 system
  56. DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
  57. HP-zx1/sx1000 For HP systems
  58. HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
  59. SGI-SN2 For SGI Altix systems
  60. Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
  61. If you don't know what to do, choose "generic".
  62. config IA64_DIG
  63. bool "DIG-compliant"
  64. config IA64_HP_ZX1
  65. bool "HP-zx1/sx1000"
  66. help
  67. Build a kernel that runs on HP zx1 and sx1000 systems. This adds
  68. support for the HP I/O MMU.
  69. config IA64_HP_ZX1_SWIOTLB
  70. bool "HP-zx1/sx1000 with software I/O TLB"
  71. help
  72. Build a kernel that runs on HP zx1 and sx1000 systems even when they
  73. have broken PCI devices which cannot DMA to full 32 bits. Apart
  74. from support for the HP I/O MMU, this includes support for the software
  75. I/O TLB, which allows supporting the broken devices at the expense of
  76. wasting some kernel memory (about 2MB by default).
  77. config IA64_SGI_SN2
  78. bool "SGI-SN2"
  79. help
  80. Selecting this option will optimize the kernel for use on sn2 based
  81. systems, but the resulting kernel binary will not run on other
  82. types of ia64 systems. If you have an SGI Altix system, it's safe
  83. to select this option. If in doubt, select ia64 generic support
  84. instead.
  85. config IA64_HP_SIM
  86. bool "Ski-simulator"
  87. endchoice
  88. choice
  89. prompt "Processor type"
  90. default ITANIUM
  91. config ITANIUM
  92. bool "Itanium"
  93. help
  94. Select your IA-64 processor type. The default is Itanium.
  95. This choice is safe for all IA-64 systems, but may not perform
  96. optimally on systems with, say, Itanium 2 or newer processors.
  97. config MCKINLEY
  98. bool "Itanium 2"
  99. help
  100. Select this to configure for an Itanium 2 (McKinley) processor.
  101. endchoice
  102. choice
  103. prompt "Kernel page size"
  104. default IA64_PAGE_SIZE_16KB
  105. config IA64_PAGE_SIZE_4KB
  106. bool "4KB"
  107. help
  108. This lets you select the page size of the kernel. For best IA-64
  109. performance, a page size of 8KB or 16KB is recommended. For best
  110. IA-32 compatibility, a page size of 4KB should be selected (the vast
  111. majority of IA-32 binaries work perfectly fine with a larger page
  112. size). For Itanium 2 or newer systems, a page size of 64KB can also
  113. be selected.
  114. 4KB For best IA-32 compatibility
  115. 8KB For best IA-64 performance
  116. 16KB For best IA-64 performance
  117. 64KB Requires Itanium 2 or newer processor.
  118. If you don't know what to do, choose 16KB.
  119. config IA64_PAGE_SIZE_8KB
  120. bool "8KB"
  121. config IA64_PAGE_SIZE_16KB
  122. bool "16KB"
  123. config IA64_PAGE_SIZE_64KB
  124. depends on !ITANIUM
  125. bool "64KB"
  126. endchoice
  127. source kernel/Kconfig.hz
  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 IA64_CYCLONE
  139. bool "Cyclone (EXA) Time Source support"
  140. help
  141. Say Y here to enable support for IBM EXA Cyclone time source.
  142. If you're unsure, answer N.
  143. config IOSAPIC
  144. bool
  145. depends on !IA64_HP_SIM
  146. default y
  147. config IA64_SGI_SN_XP
  148. tristate "Support communication between SGI SSIs"
  149. select IA64_UNCACHED_ALLOCATOR
  150. help
  151. An SGI machine can be divided into multiple Single System
  152. Images which act independently of each other and have
  153. hardware based memory protection from the others. Enabling
  154. this feature will allow for direct communication between SSIs
  155. based on a network adapter and DMA messaging.
  156. config FORCE_MAX_ZONEORDER
  157. int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
  158. range 11 17 if !HUGETLB_PAGE
  159. default "17" if HUGETLB_PAGE
  160. default "11"
  161. config SMP
  162. bool "Symmetric multi-processing support"
  163. help
  164. This enables support for systems with more than one CPU. If you have
  165. a system with only one CPU, say N. If you have a system with more
  166. than one CPU, say Y.
  167. If you say N here, the kernel will run on single and multiprocessor
  168. systems, but will use only one CPU of a multiprocessor system. If
  169. you say Y here, the kernel will run on many, but not all,
  170. single processor systems. On a single processor system, the kernel
  171. will run faster if you say N here.
  172. See also the <file:Documentation/smp.txt> and the SMP-HOWTO
  173. available at <http://www.tldp.org/docs.html#howto>.
  174. If you don't know what to do here, say N.
  175. config NR_CPUS
  176. int "Maximum number of CPUs (2-1024)"
  177. range 2 1024
  178. depends on SMP
  179. default "64"
  180. help
  181. You should set this to the number of CPUs in your system, but
  182. keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
  183. only use 2 CPUs on a >2 CPU system. Setting this to a value larger
  184. than 64 will cause the use of a CPU mask array, causing a small
  185. performance hit.
  186. config HOTPLUG_CPU
  187. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  188. depends on SMP && EXPERIMENTAL
  189. select HOTPLUG
  190. default n
  191. ---help---
  192. Say Y here to experiment with turning CPUs off and on. CPUs
  193. can be controlled through /sys/devices/system/cpu/cpu#.
  194. Say N if you want to disable CPU hotplug.
  195. config SCHED_SMT
  196. bool "SMT scheduler support"
  197. depends on SMP
  198. default off
  199. help
  200. Improves the CPU scheduler's decision making when dealing with
  201. Intel IA64 chips with MultiThreading at a cost of slightly increased
  202. overhead in some places. If unsure say N here.
  203. config PREEMPT
  204. bool "Preemptible Kernel"
  205. help
  206. This option reduces the latency of the kernel when reacting to
  207. real-time or interactive events by allowing a low priority process to
  208. be preempted even if it is in kernel mode executing a system call.
  209. This allows applications to run more reliably even when the system is
  210. under load.
  211. Say Y here if you are building a kernel for a desktop, embedded
  212. or real-time system. Say N if you are unsure.
  213. source "mm/Kconfig"
  214. config ARCH_SELECT_MEMORY_MODEL
  215. def_bool y
  216. config ARCH_DISCONTIGMEM_ENABLE
  217. def_bool y
  218. help
  219. Say Y to support efficient handling of discontiguous physical memory,
  220. for architectures which are either NUMA (Non-Uniform Memory Access)
  221. or have huge holes in the physical address space for other reasons.
  222. See <file:Documentation/vm/numa> for more.
  223. config ARCH_FLATMEM_ENABLE
  224. def_bool y
  225. config ARCH_SPARSEMEM_ENABLE
  226. def_bool y
  227. depends on ARCH_DISCONTIGMEM_ENABLE
  228. config ARCH_DISCONTIGMEM_DEFAULT
  229. def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
  230. depends on ARCH_DISCONTIGMEM_ENABLE
  231. config NUMA
  232. bool "NUMA support"
  233. depends on !IA64_HP_SIM && !FLATMEM
  234. default y if IA64_SGI_SN2
  235. help
  236. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  237. Access). This option is for configuring high-end multiprocessor
  238. server systems. If in doubt, say N.
  239. # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
  240. # VIRTUAL_MEM_MAP has been retained for historical reasons.
  241. config VIRTUAL_MEM_MAP
  242. bool "Virtual mem map"
  243. depends on !SPARSEMEM
  244. default y if !IA64_HP_SIM
  245. help
  246. Say Y to compile the kernel with support for a virtual mem map.
  247. This code also only takes effect if a memory hole of greater than
  248. 1 Gb is found during boot. You must turn this option on if you
  249. require the DISCONTIGMEM option for your machine. If you are
  250. unsure, say Y.
  251. config HOLES_IN_ZONE
  252. bool
  253. default y if VIRTUAL_MEM_MAP
  254. config HAVE_ARCH_EARLY_PFN_TO_NID
  255. def_bool y
  256. depends on NEED_MULTIPLE_NODES
  257. config IA32_SUPPORT
  258. bool "Support for Linux/x86 binaries"
  259. help
  260. IA-64 processors can execute IA-32 (X86) instructions. By
  261. saying Y here, the kernel will include IA-32 system call
  262. emulation support which makes it possible to transparently
  263. run IA-32 Linux binaries on an IA-64 Linux system.
  264. If in doubt, say Y.
  265. config COMPAT
  266. bool
  267. depends on IA32_SUPPORT
  268. default y
  269. config IA64_MCA_RECOVERY
  270. tristate "MCA recovery from errors other than TLB."
  271. config PERFMON
  272. bool "Performance monitor support"
  273. help
  274. Selects whether support for the IA-64 performance monitor hardware
  275. is included in the kernel. This makes some kernel data-structures a
  276. little bigger and slows down execution a bit, but it is generally
  277. a good idea to turn this on. If you're unsure, say Y.
  278. config IA64_PALINFO
  279. tristate "/proc/pal support"
  280. help
  281. If you say Y here, you are able to get PAL (Processor Abstraction
  282. Layer) information in /proc/pal. This contains useful information
  283. about the processors in your systems, such as cache and TLB sizes
  284. and the PAL firmware version in use.
  285. To use this option, you have to ensure that the "/proc file system
  286. support" (CONFIG_PROC_FS) is enabled, too.
  287. source "drivers/firmware/Kconfig"
  288. source "fs/Kconfig.binfmt"
  289. endmenu
  290. menu "Power management and ACPI"
  291. source "kernel/power/Kconfig"
  292. source "drivers/acpi/Kconfig"
  293. if PM
  294. source "arch/ia64/kernel/cpufreq/Kconfig"
  295. endif
  296. endmenu
  297. if !IA64_HP_SIM
  298. menu "Bus options (PCI, PCMCIA)"
  299. config PCI
  300. bool "PCI support"
  301. help
  302. Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
  303. here unless you are using a simulator without PCI support.
  304. config PCI_DOMAINS
  305. bool
  306. default PCI
  307. source "drivers/pci/Kconfig"
  308. source "drivers/pci/hotplug/Kconfig"
  309. source "drivers/pcmcia/Kconfig"
  310. endmenu
  311. endif
  312. source "net/Kconfig"
  313. source "drivers/Kconfig"
  314. source "fs/Kconfig"
  315. source "lib/Kconfig"
  316. #
  317. # Use the generic interrupt handling code in kernel/irq/:
  318. #
  319. config GENERIC_HARDIRQS
  320. bool
  321. default y
  322. config GENERIC_IRQ_PROBE
  323. bool
  324. default y
  325. config GENERIC_PENDING_IRQ
  326. bool
  327. depends on GENERIC_HARDIRQS && SMP
  328. default y
  329. source "arch/ia64/hp/sim/Kconfig"
  330. source "arch/ia64/oprofile/Kconfig"
  331. source "arch/ia64/Kconfig.debug"
  332. source "security/Kconfig"
  333. source "crypto/Kconfig"