/arch/ia64/Kconfig

https://bitbucket.org/evzijst/gittest · #! · 420 lines · 329 code · 91 blank · 0 comment · 0 complexity · 48b7ee5ccd50aa97bebc318f7608f529 MD5 · raw file

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