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