Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  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. select PCI if (!IA64_HP_SIM)
  11. select ACPI if (!IA64_HP_SIM)
  12. default y
  13. help
  14. The Itanium Processor Family is Intel's 64-bit successor to
  15. the 32-bit X86 line. The IA-64 Linux project has a home
  16. page at <http://www.linuxia64.org/> and a mailing list at
  17. <linux-ia64@vger.kernel.org>.
  18. config 64BIT
  19. bool
  20. select ATA_NONSTANDARD if ATA
  21. default y
  22. config ZONE_DMA
  23. def_bool y
  24. depends on !IA64_SGI_SN2
  25. config MMU
  26. bool
  27. default y
  28. config SWIOTLB
  29. bool
  30. config RWSEM_XCHGADD_ALGORITHM
  31. bool
  32. default y
  33. config ARCH_HAS_ILOG2_U32
  34. bool
  35. default n
  36. config ARCH_HAS_ILOG2_U64
  37. bool
  38. default n
  39. config GENERIC_FIND_NEXT_BIT
  40. bool
  41. default y
  42. config GENERIC_CALIBRATE_DELAY
  43. bool
  44. default y
  45. config TIME_INTERPOLATION
  46. bool
  47. default y
  48. config DMI
  49. bool
  50. default y
  51. config EFI
  52. bool
  53. default y
  54. config GENERIC_IOMAP
  55. bool
  56. default y
  57. config SCHED_NO_NO_OMIT_FRAME_POINTER
  58. bool
  59. default y
  60. config IA64_UNCACHED_ALLOCATOR
  61. bool
  62. select GENERIC_ALLOCATOR
  63. config AUDIT_ARCH
  64. bool
  65. default y
  66. choice
  67. prompt "System type"
  68. default IA64_GENERIC
  69. config IA64_GENERIC
  70. bool "generic"
  71. select NUMA
  72. select ACPI_NUMA
  73. select SWIOTLB
  74. help
  75. This selects the system type of your hardware. A "generic" kernel
  76. will run on any supported IA-64 system. However, if you configure
  77. a kernel for your specific system, it will be faster and smaller.
  78. generic For any supported IA-64 system
  79. DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
  80. HP-zx1/sx1000 For HP systems
  81. HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
  82. SGI-SN2 For SGI Altix systems
  83. Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
  84. If you don't know what to do, choose "generic".
  85. config IA64_DIG
  86. bool "DIG-compliant"
  87. select SWIOTLB
  88. config IA64_HP_ZX1
  89. bool "HP-zx1/sx1000"
  90. help
  91. Build a kernel that runs on HP zx1 and sx1000 systems. This adds
  92. support for the HP I/O MMU.
  93. config IA64_HP_ZX1_SWIOTLB
  94. bool "HP-zx1/sx1000 with software I/O TLB"
  95. select SWIOTLB
  96. help
  97. Build a kernel that runs on HP zx1 and sx1000 systems even when they
  98. have broken PCI devices which cannot DMA to full 32 bits. Apart
  99. from support for the HP I/O MMU, this includes support for the software
  100. I/O TLB, which allows supporting the broken devices at the expense of
  101. wasting some kernel memory (about 2MB by default).
  102. config IA64_SGI_SN2
  103. bool "SGI-SN2"
  104. help
  105. Selecting this option will optimize the kernel for use on sn2 based
  106. systems, but the resulting kernel binary will not run on other
  107. types of ia64 systems. If you have an SGI Altix system, it's safe
  108. to select this option. If in doubt, select ia64 generic support
  109. instead.
  110. config IA64_HP_SIM
  111. bool "Ski-simulator"
  112. select SWIOTLB
  113. endchoice
  114. choice
  115. prompt "Processor type"
  116. default ITANIUM
  117. config ITANIUM
  118. bool "Itanium"
  119. help
  120. Select your IA-64 processor type. The default is Itanium.
  121. This choice is safe for all IA-64 systems, but may not perform
  122. optimally on systems with, say, Itanium 2 or newer processors.
  123. config MCKINLEY
  124. bool "Itanium 2"
  125. help
  126. Select this to configure for an Itanium 2 (McKinley) processor.
  127. endchoice
  128. choice
  129. prompt "Kernel page size"
  130. default IA64_PAGE_SIZE_16KB
  131. config IA64_PAGE_SIZE_4KB
  132. bool "4KB"
  133. help
  134. This lets you select the page size of the kernel. For best IA-64
  135. performance, a page size of 8KB or 16KB is recommended. For best
  136. IA-32 compatibility, a page size of 4KB should be selected (the vast
  137. majority of IA-32 binaries work perfectly fine with a larger page
  138. size). For Itanium 2 or newer systems, a page size of 64KB can also
  139. be selected.
  140. 4KB For best IA-32 compatibility
  141. 8KB For best IA-64 performance
  142. 16KB For best IA-64 performance
  143. 64KB Requires Itanium 2 or newer processor.
  144. If you don't know what to do, choose 16KB.
  145. config IA64_PAGE_SIZE_8KB
  146. bool "8KB"
  147. config IA64_PAGE_SIZE_16KB
  148. bool "16KB"
  149. config IA64_PAGE_SIZE_64KB
  150. depends on !ITANIUM
  151. bool "64KB"
  152. endchoice
  153. choice
  154. prompt "Page Table Levels"
  155. default PGTABLE_3
  156. config PGTABLE_3
  157. bool "3 Levels"
  158. config PGTABLE_4
  159. depends on !IA64_PAGE_SIZE_64KB
  160. bool "4 Levels"
  161. endchoice
  162. source kernel/Kconfig.hz
  163. config IA64_BRL_EMU
  164. bool
  165. depends on ITANIUM
  166. default y
  167. # align cache-sensitive data to 128 bytes
  168. config IA64_L1_CACHE_SHIFT
  169. int
  170. default "7" if MCKINLEY
  171. default "6" if ITANIUM
  172. config IA64_CYCLONE
  173. bool "Cyclone (EXA) Time Source support"
  174. help
  175. Say Y here to enable support for IBM EXA Cyclone time source.
  176. If you're unsure, answer N.
  177. config IOSAPIC
  178. bool
  179. depends on !IA64_HP_SIM
  180. default y
  181. config IA64_SGI_SN_XP
  182. tristate "Support communication between SGI SSIs"
  183. depends on IA64_GENERIC || IA64_SGI_SN2
  184. select IA64_UNCACHED_ALLOCATOR
  185. help
  186. An SGI machine can be divided into multiple Single System
  187. Images which act independently of each other and have
  188. hardware based memory protection from the others. Enabling
  189. this feature will allow for direct communication between SSIs
  190. based on a network adapter and DMA messaging.
  191. config FORCE_MAX_ZONEORDER
  192. int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
  193. range 11 17 if !HUGETLB_PAGE
  194. default "17" if HUGETLB_PAGE
  195. default "11"
  196. config SMP
  197. bool "Symmetric multi-processing support"
  198. help
  199. This enables support for systems with more than one CPU. If you have
  200. a system with only one CPU, say N. If you have a system with more
  201. than one CPU, say Y.
  202. If you say N here, the kernel will run on single and multiprocessor
  203. systems, but will use only one CPU of a multiprocessor system. If
  204. you say Y here, the kernel will run on many, but not all,
  205. single processor systems. On a single processor system, the kernel
  206. will run faster if you say N here.
  207. See also the <file:Documentation/smp.txt> and the SMP-HOWTO
  208. available at <http://www.tldp.org/docs.html#howto>.
  209. If you don't know what to do here, say N.
  210. config NR_CPUS
  211. int "Maximum number of CPUs (2-1024)"
  212. range 2 1024
  213. depends on SMP
  214. default "1024"
  215. help
  216. You should set this to the number of CPUs in your system, but
  217. keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
  218. only use 2 CPUs on a >2 CPU system. Setting this to a value larger
  219. than 64 will cause the use of a CPU mask array, causing a small
  220. performance hit.
  221. config HOTPLUG_CPU
  222. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  223. depends on SMP && EXPERIMENTAL
  224. select HOTPLUG
  225. default n
  226. ---help---
  227. Say Y here to experiment with turning CPUs off and on. CPUs
  228. can be controlled through /sys/devices/system/cpu/cpu#.
  229. Say N if you want to disable CPU hotplug.
  230. config ARCH_ENABLE_MEMORY_HOTPLUG
  231. def_bool y
  232. config SCHED_SMT
  233. bool "SMT scheduler support"
  234. depends on SMP
  235. help
  236. Improves the CPU scheduler's decision making when dealing with
  237. Intel IA64 chips with MultiThreading at a cost of slightly increased
  238. overhead in some places. If unsure say N here.
  239. config PERMIT_BSP_REMOVE
  240. bool "Support removal of Bootstrap Processor"
  241. depends on HOTPLUG_CPU
  242. default n
  243. ---help---
  244. Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
  245. support.
  246. config FORCE_CPEI_RETARGET
  247. bool "Force assumption that CPEI can be re-targetted"
  248. depends on PERMIT_BSP_REMOVE
  249. default n
  250. ---help---
  251. Say Y if you need to force the assumption that CPEI can be re-targetted to
  252. any cpu in the system. This hint is available via ACPI 3.0 specifications.
  253. Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
  254. This option it useful to enable this feature on older BIOS's as well.
  255. You can also enable this by using boot command line option force_cpei=1.
  256. config PREEMPT
  257. bool "Preemptible Kernel"
  258. help
  259. This option reduces the latency of the kernel when reacting to
  260. real-time or interactive events by allowing a low priority process to
  261. be preempted even if it is in kernel mode executing a system call.
  262. This allows applications to run more reliably even when the system is
  263. under load.
  264. Say Y here if you are building a kernel for a desktop, embedded
  265. or real-time system. Say N if you are unsure.
  266. source "mm/Kconfig"
  267. config ARCH_SELECT_MEMORY_MODEL
  268. def_bool y
  269. config ARCH_DISCONTIGMEM_ENABLE
  270. def_bool y
  271. help
  272. Say Y to support efficient handling of discontiguous physical memory,
  273. for architectures which are either NUMA (Non-Uniform Memory Access)
  274. or have huge holes in the physical address space for other reasons.
  275. See <file:Documentation/vm/numa> for more.
  276. config ARCH_FLATMEM_ENABLE
  277. def_bool y
  278. config ARCH_SPARSEMEM_ENABLE
  279. def_bool y
  280. depends on ARCH_DISCONTIGMEM_ENABLE
  281. config ARCH_DISCONTIGMEM_DEFAULT
  282. def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
  283. depends on ARCH_DISCONTIGMEM_ENABLE
  284. config NUMA
  285. bool "NUMA support"
  286. depends on !IA64_HP_SIM && !FLATMEM
  287. default y if IA64_SGI_SN2
  288. select ACPI_NUMA if ACPI
  289. help
  290. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  291. Access). This option is for configuring high-end multiprocessor
  292. server systems. If in doubt, say N.
  293. config NODES_SHIFT
  294. int "Max num nodes shift(3-10)"
  295. range 3 10
  296. default "10"
  297. depends on NEED_MULTIPLE_NODES
  298. help
  299. This option specifies the maximum number of nodes in your SSI system.
  300. MAX_NUMNODES will be 2^(This value).
  301. If in doubt, use the default.
  302. config ARCH_POPULATES_NODE_MAP
  303. def_bool y
  304. # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
  305. # VIRTUAL_MEM_MAP has been retained for historical reasons.
  306. config VIRTUAL_MEM_MAP
  307. bool "Virtual mem map"
  308. depends on !SPARSEMEM
  309. default y if !IA64_HP_SIM
  310. help
  311. Say Y to compile the kernel with support for a virtual mem map.
  312. This code also only takes effect if a memory hole of greater than
  313. 1 Gb is found during boot. You must turn this option on if you
  314. require the DISCONTIGMEM option for your machine. If you are
  315. unsure, say Y.
  316. config HOLES_IN_ZONE
  317. bool
  318. default y if VIRTUAL_MEM_MAP
  319. config HAVE_ARCH_EARLY_PFN_TO_NID
  320. def_bool y
  321. depends on NEED_MULTIPLE_NODES
  322. config HAVE_ARCH_NODEDATA_EXTENSION
  323. def_bool y
  324. depends on NUMA
  325. config IA32_SUPPORT
  326. bool "Support for Linux/x86 binaries"
  327. help
  328. IA-64 processors can execute IA-32 (X86) instructions. By
  329. saying Y here, the kernel will include IA-32 system call
  330. emulation support which makes it possible to transparently
  331. run IA-32 Linux binaries on an IA-64 Linux system.
  332. If in doubt, say Y.
  333. config COMPAT
  334. bool
  335. depends on IA32_SUPPORT
  336. default y
  337. config IA64_MCA_RECOVERY
  338. tristate "MCA recovery from errors other than TLB."
  339. config PERFMON
  340. bool "Performance monitor support"
  341. help
  342. Selects whether support for the IA-64 performance monitor hardware
  343. is included in the kernel. This makes some kernel data-structures a
  344. little bigger and slows down execution a bit, but it is generally
  345. a good idea to turn this on. If you're unsure, say Y.
  346. config IA64_PALINFO
  347. tristate "/proc/pal support"
  348. help
  349. If you say Y here, you are able to get PAL (Processor Abstraction
  350. Layer) information in /proc/pal. This contains useful information
  351. about the processors in your systems, such as cache and TLB sizes
  352. and the PAL firmware version in use.
  353. To use this option, you have to ensure that the "/proc file system
  354. support" (CONFIG_PROC_FS) is enabled, too.
  355. config SGI_SN
  356. def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
  357. config IA64_ESI
  358. bool "ESI (Extensible SAL Interface) support"
  359. help
  360. If you say Y here, support is built into the kernel to
  361. make ESI calls. ESI calls are used to support vendor-specific
  362. firmware extensions, such as the ability to inject memory-errors
  363. for test-purposes. If you're unsure, say N.
  364. source "drivers/sn/Kconfig"
  365. config KEXEC
  366. bool "kexec system call (EXPERIMENTAL)"
  367. depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
  368. help
  369. kexec is a system call that implements the ability to shutdown your
  370. current kernel, and to start another kernel. It is like a reboot
  371. but it is indepedent of the system firmware. And like a reboot
  372. you can start any kernel with it, not just Linux.
  373. The name comes from the similiarity to the exec system call.
  374. It is an ongoing process to be certain the hardware in a machine
  375. is properly shutdown, so do not be surprised if this code does not
  376. initially work for you. It may help to enable device hotplugging
  377. support. As of this writing the exact hardware interface is
  378. strongly in flux, so no good recommendation can be made.
  379. config CRASH_DUMP
  380. bool "kernel crash dumps (EXPERIMENTAL)"
  381. depends on EXPERIMENTAL && IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
  382. help
  383. Generate crash dump after being started by kexec.
  384. source "drivers/firmware/Kconfig"
  385. source "fs/Kconfig.binfmt"
  386. endmenu
  387. menu "Power management and ACPI"
  388. source "kernel/power/Kconfig"
  389. source "drivers/acpi/Kconfig"
  390. if PM
  391. source "arch/ia64/kernel/cpufreq/Kconfig"
  392. endif
  393. endmenu
  394. if !IA64_HP_SIM
  395. menu "Bus options (PCI, PCMCIA)"
  396. config PCI
  397. bool "PCI support"
  398. help
  399. Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
  400. here unless you are using a simulator without PCI support.
  401. config PCI_DOMAINS
  402. bool
  403. default PCI
  404. source "drivers/pci/pcie/Kconfig"
  405. source "drivers/pci/Kconfig"
  406. source "drivers/pci/hotplug/Kconfig"
  407. source "drivers/pcmcia/Kconfig"
  408. endmenu
  409. endif
  410. source "net/Kconfig"
  411. source "drivers/Kconfig"
  412. config MSPEC
  413. tristate "Memory special operations driver"
  414. depends on IA64
  415. select IA64_UNCACHED_ALLOCATOR
  416. help
  417. If you have an ia64 and you want to enable memory special
  418. operations support (formerly known as fetchop), say Y here,
  419. otherwise say N.
  420. source "fs/Kconfig"
  421. source "lib/Kconfig"
  422. #
  423. # Use the generic interrupt handling code in kernel/irq/:
  424. #
  425. config GENERIC_HARDIRQS
  426. bool
  427. default y
  428. config GENERIC_IRQ_PROBE
  429. bool
  430. default y
  431. config GENERIC_PENDING_IRQ
  432. bool
  433. depends on GENERIC_HARDIRQS && SMP
  434. default y
  435. config IRQ_PER_CPU
  436. bool
  437. default y
  438. source "arch/ia64/hp/sim/Kconfig"
  439. menu "Instrumentation Support"
  440. depends on EXPERIMENTAL
  441. source "arch/ia64/oprofile/Kconfig"
  442. config KPROBES
  443. bool "Kprobes (EXPERIMENTAL)"
  444. depends on KALLSYMS && EXPERIMENTAL && MODULES
  445. help
  446. Kprobes allows you to trap at almost any kernel address and
  447. execute a callback function. register_kprobe() establishes
  448. a probepoint and specifies the callback. Kprobes is useful
  449. for kernel debugging, non-intrusive instrumentation and testing.
  450. If in doubt, say "N".
  451. endmenu
  452. source "arch/ia64/Kconfig.debug"
  453. source "security/Kconfig"
  454. source "crypto/Kconfig"