Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. # SPDX-License-Identifier: GPL-2.0
  2. config PGTABLE_LEVELS
  3. int "Page Table Levels" if !IA64_PAGE_SIZE_64KB
  4. range 3 4 if !IA64_PAGE_SIZE_64KB
  5. default 3
  6. menu "Processor type and features"
  7. config IA64
  8. bool
  9. select ARCH_HAS_DMA_MARK_CLEAN
  10. select ARCH_MIGHT_HAVE_PC_PARPORT
  11. select ARCH_MIGHT_HAVE_PC_SERIO
  12. select ACPI
  13. select ACPI_NUMA if NUMA
  14. select ARCH_SUPPORTS_ACPI
  15. select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
  16. select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
  17. select FORCE_PCI
  18. select PCI_DOMAINS if PCI
  19. select PCI_MSI
  20. select PCI_SYSCALL if PCI
  21. select HAVE_ASM_MODVERSIONS
  22. select HAVE_UNSTABLE_SCHED_CLOCK
  23. select HAVE_EXIT_THREAD
  24. select HAVE_IDE
  25. select HAVE_OPROFILE
  26. select HAVE_KPROBES
  27. select HAVE_KRETPROBES
  28. select HAVE_FTRACE_MCOUNT_RECORD
  29. select HAVE_DYNAMIC_FTRACE if (!ITANIUM)
  30. select HAVE_FUNCTION_TRACER
  31. select TTY
  32. select HAVE_ARCH_TRACEHOOK
  33. select HAVE_VIRT_CPU_ACCOUNTING
  34. select VIRT_TO_BUS
  35. select GENERIC_IRQ_PROBE
  36. select GENERIC_PENDING_IRQ if SMP
  37. select GENERIC_IRQ_SHOW
  38. select GENERIC_IRQ_LEGACY
  39. select ARCH_HAVE_NMI_SAFE_CMPXCHG
  40. select GENERIC_IOMAP
  41. select GENERIC_SMP_IDLE_THREAD
  42. select ARCH_TASK_STRUCT_ON_STACK
  43. select ARCH_TASK_STRUCT_ALLOCATOR
  44. select ARCH_THREAD_STACK_ALLOCATOR
  45. select ARCH_CLOCKSOURCE_DATA
  46. select GENERIC_TIME_VSYSCALL
  47. select SWIOTLB
  48. select SYSCTL_ARCH_UNALIGN_NO_WARN
  49. select HAVE_MOD_ARCH_SPECIFIC
  50. select MODULES_USE_ELF_RELA
  51. select ARCH_USE_CMPXCHG_LOCKREF
  52. select HAVE_ARCH_AUDITSYSCALL
  53. select NEED_DMA_MAP_STATE
  54. select NEED_SG_DMA_LENGTH
  55. select NUMA if !FLATMEM
  56. select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
  57. select SET_FS
  58. default y
  59. help
  60. The Itanium Processor Family is Intel's 64-bit successor to
  61. the 32-bit X86 line. The IA-64 Linux project has a home
  62. page at <http://www.linuxia64.org/> and a mailing list at
  63. <linux-ia64@vger.kernel.org>.
  64. config 64BIT
  65. bool
  66. select ATA_NONSTANDARD if ATA
  67. default y
  68. config ZONE_DMA32
  69. def_bool y
  70. config MMU
  71. bool
  72. default y
  73. config STACKTRACE_SUPPORT
  74. def_bool y
  75. config GENERIC_LOCKBREAK
  76. def_bool n
  77. config HUGETLB_PAGE_SIZE_VARIABLE
  78. bool
  79. depends on HUGETLB_PAGE
  80. default y
  81. config GENERIC_CALIBRATE_DELAY
  82. bool
  83. default y
  84. config HAVE_SETUP_PER_CPU_AREA
  85. def_bool y
  86. config DMI
  87. bool
  88. default y
  89. select DMI_SCAN_MACHINE_NON_EFI_FALLBACK
  90. config EFI
  91. bool
  92. select UCS2_STRING
  93. default y
  94. config SCHED_OMIT_FRAME_POINTER
  95. bool
  96. default y
  97. config IA64_UNCACHED_ALLOCATOR
  98. bool
  99. select GENERIC_ALLOCATOR
  100. config ARCH_USES_PG_UNCACHED
  101. def_bool y
  102. depends on IA64_UNCACHED_ALLOCATOR
  103. config AUDIT_ARCH
  104. bool
  105. default y
  106. choice
  107. prompt "Processor type"
  108. default ITANIUM
  109. config ITANIUM
  110. bool "Itanium"
  111. help
  112. Select your IA-64 processor type. The default is Itanium.
  113. This choice is safe for all IA-64 systems, but may not perform
  114. optimally on systems with, say, Itanium 2 or newer processors.
  115. config MCKINLEY
  116. bool "Itanium 2"
  117. help
  118. Select this to configure for an Itanium 2 (McKinley) processor.
  119. endchoice
  120. choice
  121. prompt "Kernel page size"
  122. default IA64_PAGE_SIZE_16KB
  123. config IA64_PAGE_SIZE_4KB
  124. bool "4KB"
  125. help
  126. This lets you select the page size of the kernel. For best IA-64
  127. performance, a page size of 8KB or 16KB is recommended. For best
  128. IA-32 compatibility, a page size of 4KB should be selected (the vast
  129. majority of IA-32 binaries work perfectly fine with a larger page
  130. size). For Itanium 2 or newer systems, a page size of 64KB can also
  131. be selected.
  132. 4KB For best IA-32 compatibility
  133. 8KB For best IA-64 performance
  134. 16KB For best IA-64 performance
  135. 64KB Requires Itanium 2 or newer processor.
  136. If you don't know what to do, choose 16KB.
  137. config IA64_PAGE_SIZE_8KB
  138. bool "8KB"
  139. config IA64_PAGE_SIZE_16KB
  140. bool "16KB"
  141. config IA64_PAGE_SIZE_64KB
  142. depends on !ITANIUM
  143. bool "64KB"
  144. endchoice
  145. source "kernel/Kconfig.hz"
  146. config IA64_BRL_EMU
  147. bool
  148. depends on ITANIUM
  149. default y
  150. # align cache-sensitive data to 128 bytes
  151. config IA64_L1_CACHE_SHIFT
  152. int
  153. default "7" if MCKINLEY
  154. default "6" if ITANIUM
  155. config IA64_SGI_UV
  156. bool "SGI-UV support"
  157. help
  158. Selecting this option will add specific support for running on SGI
  159. UV based systems. If you have an SGI UV system or are building a
  160. distro kernel, select this option.
  161. config IA64_HP_SBA_IOMMU
  162. bool "HP SBA IOMMU support"
  163. select DMA_OPS
  164. default y
  165. help
  166. Say Y here to add support for the SBA IOMMU found on HP zx1 and
  167. sx1000 systems. If you're unsure, answer Y.
  168. config IA64_CYCLONE
  169. bool "Cyclone (EXA) Time Source support"
  170. help
  171. Say Y here to enable support for IBM EXA Cyclone time source.
  172. If you're unsure, answer N.
  173. config FORCE_MAX_ZONEORDER
  174. int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
  175. range 11 17 if !HUGETLB_PAGE
  176. default "17" if HUGETLB_PAGE
  177. default "11"
  178. config SMP
  179. bool "Symmetric multi-processing support"
  180. help
  181. This enables support for systems with more than one CPU. If you have
  182. a system with only one CPU, say N. If you have a system with more
  183. than one CPU, say Y.
  184. If you say N here, the kernel will run on single and multiprocessor
  185. systems, but will use only one CPU of a multiprocessor system. If
  186. you say Y here, the kernel will run on many, but not all,
  187. single processor systems. On a single processor system, the kernel
  188. will run faster if you say N here.
  189. See also the SMP-HOWTO available at
  190. <http://www.tldp.org/docs.html#howto>.
  191. If you don't know what to do here, say N.
  192. config NR_CPUS
  193. int "Maximum number of CPUs (2-4096)"
  194. range 2 4096
  195. depends on SMP
  196. default "4096"
  197. help
  198. You should set this to the number of CPUs in your system, but
  199. keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
  200. only use 2 CPUs on a >2 CPU system. Setting this to a value larger
  201. than 64 will cause the use of a CPU mask array, causing a small
  202. performance hit.
  203. config HOTPLUG_CPU
  204. bool "Support for hot-pluggable CPUs"
  205. depends on SMP
  206. default n
  207. help
  208. Say Y here to experiment with turning CPUs off and on. CPUs
  209. can be controlled through /sys/devices/system/cpu/cpu#.
  210. Say N if you want to disable CPU hotplug.
  211. config ARCH_ENABLE_MEMORY_HOTPLUG
  212. def_bool y
  213. config ARCH_ENABLE_MEMORY_HOTREMOVE
  214. def_bool y
  215. config SCHED_SMT
  216. bool "SMT scheduler support"
  217. depends on SMP
  218. help
  219. Improves the CPU scheduler's decision making when dealing with
  220. Intel IA64 chips with MultiThreading at a cost of slightly increased
  221. overhead in some places. If unsure say N here.
  222. config PERMIT_BSP_REMOVE
  223. bool "Support removal of Bootstrap Processor"
  224. depends on HOTPLUG_CPU
  225. default n
  226. help
  227. Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
  228. support.
  229. config FORCE_CPEI_RETARGET
  230. bool "Force assumption that CPEI can be re-targeted"
  231. depends on PERMIT_BSP_REMOVE
  232. default n
  233. help
  234. Say Y if you need to force the assumption that CPEI can be re-targeted to
  235. any cpu in the system. This hint is available via ACPI 3.0 specifications.
  236. Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
  237. This option it useful to enable this feature on older BIOS's as well.
  238. You can also enable this by using boot command line option force_cpei=1.
  239. config ARCH_SELECT_MEMORY_MODEL
  240. def_bool y
  241. config ARCH_DISCONTIGMEM_ENABLE
  242. def_bool y
  243. help
  244. Say Y to support efficient handling of discontiguous physical memory,
  245. for architectures which are either NUMA (Non-Uniform Memory Access)
  246. or have huge holes in the physical address space for other reasons.
  247. See <file:Documentation/vm/numa.rst> for more.
  248. config ARCH_FLATMEM_ENABLE
  249. def_bool y
  250. config ARCH_SPARSEMEM_ENABLE
  251. def_bool y
  252. depends on ARCH_DISCONTIGMEM_ENABLE
  253. select SPARSEMEM_VMEMMAP_ENABLE
  254. config ARCH_DISCONTIGMEM_DEFAULT
  255. def_bool y
  256. depends on ARCH_DISCONTIGMEM_ENABLE
  257. config NUMA
  258. bool "NUMA support"
  259. depends on !FLATMEM
  260. select SMP
  261. help
  262. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  263. Access). This option is for configuring high-end multiprocessor
  264. server systems. If in doubt, say N.
  265. config NODES_SHIFT
  266. int "Max num nodes shift(3-10)"
  267. range 3 10
  268. default "10"
  269. depends on NEED_MULTIPLE_NODES
  270. help
  271. This option specifies the maximum number of nodes in your SSI system.
  272. MAX_NUMNODES will be 2^(This value).
  273. If in doubt, use the default.
  274. # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
  275. # VIRTUAL_MEM_MAP has been retained for historical reasons.
  276. config VIRTUAL_MEM_MAP
  277. bool "Virtual mem map"
  278. depends on !SPARSEMEM
  279. default y
  280. help
  281. Say Y to compile the kernel with support for a virtual mem map.
  282. This code also only takes effect if a memory hole of greater than
  283. 1 Gb is found during boot. You must turn this option on if you
  284. require the DISCONTIGMEM option for your machine. If you are
  285. unsure, say Y.
  286. config HOLES_IN_ZONE
  287. bool
  288. default y if VIRTUAL_MEM_MAP
  289. config HAVE_ARCH_EARLY_PFN_TO_NID
  290. def_bool NUMA && SPARSEMEM
  291. config HAVE_ARCH_NODEDATA_EXTENSION
  292. def_bool y
  293. depends on NUMA
  294. config USE_PERCPU_NUMA_NODE_ID
  295. def_bool y
  296. depends on NUMA
  297. config HAVE_MEMORYLESS_NODES
  298. def_bool NUMA
  299. config ARCH_PROC_KCORE_TEXT
  300. def_bool y
  301. depends on PROC_KCORE
  302. config IA64_MCA_RECOVERY
  303. tristate "MCA recovery from errors other than TLB."
  304. config IA64_PALINFO
  305. tristate "/proc/pal support"
  306. help
  307. If you say Y here, you are able to get PAL (Processor Abstraction
  308. Layer) information in /proc/pal. This contains useful information
  309. about the processors in your systems, such as cache and TLB sizes
  310. and the PAL firmware version in use.
  311. To use this option, you have to ensure that the "/proc file system
  312. support" (CONFIG_PROC_FS) is enabled, too.
  313. config IA64_MC_ERR_INJECT
  314. tristate "MC error injection support"
  315. help
  316. Adds support for MC error injection. If enabled, the kernel
  317. will provide a sysfs interface for user applications to
  318. call MC error injection PAL procedures to inject various errors.
  319. This is a useful tool for MCA testing.
  320. If you're unsure, do not select this option.
  321. config IA64_ESI
  322. bool "ESI (Extensible SAL Interface) support"
  323. help
  324. If you say Y here, support is built into the kernel to
  325. make ESI calls. ESI calls are used to support vendor-specific
  326. firmware extensions, such as the ability to inject memory-errors
  327. for test-purposes. If you're unsure, say N.
  328. config IA64_HP_AML_NFW
  329. bool "Support ACPI AML calls to native firmware"
  330. help
  331. This driver installs a global ACPI Operation Region handler for
  332. region 0xA1. AML methods can use this OpRegion to call arbitrary
  333. native firmware functions. The driver installs the OpRegion
  334. handler if there is an HPQ5001 device or if the user supplies
  335. the "force" module parameter, e.g., with the "aml_nfw.force"
  336. kernel command line option.
  337. config KEXEC
  338. bool "kexec system call"
  339. depends on !SMP || HOTPLUG_CPU
  340. select KEXEC_CORE
  341. help
  342. kexec is a system call that implements the ability to shutdown your
  343. current kernel, and to start another kernel. It is like a reboot
  344. but it is independent of the system firmware. And like a reboot
  345. you can start any kernel with it, not just Linux.
  346. The name comes from the similarity to the exec system call.
  347. It is an ongoing process to be certain the hardware in a machine
  348. is properly shutdown, so do not be surprised if this code does not
  349. initially work for you. As of this writing the exact hardware
  350. interface is strongly in flux, so no good recommendation can be
  351. made.
  352. config CRASH_DUMP
  353. bool "kernel crash dumps"
  354. depends on IA64_MCA_RECOVERY && (!SMP || HOTPLUG_CPU)
  355. help
  356. Generate crash dump after being started by kexec.
  357. source "drivers/firmware/Kconfig"
  358. endmenu
  359. menu "Power management and ACPI options"
  360. source "kernel/power/Kconfig"
  361. source "drivers/acpi/Kconfig"
  362. if PM
  363. menu "CPU Frequency scaling"
  364. source "drivers/cpufreq/Kconfig"
  365. endmenu
  366. endif
  367. endmenu
  368. config MSPEC
  369. tristate "Memory special operations driver"
  370. depends on IA64
  371. select IA64_UNCACHED_ALLOCATOR
  372. help
  373. If you have an ia64 and you want to enable memory special
  374. operations support (formerly known as fetchop), say Y here,
  375. otherwise say N.