blob: f1d2899e9a629763173afffb8d86766a5fac08fc [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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
10menu "Processor type and features"
11
12config IA64
13 bool
Len Brown06f87ad2007-01-26 00:38:53 -050014 select PCI if (!IA64_HP_SIM)
15 select ACPI if (!IA64_HP_SIM)
Linus Torvalds1da177e2005-04-16 15:20:36 -070016 default y
17 help
18 The Itanium Processor Family is Intel's 64-bit successor to
19 the 32-bit X86 line. The IA-64 Linux project has a home
20 page at <http://www.linuxia64.org/> and a mailing list at
21 <linux-ia64@vger.kernel.org>.
22
23config 64BIT
24 bool
25 default y
26
27config MMU
28 bool
29 default y
30
John W. Linville6c654b52005-09-29 14:42:42 -070031config SWIOTLB
32 bool
John W. Linville6c654b52005-09-29 14:42:42 -070033
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config RWSEM_XCHGADD_ALGORITHM
35 bool
36 default y
37
David Howellsf0d1b0b2006-12-08 02:37:49 -080038config ARCH_HAS_ILOG2_U32
39 bool
40 default n
41
42config ARCH_HAS_ILOG2_U64
43 bool
44 default n
45
Akinobu Mita2875aef2006-03-26 01:39:25 -080046config GENERIC_FIND_NEXT_BIT
47 bool
48 default y
49
Linus Torvalds1da177e2005-04-16 15:20:36 -070050config GENERIC_CALIBRATE_DELAY
51 bool
52 default y
53
54config TIME_INTERPOLATION
55 bool
56 default y
57
Matt Domsch3ed3bce2006-03-26 01:37:03 -080058config DMI
59 bool
60 default y
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062config EFI
63 bool
64 default y
65
66config GENERIC_IOMAP
67 bool
68 default y
69
Anton Blanchard7d12e522005-05-05 16:15:11 -070070config SCHED_NO_NO_OMIT_FRAME_POINTER
71 bool
72 default y
73
Jes Sorensenf14f75b2005-06-21 17:15:02 -070074config IA64_UNCACHED_ALLOCATOR
75 bool
76 select GENERIC_ALLOCATOR
77
Al Viroe65e1fc2006-09-12 03:04:40 -040078config AUDIT_ARCH
79 bool
80 default y
81
Linus Torvalds1da177e2005-04-16 15:20:36 -070082choice
83 prompt "System type"
84 default IA64_GENERIC
85
86config IA64_GENERIC
87 bool "generic"
88 select NUMA
89 select ACPI_NUMA
Jan Beulichd1598e02007-01-03 09:26:21 +000090 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -070091 help
92 This selects the system type of your hardware. A "generic" kernel
93 will run on any supported IA-64 system. However, if you configure
94 a kernel for your specific system, it will be faster and smaller.
95
96 generic For any supported IA-64 system
97 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
98 HP-zx1/sx1000 For HP systems
99 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
100 SGI-SN2 For SGI Altix systems
101 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
102
103 If you don't know what to do, choose "generic".
104
105config IA64_DIG
106 bool "DIG-compliant"
Jan Beulichd1598e02007-01-03 09:26:21 +0000107 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108
109config IA64_HP_ZX1
110 bool "HP-zx1/sx1000"
111 help
112 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
113 support for the HP I/O MMU.
114
115config IA64_HP_ZX1_SWIOTLB
116 bool "HP-zx1/sx1000 with software I/O TLB"
Jan Beulichd1598e02007-01-03 09:26:21 +0000117 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118 help
119 Build a kernel that runs on HP zx1 and sx1000 systems even when they
120 have broken PCI devices which cannot DMA to full 32 bits. Apart
121 from support for the HP I/O MMU, this includes support for the software
122 I/O TLB, which allows supporting the broken devices at the expense of
123 wasting some kernel memory (about 2MB by default).
124
125config IA64_SGI_SN2
126 bool "SGI-SN2"
127 help
128 Selecting this option will optimize the kernel for use on sn2 based
129 systems, but the resulting kernel binary will not run on other
130 types of ia64 systems. If you have an SGI Altix system, it's safe
131 to select this option. If in doubt, select ia64 generic support
132 instead.
133
134config IA64_HP_SIM
135 bool "Ski-simulator"
Jan Beulichd1598e02007-01-03 09:26:21 +0000136 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137
138endchoice
139
140choice
141 prompt "Processor type"
142 default ITANIUM
143
144config ITANIUM
145 bool "Itanium"
146 help
147 Select your IA-64 processor type. The default is Itanium.
148 This choice is safe for all IA-64 systems, but may not perform
149 optimally on systems with, say, Itanium 2 or newer processors.
150
151config MCKINLEY
152 bool "Itanium 2"
153 help
154 Select this to configure for an Itanium 2 (McKinley) processor.
155
156endchoice
157
158choice
159 prompt "Kernel page size"
160 default IA64_PAGE_SIZE_16KB
161
162config IA64_PAGE_SIZE_4KB
163 bool "4KB"
164 help
165 This lets you select the page size of the kernel. For best IA-64
166 performance, a page size of 8KB or 16KB is recommended. For best
167 IA-32 compatibility, a page size of 4KB should be selected (the vast
168 majority of IA-32 binaries work perfectly fine with a larger page
169 size). For Itanium 2 or newer systems, a page size of 64KB can also
170 be selected.
171
172 4KB For best IA-32 compatibility
173 8KB For best IA-64 performance
174 16KB For best IA-64 performance
175 64KB Requires Itanium 2 or newer processor.
176
177 If you don't know what to do, choose 16KB.
178
179config IA64_PAGE_SIZE_8KB
180 bool "8KB"
181
182config IA64_PAGE_SIZE_16KB
183 bool "16KB"
184
185config IA64_PAGE_SIZE_64KB
186 depends on !ITANIUM
187 bool "64KB"
188
189endchoice
190
Robin Holt837cd0b2005-11-11 09:35:43 -0600191choice
192 prompt "Page Table Levels"
193 default PGTABLE_3
194
195config PGTABLE_3
196 bool "3 Levels"
197
198config PGTABLE_4
199 depends on !IA64_PAGE_SIZE_64KB
200 bool "4 Levels"
201
202endchoice
203
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700204source kernel/Kconfig.hz
205
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206config IA64_BRL_EMU
207 bool
208 depends on ITANIUM
209 default y
210
211# align cache-sensitive data to 128 bytes
212config IA64_L1_CACHE_SHIFT
213 int
214 default "7" if MCKINLEY
215 default "6" if ITANIUM
216
Linus Torvalds1da177e2005-04-16 15:20:36 -0700217config IA64_CYCLONE
218 bool "Cyclone (EXA) Time Source support"
219 help
220 Say Y here to enable support for IBM EXA Cyclone time source.
221 If you're unsure, answer N.
222
223config IOSAPIC
224 bool
225 depends on !IA64_HP_SIM
226 default y
227
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700228config IA64_SGI_SN_XP
229 tristate "Support communication between SGI SSIs"
Dean Nelsonf79b3482005-11-01 10:21:51 -0600230 depends on IA64_GENERIC || IA64_SGI_SN2
Jes Sorensen65ed0b32005-06-21 17:15:03 -0700231 select IA64_UNCACHED_ALLOCATOR
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700232 help
233 An SGI machine can be divided into multiple Single System
234 Images which act independently of each other and have
235 hardware based memory protection from the others. Enabling
236 this feature will allow for direct communication between SSIs
237 based on a network adapter and DMA messaging.
238
Linus Torvalds1da177e2005-04-16 15:20:36 -0700239config FORCE_MAX_ZONEORDER
Bob Piccoda9577c2005-10-04 15:13:37 -0400240 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
241 range 11 17 if !HUGETLB_PAGE
242 default "17" if HUGETLB_PAGE
243 default "11"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244
245config SMP
246 bool "Symmetric multi-processing support"
247 help
248 This enables support for systems with more than one CPU. If you have
249 a system with only one CPU, say N. If you have a system with more
250 than one CPU, say Y.
251
252 If you say N here, the kernel will run on single and multiprocessor
253 systems, but will use only one CPU of a multiprocessor system. If
254 you say Y here, the kernel will run on many, but not all,
255 single processor systems. On a single processor system, the kernel
256 will run faster if you say N here.
257
258 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
259 available at <http://www.tldp.org/docs.html#howto>.
260
261 If you don't know what to do here, say N.
262
263config NR_CPUS
Jack Steiner54703d32005-09-14 10:33:40 -0500264 int "Maximum number of CPUs (2-1024)"
265 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700266 depends on SMP
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700267 default "1024"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268 help
269 You should set this to the number of CPUs in your system, but
270 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
271 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
272 than 64 will cause the use of a CPU mask array, causing a small
273 performance hit.
274
275config HOTPLUG_CPU
276 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
277 depends on SMP && EXPERIMENTAL
278 select HOTPLUG
279 default n
280 ---help---
281 Say Y here to experiment with turning CPUs off and on. CPUs
282 can be controlled through /sys/devices/system/cpu/cpu#.
283 Say N if you want to disable CPU hotplug.
284
Yasunori Gotocc576372006-06-29 02:24:27 -0700285config ARCH_ENABLE_MEMORY_HOTPLUG
286 def_bool y
287
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700288config SCHED_SMT
289 bool "SMT scheduler support"
290 depends on SMP
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700291 help
292 Improves the CPU scheduler's decision making when dealing with
293 Intel IA64 chips with MultiThreading at a cost of slightly increased
294 overhead in some places. If unsure say N here.
295
Ashok Rajff741902005-11-11 14:32:40 -0800296config PERMIT_BSP_REMOVE
297 bool "Support removal of Bootstrap Processor"
298 depends on HOTPLUG_CPU
299 default n
300 ---help---
301 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
302 support.
303
304config FORCE_CPEI_RETARGET
305 bool "Force assumption that CPEI can be re-targetted"
306 depends on PERMIT_BSP_REMOVE
307 default n
308 ---help---
309 Say Y if you need to force the assumption that CPEI can be re-targetted to
310 any cpu in the system. This hint is available via ACPI 3.0 specifications.
311 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
312 This option it useful to enable this feature on older BIOS's as well.
313 You can also enable this by using boot command line option force_cpei=1.
314
Linus Torvalds1da177e2005-04-16 15:20:36 -0700315config PREEMPT
316 bool "Preemptible Kernel"
317 help
318 This option reduces the latency of the kernel when reacting to
319 real-time or interactive events by allowing a low priority process to
320 be preempted even if it is in kernel mode executing a system call.
321 This allows applications to run more reliably even when the system is
322 under load.
323
324 Say Y here if you are building a kernel for a desktop, embedded
325 or real-time system. Say N if you are unsure.
326
Dave Hansen3f22ab22005-06-23 00:07:43 -0700327source "mm/Kconfig"
328
Bob Piccoda9577c2005-10-04 15:13:37 -0400329config ARCH_SELECT_MEMORY_MODEL
330 def_bool y
331
332config ARCH_DISCONTIGMEM_ENABLE
333 def_bool y
334 help
335 Say Y to support efficient handling of discontiguous physical memory,
336 for architectures which are either NUMA (Non-Uniform Memory Access)
337 or have huge holes in the physical address space for other reasons.
338 See <file:Documentation/vm/numa> for more.
339
340config ARCH_FLATMEM_ENABLE
341 def_bool y
342
343config ARCH_SPARSEMEM_ENABLE
344 def_bool y
345 depends on ARCH_DISCONTIGMEM_ENABLE
346
347config ARCH_DISCONTIGMEM_DEFAULT
348 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
349 depends on ARCH_DISCONTIGMEM_ENABLE
350
351config NUMA
352 bool "NUMA support"
353 depends on !IA64_HP_SIM && !FLATMEM
354 default y if IA64_SGI_SN2
KAMEZAWA Hiroyuki6c33eb32006-11-08 17:44:50 -0800355 select ACPI_NUMA if ACPI
Bob Piccoda9577c2005-10-04 15:13:37 -0400356 help
357 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
358 Access). This option is for configuring high-end multiprocessor
359 server systems. If in doubt, say N.
360
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700361config NODES_SHIFT
362 int "Max num nodes shift(3-10)"
363 range 3 10
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700364 default "10"
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700365 depends on NEED_MULTIPLE_NODES
366 help
367 This option specifies the maximum number of nodes in your SSI system.
368 MAX_NUMNODES will be 2^(This value).
369 If in doubt, use the default.
370
Mel Gorman05e0caa2006-09-27 01:49:54 -0700371config ARCH_POPULATES_NODE_MAP
372 def_bool y
373
Bob Piccoda9577c2005-10-04 15:13:37 -0400374# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
375# VIRTUAL_MEM_MAP has been retained for historical reasons.
376config VIRTUAL_MEM_MAP
377 bool "Virtual mem map"
378 depends on !SPARSEMEM
379 default y if !IA64_HP_SIM
380 help
381 Say Y to compile the kernel with support for a virtual mem map.
382 This code also only takes effect if a memory hole of greater than
383 1 Gb is found during boot. You must turn this option on if you
384 require the DISCONTIGMEM option for your machine. If you are
385 unsure, say Y.
386
387config HOLES_IN_ZONE
388 bool
389 default y if VIRTUAL_MEM_MAP
390
391config HAVE_ARCH_EARLY_PFN_TO_NID
392 def_bool y
393 depends on NEED_MULTIPLE_NODES
394
Yasunori Goto10ad4002006-06-27 02:53:33 -0700395config HAVE_ARCH_NODEDATA_EXTENSION
396 def_bool y
397 depends on NUMA
398
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399config IA32_SUPPORT
400 bool "Support for Linux/x86 binaries"
401 help
402 IA-64 processors can execute IA-32 (X86) instructions. By
403 saying Y here, the kernel will include IA-32 system call
404 emulation support which makes it possible to transparently
405 run IA-32 Linux binaries on an IA-64 Linux system.
406 If in doubt, say Y.
407
408config COMPAT
409 bool
410 depends on IA32_SUPPORT
411 default y
412
413config IA64_MCA_RECOVERY
414 tristate "MCA recovery from errors other than TLB."
415
416config PERFMON
417 bool "Performance monitor support"
418 help
419 Selects whether support for the IA-64 performance monitor hardware
420 is included in the kernel. This makes some kernel data-structures a
421 little bigger and slows down execution a bit, but it is generally
422 a good idea to turn this on. If you're unsure, say Y.
423
424config IA64_PALINFO
425 tristate "/proc/pal support"
426 help
427 If you say Y here, you are able to get PAL (Processor Abstraction
428 Layer) information in /proc/pal. This contains useful information
429 about the processors in your systems, such as cache and TLB sizes
430 and the PAL firmware version in use.
431
432 To use this option, you have to ensure that the "/proc file system
433 support" (CONFIG_PROC_FS) is enabled, too.
434
Jes Sorensen466575f2006-01-19 04:54:00 -0500435config SGI_SN
436 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
437
David Mosberger-Tang2ab561a2006-06-21 11:19:22 -0700438config IA64_ESI
439 bool "ESI (Extensible SAL Interface) support"
440 help
441 If you say Y here, support is built into the kernel to
442 make ESI calls. ESI calls are used to support vendor-specific
443 firmware extensions, such as the ability to inject memory-errors
444 for test-purposes. If you're unsure, say N.
445
Brent Casavantc1311af2006-04-20 15:38:16 -0500446source "drivers/sn/Kconfig"
447
Zou Nan haia79561132006-12-07 09:51:35 -0800448config KEXEC
449 bool "kexec system call (EXPERIMENTAL)"
450 depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
451 help
452 kexec is a system call that implements the ability to shutdown your
453 current kernel, and to start another kernel. It is like a reboot
454 but it is indepedent of the system firmware. And like a reboot
455 you can start any kernel with it, not just Linux.
456
457 The name comes from the similiarity to the exec system call.
458
459 It is an ongoing process to be certain the hardware in a machine
460 is properly shutdown, so do not be surprised if this code does not
461 initially work for you. It may help to enable device hotplugging
462 support. As of this writing the exact hardware interface is
463 strongly in flux, so no good recommendation can be made.
464
465config CRASH_DUMP
466 bool "kernel crash dumps (EXPERIMENTAL)"
467 depends on EXPERIMENTAL && IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
468 help
469 Generate crash dump after being started by kexec.
470
Linus Torvalds1da177e2005-04-16 15:20:36 -0700471source "drivers/firmware/Kconfig"
472
473source "fs/Kconfig.binfmt"
474
475endmenu
476
477menu "Power management and ACPI"
478
Len Browneb7b6b32005-08-25 12:08:25 -0400479source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700480
481source "drivers/acpi/Kconfig"
482
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700483if PM
484
485source "arch/ia64/kernel/cpufreq/Kconfig"
486
487endif
488
Linus Torvalds1da177e2005-04-16 15:20:36 -0700489endmenu
490
491if !IA64_HP_SIM
492
493menu "Bus options (PCI, PCMCIA)"
494
495config PCI
496 bool "PCI support"
497 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700498 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
499 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700500
501config PCI_DOMAINS
502 bool
503 default PCI
504
Kenji Kaneshigeb7bb5752006-04-28 11:50:43 +0900505source "drivers/pci/pcie/Kconfig"
506
Linus Torvalds1da177e2005-04-16 15:20:36 -0700507source "drivers/pci/Kconfig"
508
509source "drivers/pci/hotplug/Kconfig"
510
511source "drivers/pcmcia/Kconfig"
512
513endmenu
514
515endif
516
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700517source "net/Kconfig"
518
Linus Torvalds1da177e2005-04-16 15:20:36 -0700519source "drivers/Kconfig"
520
Jes Sorensen1a4b0fc2006-11-10 12:27:49 -0800521config MSPEC
522 tristate "Memory special operations driver"
523 depends on IA64
524 select IA64_UNCACHED_ALLOCATOR
525 help
526 If you have an ia64 and you want to enable memory special
527 operations support (formerly known as fetchop), say Y here,
528 otherwise say N.
529
Linus Torvalds1da177e2005-04-16 15:20:36 -0700530source "fs/Kconfig"
531
532source "lib/Kconfig"
533
534#
535# Use the generic interrupt handling code in kernel/irq/:
536#
537config GENERIC_HARDIRQS
538 bool
539 default y
540
541config GENERIC_IRQ_PROBE
542 bool
543 default y
544
Ashok Raj54d5d422005-09-06 15:16:15 -0700545config GENERIC_PENDING_IRQ
546 bool
547 depends on GENERIC_HARDIRQS && SMP
548 default y
549
Ingo Molnar0d7012a2006-06-29 02:24:43 -0700550config IRQ_PER_CPU
551 bool
552 default y
553
Linus Torvalds1da177e2005-04-16 15:20:36 -0700554source "arch/ia64/hp/sim/Kconfig"
555
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800556menu "Instrumentation Support"
557 depends on EXPERIMENTAL
558
Linus Torvalds1da177e2005-04-16 15:20:36 -0700559source "arch/ia64/oprofile/Kconfig"
560
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800561config KPROBES
562 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700563 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800564 help
565 Kprobes allows you to trap at almost any kernel address and
566 execute a callback function. register_kprobe() establishes
567 a probepoint and specifies the callback. Kprobes is useful
568 for kernel debugging, non-intrusive instrumentation and testing.
569 If in doubt, say "N".
570endmenu
571
Linus Torvalds1da177e2005-04-16 15:20:36 -0700572source "arch/ia64/Kconfig.debug"
573
574source "security/Kconfig"
575
576source "crypto/Kconfig"