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