1 # SPDX-License-Identifier: GPL-2.0
3 int "Page Table Levels" if !IA64_PAGE_SIZE_64KB
4 range 3 4 if !IA64_PAGE_SIZE_64KB
7 menu "Processor type and features"
11 select ARCH_MIGHT_HAVE_PC_PARPORT
12 select ARCH_MIGHT_HAVE_PC_SERIO
13 select ACPI if (!IA64_HP_SIM)
14 select ARCH_SUPPORTS_ACPI if (!IA64_HP_SIM)
15 select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
16 select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
17 select FORCE_PCI if (!IA64_HP_SIM)
18 select PCI_DOMAINS if PCI
19 select PCI_SYSCALL if PCI
20 select HAVE_UNSTABLE_SCHED_CLOCK
21 select HAVE_EXIT_THREAD
25 select HAVE_KRETPROBES
26 select HAVE_FTRACE_MCOUNT_RECORD
27 select HAVE_DYNAMIC_FTRACE if (!ITANIUM)
28 select HAVE_FUNCTION_TRACER
30 select HAVE_ARCH_TRACEHOOK
31 select HAVE_MEMBLOCK_NODE_MAP
32 select HAVE_VIRT_CPU_ACCOUNTING
33 select ARCH_HAS_DMA_COHERENT_TO_PFN if SWIOTLB
34 select ARCH_HAS_SYNC_DMA_FOR_CPU if SWIOTLB
36 select ARCH_DISCARD_MEMBLOCK
37 select GENERIC_IRQ_PROBE
38 select GENERIC_PENDING_IRQ if SMP
39 select GENERIC_IRQ_SHOW
40 select GENERIC_IRQ_LEGACY
41 select ARCH_HAVE_NMI_SAFE_CMPXCHG
43 select GENERIC_SMP_IDLE_THREAD
44 select ARCH_TASK_STRUCT_ON_STACK
45 select ARCH_TASK_STRUCT_ALLOCATOR
46 select ARCH_THREAD_STACK_ALLOCATOR
47 select ARCH_CLOCKSOURCE_DATA
48 select GENERIC_TIME_VSYSCALL
49 select SYSCTL_ARCH_UNALIGN_NO_WARN
50 select HAVE_MOD_ARCH_SPECIFIC
51 select MODULES_USE_ELF_RELA
52 select ARCH_USE_CMPXCHG_LOCKREF
53 select HAVE_ARCH_AUDITSYSCALL
54 select NEED_DMA_MAP_STATE
55 select NEED_SG_DMA_LENGTH
58 The Itanium Processor Family is Intel's 64-bit successor to
59 the 32-bit X86 line. The IA-64 Linux project has a home
60 page at <http://www.linuxia64.org/> and a mailing list at
61 <linux-ia64@vger.kernel.org>.
65 select ATA_NONSTANDARD if ATA
70 depends on !IA64_SGI_SN2
80 config STACKTRACE_SUPPORT
83 config GENERIC_LOCKBREAK
86 config HUGETLB_PAGE_SIZE_VARIABLE
88 depends on HUGETLB_PAGE
91 config GENERIC_CALIBRATE_DELAY
95 config HAVE_SETUP_PER_CPU_AREA
101 select DMI_SCAN_MACHINE_NON_EFI_FALLBACK
108 config SCHED_OMIT_FRAME_POINTER
112 config IA64_UNCACHED_ALLOCATOR
114 select GENERIC_ALLOCATOR
116 config ARCH_USES_PG_UNCACHED
118 depends on IA64_UNCACHED_ALLOCATOR
135 This selects the system type of your hardware. A "generic" kernel
136 will run on any supported IA-64 system. However, if you configure
137 a kernel for your specific system, it will be faster and smaller.
139 generic For any supported IA-64 system
140 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
141 DIG+Intel+IOMMU For DIG systems with Intel IOMMU
142 HP-zx1/sx1000 For HP systems
143 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
144 SGI-SN2 For SGI Altix systems
145 SGI-UV For SGI UV systems
146 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
148 If you don't know what to do, choose "generic".
155 bool "DIG+Intel+IOMMU"
162 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
163 support for the HP I/O MMU.
165 config IA64_HP_ZX1_SWIOTLB
166 bool "HP-zx1/sx1000 with software I/O TLB"
169 Build a kernel that runs on HP zx1 and sx1000 systems even when they
170 have broken PCI devices which cannot DMA to full 32 bits. Apart
171 from support for the HP I/O MMU, this includes support for the software
172 I/O TLB, which allows supporting the broken devices at the expense of
173 wasting some kernel memory (about 2MB by default).
180 Selecting this option will optimize the kernel for use on sn2 based
181 systems, but the resulting kernel binary will not run on other
182 types of ia64 systems. If you have an SGI Altix system, it's safe
183 to select this option. If in doubt, select ia64 generic support
192 Selecting this option will optimize the kernel for use on UV based
193 systems, but the resulting kernel binary will not run on other
194 types of ia64 systems. If you have an SGI UV system, it's safe
195 to select this option. If in doubt, select ia64 generic support
206 prompt "Processor type"
212 Select your IA-64 processor type. The default is Itanium.
213 This choice is safe for all IA-64 systems, but may not perform
214 optimally on systems with, say, Itanium 2 or newer processors.
219 Select this to configure for an Itanium 2 (McKinley) processor.
224 prompt "Kernel page size"
225 default IA64_PAGE_SIZE_16KB
227 config IA64_PAGE_SIZE_4KB
230 This lets you select the page size of the kernel. For best IA-64
231 performance, a page size of 8KB or 16KB is recommended. For best
232 IA-32 compatibility, a page size of 4KB should be selected (the vast
233 majority of IA-32 binaries work perfectly fine with a larger page
234 size). For Itanium 2 or newer systems, a page size of 64KB can also
237 4KB For best IA-32 compatibility
238 8KB For best IA-64 performance
239 16KB For best IA-64 performance
240 64KB Requires Itanium 2 or newer processor.
242 If you don't know what to do, choose 16KB.
244 config IA64_PAGE_SIZE_8KB
247 config IA64_PAGE_SIZE_16KB
250 config IA64_PAGE_SIZE_64KB
262 source "kernel/Kconfig.hz"
270 # align cache-sensitive data to 128 bytes
271 config IA64_L1_CACHE_SHIFT
273 default "7" if MCKINLEY
274 default "6" if ITANIUM
277 bool "Cyclone (EXA) Time Source support"
279 Say Y here to enable support for IBM EXA Cyclone time source.
280 If you're unsure, answer N.
284 depends on !IA64_HP_SIM
287 config FORCE_MAX_ZONEORDER
288 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
289 range 11 17 if !HUGETLB_PAGE
290 default "17" if HUGETLB_PAGE
294 bool "Symmetric multi-processing support"
296 This enables support for systems with more than one CPU. If you have
297 a system with only one CPU, say N. If you have a system with more
300 If you say N here, the kernel will run on single and multiprocessor
301 systems, but will use only one CPU of a multiprocessor system. If
302 you say Y here, the kernel will run on many, but not all,
303 single processor systems. On a single processor system, the kernel
304 will run faster if you say N here.
306 See also the SMP-HOWTO available at
307 <http://www.tldp.org/docs.html#howto>.
309 If you don't know what to do here, say N.
312 int "Maximum number of CPUs (2-4096)"
317 You should set this to the number of CPUs in your system, but
318 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
319 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
320 than 64 will cause the use of a CPU mask array, causing a small
324 bool "Support for hot-pluggable CPUs"
328 Say Y here to experiment with turning CPUs off and on. CPUs
329 can be controlled through /sys/devices/system/cpu/cpu#.
330 Say N if you want to disable CPU hotplug.
332 config ARCH_ENABLE_MEMORY_HOTPLUG
335 config ARCH_ENABLE_MEMORY_HOTREMOVE
339 bool "SMT scheduler support"
342 Improves the CPU scheduler's decision making when dealing with
343 Intel IA64 chips with MultiThreading at a cost of slightly increased
344 overhead in some places. If unsure say N here.
346 config PERMIT_BSP_REMOVE
347 bool "Support removal of Bootstrap Processor"
348 depends on HOTPLUG_CPU
351 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
354 config FORCE_CPEI_RETARGET
355 bool "Force assumption that CPEI can be re-targeted"
356 depends on PERMIT_BSP_REMOVE
359 Say Y if you need to force the assumption that CPEI can be re-targeted to
360 any cpu in the system. This hint is available via ACPI 3.0 specifications.
361 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
362 This option it useful to enable this feature on older BIOS's as well.
363 You can also enable this by using boot command line option force_cpei=1.
365 config ARCH_SELECT_MEMORY_MODEL
368 config ARCH_DISCONTIGMEM_ENABLE
371 Say Y to support efficient handling of discontiguous physical memory,
372 for architectures which are either NUMA (Non-Uniform Memory Access)
373 or have huge holes in the physical address space for other reasons.
374 See <file:Documentation/vm/numa.rst> for more.
376 config ARCH_FLATMEM_ENABLE
379 config ARCH_SPARSEMEM_ENABLE
381 depends on ARCH_DISCONTIGMEM_ENABLE
382 select SPARSEMEM_VMEMMAP_ENABLE
384 config ARCH_DISCONTIGMEM_DEFAULT
385 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
386 depends on ARCH_DISCONTIGMEM_ENABLE
390 depends on !IA64_HP_SIM && !FLATMEM
391 default y if IA64_SGI_SN2
392 select ACPI_NUMA if ACPI
394 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
395 Access). This option is for configuring high-end multiprocessor
396 server systems. If in doubt, say N.
399 int "Max num nodes shift(3-10)"
402 depends on NEED_MULTIPLE_NODES
404 This option specifies the maximum number of nodes in your SSI system.
405 MAX_NUMNODES will be 2^(This value).
406 If in doubt, use the default.
408 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
409 # VIRTUAL_MEM_MAP has been retained for historical reasons.
410 config VIRTUAL_MEM_MAP
411 bool "Virtual mem map"
412 depends on !SPARSEMEM
413 default y if !IA64_HP_SIM
415 Say Y to compile the kernel with support for a virtual mem map.
416 This code also only takes effect if a memory hole of greater than
417 1 Gb is found during boot. You must turn this option on if you
418 require the DISCONTIGMEM option for your machine. If you are
423 default y if VIRTUAL_MEM_MAP
425 config HAVE_ARCH_EARLY_PFN_TO_NID
426 def_bool NUMA && SPARSEMEM
428 config HAVE_ARCH_NODEDATA_EXTENSION
432 config USE_PERCPU_NUMA_NODE_ID
436 config HAVE_MEMORYLESS_NODES
439 config ARCH_PROC_KCORE_TEXT
441 depends on PROC_KCORE
443 config IA64_MCA_RECOVERY
444 tristate "MCA recovery from errors other than TLB."
447 bool "Performance monitor support"
450 Selects whether support for the IA-64 performance monitor hardware
451 is included in the kernel. This makes some kernel data-structures a
452 little bigger and slows down execution a bit, but it is generally
453 a good idea to turn this on. If you're unsure, say Y.
456 tristate "/proc/pal support"
458 If you say Y here, you are able to get PAL (Processor Abstraction
459 Layer) information in /proc/pal. This contains useful information
460 about the processors in your systems, such as cache and TLB sizes
461 and the PAL firmware version in use.
463 To use this option, you have to ensure that the "/proc file system
464 support" (CONFIG_PROC_FS) is enabled, too.
466 config IA64_MC_ERR_INJECT
467 tristate "MC error injection support"
469 Adds support for MC error injection. If enabled, the kernel
470 will provide a sysfs interface for user applications to
471 call MC error injection PAL procedures to inject various errors.
472 This is a useful tool for MCA testing.
474 If you're unsure, do not select this option.
477 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
480 bool "ESI (Extensible SAL Interface) support"
482 If you say Y here, support is built into the kernel to
483 make ESI calls. ESI calls are used to support vendor-specific
484 firmware extensions, such as the ability to inject memory-errors
485 for test-purposes. If you're unsure, say N.
487 config IA64_HP_AML_NFW
488 bool "Support ACPI AML calls to native firmware"
490 This driver installs a global ACPI Operation Region handler for
491 region 0xA1. AML methods can use this OpRegion to call arbitrary
492 native firmware functions. The driver installs the OpRegion
493 handler if there is an HPQ5001 device or if the user supplies
494 the "force" module parameter, e.g., with the "aml_nfw.force"
495 kernel command line option.
497 source "drivers/sn/Kconfig"
500 bool "kexec system call"
501 depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
504 kexec is a system call that implements the ability to shutdown your
505 current kernel, and to start another kernel. It is like a reboot
506 but it is independent of the system firmware. And like a reboot
507 you can start any kernel with it, not just Linux.
509 The name comes from the similarity to the exec system call.
511 It is an ongoing process to be certain the hardware in a machine
512 is properly shutdown, so do not be surprised if this code does not
513 initially work for you. As of this writing the exact hardware
514 interface is strongly in flux, so no good recommendation can be
518 bool "kernel crash dumps"
519 depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
521 Generate crash dump after being started by kexec.
523 source "drivers/firmware/Kconfig"
527 menu "Power management and ACPI options"
529 source "kernel/power/Kconfig"
531 source "drivers/acpi/Kconfig"
534 menu "CPU Frequency scaling"
535 source "drivers/cpufreq/Kconfig"
541 source "arch/ia64/hp/sim/Kconfig"
544 tristate "Memory special operations driver"
546 select IA64_UNCACHED_ALLOCATOR
548 If you have an ia64 and you want to enable memory special
549 operations support (formerly known as fetchop), say Y here,