blob: fcacfe291b9b7450b5537ec8cbb0aab258e92f5e [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
Jes Sorensen466575f2006-01-19 04:54:00 -0500432config SGI_SN
433 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
434
David Mosberger-Tang2ab561a2006-06-21 11:19:22 -0700435config IA64_ESI
436 bool "ESI (Extensible SAL Interface) support"
437 help
438 If you say Y here, support is built into the kernel to
439 make ESI calls. ESI calls are used to support vendor-specific
440 firmware extensions, such as the ability to inject memory-errors
441 for test-purposes. If you're unsure, say N.
442
Brent Casavantc1311af2006-04-20 15:38:16 -0500443source "drivers/sn/Kconfig"
444
Zou Nan haia7956112006-12-07 09:51:35 -0800445config KEXEC
446 bool "kexec system call (EXPERIMENTAL)"
447 depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
448 help
449 kexec is a system call that implements the ability to shutdown your
450 current kernel, and to start another kernel. It is like a reboot
451 but it is indepedent of the system firmware. And like a reboot
452 you can start any kernel with it, not just Linux.
453
454 The name comes from the similiarity to the exec system call.
455
456 It is an ongoing process to be certain the hardware in a machine
457 is properly shutdown, so do not be surprised if this code does not
458 initially work for you. It may help to enable device hotplugging
459 support. As of this writing the exact hardware interface is
460 strongly in flux, so no good recommendation can be made.
461
462config CRASH_DUMP
463 bool "kernel crash dumps (EXPERIMENTAL)"
464 depends on EXPERIMENTAL && IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
465 help
466 Generate crash dump after being started by kexec.
467
Linus Torvalds1da177e2005-04-16 15:20:36 -0700468source "drivers/firmware/Kconfig"
469
470source "fs/Kconfig.binfmt"
471
472endmenu
473
474menu "Power management and ACPI"
475
Len Browneb7b6b32005-08-25 12:08:25 -0400476source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700477
478source "drivers/acpi/Kconfig"
479
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700480if PM
481
482source "arch/ia64/kernel/cpufreq/Kconfig"
483
484endif
485
Linus Torvalds1da177e2005-04-16 15:20:36 -0700486endmenu
487
488if !IA64_HP_SIM
489
490menu "Bus options (PCI, PCMCIA)"
491
492config PCI
493 bool "PCI support"
494 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700495 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
496 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700497
498config PCI_DOMAINS
499 bool
500 default PCI
501
Kenji Kaneshigeb7bb5752006-04-28 11:50:43 +0900502source "drivers/pci/pcie/Kconfig"
503
Linus Torvalds1da177e2005-04-16 15:20:36 -0700504source "drivers/pci/Kconfig"
505
506source "drivers/pci/hotplug/Kconfig"
507
508source "drivers/pcmcia/Kconfig"
509
510endmenu
511
512endif
513
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700514source "net/Kconfig"
515
Linus Torvalds1da177e2005-04-16 15:20:36 -0700516source "drivers/Kconfig"
517
Jes Sorensen1a4b0fc2006-11-10 12:27:49 -0800518config MSPEC
519 tristate "Memory special operations driver"
520 depends on IA64
521 select IA64_UNCACHED_ALLOCATOR
522 help
523 If you have an ia64 and you want to enable memory special
524 operations support (formerly known as fetchop), say Y here,
525 otherwise say N.
526
Linus Torvalds1da177e2005-04-16 15:20:36 -0700527source "fs/Kconfig"
528
529source "lib/Kconfig"
530
531#
532# Use the generic interrupt handling code in kernel/irq/:
533#
534config GENERIC_HARDIRQS
535 bool
536 default y
537
538config GENERIC_IRQ_PROBE
539 bool
540 default y
541
Ashok Raj54d5d422005-09-06 15:16:15 -0700542config GENERIC_PENDING_IRQ
543 bool
544 depends on GENERIC_HARDIRQS && SMP
545 default y
546
Ingo Molnar0d7012a2006-06-29 02:24:43 -0700547config IRQ_PER_CPU
548 bool
549 default y
550
Linus Torvalds1da177e2005-04-16 15:20:36 -0700551source "arch/ia64/hp/sim/Kconfig"
552
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800553menu "Instrumentation Support"
554 depends on EXPERIMENTAL
555
Linus Torvalds1da177e2005-04-16 15:20:36 -0700556source "arch/ia64/oprofile/Kconfig"
557
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800558config KPROBES
559 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700560 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800561 help
562 Kprobes allows you to trap at almost any kernel address and
563 execute a callback function. register_kprobe() establishes
564 a probepoint and specifies the callback. Kprobes is useful
565 for kernel debugging, non-intrusive instrumentation and testing.
566 If in doubt, say "N".
567endmenu
568
Linus Torvalds1da177e2005-04-16 15:20:36 -0700569source "arch/ia64/Kconfig.debug"
570
571source "security/Kconfig"
572
573source "crypto/Kconfig"