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