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