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