blob: f1e7cc1389b01f53ad807f1a30f2a3cd317935d6 [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
14 default y
15 help
16 The Itanium Processor Family is Intel's 64-bit successor to
17 the 32-bit X86 line. The IA-64 Linux project has a home
18 page at <http://www.linuxia64.org/> and a mailing list at
19 <linux-ia64@vger.kernel.org>.
20
21config 64BIT
22 bool
23 default y
24
25config MMU
26 bool
27 default y
28
John W. Linville6c654b52005-09-29 14:42:42 -070029config SWIOTLB
30 bool
31 default y
32
Linus Torvalds1da177e2005-04-16 15:20:36 -070033config RWSEM_XCHGADD_ALGORITHM
34 bool
35 default y
36
David Howellsf0d1b0b2006-12-08 02:37:49 -080037config ARCH_HAS_ILOG2_U32
38 bool
39 default n
40
41config ARCH_HAS_ILOG2_U64
42 bool
43 default n
44
Akinobu Mita2875aef2006-03-26 01:39:25 -080045config GENERIC_FIND_NEXT_BIT
46 bool
47 default y
48
Linus Torvalds1da177e2005-04-16 15:20:36 -070049config GENERIC_CALIBRATE_DELAY
50 bool
51 default y
52
53config TIME_INTERPOLATION
54 bool
55 default y
56
Matt Domsch3ed3bce2006-03-26 01:37:03 -080057config DMI
58 bool
59 default y
60
Linus Torvalds1da177e2005-04-16 15:20:36 -070061config EFI
62 bool
63 default y
64
65config GENERIC_IOMAP
66 bool
67 default y
68
Anton Blanchard7d12e522005-05-05 16:15:11 -070069config SCHED_NO_NO_OMIT_FRAME_POINTER
70 bool
71 default y
72
Jes Sorensenf14f75b2005-06-21 17:15:02 -070073config IA64_UNCACHED_ALLOCATOR
74 bool
75 select GENERIC_ALLOCATOR
76
Al Viroe65e1fc2006-09-12 03:04:40 -040077config AUDIT_ARCH
78 bool
79 default y
80
Linus Torvalds1da177e2005-04-16 15:20:36 -070081choice
82 prompt "System type"
83 default IA64_GENERIC
84
85config IA64_GENERIC
86 bool "generic"
Len Browneb7b6b32005-08-25 12:08:25 -040087 select ACPI
Adrian Bunk13001242006-03-28 17:04:00 -050088 select PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -070089 select NUMA
90 select ACPI_NUMA
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"
107
108config IA64_HP_ZX1
109 bool "HP-zx1/sx1000"
110 help
111 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
112 support for the HP I/O MMU.
113
114config IA64_HP_ZX1_SWIOTLB
115 bool "HP-zx1/sx1000 with software I/O TLB"
116 help
117 Build a kernel that runs on HP zx1 and sx1000 systems even when they
118 have broken PCI devices which cannot DMA to full 32 bits. Apart
119 from support for the HP I/O MMU, this includes support for the software
120 I/O TLB, which allows supporting the broken devices at the expense of
121 wasting some kernel memory (about 2MB by default).
122
123config IA64_SGI_SN2
124 bool "SGI-SN2"
125 help
126 Selecting this option will optimize the kernel for use on sn2 based
127 systems, but the resulting kernel binary will not run on other
128 types of ia64 systems. If you have an SGI Altix system, it's safe
129 to select this option. If in doubt, select ia64 generic support
130 instead.
131
132config IA64_HP_SIM
133 bool "Ski-simulator"
134
135endchoice
136
137choice
138 prompt "Processor type"
139 default ITANIUM
140
141config ITANIUM
142 bool "Itanium"
143 help
144 Select your IA-64 processor type. The default is Itanium.
145 This choice is safe for all IA-64 systems, but may not perform
146 optimally on systems with, say, Itanium 2 or newer processors.
147
148config MCKINLEY
149 bool "Itanium 2"
150 help
151 Select this to configure for an Itanium 2 (McKinley) processor.
152
153endchoice
154
155choice
156 prompt "Kernel page size"
157 default IA64_PAGE_SIZE_16KB
158
159config IA64_PAGE_SIZE_4KB
160 bool "4KB"
161 help
162 This lets you select the page size of the kernel. For best IA-64
163 performance, a page size of 8KB or 16KB is recommended. For best
164 IA-32 compatibility, a page size of 4KB should be selected (the vast
165 majority of IA-32 binaries work perfectly fine with a larger page
166 size). For Itanium 2 or newer systems, a page size of 64KB can also
167 be selected.
168
169 4KB For best IA-32 compatibility
170 8KB For best IA-64 performance
171 16KB For best IA-64 performance
172 64KB Requires Itanium 2 or newer processor.
173
174 If you don't know what to do, choose 16KB.
175
176config IA64_PAGE_SIZE_8KB
177 bool "8KB"
178
179config IA64_PAGE_SIZE_16KB
180 bool "16KB"
181
182config IA64_PAGE_SIZE_64KB
183 depends on !ITANIUM
184 bool "64KB"
185
186endchoice
187
Robin Holt837cd0b2005-11-11 09:35:43 -0600188choice
189 prompt "Page Table Levels"
190 default PGTABLE_3
191
192config PGTABLE_3
193 bool "3 Levels"
194
195config PGTABLE_4
196 depends on !IA64_PAGE_SIZE_64KB
197 bool "4 Levels"
198
199endchoice
200
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700201source kernel/Kconfig.hz
202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203config IA64_BRL_EMU
204 bool
205 depends on ITANIUM
206 default y
207
208# align cache-sensitive data to 128 bytes
209config IA64_L1_CACHE_SHIFT
210 int
211 default "7" if MCKINLEY
212 default "6" if ITANIUM
213
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214config IA64_CYCLONE
215 bool "Cyclone (EXA) Time Source support"
216 help
217 Say Y here to enable support for IBM EXA Cyclone time source.
218 If you're unsure, answer N.
219
220config IOSAPIC
221 bool
222 depends on !IA64_HP_SIM
223 default y
224
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700225config IA64_SGI_SN_XP
226 tristate "Support communication between SGI SSIs"
Dean Nelsonf79b3482005-11-01 10:21:51 -0600227 depends on IA64_GENERIC || IA64_SGI_SN2
Jes Sorensen65ed0b32005-06-21 17:15:03 -0700228 select IA64_UNCACHED_ALLOCATOR
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700229 help
230 An SGI machine can be divided into multiple Single System
231 Images which act independently of each other and have
232 hardware based memory protection from the others. Enabling
233 this feature will allow for direct communication between SSIs
234 based on a network adapter and DMA messaging.
235
Linus Torvalds1da177e2005-04-16 15:20:36 -0700236config FORCE_MAX_ZONEORDER
Bob Piccoda9577c2005-10-04 15:13:37 -0400237 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
238 range 11 17 if !HUGETLB_PAGE
239 default "17" if HUGETLB_PAGE
240 default "11"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241
242config SMP
243 bool "Symmetric multi-processing support"
244 help
245 This enables support for systems with more than one CPU. If you have
246 a system with only one CPU, say N. If you have a system with more
247 than one CPU, say Y.
248
249 If you say N here, the kernel will run on single and multiprocessor
250 systems, but will use only one CPU of a multiprocessor system. If
251 you say Y here, the kernel will run on many, but not all,
252 single processor systems. On a single processor system, the kernel
253 will run faster if you say N here.
254
255 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
256 available at <http://www.tldp.org/docs.html#howto>.
257
258 If you don't know what to do here, say N.
259
260config NR_CPUS
Jack Steiner54703d32005-09-14 10:33:40 -0500261 int "Maximum number of CPUs (2-1024)"
262 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263 depends on SMP
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700264 default "1024"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265 help
266 You should set this to the number of CPUs in your system, but
267 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
268 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
269 than 64 will cause the use of a CPU mask array, causing a small
270 performance hit.
271
272config HOTPLUG_CPU
273 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
274 depends on SMP && EXPERIMENTAL
275 select HOTPLUG
276 default n
277 ---help---
278 Say Y here to experiment with turning CPUs off and on. CPUs
279 can be controlled through /sys/devices/system/cpu/cpu#.
280 Say N if you want to disable CPU hotplug.
281
Yasunori Gotocc576372006-06-29 02:24:27 -0700282config ARCH_ENABLE_MEMORY_HOTPLUG
283 def_bool y
284
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700285config SCHED_SMT
286 bool "SMT scheduler support"
287 depends on SMP
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700288 help
289 Improves the CPU scheduler's decision making when dealing with
290 Intel IA64 chips with MultiThreading at a cost of slightly increased
291 overhead in some places. If unsure say N here.
292
Ashok Rajff741902005-11-11 14:32:40 -0800293config PERMIT_BSP_REMOVE
294 bool "Support removal of Bootstrap Processor"
295 depends on HOTPLUG_CPU
296 default n
297 ---help---
298 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
299 support.
300
301config FORCE_CPEI_RETARGET
302 bool "Force assumption that CPEI can be re-targetted"
303 depends on PERMIT_BSP_REMOVE
304 default n
305 ---help---
306 Say Y if you need to force the assumption that CPEI can be re-targetted to
307 any cpu in the system. This hint is available via ACPI 3.0 specifications.
308 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
309 This option it useful to enable this feature on older BIOS's as well.
310 You can also enable this by using boot command line option force_cpei=1.
311
Linus Torvalds1da177e2005-04-16 15:20:36 -0700312config PREEMPT
313 bool "Preemptible Kernel"
314 help
315 This option reduces the latency of the kernel when reacting to
316 real-time or interactive events by allowing a low priority process to
317 be preempted even if it is in kernel mode executing a system call.
318 This allows applications to run more reliably even when the system is
319 under load.
320
321 Say Y here if you are building a kernel for a desktop, embedded
322 or real-time system. Say N if you are unsure.
323
Dave Hansen3f22ab22005-06-23 00:07:43 -0700324source "mm/Kconfig"
325
Bob Piccoda9577c2005-10-04 15:13:37 -0400326config ARCH_SELECT_MEMORY_MODEL
327 def_bool y
328
329config ARCH_DISCONTIGMEM_ENABLE
330 def_bool y
331 help
332 Say Y to support efficient handling of discontiguous physical memory,
333 for architectures which are either NUMA (Non-Uniform Memory Access)
334 or have huge holes in the physical address space for other reasons.
335 See <file:Documentation/vm/numa> for more.
336
337config ARCH_FLATMEM_ENABLE
338 def_bool y
339
340config ARCH_SPARSEMEM_ENABLE
341 def_bool y
342 depends on ARCH_DISCONTIGMEM_ENABLE
343
344config ARCH_DISCONTIGMEM_DEFAULT
345 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
346 depends on ARCH_DISCONTIGMEM_ENABLE
347
348config NUMA
349 bool "NUMA support"
350 depends on !IA64_HP_SIM && !FLATMEM
351 default y if IA64_SGI_SN2
KAMEZAWA Hiroyuki6c33eb32006-11-08 17:44:50 -0800352 select ACPI_NUMA if ACPI
Bob Piccoda9577c2005-10-04 15:13:37 -0400353 help
354 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
355 Access). This option is for configuring high-end multiprocessor
356 server systems. If in doubt, say N.
357
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700358config NODES_SHIFT
359 int "Max num nodes shift(3-10)"
360 range 3 10
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700361 default "10"
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700362 depends on NEED_MULTIPLE_NODES
363 help
364 This option specifies the maximum number of nodes in your SSI system.
365 MAX_NUMNODES will be 2^(This value).
366 If in doubt, use the default.
367
Mel Gorman05e0caa2006-09-27 01:49:54 -0700368config ARCH_POPULATES_NODE_MAP
369 def_bool y
370
Bob Piccoda9577c2005-10-04 15:13:37 -0400371# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
372# VIRTUAL_MEM_MAP has been retained for historical reasons.
373config VIRTUAL_MEM_MAP
374 bool "Virtual mem map"
375 depends on !SPARSEMEM
376 default y if !IA64_HP_SIM
377 help
378 Say Y to compile the kernel with support for a virtual mem map.
379 This code also only takes effect if a memory hole of greater than
380 1 Gb is found during boot. You must turn this option on if you
381 require the DISCONTIGMEM option for your machine. If you are
382 unsure, say Y.
383
384config HOLES_IN_ZONE
385 bool
386 default y if VIRTUAL_MEM_MAP
387
388config HAVE_ARCH_EARLY_PFN_TO_NID
389 def_bool y
390 depends on NEED_MULTIPLE_NODES
391
Yasunori Goto10ad4002006-06-27 02:53:33 -0700392config HAVE_ARCH_NODEDATA_EXTENSION
393 def_bool y
394 depends on NUMA
395
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396config IA32_SUPPORT
397 bool "Support for Linux/x86 binaries"
398 help
399 IA-64 processors can execute IA-32 (X86) instructions. By
400 saying Y here, the kernel will include IA-32 system call
401 emulation support which makes it possible to transparently
402 run IA-32 Linux binaries on an IA-64 Linux system.
403 If in doubt, say Y.
404
405config COMPAT
406 bool
407 depends on IA32_SUPPORT
408 default y
409
410config IA64_MCA_RECOVERY
411 tristate "MCA recovery from errors other than TLB."
412
413config PERFMON
414 bool "Performance monitor support"
415 help
416 Selects whether support for the IA-64 performance monitor hardware
417 is included in the kernel. This makes some kernel data-structures a
418 little bigger and slows down execution a bit, but it is generally
419 a good idea to turn this on. If you're unsure, say Y.
420
421config IA64_PALINFO
422 tristate "/proc/pal support"
423 help
424 If you say Y here, you are able to get PAL (Processor Abstraction
425 Layer) information in /proc/pal. This contains useful information
426 about the processors in your systems, such as cache and TLB sizes
427 and the PAL firmware version in use.
428
429 To use this option, you have to ensure that the "/proc file system
430 support" (CONFIG_PROC_FS) is enabled, too.
431
Fenghua Yue9ef08b2006-12-08 16:06:01 -0800432config IA64_MC_ERR_INJECT
433 tristate "MC error injection support"
434 help
435 Selets whether support for MC error injection. By enabling the
436 support, kernel provide sysfs interface for user application to
437 call MC error injection PAL procedure to inject various errors.
438 This is a useful tool for MCA testing.
439
440 If you're unsure, do not select this option.
441
Jes Sorensen466575f2006-01-19 04:54:00 -0500442config SGI_SN
443 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
444
David Mosberger-Tang2ab561a2006-06-21 11:19:22 -0700445config IA64_ESI
446 bool "ESI (Extensible SAL Interface) support"
447 help
448 If you say Y here, support is built into the kernel to
449 make ESI calls. ESI calls are used to support vendor-specific
450 firmware extensions, such as the ability to inject memory-errors
451 for test-purposes. If you're unsure, say N.
452
Brent Casavantc1311af2006-04-20 15:38:16 -0500453source "drivers/sn/Kconfig"
454
Zou Nan haia7956112006-12-07 09:51:35 -0800455config KEXEC
456 bool "kexec system call (EXPERIMENTAL)"
457 depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
458 help
459 kexec is a system call that implements the ability to shutdown your
460 current kernel, and to start another kernel. It is like a reboot
461 but it is indepedent of the system firmware. And like a reboot
462 you can start any kernel with it, not just Linux.
463
464 The name comes from the similiarity to the exec system call.
465
466 It is an ongoing process to be certain the hardware in a machine
467 is properly shutdown, so do not be surprised if this code does not
468 initially work for you. It may help to enable device hotplugging
469 support. As of this writing the exact hardware interface is
470 strongly in flux, so no good recommendation can be made.
471
472config CRASH_DUMP
473 bool "kernel crash dumps (EXPERIMENTAL)"
474 depends on EXPERIMENTAL && IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
475 help
476 Generate crash dump after being started by kexec.
477
Linus Torvalds1da177e2005-04-16 15:20:36 -0700478source "drivers/firmware/Kconfig"
479
480source "fs/Kconfig.binfmt"
481
482endmenu
483
484menu "Power management and ACPI"
485
Len Browneb7b6b32005-08-25 12:08:25 -0400486source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700487
488source "drivers/acpi/Kconfig"
489
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700490if PM
491
492source "arch/ia64/kernel/cpufreq/Kconfig"
493
494endif
495
Linus Torvalds1da177e2005-04-16 15:20:36 -0700496endmenu
497
498if !IA64_HP_SIM
499
500menu "Bus options (PCI, PCMCIA)"
501
502config PCI
503 bool "PCI support"
504 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700505 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
506 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700507
508config PCI_DOMAINS
509 bool
510 default PCI
511
Kenji Kaneshigeb7bb5752006-04-28 11:50:43 +0900512source "drivers/pci/pcie/Kconfig"
513
Linus Torvalds1da177e2005-04-16 15:20:36 -0700514source "drivers/pci/Kconfig"
515
516source "drivers/pci/hotplug/Kconfig"
517
518source "drivers/pcmcia/Kconfig"
519
520endmenu
521
522endif
523
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700524source "net/Kconfig"
525
Linus Torvalds1da177e2005-04-16 15:20:36 -0700526source "drivers/Kconfig"
527
Jes Sorensen1a4b0fc2006-11-10 12:27:49 -0800528config MSPEC
529 tristate "Memory special operations driver"
530 depends on IA64
531 select IA64_UNCACHED_ALLOCATOR
532 help
533 If you have an ia64 and you want to enable memory special
534 operations support (formerly known as fetchop), say Y here,
535 otherwise say N.
536
Linus Torvalds1da177e2005-04-16 15:20:36 -0700537source "fs/Kconfig"
538
539source "lib/Kconfig"
540
541#
542# Use the generic interrupt handling code in kernel/irq/:
543#
544config GENERIC_HARDIRQS
545 bool
546 default y
547
548config GENERIC_IRQ_PROBE
549 bool
550 default y
551
Ashok Raj54d5d422005-09-06 15:16:15 -0700552config GENERIC_PENDING_IRQ
553 bool
554 depends on GENERIC_HARDIRQS && SMP
555 default y
556
Ingo Molnar0d7012a2006-06-29 02:24:43 -0700557config IRQ_PER_CPU
558 bool
559 default y
560
Linus Torvalds1da177e2005-04-16 15:20:36 -0700561source "arch/ia64/hp/sim/Kconfig"
562
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800563menu "Instrumentation Support"
564 depends on EXPERIMENTAL
565
Linus Torvalds1da177e2005-04-16 15:20:36 -0700566source "arch/ia64/oprofile/Kconfig"
567
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800568config KPROBES
569 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700570 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800571 help
572 Kprobes allows you to trap at almost any kernel address and
573 execute a callback function. register_kprobe() establishes
574 a probepoint and specifies the callback. Kprobes is useful
575 for kernel debugging, non-intrusive instrumentation and testing.
576 If in doubt, say "N".
577endmenu
578
Linus Torvalds1da177e2005-04-16 15:20:36 -0700579source "arch/ia64/Kconfig.debug"
580
581source "security/Kconfig"
582
583source "crypto/Kconfig"