Kconfig 16 KB

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