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