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