Kconfig 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  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. source "kernel/Kconfig.freezer"
  8. menu "Processor type and features"
  9. config IA64
  10. bool
  11. select PCI if (!IA64_HP_SIM)
  12. select ACPI if (!IA64_HP_SIM)
  13. select PM if (!IA64_HP_SIM)
  14. select ARCH_SUPPORTS_MSI
  15. select HAVE_IDE
  16. select HAVE_OPROFILE
  17. select HAVE_KPROBES
  18. select HAVE_KRETPROBES
  19. select HAVE_DMA_ATTRS
  20. select HAVE_KVM
  21. select HAVE_ARCH_TRACEHOOK
  22. default y
  23. help
  24. The Itanium Processor Family is Intel's 64-bit successor to
  25. the 32-bit X86 line. The IA-64 Linux project has a home
  26. page at <http://www.linuxia64.org/> and a mailing list at
  27. <linux-ia64@vger.kernel.org>.
  28. config 64BIT
  29. bool
  30. select ATA_NONSTANDARD if ATA
  31. default y
  32. config ZONE_DMA
  33. def_bool y
  34. depends on !IA64_SGI_SN2
  35. config QUICKLIST
  36. bool
  37. default y
  38. config MMU
  39. bool
  40. default y
  41. config SWIOTLB
  42. bool
  43. config IOMMU_HELPER
  44. bool
  45. config GENERIC_LOCKBREAK
  46. bool
  47. default y
  48. depends on SMP && PREEMPT
  49. config RWSEM_XCHGADD_ALGORITHM
  50. bool
  51. default y
  52. config HUGETLB_PAGE_SIZE_VARIABLE
  53. bool
  54. depends on HUGETLB_PAGE
  55. default y
  56. config GENERIC_FIND_NEXT_BIT
  57. bool
  58. default y
  59. config GENERIC_CALIBRATE_DELAY
  60. bool
  61. default y
  62. config GENERIC_TIME
  63. bool
  64. default y
  65. config GENERIC_TIME_VSYSCALL
  66. bool
  67. default y
  68. config HAVE_SETUP_PER_CPU_AREA
  69. def_bool y
  70. config DMI
  71. bool
  72. default y
  73. config EFI
  74. bool
  75. default y
  76. config GENERIC_IOMAP
  77. bool
  78. default y
  79. config SCHED_OMIT_FRAME_POINTER
  80. bool
  81. default y
  82. config IA64_UNCACHED_ALLOCATOR
  83. bool
  84. select GENERIC_ALLOCATOR
  85. config AUDIT_ARCH
  86. bool
  87. default y
  88. menuconfig PARAVIRT_GUEST
  89. bool "Paravirtualized guest support"
  90. help
  91. Say Y here to get to see options related to running Linux under
  92. various hypervisors. This option alone does not add any kernel code.
  93. If you say N, all options in this submenu will be skipped and disabled.
  94. if PARAVIRT_GUEST
  95. config PARAVIRT
  96. bool "Enable paravirtualization code"
  97. depends on PARAVIRT_GUEST
  98. default y
  99. bool
  100. default y
  101. help
  102. This changes the kernel so it can modify itself when it is run
  103. under a hypervisor, potentially improving performance significantly
  104. over full virtualization. However, when run without a hypervisor
  105. the kernel is theoretically slower and slightly larger.
  106. source "arch/ia64/xen/Kconfig"
  107. endif
  108. choice
  109. prompt "System type"
  110. default IA64_GENERIC
  111. config IA64_GENERIC
  112. bool "generic"
  113. select NUMA
  114. select ACPI_NUMA
  115. select SWIOTLB
  116. select PCI_MSI
  117. select DMAR
  118. help
  119. This selects the system type of your hardware. A "generic" kernel
  120. will run on any supported IA-64 system. However, if you configure
  121. a kernel for your specific system, it will be faster and smaller.
  122. generic For any supported IA-64 system
  123. DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
  124. DIG+Intel+IOMMU For DIG systems with Intel IOMMU
  125. HP-zx1/sx1000 For HP systems
  126. HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
  127. SGI-SN2 For SGI Altix systems
  128. SGI-UV For SGI UV systems
  129. Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
  130. Xen-domU For xen domU system
  131. If you don't know what to do, choose "generic".
  132. config IA64_DIG
  133. bool "DIG-compliant"
  134. select SWIOTLB
  135. config IA64_DIG_VTD
  136. bool "DIG+Intel+IOMMU"
  137. select DMAR
  138. select PCI_MSI
  139. config IA64_HP_ZX1
  140. bool "HP-zx1/sx1000"
  141. help
  142. Build a kernel that runs on HP zx1 and sx1000 systems. This adds
  143. support for the HP I/O MMU.
  144. config IA64_HP_ZX1_SWIOTLB
  145. bool "HP-zx1/sx1000 with software I/O TLB"
  146. select SWIOTLB
  147. help
  148. Build a kernel that runs on HP zx1 and sx1000 systems even when they
  149. have broken PCI devices which cannot DMA to full 32 bits. Apart
  150. from support for the HP I/O MMU, this includes support for the software
  151. I/O TLB, which allows supporting the broken devices at the expense of
  152. wasting some kernel memory (about 2MB by default).
  153. config IA64_SGI_SN2
  154. bool "SGI-SN2"
  155. select NUMA
  156. select ACPI_NUMA
  157. help
  158. Selecting this option will optimize the kernel for use on sn2 based
  159. systems, but the resulting kernel binary will not run on other
  160. types of ia64 systems. If you have an SGI Altix system, it's safe
  161. to select this option. If in doubt, select ia64 generic support
  162. instead.
  163. config IA64_SGI_UV
  164. bool "SGI-UV"
  165. select NUMA
  166. select ACPI_NUMA
  167. select SWIOTLB
  168. help
  169. Selecting this option will optimize the kernel for use on UV based
  170. systems, but the resulting kernel binary will not run on other
  171. types of ia64 systems. If you have an SGI UV system, it's safe
  172. to select this option. If in doubt, select ia64 generic support
  173. instead.
  174. config IA64_HP_SIM
  175. bool "Ski-simulator"
  176. select SWIOTLB
  177. config IA64_XEN_GUEST
  178. bool "Xen guest"
  179. depends on XEN
  180. endchoice
  181. choice
  182. prompt "Processor type"
  183. default ITANIUM
  184. config ITANIUM
  185. bool "Itanium"
  186. help
  187. Select your IA-64 processor type. The default is Itanium.
  188. This choice is safe for all IA-64 systems, but may not perform
  189. optimally on systems with, say, Itanium 2 or newer processors.
  190. config MCKINLEY
  191. bool "Itanium 2"
  192. help
  193. Select this to configure for an Itanium 2 (McKinley) processor.
  194. endchoice
  195. choice
  196. prompt "Kernel page size"
  197. default IA64_PAGE_SIZE_16KB
  198. config IA64_PAGE_SIZE_4KB
  199. bool "4KB"
  200. help
  201. This lets you select the page size of the kernel. For best IA-64
  202. performance, a page size of 8KB or 16KB is recommended. For best
  203. IA-32 compatibility, a page size of 4KB should be selected (the vast
  204. majority of IA-32 binaries work perfectly fine with a larger page
  205. size). For Itanium 2 or newer systems, a page size of 64KB can also
  206. be selected.
  207. 4KB For best IA-32 compatibility
  208. 8KB For best IA-64 performance
  209. 16KB For best IA-64 performance
  210. 64KB Requires Itanium 2 or newer processor.
  211. If you don't know what to do, choose 16KB.
  212. config IA64_PAGE_SIZE_8KB
  213. bool "8KB"
  214. config IA64_PAGE_SIZE_16KB
  215. bool "16KB"
  216. config IA64_PAGE_SIZE_64KB
  217. depends on !ITANIUM
  218. bool "64KB"
  219. endchoice
  220. choice
  221. prompt "Page Table Levels"
  222. default PGTABLE_3
  223. config PGTABLE_3
  224. bool "3 Levels"
  225. config PGTABLE_4
  226. depends on !IA64_PAGE_SIZE_64KB
  227. bool "4 Levels"
  228. endchoice
  229. if IA64_HP_SIM
  230. config HZ
  231. default 32
  232. endif
  233. if !IA64_HP_SIM
  234. source kernel/Kconfig.hz
  235. endif
  236. config IA64_BRL_EMU
  237. bool
  238. depends on ITANIUM
  239. default y
  240. # align cache-sensitive data to 128 bytes
  241. config IA64_L1_CACHE_SHIFT
  242. int
  243. default "7" if MCKINLEY
  244. default "6" if ITANIUM
  245. config IA64_CYCLONE
  246. bool "Cyclone (EXA) Time Source support"
  247. help
  248. Say Y here to enable support for IBM EXA Cyclone time source.
  249. If you're unsure, answer N.
  250. config IOSAPIC
  251. bool
  252. depends on !IA64_HP_SIM
  253. default y
  254. config FORCE_MAX_ZONEORDER
  255. int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
  256. range 11 17 if !HUGETLB_PAGE
  257. default "17" if HUGETLB_PAGE
  258. default "11"
  259. config VIRT_CPU_ACCOUNTING
  260. bool "Deterministic task and CPU time accounting"
  261. default n
  262. help
  263. Select this option to enable more accurate task and CPU time
  264. accounting. This is done by reading a CPU counter on each
  265. kernel entry and exit and on transitions within the kernel
  266. between system, softirq and hardirq state, so there is a
  267. small performance impact.
  268. If in doubt, say N here.
  269. config SMP
  270. bool "Symmetric multi-processing support"
  271. select USE_GENERIC_SMP_HELPERS
  272. help
  273. This enables support for systems with more than one CPU. If you have
  274. a system with only one CPU, say N. If you have a system with more
  275. than one CPU, say Y.
  276. If you say N here, the kernel will run on single and multiprocessor
  277. systems, but will use only one CPU of a multiprocessor system. If
  278. you say Y here, the kernel will run on many, but not all,
  279. single processor systems. On a single processor system, the kernel
  280. will run faster if you say N here.
  281. See also the SMP-HOWTO available at
  282. <http://www.tldp.org/docs.html#howto>.
  283. If you don't know what to do here, say N.
  284. config NR_CPUS
  285. int "Maximum number of CPUs (2-4096)"
  286. range 2 4096
  287. depends on SMP
  288. default "4096"
  289. help
  290. You should set this to the number of CPUs in your system, but
  291. keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
  292. only use 2 CPUs on a >2 CPU system. Setting this to a value larger
  293. than 64 will cause the use of a CPU mask array, causing a small
  294. performance hit.
  295. config HOTPLUG_CPU
  296. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  297. depends on SMP && EXPERIMENTAL
  298. select HOTPLUG
  299. default n
  300. ---help---
  301. Say Y here to experiment with turning CPUs off and on. CPUs
  302. can be controlled through /sys/devices/system/cpu/cpu#.
  303. Say N if you want to disable CPU hotplug.
  304. config ARCH_ENABLE_MEMORY_HOTPLUG
  305. def_bool y
  306. config ARCH_ENABLE_MEMORY_HOTREMOVE
  307. def_bool y
  308. config SCHED_SMT
  309. bool "SMT scheduler support"
  310. depends on SMP
  311. help
  312. Improves the CPU scheduler's decision making when dealing with
  313. Intel IA64 chips with MultiThreading at a cost of slightly increased
  314. overhead in some places. If unsure say N here.
  315. config PERMIT_BSP_REMOVE
  316. bool "Support removal of Bootstrap Processor"
  317. depends on HOTPLUG_CPU
  318. default n
  319. ---help---
  320. Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
  321. support.
  322. config FORCE_CPEI_RETARGET
  323. bool "Force assumption that CPEI can be re-targetted"
  324. depends on PERMIT_BSP_REMOVE
  325. default n
  326. ---help---
  327. Say Y if you need to force the assumption that CPEI can be re-targetted to
  328. any cpu in the system. This hint is available via ACPI 3.0 specifications.
  329. Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
  330. This option it useful to enable this feature on older BIOS's as well.
  331. You can also enable this by using boot command line option force_cpei=1.
  332. source "kernel/Kconfig.preempt"
  333. source "mm/Kconfig"
  334. config ARCH_SELECT_MEMORY_MODEL
  335. def_bool y
  336. config ARCH_DISCONTIGMEM_ENABLE
  337. def_bool y
  338. help
  339. Say Y to support efficient handling of discontiguous physical memory,
  340. for architectures which are either NUMA (Non-Uniform Memory Access)
  341. or have huge holes in the physical address space for other reasons.
  342. See <file:Documentation/vm/numa> for more.
  343. config ARCH_FLATMEM_ENABLE
  344. def_bool y
  345. config ARCH_SPARSEMEM_ENABLE
  346. def_bool y
  347. depends on ARCH_DISCONTIGMEM_ENABLE
  348. select SPARSEMEM_VMEMMAP_ENABLE
  349. config ARCH_DISCONTIGMEM_DEFAULT
  350. def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
  351. depends on ARCH_DISCONTIGMEM_ENABLE
  352. config NUMA
  353. bool "NUMA support"
  354. depends on !IA64_HP_SIM && !FLATMEM
  355. default y if IA64_SGI_SN2
  356. select ACPI_NUMA if ACPI
  357. help
  358. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  359. Access). This option is for configuring high-end multiprocessor
  360. server systems. If in doubt, say N.
  361. config NODES_SHIFT
  362. int "Max num nodes shift(3-10)"
  363. range 3 10
  364. default "10"
  365. depends on NEED_MULTIPLE_NODES
  366. help
  367. This option specifies the maximum number of nodes in your SSI system.
  368. MAX_NUMNODES will be 2^(This value).
  369. If in doubt, use the default.
  370. config ARCH_POPULATES_NODE_MAP
  371. def_bool y
  372. # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
  373. # VIRTUAL_MEM_MAP has been retained for historical reasons.
  374. config VIRTUAL_MEM_MAP
  375. bool "Virtual mem map"
  376. depends on !SPARSEMEM
  377. default y if !IA64_HP_SIM
  378. help
  379. Say Y to compile the kernel with support for a virtual mem map.
  380. This code also only takes effect if a memory hole of greater than
  381. 1 Gb is found during boot. You must turn this option on if you
  382. require the DISCONTIGMEM option for your machine. If you are
  383. unsure, say Y.
  384. config HOLES_IN_ZONE
  385. bool
  386. default y if VIRTUAL_MEM_MAP
  387. config HAVE_ARCH_EARLY_PFN_TO_NID
  388. def_bool y
  389. depends on NEED_MULTIPLE_NODES
  390. config HAVE_ARCH_NODEDATA_EXTENSION
  391. def_bool y
  392. depends on NUMA
  393. config IA32_SUPPORT
  394. bool "Support for Linux/x86 binaries"
  395. help
  396. IA-64 processors can execute IA-32 (X86) instructions. By
  397. saying Y here, the kernel will include IA-32 system call
  398. emulation support which makes it possible to transparently
  399. run IA-32 Linux binaries on an IA-64 Linux system.
  400. If in doubt, say Y.
  401. config COMPAT
  402. bool
  403. depends on IA32_SUPPORT
  404. default y
  405. config COMPAT_FOR_U64_ALIGNMENT
  406. def_bool COMPAT
  407. config IA64_MCA_RECOVERY
  408. tristate "MCA recovery from errors other than TLB."
  409. config PERFMON
  410. bool "Performance monitor support"
  411. help
  412. Selects whether support for the IA-64 performance monitor hardware
  413. is included in the kernel. This makes some kernel data-structures a
  414. little bigger and slows down execution a bit, but it is generally
  415. a good idea to turn this on. If you're unsure, say Y.
  416. config IA64_PALINFO
  417. tristate "/proc/pal support"
  418. help
  419. If you say Y here, you are able to get PAL (Processor Abstraction
  420. Layer) information in /proc/pal. This contains useful information
  421. about the processors in your systems, such as cache and TLB sizes
  422. and the PAL firmware version in use.
  423. To use this option, you have to ensure that the "/proc file system
  424. support" (CONFIG_PROC_FS) is enabled, too.
  425. config IA64_MC_ERR_INJECT
  426. tristate "MC error injection support"
  427. help
  428. Adds support for MC error injection. If enabled, the kernel
  429. will provide a sysfs interface for user applications to
  430. call MC error injection PAL procedures to inject various errors.
  431. This is a useful tool for MCA testing.
  432. If you're unsure, do not select this option.
  433. config SGI_SN
  434. def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
  435. config IA64_ESI
  436. bool "ESI (Extensible SAL Interface) support"
  437. help
  438. If you say Y here, support is built into the kernel to
  439. make ESI calls. ESI calls are used to support vendor-specific
  440. firmware extensions, such as the ability to inject memory-errors
  441. for test-purposes. If you're unsure, say N.
  442. config IA64_HP_AML_NFW
  443. bool "Support ACPI AML calls to native firmware"
  444. help
  445. This driver installs a global ACPI Operation Region handler for
  446. region 0xA1. AML methods can use this OpRegion to call arbitrary
  447. native firmware functions. The driver installs the OpRegion
  448. handler if there is an HPQ5001 device or if the user supplies
  449. the "force" module parameter, e.g., with the "aml_nfw.force"
  450. kernel command line option.
  451. source "drivers/sn/Kconfig"
  452. config KEXEC
  453. bool "kexec system call (EXPERIMENTAL)"
  454. depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
  455. help
  456. kexec is a system call that implements the ability to shutdown your
  457. current kernel, and to start another kernel. It is like a reboot
  458. but it is independent of the system firmware. And like a reboot
  459. you can start any kernel with it, not just Linux.
  460. The name comes from the similarity to the exec system call.
  461. It is an ongoing process to be certain the hardware in a machine
  462. is properly shutdown, so do not be surprised if this code does not
  463. initially work for you. It may help to enable device hotplugging
  464. support. As of this writing the exact hardware interface is
  465. strongly in flux, so no good recommendation can be made.
  466. config CRASH_DUMP
  467. bool "kernel crash dumps"
  468. depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
  469. help
  470. Generate crash dump after being started by kexec.
  471. source "drivers/firmware/Kconfig"
  472. source "fs/Kconfig.binfmt"
  473. endmenu
  474. menu "Power management and ACPI options"
  475. source "kernel/power/Kconfig"
  476. source "drivers/acpi/Kconfig"
  477. if PM
  478. source "arch/ia64/kernel/cpufreq/Kconfig"
  479. endif
  480. endmenu
  481. if !IA64_HP_SIM
  482. menu "Bus options (PCI, PCMCIA)"
  483. config PCI
  484. bool "PCI support"
  485. help
  486. Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
  487. here unless you are using a simulator without PCI support.
  488. config PCI_DOMAINS
  489. def_bool PCI
  490. config PCI_SYSCALL
  491. def_bool PCI
  492. source "drivers/pci/pcie/Kconfig"
  493. source "drivers/pci/Kconfig"
  494. source "drivers/pci/hotplug/Kconfig"
  495. source "drivers/pcmcia/Kconfig"
  496. config DMAR
  497. bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
  498. depends on IA64_GENERIC && ACPI && EXPERIMENTAL
  499. help
  500. DMA remapping (DMAR) devices support enables independent address
  501. translations for Direct Memory Access (DMA) from devices.
  502. These DMA remapping devices are reported via ACPI tables
  503. and include PCI device scope covered by these DMA
  504. remapping devices.
  505. endmenu
  506. endif
  507. source "net/Kconfig"
  508. source "drivers/Kconfig"
  509. source "arch/ia64/hp/sim/Kconfig"
  510. config MSPEC
  511. tristate "Memory special operations driver"
  512. depends on IA64
  513. select IA64_UNCACHED_ALLOCATOR
  514. help
  515. If you have an ia64 and you want to enable memory special
  516. operations support (formerly known as fetchop), say Y here,
  517. otherwise say N.
  518. source "fs/Kconfig"
  519. source "arch/ia64/Kconfig.debug"
  520. source "security/Kconfig"
  521. source "crypto/Kconfig"
  522. source "arch/ia64/kvm/Kconfig"
  523. source "lib/Kconfig"
  524. #
  525. # Use the generic interrupt handling code in kernel/irq/:
  526. #
  527. config GENERIC_HARDIRQS
  528. bool
  529. default y
  530. config GENERIC_IRQ_PROBE
  531. bool
  532. default y
  533. config GENERIC_PENDING_IRQ
  534. bool
  535. depends on GENERIC_HARDIRQS && SMP
  536. default y
  537. config IRQ_PER_CPU
  538. bool
  539. default y
  540. config IOMMU_HELPER
  541. def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)
  542. config IOMMU_API
  543. def_bool (DMAR)