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