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