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