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