Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.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         default y
15         help
16           The Itanium Processor Family is Intel's 64-bit successor to
17           the 32-bit X86 line.  The IA-64 Linux project has a home
18           page at <http://www.linuxia64.org/> and a mailing list at
19           <linux-ia64@vger.kernel.org>.
20
21 config 64BIT
22         bool
23         default y
24
25 config MMU
26         bool
27         default y
28
29 config SWIOTLB
30        bool
31        default y
32
33 config RWSEM_XCHGADD_ALGORITHM
34         bool
35         default y
36
37 config GENERIC_FIND_NEXT_BIT
38         bool
39         default y
40
41 config GENERIC_CALIBRATE_DELAY
42         bool
43         default y
44
45 config TIME_INTERPOLATION
46         bool
47         default y
48
49 config DMI
50         bool
51         default y
52
53 config EFI
54         bool
55         default y
56
57 config GENERIC_IOMAP
58         bool
59         default y
60
61 config XEN
62         bool "Xen hypervisor support"
63         default y
64         help
65           Enable Xen hypervisor support.  Resulting kernel runs
66           both as a guest OS on Xen and natively on hardware.
67
68 config XEN_IA64_VDSO_PARAVIRT
69         bool
70         depends on XEN && !ITANIUM
71         default y
72         help
73           vDSO paravirtualization
74
75 config SCHED_NO_NO_OMIT_FRAME_POINTER
76         bool
77         default y
78
79 config IA64_UNCACHED_ALLOCATOR
80         bool
81         select GENERIC_ALLOCATOR
82
83 config DMA_IS_DMA32
84         bool
85         default y
86
87 config DMA_IS_NORMAL
88         bool
89         depends on IA64_SGI_SN2
90         default y
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         help
368           Say Y to compile the kernel to support NUMA (Non-Uniform Memory
369           Access).  This option is for configuring high-end multiprocessor
370           server systems.  If in doubt, say N.
371
372 config NODES_SHIFT
373         int "Max num nodes shift(3-10)"
374         range 3 10
375         default "10"
376         depends on NEED_MULTIPLE_NODES
377         help
378           This option specifies the maximum number of nodes in your SSI system.
379           MAX_NUMNODES will be 2^(This value).
380           If in doubt, use the default.
381
382 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
383 # VIRTUAL_MEM_MAP has been retained for historical reasons.
384 config VIRTUAL_MEM_MAP
385         bool "Virtual mem map"
386         depends on !SPARSEMEM
387         default y if !IA64_HP_SIM
388         help
389           Say Y to compile the kernel with support for a virtual mem map.
390           This code also only takes effect if a memory hole of greater than
391           1 Gb is found during boot.  You must turn this option on if you
392           require the DISCONTIGMEM option for your machine. If you are
393           unsure, say Y.
394
395 config HOLES_IN_ZONE
396         bool
397         default y if VIRTUAL_MEM_MAP
398
399 config HAVE_ARCH_EARLY_PFN_TO_NID
400         def_bool y
401         depends on NEED_MULTIPLE_NODES
402
403 config HAVE_ARCH_NODEDATA_EXTENSION
404         def_bool y
405         depends on NUMA
406
407 config IA32_SUPPORT
408         bool "Support for Linux/x86 binaries"
409         help
410           IA-64 processors can execute IA-32 (X86) instructions.  By
411           saying Y here, the kernel will include IA-32 system call
412           emulation support which makes it possible to transparently
413           run IA-32 Linux binaries on an IA-64 Linux system.
414           If in doubt, say Y.
415
416 config COMPAT
417         bool
418         depends on IA32_SUPPORT
419         default y
420
421 config IA64_MCA_RECOVERY
422         tristate "MCA recovery from errors other than TLB."
423
424 config PERFMON
425         bool "Performance monitor support"
426         help
427           Selects whether support for the IA-64 performance monitor hardware
428           is included in the kernel.  This makes some kernel data-structures a
429           little bigger and slows down execution a bit, but it is generally
430           a good idea to turn this on.  If you're unsure, say Y.
431
432 config IA64_PALINFO
433         tristate "/proc/pal support"
434         help
435           If you say Y here, you are able to get PAL (Processor Abstraction
436           Layer) information in /proc/pal.  This contains useful information
437           about the processors in your systems, such as cache and TLB sizes
438           and the PAL firmware version in use.
439
440           To use this option, you have to ensure that the "/proc file system
441           support" (CONFIG_PROC_FS) is enabled, too.
442
443 config SGI_SN
444         def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
445
446 source "drivers/sn/Kconfig"
447
448 source "drivers/firmware/Kconfig"
449
450 source "fs/Kconfig.binfmt"
451
452 endmenu
453
454 menu "Power management and ACPI"
455
456 source "kernel/power/Kconfig"
457
458 source "drivers/acpi/Kconfig"
459
460 if PM
461
462 source "arch/ia64/kernel/cpufreq/Kconfig"
463
464 endif
465
466 endmenu
467
468 if !IA64_HP_SIM
469
470 menu "Bus options (PCI, PCMCIA)"
471
472 config PCI
473         bool "PCI support"
474         help
475           Real IA-64 machines all have PCI/PCI-X/PCI Express busses.  Say Y
476           here unless you are using a simulator without PCI support.
477
478 config PCI_DOMAINS
479         bool
480         default PCI
481
482 config XEN_PCIDEV_FRONTEND
483         bool "Xen PCI Frontend"
484         depends on PCI && XEN
485         default y
486         help
487           The PCI device frontend driver allows the kernel to import arbitrary
488           PCI devices from a PCI backend to support PCI driver domains.
489
490 config XEN_PCIDEV_FE_DEBUG
491         bool "Xen PCI Frontend Debugging"
492         depends on XEN_PCIDEV_FRONTEND
493         default n
494         help
495           Enables some debug statements within the PCI Frontend.
496
497 source "drivers/pci/pcie/Kconfig"
498
499 source "drivers/pci/Kconfig"
500
501 source "drivers/pci/hotplug/Kconfig"
502
503 source "drivers/pcmcia/Kconfig"
504
505 endmenu
506
507 endif
508
509 source "net/Kconfig"
510
511 source "drivers/Kconfig"
512
513 source "fs/Kconfig"
514
515 source "lib/Kconfig"
516
517 #
518 # Use the generic interrupt handling code in kernel/irq/:
519 #
520 config GENERIC_HARDIRQS
521         bool
522         default y
523
524 config GENERIC_IRQ_PROBE
525         bool
526         default y
527
528 config GENERIC_PENDING_IRQ
529         bool
530         depends on GENERIC_HARDIRQS && SMP
531         default y
532
533 config IRQ_PER_CPU
534         bool
535         default y
536
537 source "arch/ia64/hp/sim/Kconfig"
538
539 menu "Instrumentation Support"
540         depends on EXPERIMENTAL
541
542 source "arch/ia64/oprofile/Kconfig"
543
544 config KPROBES
545         bool "Kprobes (EXPERIMENTAL)"
546         depends on EXPERIMENTAL && MODULES
547         help
548           Kprobes allows you to trap at almost any kernel address and
549           execute a callback function.  register_kprobe() establishes
550           a probepoint and specifies the callback.  Kprobes is useful
551           for kernel debugging, non-intrusive instrumentation and testing.
552           If in doubt, say "N".
553 endmenu
554
555 source "arch/ia64/Kconfig.debug"
556
557 source "kernel/vserver/Kconfig"
558
559 source "security/Kconfig"
560
561 source "crypto/Kconfig"
562
563 #
564 # override default values of drivers/xen/Kconfig
565 #
566 if XEN
567 config XEN_UTIL
568         default n
569
570 config HAVE_ARCH_ALLOC_SKB
571         default y
572
573 config HAVE_ARCH_DEV_ALLOC_SKB
574         default y
575
576 config XEN_BALLOON
577         default y
578
579 config XEN_SKBUFF
580         default y
581
582 config XEN_DEVMEM
583         default n
584
585 config XEN_REBOOT
586         default y
587
588 config XEN_SMPBOOT
589         default n
590 endif
591
592 source "drivers/xen/Kconfig"