blob: 14682396f7f7341594647b2d60d96ed9eccff8ad [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
Akinobu Mita2875aef2006-03-26 01:39:25 -080037config GENERIC_FIND_NEXT_BIT
38 bool
39 default y
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041config GENERIC_CALIBRATE_DELAY
42 bool
43 default y
44
45config TIME_INTERPOLATION
46 bool
47 default y
48
Matt Domsch3ed3bce2006-03-26 01:37:03 -080049config DMI
50 bool
51 default y
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053config EFI
54 bool
55 default y
56
57config GENERIC_IOMAP
58 bool
59 default y
60
Anton Blanchard7d12e522005-05-05 16:15:11 -070061config SCHED_NO_NO_OMIT_FRAME_POINTER
62 bool
63 default y
64
Jes Sorensenf14f75b2005-06-21 17:15:02 -070065config IA64_UNCACHED_ALLOCATOR
66 bool
67 select GENERIC_ALLOCATOR
68
Al Viroe65e1fc2006-09-12 03:04:40 -040069config AUDIT_ARCH
70 bool
71 default y
72
Linus Torvalds1da177e2005-04-16 15:20:36 -070073choice
74 prompt "System type"
75 default IA64_GENERIC
76
77config IA64_GENERIC
78 bool "generic"
Len Browneb7b6b32005-08-25 12:08:25 -040079 select ACPI
Adrian Bunk13001242006-03-28 17:04:00 -050080 select PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -070081 select NUMA
82 select ACPI_NUMA
Linus Torvalds1da177e2005-04-16 15:20:36 -070083 help
84 This selects the system type of your hardware. A "generic" kernel
85 will run on any supported IA-64 system. However, if you configure
86 a kernel for your specific system, it will be faster and smaller.
87
88 generic For any supported IA-64 system
89 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
90 HP-zx1/sx1000 For HP systems
91 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
92 SGI-SN2 For SGI Altix systems
93 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
94
95 If you don't know what to do, choose "generic".
96
97config IA64_DIG
98 bool "DIG-compliant"
99
100config IA64_HP_ZX1
101 bool "HP-zx1/sx1000"
102 help
103 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
104 support for the HP I/O MMU.
105
106config IA64_HP_ZX1_SWIOTLB
107 bool "HP-zx1/sx1000 with software I/O TLB"
108 help
109 Build a kernel that runs on HP zx1 and sx1000 systems even when they
110 have broken PCI devices which cannot DMA to full 32 bits. Apart
111 from support for the HP I/O MMU, this includes support for the software
112 I/O TLB, which allows supporting the broken devices at the expense of
113 wasting some kernel memory (about 2MB by default).
114
115config IA64_SGI_SN2
116 bool "SGI-SN2"
117 help
118 Selecting this option will optimize the kernel for use on sn2 based
119 systems, but the resulting kernel binary will not run on other
120 types of ia64 systems. If you have an SGI Altix system, it's safe
121 to select this option. If in doubt, select ia64 generic support
122 instead.
123
124config IA64_HP_SIM
125 bool "Ski-simulator"
126
127endchoice
128
129choice
130 prompt "Processor type"
131 default ITANIUM
132
133config ITANIUM
134 bool "Itanium"
135 help
136 Select your IA-64 processor type. The default is Itanium.
137 This choice is safe for all IA-64 systems, but may not perform
138 optimally on systems with, say, Itanium 2 or newer processors.
139
140config MCKINLEY
141 bool "Itanium 2"
142 help
143 Select this to configure for an Itanium 2 (McKinley) processor.
144
145endchoice
146
147choice
148 prompt "Kernel page size"
149 default IA64_PAGE_SIZE_16KB
150
151config IA64_PAGE_SIZE_4KB
152 bool "4KB"
153 help
154 This lets you select the page size of the kernel. For best IA-64
155 performance, a page size of 8KB or 16KB is recommended. For best
156 IA-32 compatibility, a page size of 4KB should be selected (the vast
157 majority of IA-32 binaries work perfectly fine with a larger page
158 size). For Itanium 2 or newer systems, a page size of 64KB can also
159 be selected.
160
161 4KB For best IA-32 compatibility
162 8KB For best IA-64 performance
163 16KB For best IA-64 performance
164 64KB Requires Itanium 2 or newer processor.
165
166 If you don't know what to do, choose 16KB.
167
168config IA64_PAGE_SIZE_8KB
169 bool "8KB"
170
171config IA64_PAGE_SIZE_16KB
172 bool "16KB"
173
174config IA64_PAGE_SIZE_64KB
175 depends on !ITANIUM
176 bool "64KB"
177
178endchoice
179
Robin Holt837cd0b2005-11-11 09:35:43 -0600180choice
181 prompt "Page Table Levels"
182 default PGTABLE_3
183
184config PGTABLE_3
185 bool "3 Levels"
186
187config PGTABLE_4
188 depends on !IA64_PAGE_SIZE_64KB
189 bool "4 Levels"
190
191endchoice
192
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700193source kernel/Kconfig.hz
194
Linus Torvalds1da177e2005-04-16 15:20:36 -0700195config IA64_BRL_EMU
196 bool
197 depends on ITANIUM
198 default y
199
200# align cache-sensitive data to 128 bytes
201config IA64_L1_CACHE_SHIFT
202 int
203 default "7" if MCKINLEY
204 default "6" if ITANIUM
205
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206config IA64_CYCLONE
207 bool "Cyclone (EXA) Time Source support"
208 help
209 Say Y here to enable support for IBM EXA Cyclone time source.
210 If you're unsure, answer N.
211
212config IOSAPIC
213 bool
214 depends on !IA64_HP_SIM
215 default y
216
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700217config IA64_SGI_SN_XP
218 tristate "Support communication between SGI SSIs"
Dean Nelsonf79b3482005-11-01 10:21:51 -0600219 depends on IA64_GENERIC || IA64_SGI_SN2
Jes Sorensen65ed0b32005-06-21 17:15:03 -0700220 select IA64_UNCACHED_ALLOCATOR
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700221 help
222 An SGI machine can be divided into multiple Single System
223 Images which act independently of each other and have
224 hardware based memory protection from the others. Enabling
225 this feature will allow for direct communication between SSIs
226 based on a network adapter and DMA messaging.
227
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228config FORCE_MAX_ZONEORDER
Bob Piccoda9577c2005-10-04 15:13:37 -0400229 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
230 range 11 17 if !HUGETLB_PAGE
231 default "17" if HUGETLB_PAGE
232 default "11"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233
234config SMP
235 bool "Symmetric multi-processing support"
236 help
237 This enables support for systems with more than one CPU. If you have
238 a system with only one CPU, say N. If you have a system with more
239 than one CPU, say Y.
240
241 If you say N here, the kernel will run on single and multiprocessor
242 systems, but will use only one CPU of a multiprocessor system. If
243 you say Y here, the kernel will run on many, but not all,
244 single processor systems. On a single processor system, the kernel
245 will run faster if you say N here.
246
247 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
248 available at <http://www.tldp.org/docs.html#howto>.
249
250 If you don't know what to do here, say N.
251
252config NR_CPUS
Jack Steiner54703d32005-09-14 10:33:40 -0500253 int "Maximum number of CPUs (2-1024)"
254 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255 depends on SMP
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700256 default "1024"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257 help
258 You should set this to the number of CPUs in your system, but
259 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
260 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
261 than 64 will cause the use of a CPU mask array, causing a small
262 performance hit.
263
264config HOTPLUG_CPU
265 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
266 depends on SMP && EXPERIMENTAL
267 select HOTPLUG
268 default n
269 ---help---
270 Say Y here to experiment with turning CPUs off and on. CPUs
271 can be controlled through /sys/devices/system/cpu/cpu#.
272 Say N if you want to disable CPU hotplug.
273
Yasunori Gotocc576372006-06-29 02:24:27 -0700274config ARCH_ENABLE_MEMORY_HOTPLUG
275 def_bool y
276
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700277config SCHED_SMT
278 bool "SMT scheduler support"
279 depends on SMP
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700280 help
281 Improves the CPU scheduler's decision making when dealing with
282 Intel IA64 chips with MultiThreading at a cost of slightly increased
283 overhead in some places. If unsure say N here.
284
Ashok Rajff741902005-11-11 14:32:40 -0800285config PERMIT_BSP_REMOVE
286 bool "Support removal of Bootstrap Processor"
287 depends on HOTPLUG_CPU
288 default n
289 ---help---
290 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
291 support.
292
293config FORCE_CPEI_RETARGET
294 bool "Force assumption that CPEI can be re-targetted"
295 depends on PERMIT_BSP_REMOVE
296 default n
297 ---help---
298 Say Y if you need to force the assumption that CPEI can be re-targetted to
299 any cpu in the system. This hint is available via ACPI 3.0 specifications.
300 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
301 This option it useful to enable this feature on older BIOS's as well.
302 You can also enable this by using boot command line option force_cpei=1.
303
Linus Torvalds1da177e2005-04-16 15:20:36 -0700304config PREEMPT
305 bool "Preemptible Kernel"
306 help
307 This option reduces the latency of the kernel when reacting to
308 real-time or interactive events by allowing a low priority process to
309 be preempted even if it is in kernel mode executing a system call.
310 This allows applications to run more reliably even when the system is
311 under load.
312
313 Say Y here if you are building a kernel for a desktop, embedded
314 or real-time system. Say N if you are unsure.
315
Dave Hansen3f22ab22005-06-23 00:07:43 -0700316source "mm/Kconfig"
317
Bob Piccoda9577c2005-10-04 15:13:37 -0400318config ARCH_SELECT_MEMORY_MODEL
319 def_bool y
320
321config ARCH_DISCONTIGMEM_ENABLE
322 def_bool y
323 help
324 Say Y to support efficient handling of discontiguous physical memory,
325 for architectures which are either NUMA (Non-Uniform Memory Access)
326 or have huge holes in the physical address space for other reasons.
327 See <file:Documentation/vm/numa> for more.
328
329config ARCH_FLATMEM_ENABLE
330 def_bool y
331
332config ARCH_SPARSEMEM_ENABLE
333 def_bool y
334 depends on ARCH_DISCONTIGMEM_ENABLE
335
336config ARCH_DISCONTIGMEM_DEFAULT
337 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
338 depends on ARCH_DISCONTIGMEM_ENABLE
339
340config NUMA
341 bool "NUMA support"
342 depends on !IA64_HP_SIM && !FLATMEM
343 default y if IA64_SGI_SN2
KAMEZAWA Hiroyuki6c33eb32006-11-08 17:44:50 -0800344 select ACPI_NUMA if ACPI
Bob Piccoda9577c2005-10-04 15:13:37 -0400345 help
346 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
347 Access). This option is for configuring high-end multiprocessor
348 server systems. If in doubt, say N.
349
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700350config NODES_SHIFT
351 int "Max num nodes shift(3-10)"
352 range 3 10
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700353 default "10"
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700354 depends on NEED_MULTIPLE_NODES
355 help
356 This option specifies the maximum number of nodes in your SSI system.
357 MAX_NUMNODES will be 2^(This value).
358 If in doubt, use the default.
359
Mel Gorman05e0caa2006-09-27 01:49:54 -0700360config ARCH_POPULATES_NODE_MAP
361 def_bool y
362
Bob Piccoda9577c2005-10-04 15:13:37 -0400363# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
364# VIRTUAL_MEM_MAP has been retained for historical reasons.
365config VIRTUAL_MEM_MAP
366 bool "Virtual mem map"
367 depends on !SPARSEMEM
368 default y if !IA64_HP_SIM
369 help
370 Say Y to compile the kernel with support for a virtual mem map.
371 This code also only takes effect if a memory hole of greater than
372 1 Gb is found during boot. You must turn this option on if you
373 require the DISCONTIGMEM option for your machine. If you are
374 unsure, say Y.
375
376config HOLES_IN_ZONE
377 bool
378 default y if VIRTUAL_MEM_MAP
379
380config HAVE_ARCH_EARLY_PFN_TO_NID
381 def_bool y
382 depends on NEED_MULTIPLE_NODES
383
Yasunori Goto10ad4002006-06-27 02:53:33 -0700384config HAVE_ARCH_NODEDATA_EXTENSION
385 def_bool y
386 depends on NUMA
387
Linus Torvalds1da177e2005-04-16 15:20:36 -0700388config IA32_SUPPORT
389 bool "Support for Linux/x86 binaries"
390 help
391 IA-64 processors can execute IA-32 (X86) instructions. By
392 saying Y here, the kernel will include IA-32 system call
393 emulation support which makes it possible to transparently
394 run IA-32 Linux binaries on an IA-64 Linux system.
395 If in doubt, say Y.
396
397config COMPAT
398 bool
399 depends on IA32_SUPPORT
400 default y
401
402config IA64_MCA_RECOVERY
403 tristate "MCA recovery from errors other than TLB."
404
405config PERFMON
406 bool "Performance monitor support"
407 help
408 Selects whether support for the IA-64 performance monitor hardware
409 is included in the kernel. This makes some kernel data-structures a
410 little bigger and slows down execution a bit, but it is generally
411 a good idea to turn this on. If you're unsure, say Y.
412
413config IA64_PALINFO
414 tristate "/proc/pal support"
415 help
416 If you say Y here, you are able to get PAL (Processor Abstraction
417 Layer) information in /proc/pal. This contains useful information
418 about the processors in your systems, such as cache and TLB sizes
419 and the PAL firmware version in use.
420
421 To use this option, you have to ensure that the "/proc file system
422 support" (CONFIG_PROC_FS) is enabled, too.
423
Jes Sorensen466575f2006-01-19 04:54:00 -0500424config SGI_SN
425 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
426
David Mosberger-Tang2ab561a2006-06-21 11:19:22 -0700427config IA64_ESI
428 bool "ESI (Extensible SAL Interface) support"
429 help
430 If you say Y here, support is built into the kernel to
431 make ESI calls. ESI calls are used to support vendor-specific
432 firmware extensions, such as the ability to inject memory-errors
433 for test-purposes. If you're unsure, say N.
434
Brent Casavantc1311af2006-04-20 15:38:16 -0500435source "drivers/sn/Kconfig"
436
Linus Torvalds1da177e2005-04-16 15:20:36 -0700437source "drivers/firmware/Kconfig"
438
439source "fs/Kconfig.binfmt"
440
441endmenu
442
443menu "Power management and ACPI"
444
Len Browneb7b6b32005-08-25 12:08:25 -0400445source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700446
447source "drivers/acpi/Kconfig"
448
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700449if PM
450
451source "arch/ia64/kernel/cpufreq/Kconfig"
452
453endif
454
Linus Torvalds1da177e2005-04-16 15:20:36 -0700455endmenu
456
457if !IA64_HP_SIM
458
459menu "Bus options (PCI, PCMCIA)"
460
461config PCI
462 bool "PCI support"
463 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700464 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
465 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700466
467config PCI_DOMAINS
468 bool
469 default PCI
470
Kenji Kaneshigeb7bb5752006-04-28 11:50:43 +0900471source "drivers/pci/pcie/Kconfig"
472
Linus Torvalds1da177e2005-04-16 15:20:36 -0700473source "drivers/pci/Kconfig"
474
475source "drivers/pci/hotplug/Kconfig"
476
477source "drivers/pcmcia/Kconfig"
478
479endmenu
480
481endif
482
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700483source "net/Kconfig"
484
Linus Torvalds1da177e2005-04-16 15:20:36 -0700485source "drivers/Kconfig"
486
487source "fs/Kconfig"
488
489source "lib/Kconfig"
490
491#
492# Use the generic interrupt handling code in kernel/irq/:
493#
494config GENERIC_HARDIRQS
495 bool
496 default y
497
498config GENERIC_IRQ_PROBE
499 bool
500 default y
501
Ashok Raj54d5d422005-09-06 15:16:15 -0700502config GENERIC_PENDING_IRQ
503 bool
504 depends on GENERIC_HARDIRQS && SMP
505 default y
506
Ingo Molnar0d7012a2006-06-29 02:24:43 -0700507config IRQ_PER_CPU
508 bool
509 default y
510
Linus Torvalds1da177e2005-04-16 15:20:36 -0700511source "arch/ia64/hp/sim/Kconfig"
512
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800513menu "Instrumentation Support"
514 depends on EXPERIMENTAL
515
Linus Torvalds1da177e2005-04-16 15:20:36 -0700516source "arch/ia64/oprofile/Kconfig"
517
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800518config KPROBES
519 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700520 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800521 help
522 Kprobes allows you to trap at almost any kernel address and
523 execute a callback function. register_kprobe() establishes
524 a probepoint and specifies the callback. Kprobes is useful
525 for kernel debugging, non-intrusive instrumentation and testing.
526 If in doubt, say "N".
527endmenu
528
Linus Torvalds1da177e2005-04-16 15:20:36 -0700529source "arch/ia64/Kconfig.debug"
530
531source "security/Kconfig"
532
533source "crypto/Kconfig"