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