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