]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/ia64/Kconfig
sparc: Use common threadinfo allocator
[mirror_ubuntu-jammy-kernel.git] / arch / ia64 / Kconfig
CommitLineData
1da177e4
LT
1source "init/Kconfig"
2
dc52ddc0
MH
3source "kernel/Kconfig.freezer"
4
1da177e4
LT
5menu "Processor type and features"
6
7config IA64
8 bool
06f87adf
LB
9 select PCI if (!IA64_HP_SIM)
10 select ACPI if (!IA64_HP_SIM)
8140a90e 11 select PM if (!IA64_HP_SIM)
f282b970 12 select ARCH_SUPPORTS_MSI
0773a6cf 13 select HAVE_UNSTABLE_SCHED_CLOCK
ec7748b5 14 select HAVE_IDE
42d4b839 15 select HAVE_OPROFILE
3f550096 16 select HAVE_KPROBES
9edddaa2 17 select HAVE_KRETPROBES
a14a07b8
SL
18 select HAVE_FTRACE_MCOUNT_RECORD
19 select HAVE_DYNAMIC_FTRACE if (!ITANIUM)
d3e75ff1 20 select HAVE_FUNCTION_TRACER
74bc7cee 21 select HAVE_DMA_ATTRS
b693919c 22 select HAVE_KVM
9690ad03 23 select HAVE_ARCH_TRACEHOOK
99162195 24 select HAVE_DMA_API_DEBUG
c5e66129 25 select HAVE_GENERIC_HARDIRQS
98e4ae8a
TH
26 select HAVE_MEMBLOCK
27 select HAVE_MEMBLOCK_NODE_MAP
28 select ARCH_DISCARD_MEMBLOCK
c5e66129
TG
29 select GENERIC_IRQ_PROBE
30 select GENERIC_PENDING_IRQ if SMP
31 select IRQ_PER_CPU
e3d78122 32 select GENERIC_IRQ_SHOW
badc1446 33 select ARCH_WANT_OPTIONAL_GPIOLIB
df013ffb 34 select ARCH_HAVE_NMI_SAFE_CMPXCHG
4673ca8e 35 select GENERIC_IOMAP
13583bf1 36 select GENERIC_SMP_IDLE_THREAD
a6359d1e 37 select ARCH_INIT_TASK
1da177e4
LT
38 default y
39 help
40 The Itanium Processor Family is Intel's 64-bit successor to
41 the 32-bit X86 line. The IA-64 Linux project has a home
42 page at <http://www.linuxia64.org/> and a mailing list at
43 <linux-ia64@vger.kernel.org>.
44
45config 64BIT
46 bool
9f271d57 47 select ATA_NONSTANDARD if ATA
1da177e4
LT
48 default y
49
66701b14 50config ZONE_DMA
09ae1f58
CL
51 def_bool y
52 depends on !IA64_SGI_SN2
66701b14 53
2bd62a40
CL
54config QUICKLIST
55 bool
56 default y
57
1da177e4
LT
58config MMU
59 bool
60 default y
61
e33621a2
FT
62config ARCH_DMA_ADDR_T_64BIT
63 def_bool y
64
66ed5ef8
FT
65config NEED_DMA_MAP_STATE
66 def_bool y
67
18e98307
FT
68config NEED_SG_DMA_LENGTH
69 def_bool y
70
6c654b5f
JL
71config SWIOTLB
72 bool
6c654b5f 73
85718fae
TL
74config STACKTRACE_SUPPORT
75 def_bool y
76
95c354fe 77config GENERIC_LOCKBREAK
2c86963b 78 def_bool n
95c354fe 79
1da177e4
LT
80config RWSEM_XCHGADD_ALGORITHM
81 bool
82 default y
83
d9c23400
MG
84config HUGETLB_PAGE_SIZE_VARIABLE
85 bool
86 depends on HUGETLB_PAGE
87 default y
88
1da177e4
LT
89config GENERIC_CALIBRATE_DELAY
90 bool
91 default y
92
0aa366f3 93config GENERIC_TIME_VSYSCALL
1da177e4
LT
94 bool
95 default y
96
988c388a 97config HAVE_SETUP_PER_CPU_AREA
b32ef636 98 def_bool y
99
badc1446 100config GENERIC_GPIO
95488698 101 bool
badc1446 102
3ed3bce8
MD
103config DMI
104 bool
105 default y
106
1da177e4
LT
107config EFI
108 bool
109 default y
110
ae7bd11b
PA
111config ARCH_CLOCKSOURCE_DATA
112 def_bool y
113
ae1e9130 114config SCHED_OMIT_FRAME_POINTER
7d12e522
AB
115 bool
116 default y
117
f14f75b8
JS
118config IA64_UNCACHED_ALLOCATOR
119 bool
120 select GENERIC_ALLOCATOR
121
46cf98cd
VP
122config ARCH_USES_PG_UNCACHED
123 def_bool y
124 depends on IA64_UNCACHED_ALLOCATOR
125
e65e1fc2
AV
126config AUDIT_ARCH
127 bool
128 default y
129
ba9cc328
IY
130menuconfig PARAVIRT_GUEST
131 bool "Paravirtualized guest support"
132 help
133 Say Y here to get to see options related to running Linux under
134 various hypervisors. This option alone does not add any kernel code.
135
136 If you say N, all options in this submenu will be skipped and disabled.
137
138if PARAVIRT_GUEST
139
140config PARAVIRT
141 bool "Enable paravirtualization code"
142 depends on PARAVIRT_GUEST
143 default y
144 bool
145 default y
146 help
147 This changes the kernel so it can modify itself when it is run
148 under a hypervisor, potentially improving performance significantly
149 over full virtualization. However, when run without a hypervisor
150 the kernel is theoretically slower and slightly larger.
151
152
153source "arch/ia64/xen/Kconfig"
154
155endif
156
1da177e4
LT
157choice
158 prompt "System type"
159 default IA64_GENERIC
160
161config IA64_GENERIC
162 bool "generic"
163 select NUMA
164 select ACPI_NUMA
d1598e05 165 select SWIOTLB
62fdd767 166 select PCI_MSI
1da177e4
LT
167 help
168 This selects the system type of your hardware. A "generic" kernel
169 will run on any supported IA-64 system. However, if you configure
170 a kernel for your specific system, it will be faster and smaller.
171
172 generic For any supported IA-64 system
173 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
62fdd767 174 DIG+Intel+IOMMU For DIG systems with Intel IOMMU
1da177e4
LT
175 HP-zx1/sx1000 For HP systems
176 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
177 SGI-SN2 For SGI Altix systems
22246614 178 SGI-UV For SGI UV systems
1da177e4 179 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
ba9cc328 180 Xen-domU For xen domU system
1da177e4
LT
181
182 If you don't know what to do, choose "generic".
183
184config IA64_DIG
185 bool "DIG-compliant"
d1598e05 186 select SWIOTLB
1da177e4 187
62fdd767
FY
188config IA64_DIG_VTD
189 bool "DIG+Intel+IOMMU"
190 select DMAR
191 select PCI_MSI
192
1da177e4
LT
193config IA64_HP_ZX1
194 bool "HP-zx1/sx1000"
195 help
196 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
197 support for the HP I/O MMU.
198
199config IA64_HP_ZX1_SWIOTLB
200 bool "HP-zx1/sx1000 with software I/O TLB"
d1598e05 201 select SWIOTLB
1da177e4
LT
202 help
203 Build a kernel that runs on HP zx1 and sx1000 systems even when they
204 have broken PCI devices which cannot DMA to full 32 bits. Apart
205 from support for the HP I/O MMU, this includes support for the software
206 I/O TLB, which allows supporting the broken devices at the expense of
207 wasting some kernel memory (about 2MB by default).
208
209config IA64_SGI_SN2
210 bool "SGI-SN2"
bd3be240
JS
211 select NUMA
212 select ACPI_NUMA
1da177e4
LT
213 help
214 Selecting this option will optimize the kernel for use on sn2 based
215 systems, but the resulting kernel binary will not run on other
216 types of ia64 systems. If you have an SGI Altix system, it's safe
217 to select this option. If in doubt, select ia64 generic support
218 instead.
219
3351ab9b
JS
220config IA64_SGI_UV
221 bool "SGI-UV"
22246614
JS
222 select NUMA
223 select ACPI_NUMA
224 select SWIOTLB
225 help
226 Selecting this option will optimize the kernel for use on UV based
227 systems, but the resulting kernel binary will not run on other
228 types of ia64 systems. If you have an SGI UV system, it's safe
229 to select this option. If in doubt, select ia64 generic support
230 instead.
231
1da177e4
LT
232config IA64_HP_SIM
233 bool "Ski-simulator"
d1598e05 234 select SWIOTLB
1da177e4 235
ba9cc328
IY
236config IA64_XEN_GUEST
237 bool "Xen guest"
1d5b20f4 238 select SWIOTLB
ba9cc328 239 depends on XEN
1d5b20f4
IY
240 help
241 Build a kernel that runs on Xen guest domain. At this moment only
242 16KB page size in supported.
ba9cc328 243
1da177e4
LT
244endchoice
245
246choice
247 prompt "Processor type"
248 default ITANIUM
249
250config ITANIUM
251 bool "Itanium"
252 help
253 Select your IA-64 processor type. The default is Itanium.
254 This choice is safe for all IA-64 systems, but may not perform
255 optimally on systems with, say, Itanium 2 or newer processors.
256
257config MCKINLEY
258 bool "Itanium 2"
259 help
260 Select this to configure for an Itanium 2 (McKinley) processor.
261
262endchoice
263
264choice
265 prompt "Kernel page size"
266 default IA64_PAGE_SIZE_16KB
267
268config IA64_PAGE_SIZE_4KB
269 bool "4KB"
270 help
271 This lets you select the page size of the kernel. For best IA-64
272 performance, a page size of 8KB or 16KB is recommended. For best
273 IA-32 compatibility, a page size of 4KB should be selected (the vast
274 majority of IA-32 binaries work perfectly fine with a larger page
275 size). For Itanium 2 or newer systems, a page size of 64KB can also
276 be selected.
277
278 4KB For best IA-32 compatibility
279 8KB For best IA-64 performance
280 16KB For best IA-64 performance
281 64KB Requires Itanium 2 or newer processor.
282
283 If you don't know what to do, choose 16KB.
284
285config IA64_PAGE_SIZE_8KB
286 bool "8KB"
287
288config IA64_PAGE_SIZE_16KB
289 bool "16KB"
290
291config IA64_PAGE_SIZE_64KB
292 depends on !ITANIUM
293 bool "64KB"
294
295endchoice
296
837cd0bd
RH
297choice
298 prompt "Page Table Levels"
299 default PGTABLE_3
300
301config PGTABLE_3
302 bool "3 Levels"
303
304config PGTABLE_4
305 depends on !IA64_PAGE_SIZE_64KB
306 bool "4 Levels"
307
308endchoice
309
10d0aa3c
TL
310if IA64_HP_SIM
311config HZ
312 default 32
313endif
314
315if !IA64_HP_SIM
b5d23e5b 316source kernel/Kconfig.hz
10d0aa3c 317endif
b5d23e5b 318
1da177e4
LT
319config IA64_BRL_EMU
320 bool
321 depends on ITANIUM
322 default y
323
324# align cache-sensitive data to 128 bytes
325config IA64_L1_CACHE_SHIFT
326 int
327 default "7" if MCKINLEY
328 default "6" if ITANIUM
329
1da177e4
LT
330config IA64_CYCLONE
331 bool "Cyclone (EXA) Time Source support"
332 help
333 Say Y here to enable support for IBM EXA Cyclone time source.
334 If you're unsure, answer N.
335
336config IOSAPIC
337 bool
338 depends on !IA64_HP_SIM
339 default y
340
1da177e4 341config FORCE_MAX_ZONEORDER
da9577c5
BP
342 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
343 range 11 17 if !HUGETLB_PAGE
344 default "17" if HUGETLB_PAGE
345 default "11"
1da177e4 346
b64f34cd
HS
347config VIRT_CPU_ACCOUNTING
348 bool "Deterministic task and CPU time accounting"
349 default n
350 help
351 Select this option to enable more accurate task and CPU time
352 accounting. This is done by reading a CPU counter on each
353 kernel entry and exit and on transitions within the kernel
354 between system, softirq and hardirq state, so there is a
355 small performance impact.
356 If in doubt, say N here.
357
1da177e4
LT
358config SMP
359 bool "Symmetric multi-processing support"
f27b433e 360 select USE_GENERIC_SMP_HELPERS
1da177e4
LT
361 help
362 This enables support for systems with more than one CPU. If you have
363 a system with only one CPU, say N. If you have a system with more
364 than one CPU, say Y.
365
366 If you say N here, the kernel will run on single and multiprocessor
367 systems, but will use only one CPU of a multiprocessor system. If
368 you say Y here, the kernel will run on many, but not all,
369 single processor systems. On a single processor system, the kernel
370 will run faster if you say N here.
371
03502faa
AB
372 See also the SMP-HOWTO available at
373 <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
374
375 If you don't know what to do here, say N.
376
377config NR_CPUS
d1339df1
RH
378 int "Maximum number of CPUs (2-4096)"
379 range 2 4096
1da177e4 380 depends on SMP
d1339df1 381 default "4096"
1da177e4
LT
382 help
383 You should set this to the number of CPUs in your system, but
384 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
385 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
386 than 64 will cause the use of a CPU mask array, causing a small
387 performance hit.
388
389config HOTPLUG_CPU
390 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
391 depends on SMP && EXPERIMENTAL
392 select HOTPLUG
393 default n
394 ---help---
395 Say Y here to experiment with turning CPUs off and on. CPUs
396 can be controlled through /sys/devices/system/cpu/cpu#.
397 Say N if you want to disable CPU hotplug.
398
cc57637b
YG
399config ARCH_ENABLE_MEMORY_HOTPLUG
400 def_bool y
401
0c0e6195
KH
402config ARCH_ENABLE_MEMORY_HOTREMOVE
403 def_bool y
404
7a9bdd88
SS
405config SCHED_SMT
406 bool "SMT scheduler support"
407 depends on SMP
7a9bdd88
SS
408 help
409 Improves the CPU scheduler's decision making when dealing with
410 Intel IA64 chips with MultiThreading at a cost of slightly increased
411 overhead in some places. If unsure say N here.
412
ff741906
AR
413config PERMIT_BSP_REMOVE
414 bool "Support removal of Bootstrap Processor"
415 depends on HOTPLUG_CPU
416 default n
417 ---help---
418 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
419 support.
420
421config FORCE_CPEI_RETARGET
25985edc 422 bool "Force assumption that CPEI can be re-targeted"
ff741906
AR
423 depends on PERMIT_BSP_REMOVE
424 default n
425 ---help---
25985edc 426 Say Y if you need to force the assumption that CPEI can be re-targeted to
ff741906
AR
427 any cpu in the system. This hint is available via ACPI 3.0 specifications.
428 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
429 This option it useful to enable this feature on older BIOS's as well.
430 You can also enable this by using boot command line option force_cpei=1.
431
0b0517a4 432source "kernel/Kconfig.preempt"
1da177e4 433
3f22ab27
DH
434source "mm/Kconfig"
435
da9577c5
BP
436config ARCH_SELECT_MEMORY_MODEL
437 def_bool y
438
439config ARCH_DISCONTIGMEM_ENABLE
440 def_bool y
441 help
442 Say Y to support efficient handling of discontiguous physical memory,
443 for architectures which are either NUMA (Non-Uniform Memory Access)
444 or have huge holes in the physical address space for other reasons.
445 See <file:Documentation/vm/numa> for more.
446
447config ARCH_FLATMEM_ENABLE
448 def_bool y
449
450config ARCH_SPARSEMEM_ENABLE
451 def_bool y
452 depends on ARCH_DISCONTIGMEM_ENABLE
ef229c5a 453 select SPARSEMEM_VMEMMAP_ENABLE
da9577c5
BP
454
455config ARCH_DISCONTIGMEM_DEFAULT
456 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
457 depends on ARCH_DISCONTIGMEM_ENABLE
458
459config NUMA
460 bool "NUMA support"
461 depends on !IA64_HP_SIM && !FLATMEM
462 default y if IA64_SGI_SN2
6c33eb39 463 select ACPI_NUMA if ACPI
da9577c5
BP
464 help
465 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
466 Access). This option is for configuring high-end multiprocessor
467 server systems. If in doubt, say N.
468
c80d79d7
YG
469config NODES_SHIFT
470 int "Max num nodes shift(3-10)"
471 range 3 10
c57d68ca 472 default "10"
c80d79d7
YG
473 depends on NEED_MULTIPLE_NODES
474 help
475 This option specifies the maximum number of nodes in your SSI system.
476 MAX_NUMNODES will be 2^(This value).
477 If in doubt, use the default.
478
da9577c5
BP
479# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
480# VIRTUAL_MEM_MAP has been retained for historical reasons.
481config VIRTUAL_MEM_MAP
482 bool "Virtual mem map"
483 depends on !SPARSEMEM
484 default y if !IA64_HP_SIM
485 help
486 Say Y to compile the kernel with support for a virtual mem map.
487 This code also only takes effect if a memory hole of greater than
488 1 Gb is found during boot. You must turn this option on if you
489 require the DISCONTIGMEM option for your machine. If you are
490 unsure, say Y.
491
492config HOLES_IN_ZONE
493 bool
494 default y if VIRTUAL_MEM_MAP
495
496config HAVE_ARCH_EARLY_PFN_TO_NID
334f85b6 497 def_bool NUMA && SPARSEMEM
da9577c5 498
10ad400b
YG
499config HAVE_ARCH_NODEDATA_EXTENSION
500 def_bool y
501 depends on NUMA
502
3bccd996
LS
503config USE_PERCPU_NUMA_NODE_ID
504 def_bool y
505 depends on NUMA
506
fd1197f1 507config HAVE_MEMORYLESS_NODES
25106000 508 def_bool NUMA
fd1197f1 509
9492587c
KH
510config ARCH_PROC_KCORE_TEXT
511 def_bool y
512 depends on PROC_KCORE
513
1da177e4
LT
514config IA64_MCA_RECOVERY
515 tristate "MCA recovery from errors other than TLB."
516
517config PERFMON
518 bool "Performance monitor support"
519 help
520 Selects whether support for the IA-64 performance monitor hardware
521 is included in the kernel. This makes some kernel data-structures a
522 little bigger and slows down execution a bit, but it is generally
523 a good idea to turn this on. If you're unsure, say Y.
524
525config IA64_PALINFO
526 tristate "/proc/pal support"
527 help
528 If you say Y here, you are able to get PAL (Processor Abstraction
529 Layer) information in /proc/pal. This contains useful information
530 about the processors in your systems, such as cache and TLB sizes
531 and the PAL firmware version in use.
532
533 To use this option, you have to ensure that the "/proc file system
534 support" (CONFIG_PROC_FS) is enabled, too.
535
e9ef08bd
FY
536config IA64_MC_ERR_INJECT
537 tristate "MC error injection support"
538 help
01dd2fbf
ML
539 Adds support for MC error injection. If enabled, the kernel
540 will provide a sysfs interface for user applications to
541 call MC error injection PAL procedures to inject various errors.
e9ef08bd
FY
542 This is a useful tool for MCA testing.
543
544 If you're unsure, do not select this option.
545
466575f4
JS
546config SGI_SN
547 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
548
2ab561a1
DMT
549config IA64_ESI
550 bool "ESI (Extensible SAL Interface) support"
551 help
552 If you say Y here, support is built into the kernel to
553 make ESI calls. ESI calls are used to support vendor-specific
554 firmware extensions, such as the ability to inject memory-errors
555 for test-purposes. If you're unsure, say N.
556
28eda5b8
BH
557config IA64_HP_AML_NFW
558 bool "Support ACPI AML calls to native firmware"
559 help
560 This driver installs a global ACPI Operation Region handler for
561 region 0xA1. AML methods can use this OpRegion to call arbitrary
562 native firmware functions. The driver installs the OpRegion
563 handler if there is an HPQ5001 device or if the user supplies
564 the "force" module parameter, e.g., with the "aml_nfw.force"
565 kernel command line option.
566
c1311af1
BC
567source "drivers/sn/Kconfig"
568
a7956113
ZN
569config KEXEC
570 bool "kexec system call (EXPERIMENTAL)"
571 depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
572 help
573 kexec is a system call that implements the ability to shutdown your
574 current kernel, and to start another kernel. It is like a reboot
3dde6ad8 575 but it is independent of the system firmware. And like a reboot
a7956113
ZN
576 you can start any kernel with it, not just Linux.
577
01dd2fbf 578 The name comes from the similarity to the exec system call.
a7956113
ZN
579
580 It is an ongoing process to be certain the hardware in a machine
581 is properly shutdown, so do not be surprised if this code does not
582 initially work for you. It may help to enable device hotplugging
583 support. As of this writing the exact hardware interface is
584 strongly in flux, so no good recommendation can be made.
585
586config CRASH_DUMP
fb86611f
BW
587 bool "kernel crash dumps"
588 depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
a7956113
ZN
589 help
590 Generate crash dump after being started by kexec.
591
1da177e4
LT
592source "drivers/firmware/Kconfig"
593
594source "fs/Kconfig.binfmt"
595
596endmenu
597
1547a012 598menu "Power management and ACPI options"
1da177e4 599
eb7b6b32 600source "kernel/power/Kconfig"
1da177e4
LT
601
602source "drivers/acpi/Kconfig"
603
4db8699b
VP
604if PM
605
606source "arch/ia64/kernel/cpufreq/Kconfig"
607
608endif
609
1da177e4
LT
610endmenu
611
612if !IA64_HP_SIM
613
614menu "Bus options (PCI, PCMCIA)"
615
616config PCI
617 bool "PCI support"
618 help
85f265d8
CH
619 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
620 here unless you are using a simulator without PCI support.
1da177e4
LT
621
622config PCI_DOMAINS
36e23590
MW
623 def_bool PCI
624
625config PCI_SYSCALL
626 def_bool PCI
1da177e4 627
b7bb575c
KK
628source "drivers/pci/pcie/Kconfig"
629
1da177e4
LT
630source "drivers/pci/Kconfig"
631
632source "drivers/pci/hotplug/Kconfig"
633
634source "drivers/pcmcia/Kconfig"
635
636endmenu
637
638endif
639
d5950b43
SR
640source "net/Kconfig"
641
1da177e4
LT
642source "drivers/Kconfig"
643
1547a012
BH
644source "arch/ia64/hp/sim/Kconfig"
645
1a4b0fc5
JS
646config MSPEC
647 tristate "Memory special operations driver"
648 depends on IA64
649 select IA64_UNCACHED_ALLOCATOR
650 help
651 If you have an ia64 and you want to enable memory special
652 operations support (formerly known as fetchop), say Y here,
653 otherwise say N.
654
1da177e4
LT
655source "fs/Kconfig"
656
1547a012
BH
657source "arch/ia64/Kconfig.debug"
658
659source "security/Kconfig"
660
661source "crypto/Kconfig"
662
b693919c
XZ
663source "arch/ia64/kvm/Kconfig"
664
1da177e4
LT
665source "lib/Kconfig"
666
b34eb53c 667config IOMMU_HELPER
a8522509 668 def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)