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