]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/ia64/Kconfig
[IA64] VIRT_CPU_ACCOUNTING (accurate cpu time accounting)
[mirror_ubuntu-focal-kernel.git] / arch / ia64 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "IA-64 Linux Kernel Configuration"
7
8 source "init/Kconfig"
9
10 menu "Processor type and features"
11
12 config IA64
13 bool
14 select PCI if (!IA64_HP_SIM)
15 select ACPI if (!IA64_HP_SIM)
16 select PM if (!IA64_HP_SIM)
17 select ARCH_SUPPORTS_MSI
18 select HAVE_IDE
19 select HAVE_OPROFILE
20 select HAVE_KPROBES
21 default y
22 help
23 The Itanium Processor Family is Intel's 64-bit successor to
24 the 32-bit X86 line. The IA-64 Linux project has a home
25 page at <http://www.linuxia64.org/> and a mailing list at
26 <linux-ia64@vger.kernel.org>.
27
28 config 64BIT
29 bool
30 select ATA_NONSTANDARD if ATA
31 default y
32
33 config ZONE_DMA
34 def_bool y
35 depends on !IA64_SGI_SN2
36
37 config QUICKLIST
38 bool
39 default y
40
41 config MMU
42 bool
43 default y
44
45 config SWIOTLB
46 bool
47
48 config GENERIC_LOCKBREAK
49 bool
50 default y
51 depends on SMP && PREEMPT
52
53 config RWSEM_XCHGADD_ALGORITHM
54 bool
55 default y
56
57 config ARCH_HAS_ILOG2_U32
58 bool
59 default n
60
61 config ARCH_HAS_ILOG2_U64
62 bool
63 default n
64
65 config HUGETLB_PAGE_SIZE_VARIABLE
66 bool
67 depends on HUGETLB_PAGE
68 default y
69
70 config GENERIC_FIND_NEXT_BIT
71 bool
72 default y
73
74 config GENERIC_CALIBRATE_DELAY
75 bool
76 default y
77
78 config GENERIC_TIME
79 bool
80 default y
81
82 config GENERIC_TIME_VSYSCALL
83 bool
84 default y
85
86 config HAVE_SETUP_PER_CPU_AREA
87 def_bool y
88
89 config DMI
90 bool
91 default y
92
93 config EFI
94 bool
95 default y
96
97 config GENERIC_IOMAP
98 bool
99 default y
100
101 config SCHED_NO_NO_OMIT_FRAME_POINTER
102 bool
103 default y
104
105 config IA64_UNCACHED_ALLOCATOR
106 bool
107 select GENERIC_ALLOCATOR
108
109 config AUDIT_ARCH
110 bool
111 default y
112
113 choice
114 prompt "System type"
115 default IA64_GENERIC
116
117 config IA64_GENERIC
118 bool "generic"
119 select NUMA
120 select ACPI_NUMA
121 select SWIOTLB
122 help
123 This selects the system type of your hardware. A "generic" kernel
124 will run on any supported IA-64 system. However, if you configure
125 a kernel for your specific system, it will be faster and smaller.
126
127 generic For any supported IA-64 system
128 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
129 HP-zx1/sx1000 For HP systems
130 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
131 SGI-SN2 For SGI Altix systems
132 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
133
134 If you don't know what to do, choose "generic".
135
136 config IA64_DIG
137 bool "DIG-compliant"
138 select SWIOTLB
139
140 config IA64_HP_ZX1
141 bool "HP-zx1/sx1000"
142 help
143 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
144 support for the HP I/O MMU.
145
146 config IA64_HP_ZX1_SWIOTLB
147 bool "HP-zx1/sx1000 with software I/O TLB"
148 select SWIOTLB
149 help
150 Build a kernel that runs on HP zx1 and sx1000 systems even when they
151 have broken PCI devices which cannot DMA to full 32 bits. Apart
152 from support for the HP I/O MMU, this includes support for the software
153 I/O TLB, which allows supporting the broken devices at the expense of
154 wasting some kernel memory (about 2MB by default).
155
156 config IA64_SGI_SN2
157 bool "SGI-SN2"
158 help
159 Selecting this option will optimize the kernel for use on sn2 based
160 systems, but the resulting kernel binary will not run on other
161 types of ia64 systems. If you have an SGI Altix system, it's safe
162 to select this option. If in doubt, select ia64 generic support
163 instead.
164
165 config IA64_HP_SIM
166 bool "Ski-simulator"
167 select SWIOTLB
168
169 endchoice
170
171 choice
172 prompt "Processor type"
173 default ITANIUM
174
175 config ITANIUM
176 bool "Itanium"
177 help
178 Select your IA-64 processor type. The default is Itanium.
179 This choice is safe for all IA-64 systems, but may not perform
180 optimally on systems with, say, Itanium 2 or newer processors.
181
182 config MCKINLEY
183 bool "Itanium 2"
184 help
185 Select this to configure for an Itanium 2 (McKinley) processor.
186
187 endchoice
188
189 choice
190 prompt "Kernel page size"
191 default IA64_PAGE_SIZE_16KB
192
193 config IA64_PAGE_SIZE_4KB
194 bool "4KB"
195 help
196 This lets you select the page size of the kernel. For best IA-64
197 performance, a page size of 8KB or 16KB is recommended. For best
198 IA-32 compatibility, a page size of 4KB should be selected (the vast
199 majority of IA-32 binaries work perfectly fine with a larger page
200 size). For Itanium 2 or newer systems, a page size of 64KB can also
201 be selected.
202
203 4KB For best IA-32 compatibility
204 8KB For best IA-64 performance
205 16KB For best IA-64 performance
206 64KB Requires Itanium 2 or newer processor.
207
208 If you don't know what to do, choose 16KB.
209
210 config IA64_PAGE_SIZE_8KB
211 bool "8KB"
212
213 config IA64_PAGE_SIZE_16KB
214 bool "16KB"
215
216 config IA64_PAGE_SIZE_64KB
217 depends on !ITANIUM
218 bool "64KB"
219
220 endchoice
221
222 choice
223 prompt "Page Table Levels"
224 default PGTABLE_3
225
226 config PGTABLE_3
227 bool "3 Levels"
228
229 config PGTABLE_4
230 depends on !IA64_PAGE_SIZE_64KB
231 bool "4 Levels"
232
233 endchoice
234
235 if IA64_HP_SIM
236 config HZ
237 default 32
238 endif
239
240 if !IA64_HP_SIM
241 source kernel/Kconfig.hz
242 endif
243
244 config IA64_BRL_EMU
245 bool
246 depends on ITANIUM
247 default y
248
249 # align cache-sensitive data to 128 bytes
250 config IA64_L1_CACHE_SHIFT
251 int
252 default "7" if MCKINLEY
253 default "6" if ITANIUM
254
255 config IA64_CYCLONE
256 bool "Cyclone (EXA) Time Source support"
257 help
258 Say Y here to enable support for IBM EXA Cyclone time source.
259 If you're unsure, answer N.
260
261 config IOSAPIC
262 bool
263 depends on !IA64_HP_SIM
264 default y
265
266 config IA64_SGI_SN_XP
267 tristate "Support communication between SGI SSIs"
268 depends on IA64_GENERIC || IA64_SGI_SN2
269 select IA64_UNCACHED_ALLOCATOR
270 help
271 An SGI machine can be divided into multiple Single System
272 Images which act independently of each other and have
273 hardware based memory protection from the others. Enabling
274 this feature will allow for direct communication between SSIs
275 based on a network adapter and DMA messaging.
276
277 config FORCE_MAX_ZONEORDER
278 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
279 range 11 17 if !HUGETLB_PAGE
280 default "17" if HUGETLB_PAGE
281 default "11"
282
283 config VIRT_CPU_ACCOUNTING
284 bool "Deterministic task and CPU time accounting"
285 default n
286 help
287 Select this option to enable more accurate task and CPU time
288 accounting. This is done by reading a CPU counter on each
289 kernel entry and exit and on transitions within the kernel
290 between system, softirq and hardirq state, so there is a
291 small performance impact.
292 If in doubt, say N here.
293
294 config SMP
295 bool "Symmetric multi-processing support"
296 help
297 This enables support for systems with more than one CPU. If you have
298 a system with only one CPU, say N. If you have a system with more
299 than one CPU, say Y.
300
301 If you say N here, the kernel will run on single and multiprocessor
302 systems, but will use only one CPU of a multiprocessor system. If
303 you say Y here, the kernel will run on many, but not all,
304 single processor systems. On a single processor system, the kernel
305 will run faster if you say N here.
306
307 See also the SMP-HOWTO available at
308 <http://www.tldp.org/docs.html#howto>.
309
310 If you don't know what to do here, say N.
311
312 config NR_CPUS
313 int "Maximum number of CPUs (2-1024)"
314 range 2 1024
315 depends on SMP
316 default "1024"
317 help
318 You should set this to the number of CPUs in your system, but
319 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
320 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
321 than 64 will cause the use of a CPU mask array, causing a small
322 performance hit.
323
324 config HOTPLUG_CPU
325 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
326 depends on SMP && EXPERIMENTAL
327 select HOTPLUG
328 default n
329 ---help---
330 Say Y here to experiment with turning CPUs off and on. CPUs
331 can be controlled through /sys/devices/system/cpu/cpu#.
332 Say N if you want to disable CPU hotplug.
333
334 config ARCH_ENABLE_MEMORY_HOTPLUG
335 def_bool y
336
337 config ARCH_ENABLE_MEMORY_HOTREMOVE
338 def_bool y
339
340 config SCHED_SMT
341 bool "SMT scheduler support"
342 depends on SMP
343 help
344 Improves the CPU scheduler's decision making when dealing with
345 Intel IA64 chips with MultiThreading at a cost of slightly increased
346 overhead in some places. If unsure say N here.
347
348 config PERMIT_BSP_REMOVE
349 bool "Support removal of Bootstrap Processor"
350 depends on HOTPLUG_CPU
351 default n
352 ---help---
353 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
354 support.
355
356 config FORCE_CPEI_RETARGET
357 bool "Force assumption that CPEI can be re-targetted"
358 depends on PERMIT_BSP_REMOVE
359 default n
360 ---help---
361 Say Y if you need to force the assumption that CPEI can be re-targetted to
362 any cpu in the system. This hint is available via ACPI 3.0 specifications.
363 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
364 This option it useful to enable this feature on older BIOS's as well.
365 You can also enable this by using boot command line option force_cpei=1.
366
367 source "kernel/Kconfig.preempt"
368
369 source "mm/Kconfig"
370
371 config ARCH_SELECT_MEMORY_MODEL
372 def_bool y
373
374 config ARCH_DISCONTIGMEM_ENABLE
375 def_bool y
376 help
377 Say Y to support efficient handling of discontiguous physical memory,
378 for architectures which are either NUMA (Non-Uniform Memory Access)
379 or have huge holes in the physical address space for other reasons.
380 See <file:Documentation/vm/numa> for more.
381
382 config ARCH_FLATMEM_ENABLE
383 def_bool y
384
385 config ARCH_SPARSEMEM_ENABLE
386 def_bool y
387 depends on ARCH_DISCONTIGMEM_ENABLE
388 select SPARSEMEM_VMEMMAP_ENABLE
389
390 config ARCH_DISCONTIGMEM_DEFAULT
391 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
392 depends on ARCH_DISCONTIGMEM_ENABLE
393
394 config NUMA
395 bool "NUMA support"
396 depends on !IA64_HP_SIM && !FLATMEM
397 default y if IA64_SGI_SN2
398 select ACPI_NUMA if ACPI
399 help
400 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
401 Access). This option is for configuring high-end multiprocessor
402 server systems. If in doubt, say N.
403
404 config NODES_SHIFT
405 int "Max num nodes shift(3-10)"
406 range 3 10
407 default "10"
408 depends on NEED_MULTIPLE_NODES
409 help
410 This option specifies the maximum number of nodes in your SSI system.
411 MAX_NUMNODES will be 2^(This value).
412 If in doubt, use the default.
413
414 config ARCH_POPULATES_NODE_MAP
415 def_bool y
416
417 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
418 # VIRTUAL_MEM_MAP has been retained for historical reasons.
419 config VIRTUAL_MEM_MAP
420 bool "Virtual mem map"
421 depends on !SPARSEMEM
422 default y if !IA64_HP_SIM
423 help
424 Say Y to compile the kernel with support for a virtual mem map.
425 This code also only takes effect if a memory hole of greater than
426 1 Gb is found during boot. You must turn this option on if you
427 require the DISCONTIGMEM option for your machine. If you are
428 unsure, say Y.
429
430 config HOLES_IN_ZONE
431 bool
432 default y if VIRTUAL_MEM_MAP
433
434 config HAVE_ARCH_EARLY_PFN_TO_NID
435 def_bool y
436 depends on NEED_MULTIPLE_NODES
437
438 config HAVE_ARCH_NODEDATA_EXTENSION
439 def_bool y
440 depends on NUMA
441
442 config IA32_SUPPORT
443 bool "Support for Linux/x86 binaries"
444 help
445 IA-64 processors can execute IA-32 (X86) instructions. By
446 saying Y here, the kernel will include IA-32 system call
447 emulation support which makes it possible to transparently
448 run IA-32 Linux binaries on an IA-64 Linux system.
449 If in doubt, say Y.
450
451 config COMPAT
452 bool
453 depends on IA32_SUPPORT
454 default y
455
456 config COMPAT_FOR_U64_ALIGNMENT
457 def_bool COMPAT
458
459 config IA64_MCA_RECOVERY
460 tristate "MCA recovery from errors other than TLB."
461
462 config PERFMON
463 bool "Performance monitor support"
464 help
465 Selects whether support for the IA-64 performance monitor hardware
466 is included in the kernel. This makes some kernel data-structures a
467 little bigger and slows down execution a bit, but it is generally
468 a good idea to turn this on. If you're unsure, say Y.
469
470 config IA64_PALINFO
471 tristate "/proc/pal support"
472 help
473 If you say Y here, you are able to get PAL (Processor Abstraction
474 Layer) information in /proc/pal. This contains useful information
475 about the processors in your systems, such as cache and TLB sizes
476 and the PAL firmware version in use.
477
478 To use this option, you have to ensure that the "/proc file system
479 support" (CONFIG_PROC_FS) is enabled, too.
480
481 config IA64_MC_ERR_INJECT
482 tristate "MC error injection support"
483 help
484 Adds support for MC error injection. If enabled, the kernel
485 will provide a sysfs interface for user applications to
486 call MC error injection PAL procedures to inject various errors.
487 This is a useful tool for MCA testing.
488
489 If you're unsure, do not select this option.
490
491 config SGI_SN
492 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
493
494 config IA64_ESI
495 bool "ESI (Extensible SAL Interface) support"
496 help
497 If you say Y here, support is built into the kernel to
498 make ESI calls. ESI calls are used to support vendor-specific
499 firmware extensions, such as the ability to inject memory-errors
500 for test-purposes. If you're unsure, say N.
501
502 config IA64_HP_AML_NFW
503 bool "Support ACPI AML calls to native firmware"
504 help
505 This driver installs a global ACPI Operation Region handler for
506 region 0xA1. AML methods can use this OpRegion to call arbitrary
507 native firmware functions. The driver installs the OpRegion
508 handler if there is an HPQ5001 device or if the user supplies
509 the "force" module parameter, e.g., with the "aml_nfw.force"
510 kernel command line option.
511
512 source "drivers/sn/Kconfig"
513
514 config KEXEC
515 bool "kexec system call (EXPERIMENTAL)"
516 depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
517 help
518 kexec is a system call that implements the ability to shutdown your
519 current kernel, and to start another kernel. It is like a reboot
520 but it is independent of the system firmware. And like a reboot
521 you can start any kernel with it, not just Linux.
522
523 The name comes from the similarity to the exec system call.
524
525 It is an ongoing process to be certain the hardware in a machine
526 is properly shutdown, so do not be surprised if this code does not
527 initially work for you. It may help to enable device hotplugging
528 support. As of this writing the exact hardware interface is
529 strongly in flux, so no good recommendation can be made.
530
531 config CRASH_DUMP
532 bool "kernel crash dumps (EXPERIMENTAL)"
533 depends on EXPERIMENTAL && IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
534 help
535 Generate crash dump after being started by kexec.
536
537 source "drivers/firmware/Kconfig"
538
539 source "fs/Kconfig.binfmt"
540
541 endmenu
542
543 menu "Power management and ACPI"
544
545 source "kernel/power/Kconfig"
546
547 source "drivers/acpi/Kconfig"
548
549 if PM
550
551 source "arch/ia64/kernel/cpufreq/Kconfig"
552
553 endif
554
555 endmenu
556
557 if !IA64_HP_SIM
558
559 menu "Bus options (PCI, PCMCIA)"
560
561 config PCI
562 bool "PCI support"
563 help
564 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
565 here unless you are using a simulator without PCI support.
566
567 config PCI_DOMAINS
568 def_bool PCI
569
570 config PCI_SYSCALL
571 def_bool PCI
572
573 source "drivers/pci/pcie/Kconfig"
574
575 source "drivers/pci/Kconfig"
576
577 source "drivers/pci/hotplug/Kconfig"
578
579 source "drivers/pcmcia/Kconfig"
580
581 endmenu
582
583 endif
584
585 source "net/Kconfig"
586
587 source "drivers/Kconfig"
588
589 config MSPEC
590 tristate "Memory special operations driver"
591 depends on IA64
592 select IA64_UNCACHED_ALLOCATOR
593 help
594 If you have an ia64 and you want to enable memory special
595 operations support (formerly known as fetchop), say Y here,
596 otherwise say N.
597
598 source "fs/Kconfig"
599
600 source "lib/Kconfig"
601
602 #
603 # Use the generic interrupt handling code in kernel/irq/:
604 #
605 config GENERIC_HARDIRQS
606 bool
607 default y
608
609 config GENERIC_IRQ_PROBE
610 bool
611 default y
612
613 config GENERIC_PENDING_IRQ
614 bool
615 depends on GENERIC_HARDIRQS && SMP
616 default y
617
618 config IRQ_PER_CPU
619 bool
620 default y
621
622 source "arch/ia64/hp/sim/Kconfig"
623
624 source "arch/ia64/Kconfig.debug"
625
626 source "security/Kconfig"
627
628 source "crypto/Kconfig"