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