Merge branch 'timers-for-linus-hpet' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.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 source "kernel/Kconfig.freezer"
11
12 menu "Processor type and features"
13
14 config IA64
15         bool
16         select PCI if (!IA64_HP_SIM)
17         select ACPI if (!IA64_HP_SIM)
18         select PM if (!IA64_HP_SIM)
19         select ARCH_SUPPORTS_MSI
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 HAVE_KVM
30         select HAVE_ARCH_TRACEHOOK
31         select HAVE_DMA_API_DEBUG
32         default y
33         help
34           The Itanium Processor Family is Intel's 64-bit successor to
35           the 32-bit X86 line.  The IA-64 Linux project has a home
36           page at <http://www.linuxia64.org/> and a mailing list at
37           <linux-ia64@vger.kernel.org>.
38
39 config 64BIT
40         bool
41         select ATA_NONSTANDARD if ATA
42         default y
43
44 config ZONE_DMA
45         def_bool y
46         depends on !IA64_SGI_SN2
47
48 config QUICKLIST
49         bool
50         default y
51
52 config MMU
53         bool
54         default y
55
56 config NEED_DMA_MAP_STATE
57         def_bool y
58
59 config SWIOTLB
60        bool
61
62 config GENERIC_LOCKBREAK
63         def_bool n
64
65 config RWSEM_XCHGADD_ALGORITHM
66         bool
67         default y
68
69 config HUGETLB_PAGE_SIZE_VARIABLE
70         bool
71         depends on HUGETLB_PAGE
72         default y
73
74 config GENERIC_FIND_NEXT_BIT
75         bool
76         default y
77
78 config GENERIC_CALIBRATE_DELAY
79         bool
80         default y
81
82 config GENERIC_TIME
83         bool
84         default y
85
86 config GENERIC_TIME_VSYSCALL
87         bool
88         default y
89
90 config HAVE_SETUP_PER_CPU_AREA
91         def_bool y
92
93 config DMI
94         bool
95         default y
96
97 config EFI
98         bool
99         default y
100
101 config GENERIC_IOMAP
102         bool
103         default y
104
105 config SCHED_OMIT_FRAME_POINTER
106         bool
107         default y
108
109 config IA64_UNCACHED_ALLOCATOR
110         bool
111         select GENERIC_ALLOCATOR
112
113 config ARCH_USES_PG_UNCACHED
114         def_bool y
115         depends on IA64_UNCACHED_ALLOCATOR
116
117 config AUDIT_ARCH
118         bool
119         default y
120
121 menuconfig PARAVIRT_GUEST
122         bool "Paravirtualized guest support"
123         help
124           Say Y here to get to see options related to running Linux under
125           various hypervisors.  This option alone does not add any kernel code.
126
127           If you say N, all options in this submenu will be skipped and disabled.
128
129 if PARAVIRT_GUEST
130
131 config PARAVIRT
132         bool "Enable paravirtualization code"
133         depends on PARAVIRT_GUEST
134         default y
135         bool
136         default y
137         help
138           This changes the kernel so it can modify itself when it is run
139           under a hypervisor, potentially improving performance significantly
140           over full virtualization.  However, when run without a hypervisor
141           the kernel is theoretically slower and slightly larger.
142
143
144 source "arch/ia64/xen/Kconfig"
145
146 endif
147
148 choice
149         prompt "System type"
150         default IA64_GENERIC
151
152 config IA64_GENERIC
153         bool "generic"
154         select NUMA
155         select ACPI_NUMA
156         select SWIOTLB
157         select PCI_MSI
158         select DMAR
159         help
160           This selects the system type of your hardware.  A "generic" kernel
161           will run on any supported IA-64 system.  However, if you configure
162           a kernel for your specific system, it will be faster and smaller.
163
164           generic               For any supported IA-64 system
165           DIG-compliant         For DIG ("Developer's Interface Guide") compliant systems
166           DIG+Intel+IOMMU       For DIG systems with Intel IOMMU
167           HP-zx1/sx1000         For HP systems
168           HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
169           SGI-SN2               For SGI Altix systems
170           SGI-UV                For SGI UV systems
171           Ski-simulator         For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
172           Xen-domU              For xen domU system
173
174           If you don't know what to do, choose "generic".
175
176 config IA64_DIG
177         bool "DIG-compliant"
178         select SWIOTLB
179
180 config IA64_DIG_VTD
181         bool "DIG+Intel+IOMMU"
182         select DMAR
183         select PCI_MSI
184
185 config IA64_HP_ZX1
186         bool "HP-zx1/sx1000"
187         help
188           Build a kernel that runs on HP zx1 and sx1000 systems.  This adds
189           support for the HP I/O MMU.
190
191 config IA64_HP_ZX1_SWIOTLB
192         bool "HP-zx1/sx1000 with software I/O TLB"
193         select SWIOTLB
194         help
195           Build a kernel that runs on HP zx1 and sx1000 systems even when they
196           have broken PCI devices which cannot DMA to full 32 bits.  Apart
197           from support for the HP I/O MMU, this includes support for the software
198           I/O TLB, which allows supporting the broken devices at the expense of
199           wasting some kernel memory (about 2MB by default).
200
201 config IA64_SGI_SN2
202         bool "SGI-SN2"
203         select NUMA
204         select ACPI_NUMA
205         help
206           Selecting this option will optimize the kernel for use on sn2 based
207           systems, but the resulting kernel binary will not run on other
208           types of ia64 systems.  If you have an SGI Altix system, it's safe
209           to select this option.  If in doubt, select ia64 generic support
210           instead.
211
212 config IA64_SGI_UV
213         bool "SGI-UV"
214         select NUMA
215         select ACPI_NUMA
216         select SWIOTLB
217         help
218           Selecting this option will optimize the kernel for use on UV based
219           systems, but the resulting kernel binary will not run on other
220           types of ia64 systems.  If you have an SGI UV system, it's safe
221           to select this option.  If in doubt, select ia64 generic support
222           instead.
223
224 config IA64_HP_SIM
225         bool "Ski-simulator"
226         select SWIOTLB
227
228 config IA64_XEN_GUEST
229         bool "Xen guest"
230         select SWIOTLB
231         depends on XEN
232         help
233           Build a kernel that runs on Xen guest domain. At this moment only
234           16KB page size in supported.
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 VIRT_CPU_ACCOUNTING
340         bool "Deterministic task and CPU time accounting"
341         default n
342         help
343           Select this option to enable more accurate task and CPU time
344           accounting.  This is done by reading a CPU counter on each
345           kernel entry and exit and on transitions within the kernel
346           between system, softirq and hardirq state, so there is a
347           small performance impact.
348           If in doubt, say N here.
349
350 config SMP
351         bool "Symmetric multi-processing support"
352         select USE_GENERIC_SMP_HELPERS
353         help
354           This enables support for systems with more than one CPU. If you have
355           a system with only one CPU, say N.  If you have a system with more
356           than one CPU, say Y.
357
358           If you say N here, the kernel will run on single and multiprocessor
359           systems, but will use only one CPU of a multiprocessor system.  If
360           you say Y here, the kernel will run on many, but not all,
361           single processor systems.  On a single processor system, the kernel
362           will run faster if you say N here.
363
364           See also the SMP-HOWTO available at
365           <http://www.tldp.org/docs.html#howto>.
366
367           If you don't know what to do here, say N.
368
369 config NR_CPUS
370         int "Maximum number of CPUs (2-4096)"
371         range 2 4096
372         depends on SMP
373         default "4096"
374         help
375           You should set this to the number of CPUs in your system, but
376           keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
377           only use 2 CPUs on a >2 CPU system.  Setting this to a value larger
378           than 64 will cause the use of a CPU mask array, causing a small
379           performance hit.
380
381 config HOTPLUG_CPU
382         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
383         depends on SMP && EXPERIMENTAL
384         select HOTPLUG
385         default n
386         ---help---
387           Say Y here to experiment with turning CPUs off and on.  CPUs
388           can be controlled through /sys/devices/system/cpu/cpu#.
389           Say N if you want to disable CPU hotplug.
390
391 config ARCH_ENABLE_MEMORY_HOTPLUG
392         def_bool y
393
394 config ARCH_ENABLE_MEMORY_HOTREMOVE
395         def_bool y
396
397 config SCHED_SMT
398         bool "SMT scheduler support"
399         depends on SMP
400         help
401           Improves the CPU scheduler's decision making when dealing with
402           Intel IA64 chips with MultiThreading at a cost of slightly increased
403           overhead in some places. If unsure say N here.
404
405 config PERMIT_BSP_REMOVE
406         bool "Support removal of Bootstrap Processor"
407         depends on HOTPLUG_CPU
408         default n
409         ---help---
410         Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
411         support. 
412
413 config FORCE_CPEI_RETARGET
414         bool "Force assumption that CPEI can be re-targetted"
415         depends on PERMIT_BSP_REMOVE
416         default n
417         ---help---
418         Say Y if you need to force the assumption that CPEI can be re-targetted to
419         any cpu in the system. This hint is available via ACPI 3.0 specifications.
420         Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
421         This option it useful to enable this feature on older BIOS's as well.
422         You can also enable this by using boot command line option force_cpei=1.
423
424 source "kernel/Kconfig.preempt"
425
426 source "mm/Kconfig"
427
428 config ARCH_SELECT_MEMORY_MODEL
429         def_bool y
430
431 config ARCH_DISCONTIGMEM_ENABLE
432         def_bool y
433         help
434           Say Y to support efficient handling of discontiguous physical memory,
435           for architectures which are either NUMA (Non-Uniform Memory Access)
436           or have huge holes in the physical address space for other reasons.
437           See <file:Documentation/vm/numa> for more.
438
439 config ARCH_FLATMEM_ENABLE
440         def_bool y
441
442 config ARCH_SPARSEMEM_ENABLE
443         def_bool y
444         depends on ARCH_DISCONTIGMEM_ENABLE
445         select SPARSEMEM_VMEMMAP_ENABLE
446
447 config ARCH_DISCONTIGMEM_DEFAULT
448         def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
449         depends on ARCH_DISCONTIGMEM_ENABLE
450
451 config NUMA
452         bool "NUMA support"
453         depends on !IA64_HP_SIM && !FLATMEM
454         default y if IA64_SGI_SN2
455         select ACPI_NUMA if ACPI
456         help
457           Say Y to compile the kernel to support NUMA (Non-Uniform Memory
458           Access).  This option is for configuring high-end multiprocessor
459           server systems.  If in doubt, say N.
460
461 config NODES_SHIFT
462         int "Max num nodes shift(3-10)"
463         range 3 10
464         default "10"
465         depends on NEED_MULTIPLE_NODES
466         help
467           This option specifies the maximum number of nodes in your SSI system.
468           MAX_NUMNODES will be 2^(This value).
469           If in doubt, use the default.
470
471 config ARCH_POPULATES_NODE_MAP
472         def_bool y
473
474 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
475 # VIRTUAL_MEM_MAP has been retained for historical reasons.
476 config VIRTUAL_MEM_MAP
477         bool "Virtual mem map"
478         depends on !SPARSEMEM
479         default y if !IA64_HP_SIM
480         help
481           Say Y to compile the kernel with support for a virtual mem map.
482           This code also only takes effect if a memory hole of greater than
483           1 Gb is found during boot.  You must turn this option on if you
484           require the DISCONTIGMEM option for your machine. If you are
485           unsure, say Y.
486
487 config HOLES_IN_ZONE
488         bool
489         default y if VIRTUAL_MEM_MAP
490
491 config HAVE_ARCH_EARLY_PFN_TO_NID
492         def_bool NUMA && SPARSEMEM
493
494 config HAVE_ARCH_NODEDATA_EXTENSION
495         def_bool y
496         depends on NUMA
497
498 config ARCH_PROC_KCORE_TEXT
499         def_bool y
500         depends on PROC_KCORE
501
502 config IA64_MCA_RECOVERY
503         tristate "MCA recovery from errors other than TLB."
504
505 config PERFMON
506         bool "Performance monitor support"
507         help
508           Selects whether support for the IA-64 performance monitor hardware
509           is included in the kernel.  This makes some kernel data-structures a
510           little bigger and slows down execution a bit, but it is generally
511           a good idea to turn this on.  If you're unsure, say Y.
512
513 config IA64_PALINFO
514         tristate "/proc/pal support"
515         help
516           If you say Y here, you are able to get PAL (Processor Abstraction
517           Layer) information in /proc/pal.  This contains useful information
518           about the processors in your systems, such as cache and TLB sizes
519           and the PAL firmware version in use.
520
521           To use this option, you have to ensure that the "/proc file system
522           support" (CONFIG_PROC_FS) is enabled, too.
523
524 config IA64_MC_ERR_INJECT
525         tristate "MC error injection support"
526         help
527           Adds support for MC error injection. If enabled, the kernel 
528           will provide a sysfs interface for user applications to
529           call MC error injection PAL procedures to inject various errors.
530           This is a useful tool for MCA testing.
531
532           If you're unsure, do not select this option.
533
534 config SGI_SN
535         def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
536
537 config IA64_ESI
538         bool "ESI (Extensible SAL Interface) support"
539         help
540           If you say Y here, support is built into the kernel to
541           make ESI calls.  ESI calls are used to support vendor-specific
542           firmware extensions, such as the ability to inject memory-errors
543           for test-purposes.  If you're unsure, say N.
544
545 config IA64_HP_AML_NFW
546         bool "Support ACPI AML calls to native firmware"
547         help
548           This driver installs a global ACPI Operation Region handler for
549           region 0xA1.  AML methods can use this OpRegion to call arbitrary
550           native firmware functions.  The driver installs the OpRegion
551           handler if there is an HPQ5001 device or if the user supplies
552           the "force" module parameter, e.g., with the "aml_nfw.force"
553           kernel command line option.
554
555 source "drivers/sn/Kconfig"
556
557 config KEXEC
558         bool "kexec system call (EXPERIMENTAL)"
559         depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
560         help
561           kexec is a system call that implements the ability to shutdown your
562           current kernel, and to start another kernel.  It is like a reboot
563           but it is independent of the system firmware.   And like a reboot
564           you can start any kernel with it, not just Linux.
565
566           The name comes from the similarity to the exec system call.
567
568           It is an ongoing process to be certain the hardware in a machine
569           is properly shutdown, so do not be surprised if this code does not
570           initially work for you.  It may help to enable device hotplugging
571           support.  As of this writing the exact hardware interface is
572           strongly in flux, so no good recommendation can be made.
573
574 config CRASH_DUMP
575           bool "kernel crash dumps"
576           depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
577           help
578             Generate crash dump after being started by kexec.
579
580 source "drivers/firmware/Kconfig"
581
582 source "fs/Kconfig.binfmt"
583
584 endmenu
585
586 menu "Power management and ACPI options"
587
588 source "kernel/power/Kconfig"
589
590 source "drivers/acpi/Kconfig"
591
592 if PM
593
594 source "arch/ia64/kernel/cpufreq/Kconfig"
595
596 endif
597
598 endmenu
599
600 if !IA64_HP_SIM
601
602 menu "Bus options (PCI, PCMCIA)"
603
604 config PCI
605         bool "PCI support"
606         help
607           Real IA-64 machines all have PCI/PCI-X/PCI Express busses.  Say Y
608           here unless you are using a simulator without PCI support.
609
610 config PCI_DOMAINS
611         def_bool PCI
612
613 config PCI_SYSCALL
614         def_bool PCI
615
616 source "drivers/pci/pcie/Kconfig"
617
618 source "drivers/pci/Kconfig"
619
620 source "drivers/pci/hotplug/Kconfig"
621
622 source "drivers/pcmcia/Kconfig"
623
624 config DMAR
625         bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
626         depends on IA64_GENERIC && ACPI && EXPERIMENTAL
627         help
628           DMA remapping (DMAR) devices support enables independent address
629           translations for Direct Memory Access (DMA) from devices.
630           These DMA remapping devices are reported via ACPI tables
631           and include PCI device scope covered by these DMA
632           remapping devices.
633
634 config DMAR_DEFAULT_ON
635         def_bool y
636         prompt "Enable DMA Remapping Devices by default"
637         depends on DMAR
638         help
639           Selecting this option will enable a DMAR device at boot time if
640           one is found. If this option is not selected, DMAR support can
641           be enabled by passing intel_iommu=on to the kernel. It is
642           recommended you say N here while the DMAR code remains
643           experimental.
644
645 endmenu
646
647 endif
648
649 source "net/Kconfig"
650
651 source "drivers/Kconfig"
652
653 source "arch/ia64/hp/sim/Kconfig"
654
655 config MSPEC
656         tristate "Memory special operations driver"
657         depends on IA64
658         select IA64_UNCACHED_ALLOCATOR
659         help
660           If you have an ia64 and you want to enable memory special
661           operations support (formerly known as fetchop), say Y here,
662           otherwise say N.
663
664 source "fs/Kconfig"
665
666 source "arch/ia64/Kconfig.debug"
667
668 source "security/Kconfig"
669
670 source "crypto/Kconfig"
671
672 source "arch/ia64/kvm/Kconfig"
673
674 source "lib/Kconfig"
675
676 #
677 # Use the generic interrupt handling code in kernel/irq/:
678 #
679 config GENERIC_HARDIRQS
680         bool
681         default y
682
683 config GENERIC_IRQ_PROBE
684         bool
685         default y
686
687 config GENERIC_PENDING_IRQ
688         bool
689         depends on GENERIC_HARDIRQS && SMP
690         default y
691
692 config IRQ_PER_CPU
693         bool
694         default y
695
696 config IOMMU_HELPER
697         def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)
698
699 config IOMMU_API
700         def_bool (DMAR)