hrtimer: Remove hrtimer_enqueue_reprogram()
[linux-2.6/btrfs-unstable.git] / arch / ia64 / Kconfig
blob2f3abcf8f6bc9b2b206652b52cf1318f93acb74a
1 source "init/Kconfig"
3 source "kernel/Kconfig.freezer"
5 menu "Processor type and features"
7 config IA64
8         bool
9         select ARCH_MIGHT_HAVE_PC_PARPORT
10         select ARCH_MIGHT_HAVE_PC_SERIO
11         select PCI if (!IA64_HP_SIM)
12         select ACPI if (!IA64_HP_SIM)
13         select PM if (!IA64_HP_SIM)
14         select HAVE_UNSTABLE_SCHED_CLOCK
15         select HAVE_IDE
16         select HAVE_OPROFILE
17         select HAVE_KPROBES
18         select HAVE_KRETPROBES
19         select HAVE_FTRACE_MCOUNT_RECORD
20         select HAVE_DYNAMIC_FTRACE if (!ITANIUM)
21         select HAVE_FUNCTION_TRACER
22         select HAVE_DMA_ATTRS
23         select HAVE_KVM
24         select TTY
25         select HAVE_ARCH_TRACEHOOK
26         select HAVE_DMA_API_DEBUG
27         select HAVE_MEMBLOCK
28         select HAVE_MEMBLOCK_NODE_MAP
29         select HAVE_VIRT_CPU_ACCOUNTING
30         select VIRT_TO_BUS
31         select ARCH_DISCARD_MEMBLOCK
32         select GENERIC_IRQ_PROBE
33         select GENERIC_PENDING_IRQ if SMP
34         select GENERIC_IRQ_SHOW
35         select GENERIC_IRQ_LEGACY
36         select ARCH_WANT_OPTIONAL_GPIOLIB
37         select ARCH_HAVE_NMI_SAFE_CMPXCHG
38         select GENERIC_IOMAP
39         select GENERIC_SMP_IDLE_THREAD
40         select ARCH_INIT_TASK
41         select ARCH_TASK_STRUCT_ALLOCATOR
42         select ARCH_THREAD_INFO_ALLOCATOR
43         select ARCH_CLOCKSOURCE_DATA
44         select GENERIC_TIME_VSYSCALL_OLD
45         select SYSCTL_ARCH_UNALIGN_NO_WARN
46         select HAVE_MOD_ARCH_SPECIFIC
47         select MODULES_USE_ELF_RELA
48         select ARCH_USE_CMPXCHG_LOCKREF
49         select HAVE_ARCH_AUDITSYSCALL
50         default y
51         help
52           The Itanium Processor Family is Intel's 64-bit successor to
53           the 32-bit X86 line.  The IA-64 Linux project has a home
54           page at <http://www.linuxia64.org/> and a mailing list at
55           <linux-ia64@vger.kernel.org>.
57 config 64BIT
58         bool
59         select ATA_NONSTANDARD if ATA
60         default y
62 config ZONE_DMA
63         def_bool y
64         depends on !IA64_SGI_SN2
66 config QUICKLIST
67         bool
68         default y
70 config MMU
71         bool
72         default y
74 config ARCH_DMA_ADDR_T_64BIT
75         def_bool y
77 config NEED_DMA_MAP_STATE
78         def_bool y
80 config NEED_SG_DMA_LENGTH
81         def_bool y
83 config SWIOTLB
84        bool
86 config STACKTRACE_SUPPORT
87         def_bool y
89 config GENERIC_LOCKBREAK
90         def_bool n
92 config RWSEM_XCHGADD_ALGORITHM
93         bool
94         default y
96 config HUGETLB_PAGE_SIZE_VARIABLE
97         bool
98         depends on HUGETLB_PAGE
99         default y
101 config GENERIC_CALIBRATE_DELAY
102         bool
103         default y
105 config HAVE_SETUP_PER_CPU_AREA
106         def_bool y
108 config DMI
109         bool
110         default y
111         select DMI_SCAN_MACHINE_NON_EFI_FALLBACK
113 config EFI
114         bool
115         select UCS2_STRING
116         default y
118 config SCHED_OMIT_FRAME_POINTER
119         bool
120         default y
122 config IA64_UNCACHED_ALLOCATOR
123         bool
124         select GENERIC_ALLOCATOR
126 config ARCH_USES_PG_UNCACHED
127         def_bool y
128         depends on IA64_UNCACHED_ALLOCATOR
130 config AUDIT_ARCH
131         bool
132         default y
134 menuconfig PARAVIRT_GUEST
135         bool "Paravirtualized guest support"
136         depends on BROKEN
137         help
138           Say Y here to get to see options related to running Linux under
139           various hypervisors.  This option alone does not add any kernel code.
141           If you say N, all options in this submenu will be skipped and disabled.
143 if PARAVIRT_GUEST
145 config PARAVIRT
146         bool "Enable paravirtualization code"
147         depends on PARAVIRT_GUEST
148         default y
149         help
150           This changes the kernel so it can modify itself when it is run
151           under a hypervisor, potentially improving performance significantly
152           over full virtualization.  However, when run without a hypervisor
153           the kernel is theoretically slower and slightly larger.
155 endif
157 choice
158         prompt "System type"
159         default IA64_GENERIC
161 config IA64_GENERIC
162         bool "generic"
163         select NUMA
164         select ACPI_NUMA
165         select SWIOTLB
166         select PCI_MSI
167         help
168           This selects the system type of your hardware.  A "generic" kernel
169           will run on any supported IA-64 system.  However, if you configure
170           a kernel for your specific system, it will be faster and smaller.
172           generic               For any supported IA-64 system
173           DIG-compliant         For DIG ("Developer's Interface Guide") compliant systems
174           DIG+Intel+IOMMU       For DIG systems with Intel IOMMU
175           HP-zx1/sx1000         For HP systems
176           HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
177           SGI-SN2               For SGI Altix systems
178           SGI-UV                For SGI UV systems
179           Ski-simulator         For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
181           If you don't know what to do, choose "generic".
183 config IA64_DIG
184         bool "DIG-compliant"
185         select SWIOTLB
187 config IA64_DIG_VTD
188         bool "DIG+Intel+IOMMU"
189         select INTEL_IOMMU
190         select PCI_MSI
192 config IA64_HP_ZX1
193         bool "HP-zx1/sx1000"
194         help
195           Build a kernel that runs on HP zx1 and sx1000 systems.  This adds
196           support for the HP I/O MMU.
198 config IA64_HP_ZX1_SWIOTLB
199         bool "HP-zx1/sx1000 with software I/O TLB"
200         select SWIOTLB
201         help
202           Build a kernel that runs on HP zx1 and sx1000 systems even when they
203           have broken PCI devices which cannot DMA to full 32 bits.  Apart
204           from support for the HP I/O MMU, this includes support for the software
205           I/O TLB, which allows supporting the broken devices at the expense of
206           wasting some kernel memory (about 2MB by default).
208 config IA64_SGI_SN2
209         bool "SGI-SN2"
210         select NUMA
211         select ACPI_NUMA
212         help
213           Selecting this option will optimize the kernel for use on sn2 based
214           systems, but the resulting kernel binary will not run on other
215           types of ia64 systems.  If you have an SGI Altix system, it's safe
216           to select this option.  If in doubt, select ia64 generic support
217           instead.
219 config IA64_SGI_UV
220         bool "SGI-UV"
221         select NUMA
222         select ACPI_NUMA
223         select SWIOTLB
224         help
225           Selecting this option will optimize the kernel for use on UV based
226           systems, but the resulting kernel binary will not run on other
227           types of ia64 systems.  If you have an SGI UV system, it's safe
228           to select this option.  If in doubt, select ia64 generic support
229           instead.
231 config IA64_HP_SIM
232         bool "Ski-simulator"
233         select SWIOTLB
235 endchoice
237 choice
238         prompt "Processor type"
239         default ITANIUM
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.
248 config MCKINLEY
249         bool "Itanium 2"
250         help
251           Select this to configure for an Itanium 2 (McKinley) processor.
253 endchoice
255 choice
256         prompt "Kernel page size"
257         default IA64_PAGE_SIZE_16KB
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.
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.
274           If you don't know what to do, choose 16KB.
276 config IA64_PAGE_SIZE_8KB
277         bool "8KB"
279 config IA64_PAGE_SIZE_16KB
280         bool "16KB"
282 config IA64_PAGE_SIZE_64KB
283         depends on !ITANIUM
284         bool "64KB"
286 endchoice
288 choice
289         prompt "Page Table Levels"
290         default PGTABLE_3
292 config PGTABLE_3
293         bool "3 Levels"
295 config PGTABLE_4
296         depends on !IA64_PAGE_SIZE_64KB
297         bool "4 Levels"
299 endchoice
301 if IA64_HP_SIM
302 config HZ
303         default 32
304 endif
306 if !IA64_HP_SIM
307 source kernel/Kconfig.hz
308 endif
310 config IA64_BRL_EMU
311         bool
312         depends on ITANIUM
313         default y
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
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.
327 config IOSAPIC
328         bool
329         depends on !IA64_HP_SIM
330         default y
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"
338 config SMP
339         bool "Symmetric multi-processing support"
340         help
341           This enables support for systems with more than one CPU. If you have
342           a system with only one CPU, say N.  If you have a system with more
343           than one CPU, say Y.
345           If you say N here, the kernel will run on single and multiprocessor
346           systems, but will use only one CPU of a multiprocessor system.  If
347           you say Y here, the kernel will run on many, but not all,
348           single processor systems.  On a single processor system, the kernel
349           will run faster if you say N here.
351           See also the SMP-HOWTO available at
352           <http://www.tldp.org/docs.html#howto>.
354           If you don't know what to do here, say N.
356 config NR_CPUS
357         int "Maximum number of CPUs (2-4096)"
358         range 2 4096
359         depends on SMP
360         default "4096"
361         help
362           You should set this to the number of CPUs in your system, but
363           keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
364           only use 2 CPUs on a >2 CPU system.  Setting this to a value larger
365           than 64 will cause the use of a CPU mask array, causing a small
366           performance hit.
368 config HOTPLUG_CPU
369         bool "Support for hot-pluggable CPUs"
370         depends on SMP
371         default n
372         ---help---
373           Say Y here to experiment with turning CPUs off and on.  CPUs
374           can be controlled through /sys/devices/system/cpu/cpu#.
375           Say N if you want to disable CPU hotplug.
377 config ARCH_ENABLE_MEMORY_HOTPLUG
378         def_bool y
380 config ARCH_ENABLE_MEMORY_HOTREMOVE
381         def_bool y
383 config SCHED_SMT
384         bool "SMT scheduler support"
385         depends on SMP
386         help
387           Improves the CPU scheduler's decision making when dealing with
388           Intel IA64 chips with MultiThreading at a cost of slightly increased
389           overhead in some places. If unsure say N here.
391 config PERMIT_BSP_REMOVE
392         bool "Support removal of Bootstrap Processor"
393         depends on HOTPLUG_CPU
394         default n
395         ---help---
396         Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
397         support. 
399 config FORCE_CPEI_RETARGET
400         bool "Force assumption that CPEI can be re-targeted"
401         depends on PERMIT_BSP_REMOVE
402         default n
403         ---help---
404         Say Y if you need to force the assumption that CPEI can be re-targeted to
405         any cpu in the system. This hint is available via ACPI 3.0 specifications.
406         Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
407         This option it useful to enable this feature on older BIOS's as well.
408         You can also enable this by using boot command line option force_cpei=1.
410 source "kernel/Kconfig.preempt"
412 source "mm/Kconfig"
414 config ARCH_SELECT_MEMORY_MODEL
415         def_bool y
417 config ARCH_DISCONTIGMEM_ENABLE
418         def_bool y
419         help
420           Say Y to support efficient handling of discontiguous physical memory,
421           for architectures which are either NUMA (Non-Uniform Memory Access)
422           or have huge holes in the physical address space for other reasons.
423           See <file:Documentation/vm/numa> for more.
425 config ARCH_FLATMEM_ENABLE
426         def_bool y
428 config ARCH_SPARSEMEM_ENABLE
429         def_bool y
430         depends on ARCH_DISCONTIGMEM_ENABLE
431         select SPARSEMEM_VMEMMAP_ENABLE
433 config ARCH_DISCONTIGMEM_DEFAULT
434         def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
435         depends on ARCH_DISCONTIGMEM_ENABLE
437 config NUMA
438         bool "NUMA support"
439         depends on !IA64_HP_SIM && !FLATMEM
440         default y if IA64_SGI_SN2
441         select ACPI_NUMA if ACPI
442         help
443           Say Y to compile the kernel to support NUMA (Non-Uniform Memory
444           Access).  This option is for configuring high-end multiprocessor
445           server systems.  If in doubt, say N.
447 config NODES_SHIFT
448         int "Max num nodes shift(3-10)"
449         range 3 10
450         default "10"
451         depends on NEED_MULTIPLE_NODES
452         help
453           This option specifies the maximum number of nodes in your SSI system.
454           MAX_NUMNODES will be 2^(This value).
455           If in doubt, use the default.
457 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
458 # VIRTUAL_MEM_MAP has been retained for historical reasons.
459 config VIRTUAL_MEM_MAP
460         bool "Virtual mem map"
461         depends on !SPARSEMEM
462         default y if !IA64_HP_SIM
463         help
464           Say Y to compile the kernel with support for a virtual mem map.
465           This code also only takes effect if a memory hole of greater than
466           1 Gb is found during boot.  You must turn this option on if you
467           require the DISCONTIGMEM option for your machine. If you are
468           unsure, say Y.
470 config HOLES_IN_ZONE
471         bool
472         default y if VIRTUAL_MEM_MAP
474 config HAVE_ARCH_EARLY_PFN_TO_NID
475         def_bool NUMA && SPARSEMEM
477 config HAVE_ARCH_NODEDATA_EXTENSION
478         def_bool y
479         depends on NUMA
481 config USE_PERCPU_NUMA_NODE_ID
482         def_bool y
483         depends on NUMA
485 config HAVE_MEMORYLESS_NODES
486         def_bool NUMA
488 config ARCH_PROC_KCORE_TEXT
489         def_bool y
490         depends on PROC_KCORE
492 config IA64_MCA_RECOVERY
493         tristate "MCA recovery from errors other than TLB."
495 config PERFMON
496         bool "Performance monitor support"
497         help
498           Selects whether support for the IA-64 performance monitor hardware
499           is included in the kernel.  This makes some kernel data-structures a
500           little bigger and slows down execution a bit, but it is generally
501           a good idea to turn this on.  If you're unsure, say Y.
503 config IA64_PALINFO
504         tristate "/proc/pal support"
505         help
506           If you say Y here, you are able to get PAL (Processor Abstraction
507           Layer) information in /proc/pal.  This contains useful information
508           about the processors in your systems, such as cache and TLB sizes
509           and the PAL firmware version in use.
511           To use this option, you have to ensure that the "/proc file system
512           support" (CONFIG_PROC_FS) is enabled, too.
514 config IA64_MC_ERR_INJECT
515         tristate "MC error injection support"
516         help
517           Adds support for MC error injection. If enabled, the kernel 
518           will provide a sysfs interface for user applications to
519           call MC error injection PAL procedures to inject various errors.
520           This is a useful tool for MCA testing.
522           If you're unsure, do not select this option.
524 config SGI_SN
525         def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
527 config IA64_ESI
528         bool "ESI (Extensible SAL Interface) support"
529         help
530           If you say Y here, support is built into the kernel to
531           make ESI calls.  ESI calls are used to support vendor-specific
532           firmware extensions, such as the ability to inject memory-errors
533           for test-purposes.  If you're unsure, say N.
535 config IA64_HP_AML_NFW
536         bool "Support ACPI AML calls to native firmware"
537         help
538           This driver installs a global ACPI Operation Region handler for
539           region 0xA1.  AML methods can use this OpRegion to call arbitrary
540           native firmware functions.  The driver installs the OpRegion
541           handler if there is an HPQ5001 device or if the user supplies
542           the "force" module parameter, e.g., with the "aml_nfw.force"
543           kernel command line option.
545 source "drivers/sn/Kconfig"
547 config KEXEC
548         bool "kexec system call"
549         depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
550         help
551           kexec is a system call that implements the ability to shutdown your
552           current kernel, and to start another kernel.  It is like a reboot
553           but it is independent of the system firmware.   And like a reboot
554           you can start any kernel with it, not just Linux.
556           The name comes from the similarity to the exec system call.
558           It is an ongoing process to be certain the hardware in a machine
559           is properly shutdown, so do not be surprised if this code does not
560           initially work for you.  As of this writing the exact hardware
561           interface is strongly in flux, so no good recommendation can be
562           made.
564 config CRASH_DUMP
565           bool "kernel crash dumps"
566           depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
567           help
568             Generate crash dump after being started by kexec.
570 source "drivers/firmware/Kconfig"
572 source "fs/Kconfig.binfmt"
574 endmenu
576 menu "Power management and ACPI options"
578 source "kernel/power/Kconfig"
580 source "drivers/acpi/Kconfig"
582 if PM
583 menu "CPU Frequency scaling"
584 source "drivers/cpufreq/Kconfig"
585 endmenu
586 endif
588 endmenu
590 if !IA64_HP_SIM
592 menu "Bus options (PCI, PCMCIA)"
594 config PCI
595         bool "PCI support"
596         help
597           Real IA-64 machines all have PCI/PCI-X/PCI Express busses.  Say Y
598           here unless you are using a simulator without PCI support.
600 config PCI_DOMAINS
601         def_bool PCI
603 config PCI_SYSCALL
604         def_bool PCI
606 source "drivers/pci/pcie/Kconfig"
608 source "drivers/pci/Kconfig"
610 source "drivers/pci/hotplug/Kconfig"
612 source "drivers/pcmcia/Kconfig"
614 endmenu
616 endif
618 source "net/Kconfig"
620 source "drivers/Kconfig"
622 source "arch/ia64/hp/sim/Kconfig"
624 config MSPEC
625         tristate "Memory special operations driver"
626         depends on IA64
627         select IA64_UNCACHED_ALLOCATOR
628         help
629           If you have an ia64 and you want to enable memory special
630           operations support (formerly known as fetchop), say Y here,
631           otherwise say N.
633 source "fs/Kconfig"
635 source "arch/ia64/Kconfig.debug"
637 source "security/Kconfig"
639 source "crypto/Kconfig"
641 source "arch/ia64/kvm/Kconfig"
643 source "lib/Kconfig"
645 config IOMMU_HELPER
646         def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)