blob: 6e41471449c034f0cd32265590608fcfe68b604c [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)
Len Brown8140a902007-03-16 22:00:43 -040016 select PM if (!IA64_HP_SIM)
Dan Williamsf282b972007-04-18 18:46:20 +100017 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -070018 default y
19 help
20 The Itanium Processor Family is Intel's 64-bit successor to
21 the 32-bit X86 line. The IA-64 Linux project has a home
22 page at <http://www.linuxia64.org/> and a mailing list at
23 <linux-ia64@vger.kernel.org>.
24
25config 64BIT
26 bool
Zhang, Yanmin9f271d52007-02-09 11:29:51 +080027 select ATA_NONSTANDARD if ATA
Linus Torvalds1da177e2005-04-16 15:20:36 -070028 default y
29
Christoph Lameter66701b12007-02-10 01:43:09 -080030config ZONE_DMA
Christoph Lameter09ae1f52007-02-10 01:43:11 -080031 def_bool y
32 depends on !IA64_SGI_SN2
Christoph Lameter66701b12007-02-10 01:43:09 -080033
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config MMU
35 bool
36 default y
37
John W. Linville6c654b52005-09-29 14:42:42 -070038config SWIOTLB
39 bool
John W. Linville6c654b52005-09-29 14:42:42 -070040
Linus Torvalds1da177e2005-04-16 15:20:36 -070041config RWSEM_XCHGADD_ALGORITHM
42 bool
43 default y
44
David Howellsf0d1b0b2006-12-08 02:37:49 -080045config ARCH_HAS_ILOG2_U32
46 bool
47 default n
48
49config ARCH_HAS_ILOG2_U64
50 bool
51 default n
52
Akinobu Mita2875aef2006-03-26 01:39:25 -080053config GENERIC_FIND_NEXT_BIT
54 bool
55 default y
56
Linus Torvalds1da177e2005-04-16 15:20:36 -070057config GENERIC_CALIBRATE_DELAY
58 bool
59 default y
60
61config TIME_INTERPOLATION
62 bool
63 default y
64
Matt Domsch3ed3bce2006-03-26 01:37:03 -080065config DMI
66 bool
67 default y
68
Linus Torvalds1da177e2005-04-16 15:20:36 -070069config EFI
70 bool
71 default y
72
73config GENERIC_IOMAP
74 bool
75 default y
76
Anton Blanchard7d12e522005-05-05 16:15:11 -070077config SCHED_NO_NO_OMIT_FRAME_POINTER
78 bool
79 default y
80
Jes Sorensenf14f75b2005-06-21 17:15:02 -070081config IA64_UNCACHED_ALLOCATOR
82 bool
83 select GENERIC_ALLOCATOR
84
Al Viroe65e1fc2006-09-12 03:04:40 -040085config AUDIT_ARCH
86 bool
87 default y
88
Linus Torvalds1da177e2005-04-16 15:20:36 -070089choice
90 prompt "System type"
91 default IA64_GENERIC
92
93config IA64_GENERIC
94 bool "generic"
95 select NUMA
96 select ACPI_NUMA
Jan Beulichd1598e02007-01-03 09:26:21 +000097 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -070098 help
99 This selects the system type of your hardware. A "generic" kernel
100 will run on any supported IA-64 system. However, if you configure
101 a kernel for your specific system, it will be faster and smaller.
102
103 generic For any supported IA-64 system
104 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
105 HP-zx1/sx1000 For HP systems
106 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
107 SGI-SN2 For SGI Altix systems
108 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
109
110 If you don't know what to do, choose "generic".
111
112config IA64_DIG
113 bool "DIG-compliant"
Jan Beulichd1598e02007-01-03 09:26:21 +0000114 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115
116config IA64_HP_ZX1
117 bool "HP-zx1/sx1000"
118 help
119 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
120 support for the HP I/O MMU.
121
122config IA64_HP_ZX1_SWIOTLB
123 bool "HP-zx1/sx1000 with software I/O TLB"
Jan Beulichd1598e02007-01-03 09:26:21 +0000124 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700125 help
126 Build a kernel that runs on HP zx1 and sx1000 systems even when they
127 have broken PCI devices which cannot DMA to full 32 bits. Apart
128 from support for the HP I/O MMU, this includes support for the software
129 I/O TLB, which allows supporting the broken devices at the expense of
130 wasting some kernel memory (about 2MB by default).
131
132config IA64_SGI_SN2
133 bool "SGI-SN2"
134 help
135 Selecting this option will optimize the kernel for use on sn2 based
136 systems, but the resulting kernel binary will not run on other
137 types of ia64 systems. If you have an SGI Altix system, it's safe
138 to select this option. If in doubt, select ia64 generic support
139 instead.
140
141config IA64_HP_SIM
142 bool "Ski-simulator"
Jan Beulichd1598e02007-01-03 09:26:21 +0000143 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144
145endchoice
146
147choice
148 prompt "Processor type"
149 default ITANIUM
150
151config ITANIUM
152 bool "Itanium"
153 help
154 Select your IA-64 processor type. The default is Itanium.
155 This choice is safe for all IA-64 systems, but may not perform
156 optimally on systems with, say, Itanium 2 or newer processors.
157
158config MCKINLEY
159 bool "Itanium 2"
160 help
161 Select this to configure for an Itanium 2 (McKinley) processor.
162
163endchoice
164
165choice
166 prompt "Kernel page size"
167 default IA64_PAGE_SIZE_16KB
168
169config IA64_PAGE_SIZE_4KB
170 bool "4KB"
171 help
172 This lets you select the page size of the kernel. For best IA-64
173 performance, a page size of 8KB or 16KB is recommended. For best
174 IA-32 compatibility, a page size of 4KB should be selected (the vast
175 majority of IA-32 binaries work perfectly fine with a larger page
176 size). For Itanium 2 or newer systems, a page size of 64KB can also
177 be selected.
178
179 4KB For best IA-32 compatibility
180 8KB For best IA-64 performance
181 16KB For best IA-64 performance
182 64KB Requires Itanium 2 or newer processor.
183
184 If you don't know what to do, choose 16KB.
185
186config IA64_PAGE_SIZE_8KB
187 bool "8KB"
188
189config IA64_PAGE_SIZE_16KB
190 bool "16KB"
191
192config IA64_PAGE_SIZE_64KB
193 depends on !ITANIUM
194 bool "64KB"
195
196endchoice
197
Robin Holt837cd0b2005-11-11 09:35:43 -0600198choice
199 prompt "Page Table Levels"
200 default PGTABLE_3
201
202config PGTABLE_3
203 bool "3 Levels"
204
205config PGTABLE_4
206 depends on !IA64_PAGE_SIZE_64KB
207 bool "4 Levels"
208
209endchoice
210
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700211source kernel/Kconfig.hz
212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213config IA64_BRL_EMU
214 bool
215 depends on ITANIUM
216 default y
217
218# align cache-sensitive data to 128 bytes
219config IA64_L1_CACHE_SHIFT
220 int
221 default "7" if MCKINLEY
222 default "6" if ITANIUM
223
Linus Torvalds1da177e2005-04-16 15:20:36 -0700224config IA64_CYCLONE
225 bool "Cyclone (EXA) Time Source support"
226 help
227 Say Y here to enable support for IBM EXA Cyclone time source.
228 If you're unsure, answer N.
229
230config IOSAPIC
231 bool
232 depends on !IA64_HP_SIM
233 default y
234
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700235config IA64_SGI_SN_XP
236 tristate "Support communication between SGI SSIs"
Dean Nelsonf79b3482005-11-01 10:21:51 -0600237 depends on IA64_GENERIC || IA64_SGI_SN2
Jes Sorensen65ed0b32005-06-21 17:15:03 -0700238 select IA64_UNCACHED_ALLOCATOR
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700239 help
240 An SGI machine can be divided into multiple Single System
241 Images which act independently of each other and have
242 hardware based memory protection from the others. Enabling
243 this feature will allow for direct communication between SSIs
244 based on a network adapter and DMA messaging.
245
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246config FORCE_MAX_ZONEORDER
Bob Piccoda9577c2005-10-04 15:13:37 -0400247 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
248 range 11 17 if !HUGETLB_PAGE
249 default "17" if HUGETLB_PAGE
250 default "11"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700251
252config SMP
253 bool "Symmetric multi-processing support"
254 help
255 This enables support for systems with more than one CPU. If you have
256 a system with only one CPU, say N. If you have a system with more
257 than one CPU, say Y.
258
259 If you say N here, the kernel will run on single and multiprocessor
260 systems, but will use only one CPU of a multiprocessor system. If
261 you say Y here, the kernel will run on many, but not all,
262 single processor systems. On a single processor system, the kernel
263 will run faster if you say N here.
264
265 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
266 available at <http://www.tldp.org/docs.html#howto>.
267
268 If you don't know what to do here, say N.
269
270config NR_CPUS
Jack Steiner54703d32005-09-14 10:33:40 -0500271 int "Maximum number of CPUs (2-1024)"
272 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273 depends on SMP
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700274 default "1024"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700275 help
276 You should set this to the number of CPUs in your system, but
277 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
278 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
279 than 64 will cause the use of a CPU mask array, causing a small
280 performance hit.
281
282config HOTPLUG_CPU
283 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
284 depends on SMP && EXPERIMENTAL
285 select HOTPLUG
286 default n
287 ---help---
288 Say Y here to experiment with turning CPUs off and on. CPUs
289 can be controlled through /sys/devices/system/cpu/cpu#.
290 Say N if you want to disable CPU hotplug.
291
Yasunori Gotocc576372006-06-29 02:24:27 -0700292config ARCH_ENABLE_MEMORY_HOTPLUG
293 def_bool y
294
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700295config SCHED_SMT
296 bool "SMT scheduler support"
297 depends on SMP
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700298 help
299 Improves the CPU scheduler's decision making when dealing with
300 Intel IA64 chips with MultiThreading at a cost of slightly increased
301 overhead in some places. If unsure say N here.
302
Ashok Rajff741902005-11-11 14:32:40 -0800303config PERMIT_BSP_REMOVE
304 bool "Support removal of Bootstrap Processor"
305 depends on HOTPLUG_CPU
306 default n
307 ---help---
308 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
309 support.
310
311config FORCE_CPEI_RETARGET
312 bool "Force assumption that CPEI can be re-targetted"
313 depends on PERMIT_BSP_REMOVE
314 default n
315 ---help---
316 Say Y if you need to force the assumption that CPEI can be re-targetted to
317 any cpu in the system. This hint is available via ACPI 3.0 specifications.
318 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
319 This option it useful to enable this feature on older BIOS's as well.
320 You can also enable this by using boot command line option force_cpei=1.
321
Linus Torvalds1da177e2005-04-16 15:20:36 -0700322config PREEMPT
323 bool "Preemptible Kernel"
324 help
325 This option reduces the latency of the kernel when reacting to
326 real-time or interactive events by allowing a low priority process to
327 be preempted even if it is in kernel mode executing a system call.
328 This allows applications to run more reliably even when the system is
329 under load.
330
331 Say Y here if you are building a kernel for a desktop, embedded
332 or real-time system. Say N if you are unsure.
333
Dave Hansen3f22ab22005-06-23 00:07:43 -0700334source "mm/Kconfig"
335
Bob Piccoda9577c2005-10-04 15:13:37 -0400336config ARCH_SELECT_MEMORY_MODEL
337 def_bool y
338
339config ARCH_DISCONTIGMEM_ENABLE
340 def_bool y
341 help
342 Say Y to support efficient handling of discontiguous physical memory,
343 for architectures which are either NUMA (Non-Uniform Memory Access)
344 or have huge holes in the physical address space for other reasons.
345 See <file:Documentation/vm/numa> for more.
346
347config ARCH_FLATMEM_ENABLE
348 def_bool y
349
350config ARCH_SPARSEMEM_ENABLE
351 def_bool y
352 depends on ARCH_DISCONTIGMEM_ENABLE
353
354config ARCH_DISCONTIGMEM_DEFAULT
355 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
356 depends on ARCH_DISCONTIGMEM_ENABLE
357
358config NUMA
359 bool "NUMA support"
360 depends on !IA64_HP_SIM && !FLATMEM
361 default y if IA64_SGI_SN2
KAMEZAWA Hiroyuki6c33eb32006-11-08 17:44:50 -0800362 select ACPI_NUMA if ACPI
Bob Piccoda9577c2005-10-04 15:13:37 -0400363 help
364 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
365 Access). This option is for configuring high-end multiprocessor
366 server systems. If in doubt, say N.
367
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700368config NODES_SHIFT
369 int "Max num nodes shift(3-10)"
370 range 3 10
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700371 default "10"
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700372 depends on NEED_MULTIPLE_NODES
373 help
374 This option specifies the maximum number of nodes in your SSI system.
375 MAX_NUMNODES will be 2^(This value).
376 If in doubt, use the default.
377
Mel Gorman05e0caa2006-09-27 01:49:54 -0700378config ARCH_POPULATES_NODE_MAP
379 def_bool y
380
Bob Piccoda9577c2005-10-04 15:13:37 -0400381# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
382# VIRTUAL_MEM_MAP has been retained for historical reasons.
383config VIRTUAL_MEM_MAP
384 bool "Virtual mem map"
385 depends on !SPARSEMEM
386 default y if !IA64_HP_SIM
387 help
388 Say Y to compile the kernel with support for a virtual mem map.
389 This code also only takes effect if a memory hole of greater than
390 1 Gb is found during boot. You must turn this option on if you
391 require the DISCONTIGMEM option for your machine. If you are
392 unsure, say Y.
393
394config HOLES_IN_ZONE
395 bool
396 default y if VIRTUAL_MEM_MAP
397
398config HAVE_ARCH_EARLY_PFN_TO_NID
399 def_bool y
400 depends on NEED_MULTIPLE_NODES
401
Yasunori Goto10ad4002006-06-27 02:53:33 -0700402config HAVE_ARCH_NODEDATA_EXTENSION
403 def_bool y
404 depends on NUMA
405
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406config IA32_SUPPORT
407 bool "Support for Linux/x86 binaries"
408 help
409 IA-64 processors can execute IA-32 (X86) instructions. By
410 saying Y here, the kernel will include IA-32 system call
411 emulation support which makes it possible to transparently
412 run IA-32 Linux binaries on an IA-64 Linux system.
413 If in doubt, say Y.
414
415config COMPAT
416 bool
417 depends on IA32_SUPPORT
418 default y
419
420config IA64_MCA_RECOVERY
421 tristate "MCA recovery from errors other than TLB."
422
423config PERFMON
424 bool "Performance monitor support"
425 help
426 Selects whether support for the IA-64 performance monitor hardware
427 is included in the kernel. This makes some kernel data-structures a
428 little bigger and slows down execution a bit, but it is generally
429 a good idea to turn this on. If you're unsure, say Y.
430
431config IA64_PALINFO
432 tristate "/proc/pal support"
433 help
434 If you say Y here, you are able to get PAL (Processor Abstraction
435 Layer) information in /proc/pal. This contains useful information
436 about the processors in your systems, such as cache and TLB sizes
437 and the PAL firmware version in use.
438
439 To use this option, you have to ensure that the "/proc file system
440 support" (CONFIG_PROC_FS) is enabled, too.
441
Fenghua Yue9ef08b2006-12-08 16:06:01 -0800442config IA64_MC_ERR_INJECT
443 tristate "MC error injection support"
444 help
445 Selets whether support for MC error injection. By enabling the
446 support, kernel provide sysfs interface for user application to
447 call MC error injection PAL procedure to inject various errors.
448 This is a useful tool for MCA testing.
449
450 If you're unsure, do not select this option.
451
Jes Sorensen466575f2006-01-19 04:54:00 -0500452config SGI_SN
453 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
454
David Mosberger-Tang2ab561a2006-06-21 11:19:22 -0700455config IA64_ESI
456 bool "ESI (Extensible SAL Interface) support"
457 help
458 If you say Y here, support is built into the kernel to
459 make ESI calls. ESI calls are used to support vendor-specific
460 firmware extensions, such as the ability to inject memory-errors
461 for test-purposes. If you're unsure, say N.
462
Brent Casavantc1311af2006-04-20 15:38:16 -0500463source "drivers/sn/Kconfig"
464
Zou Nan haia79561132006-12-07 09:51:35 -0800465config KEXEC
466 bool "kexec system call (EXPERIMENTAL)"
467 depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
468 help
469 kexec is a system call that implements the ability to shutdown your
470 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +0200471 but it is independent of the system firmware. And like a reboot
Zou Nan haia79561132006-12-07 09:51:35 -0800472 you can start any kernel with it, not just Linux.
473
474 The name comes from the similiarity to the exec system call.
475
476 It is an ongoing process to be certain the hardware in a machine
477 is properly shutdown, so do not be surprised if this code does not
478 initially work for you. It may help to enable device hotplugging
479 support. As of this writing the exact hardware interface is
480 strongly in flux, so no good recommendation can be made.
481
482config CRASH_DUMP
483 bool "kernel crash dumps (EXPERIMENTAL)"
484 depends on EXPERIMENTAL && IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
485 help
486 Generate crash dump after being started by kexec.
487
Linus Torvalds1da177e2005-04-16 15:20:36 -0700488source "drivers/firmware/Kconfig"
489
490source "fs/Kconfig.binfmt"
491
492endmenu
493
494menu "Power management and ACPI"
495
Len Browneb7b6b32005-08-25 12:08:25 -0400496source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700497
498source "drivers/acpi/Kconfig"
499
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700500if PM
501
502source "arch/ia64/kernel/cpufreq/Kconfig"
503
504endif
505
Linus Torvalds1da177e2005-04-16 15:20:36 -0700506endmenu
507
508if !IA64_HP_SIM
509
510menu "Bus options (PCI, PCMCIA)"
511
512config PCI
513 bool "PCI support"
514 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700515 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
516 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700517
518config PCI_DOMAINS
519 bool
520 default PCI
521
Kenji Kaneshigeb7bb5752006-04-28 11:50:43 +0900522source "drivers/pci/pcie/Kconfig"
523
Linus Torvalds1da177e2005-04-16 15:20:36 -0700524source "drivers/pci/Kconfig"
525
526source "drivers/pci/hotplug/Kconfig"
527
528source "drivers/pcmcia/Kconfig"
529
530endmenu
531
532endif
533
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700534source "net/Kconfig"
535
Linus Torvalds1da177e2005-04-16 15:20:36 -0700536source "drivers/Kconfig"
537
Jes Sorensen1a4b0fc2006-11-10 12:27:49 -0800538config MSPEC
539 tristate "Memory special operations driver"
540 depends on IA64
541 select IA64_UNCACHED_ALLOCATOR
542 help
543 If you have an ia64 and you want to enable memory special
544 operations support (formerly known as fetchop), say Y here,
545 otherwise say N.
546
Linus Torvalds1da177e2005-04-16 15:20:36 -0700547source "fs/Kconfig"
548
549source "lib/Kconfig"
550
551#
552# Use the generic interrupt handling code in kernel/irq/:
553#
554config GENERIC_HARDIRQS
555 bool
556 default y
557
558config GENERIC_IRQ_PROBE
559 bool
560 default y
561
Ashok Raj54d5d422005-09-06 15:16:15 -0700562config GENERIC_PENDING_IRQ
563 bool
564 depends on GENERIC_HARDIRQS && SMP
565 default y
566
Ingo Molnar0d7012a2006-06-29 02:24:43 -0700567config IRQ_PER_CPU
568 bool
569 default y
570
Linus Torvalds1da177e2005-04-16 15:20:36 -0700571source "arch/ia64/hp/sim/Kconfig"
572
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800573menu "Instrumentation Support"
574 depends on EXPERIMENTAL
575
Linus Torvalds1da177e2005-04-16 15:20:36 -0700576source "arch/ia64/oprofile/Kconfig"
577
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800578config KPROBES
579 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700580 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800581 help
582 Kprobes allows you to trap at almost any kernel address and
583 execute a callback function. register_kprobe() establishes
584 a probepoint and specifies the callback. Kprobes is useful
585 for kernel debugging, non-intrusive instrumentation and testing.
586 If in doubt, say "N".
587endmenu
588
Linus Torvalds1da177e2005-04-16 15:20:36 -0700589source "arch/ia64/Kconfig.debug"
590
591source "security/Kconfig"
592
593source "crypto/Kconfig"