Kconfig 17 KB

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