blob: ff7ae6b664e8af12509a0f5d19f0231ce34dd14d [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
37config GENERIC_CALIBRATE_DELAY
38 bool
39 default y
40
41config TIME_INTERPOLATION
42 bool
43 default y
44
45config EFI
46 bool
47 default y
48
49config GENERIC_IOMAP
50 bool
51 default y
52
Anton Blanchard7d12e522005-05-05 16:15:11 -070053config SCHED_NO_NO_OMIT_FRAME_POINTER
54 bool
55 default y
56
Jes Sorensenf14f75b2005-06-21 17:15:02 -070057config IA64_UNCACHED_ALLOCATOR
58 bool
59 select GENERIC_ALLOCATOR
60
Yasunori Gotoff9569b2005-12-12 00:37:37 -080061config DMA_IS_DMA32
Andi Kleend1e3dfd2005-11-05 17:25:53 +010062 bool
63 default y
64
Linus Torvalds1da177e2005-04-16 15:20:36 -070065choice
66 prompt "System type"
67 default IA64_GENERIC
68
69config IA64_GENERIC
70 bool "generic"
Len Browneb7b6b32005-08-25 12:08:25 -040071 select ACPI
Linus Torvalds1da177e2005-04-16 15:20:36 -070072 select NUMA
73 select ACPI_NUMA
Linus Torvalds1da177e2005-04-16 15:20:36 -070074 help
75 This selects the system type of your hardware. A "generic" kernel
76 will run on any supported IA-64 system. However, if you configure
77 a kernel for your specific system, it will be faster and smaller.
78
79 generic For any supported IA-64 system
80 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
81 HP-zx1/sx1000 For HP systems
82 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
83 SGI-SN2 For SGI Altix systems
84 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
85
86 If you don't know what to do, choose "generic".
87
88config IA64_DIG
89 bool "DIG-compliant"
90
91config IA64_HP_ZX1
92 bool "HP-zx1/sx1000"
93 help
94 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
95 support for the HP I/O MMU.
96
97config IA64_HP_ZX1_SWIOTLB
98 bool "HP-zx1/sx1000 with software I/O TLB"
99 help
100 Build a kernel that runs on HP zx1 and sx1000 systems even when they
101 have broken PCI devices which cannot DMA to full 32 bits. Apart
102 from support for the HP I/O MMU, this includes support for the software
103 I/O TLB, which allows supporting the broken devices at the expense of
104 wasting some kernel memory (about 2MB by default).
105
106config IA64_SGI_SN2
107 bool "SGI-SN2"
108 help
109 Selecting this option will optimize the kernel for use on sn2 based
110 systems, but the resulting kernel binary will not run on other
111 types of ia64 systems. If you have an SGI Altix system, it's safe
112 to select this option. If in doubt, select ia64 generic support
113 instead.
114
115config IA64_HP_SIM
116 bool "Ski-simulator"
117
118endchoice
119
120choice
121 prompt "Processor type"
122 default ITANIUM
123
124config ITANIUM
125 bool "Itanium"
126 help
127 Select your IA-64 processor type. The default is Itanium.
128 This choice is safe for all IA-64 systems, but may not perform
129 optimally on systems with, say, Itanium 2 or newer processors.
130
131config MCKINLEY
132 bool "Itanium 2"
133 help
134 Select this to configure for an Itanium 2 (McKinley) processor.
135
136endchoice
137
138choice
139 prompt "Kernel page size"
140 default IA64_PAGE_SIZE_16KB
141
142config IA64_PAGE_SIZE_4KB
143 bool "4KB"
144 help
145 This lets you select the page size of the kernel. For best IA-64
146 performance, a page size of 8KB or 16KB is recommended. For best
147 IA-32 compatibility, a page size of 4KB should be selected (the vast
148 majority of IA-32 binaries work perfectly fine with a larger page
149 size). For Itanium 2 or newer systems, a page size of 64KB can also
150 be selected.
151
152 4KB For best IA-32 compatibility
153 8KB For best IA-64 performance
154 16KB For best IA-64 performance
155 64KB Requires Itanium 2 or newer processor.
156
157 If you don't know what to do, choose 16KB.
158
159config IA64_PAGE_SIZE_8KB
160 bool "8KB"
161
162config IA64_PAGE_SIZE_16KB
163 bool "16KB"
164
165config IA64_PAGE_SIZE_64KB
166 depends on !ITANIUM
167 bool "64KB"
168
169endchoice
170
Robin Holt837cd0b2005-11-11 09:35:43 -0600171choice
172 prompt "Page Table Levels"
173 default PGTABLE_3
174
175config PGTABLE_3
176 bool "3 Levels"
177
178config PGTABLE_4
179 depends on !IA64_PAGE_SIZE_64KB
180 bool "4 Levels"
181
182endchoice
183
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700184source kernel/Kconfig.hz
185
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186config IA64_BRL_EMU
187 bool
188 depends on ITANIUM
189 default y
190
191# align cache-sensitive data to 128 bytes
192config IA64_L1_CACHE_SHIFT
193 int
194 default "7" if MCKINLEY
195 default "6" if ITANIUM
196
Linus Torvalds1da177e2005-04-16 15:20:36 -0700197config IA64_CYCLONE
198 bool "Cyclone (EXA) Time Source support"
199 help
200 Say Y here to enable support for IBM EXA Cyclone time source.
201 If you're unsure, answer N.
202
203config IOSAPIC
204 bool
205 depends on !IA64_HP_SIM
206 default y
207
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700208config IA64_SGI_SN_XP
209 tristate "Support communication between SGI SSIs"
Dean Nelsonf79b3482005-11-01 10:21:51 -0600210 depends on IA64_GENERIC || IA64_SGI_SN2
Jes Sorensen65ed0b32005-06-21 17:15:03 -0700211 select IA64_UNCACHED_ALLOCATOR
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700212 help
213 An SGI machine can be divided into multiple Single System
214 Images which act independently of each other and have
215 hardware based memory protection from the others. Enabling
216 this feature will allow for direct communication between SSIs
217 based on a network adapter and DMA messaging.
218
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219config FORCE_MAX_ZONEORDER
Bob Piccoda9577c2005-10-04 15:13:37 -0400220 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
221 range 11 17 if !HUGETLB_PAGE
222 default "17" if HUGETLB_PAGE
223 default "11"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700224
225config SMP
226 bool "Symmetric multi-processing support"
227 help
228 This enables support for systems with more than one CPU. If you have
229 a system with only one CPU, say N. If you have a system with more
230 than one CPU, say Y.
231
232 If you say N here, the kernel will run on single and multiprocessor
233 systems, but will use only one CPU of a multiprocessor system. If
234 you say Y here, the kernel will run on many, but not all,
235 single processor systems. On a single processor system, the kernel
236 will run faster if you say N here.
237
238 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
239 available at <http://www.tldp.org/docs.html#howto>.
240
241 If you don't know what to do here, say N.
242
243config NR_CPUS
Jack Steiner54703d32005-09-14 10:33:40 -0500244 int "Maximum number of CPUs (2-1024)"
245 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246 depends on SMP
247 default "64"
248 help
249 You should set this to the number of CPUs in your system, but
250 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
251 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
252 than 64 will cause the use of a CPU mask array, causing a small
253 performance hit.
254
255config HOTPLUG_CPU
256 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
257 depends on SMP && EXPERIMENTAL
258 select HOTPLUG
259 default n
260 ---help---
261 Say Y here to experiment with turning CPUs off and on. CPUs
262 can be controlled through /sys/devices/system/cpu/cpu#.
263 Say N if you want to disable CPU hotplug.
264
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700265config SCHED_SMT
266 bool "SMT scheduler support"
267 depends on SMP
268 default off
269 help
270 Improves the CPU scheduler's decision making when dealing with
271 Intel IA64 chips with MultiThreading at a cost of slightly increased
272 overhead in some places. If unsure say N here.
273
Ashok Rajff741902005-11-11 14:32:40 -0800274config PERMIT_BSP_REMOVE
275 bool "Support removal of Bootstrap Processor"
276 depends on HOTPLUG_CPU
277 default n
278 ---help---
279 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
280 support.
281
282config FORCE_CPEI_RETARGET
283 bool "Force assumption that CPEI can be re-targetted"
284 depends on PERMIT_BSP_REMOVE
285 default n
286 ---help---
287 Say Y if you need to force the assumption that CPEI can be re-targetted to
288 any cpu in the system. This hint is available via ACPI 3.0 specifications.
289 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
290 This option it useful to enable this feature on older BIOS's as well.
291 You can also enable this by using boot command line option force_cpei=1.
292
Linus Torvalds1da177e2005-04-16 15:20:36 -0700293config PREEMPT
294 bool "Preemptible Kernel"
295 help
296 This option reduces the latency of the kernel when reacting to
297 real-time or interactive events by allowing a low priority process to
298 be preempted even if it is in kernel mode executing a system call.
299 This allows applications to run more reliably even when the system is
300 under load.
301
302 Say Y here if you are building a kernel for a desktop, embedded
303 or real-time system. Say N if you are unsure.
304
Dave Hansen3f22ab22005-06-23 00:07:43 -0700305source "mm/Kconfig"
306
Bob Piccoda9577c2005-10-04 15:13:37 -0400307config ARCH_SELECT_MEMORY_MODEL
308 def_bool y
309
310config ARCH_DISCONTIGMEM_ENABLE
311 def_bool y
312 help
313 Say Y to support efficient handling of discontiguous physical memory,
314 for architectures which are either NUMA (Non-Uniform Memory Access)
315 or have huge holes in the physical address space for other reasons.
316 See <file:Documentation/vm/numa> for more.
317
318config ARCH_FLATMEM_ENABLE
319 def_bool y
320
321config ARCH_SPARSEMEM_ENABLE
322 def_bool y
323 depends on ARCH_DISCONTIGMEM_ENABLE
324
325config ARCH_DISCONTIGMEM_DEFAULT
326 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
327 depends on ARCH_DISCONTIGMEM_ENABLE
328
329config NUMA
330 bool "NUMA support"
331 depends on !IA64_HP_SIM && !FLATMEM
332 default y if IA64_SGI_SN2
333 help
334 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
335 Access). This option is for configuring high-end multiprocessor
336 server systems. If in doubt, say N.
337
338# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
339# VIRTUAL_MEM_MAP has been retained for historical reasons.
340config VIRTUAL_MEM_MAP
341 bool "Virtual mem map"
342 depends on !SPARSEMEM
343 default y if !IA64_HP_SIM
344 help
345 Say Y to compile the kernel with support for a virtual mem map.
346 This code also only takes effect if a memory hole of greater than
347 1 Gb is found during boot. You must turn this option on if you
348 require the DISCONTIGMEM option for your machine. If you are
349 unsure, say Y.
350
351config HOLES_IN_ZONE
352 bool
353 default y if VIRTUAL_MEM_MAP
354
355config HAVE_ARCH_EARLY_PFN_TO_NID
356 def_bool y
357 depends on NEED_MULTIPLE_NODES
358
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359config IA32_SUPPORT
360 bool "Support for Linux/x86 binaries"
361 help
362 IA-64 processors can execute IA-32 (X86) instructions. By
363 saying Y here, the kernel will include IA-32 system call
364 emulation support which makes it possible to transparently
365 run IA-32 Linux binaries on an IA-64 Linux system.
366 If in doubt, say Y.
367
368config COMPAT
369 bool
370 depends on IA32_SUPPORT
371 default y
372
373config IA64_MCA_RECOVERY
374 tristate "MCA recovery from errors other than TLB."
375
376config PERFMON
377 bool "Performance monitor support"
378 help
379 Selects whether support for the IA-64 performance monitor hardware
380 is included in the kernel. This makes some kernel data-structures a
381 little bigger and slows down execution a bit, but it is generally
382 a good idea to turn this on. If you're unsure, say Y.
383
384config IA64_PALINFO
385 tristate "/proc/pal support"
386 help
387 If you say Y here, you are able to get PAL (Processor Abstraction
388 Layer) information in /proc/pal. This contains useful information
389 about the processors in your systems, such as cache and TLB sizes
390 and the PAL firmware version in use.
391
392 To use this option, you have to ensure that the "/proc file system
393 support" (CONFIG_PROC_FS) is enabled, too.
394
Jes Sorensen466575f2006-01-19 04:54:00 -0500395config SGI_SN
396 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
397
Linus Torvalds1da177e2005-04-16 15:20:36 -0700398source "drivers/firmware/Kconfig"
399
400source "fs/Kconfig.binfmt"
401
402endmenu
403
404menu "Power management and ACPI"
405
Len Browneb7b6b32005-08-25 12:08:25 -0400406source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700407
408source "drivers/acpi/Kconfig"
409
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700410if PM
411
412source "arch/ia64/kernel/cpufreq/Kconfig"
413
414endif
415
Linus Torvalds1da177e2005-04-16 15:20:36 -0700416endmenu
417
418if !IA64_HP_SIM
419
420menu "Bus options (PCI, PCMCIA)"
421
422config PCI
423 bool "PCI support"
424 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700425 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
426 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427
428config PCI_DOMAINS
429 bool
430 default PCI
431
432source "drivers/pci/Kconfig"
433
434source "drivers/pci/hotplug/Kconfig"
435
436source "drivers/pcmcia/Kconfig"
437
438endmenu
439
440endif
441
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700442source "net/Kconfig"
443
Linus Torvalds1da177e2005-04-16 15:20:36 -0700444source "drivers/Kconfig"
445
446source "fs/Kconfig"
447
448source "lib/Kconfig"
449
450#
451# Use the generic interrupt handling code in kernel/irq/:
452#
453config GENERIC_HARDIRQS
454 bool
455 default y
456
457config GENERIC_IRQ_PROBE
458 bool
459 default y
460
Ashok Raj54d5d422005-09-06 15:16:15 -0700461config GENERIC_PENDING_IRQ
462 bool
463 depends on GENERIC_HARDIRQS && SMP
464 default y
465
Linus Torvalds1da177e2005-04-16 15:20:36 -0700466source "arch/ia64/hp/sim/Kconfig"
467
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800468menu "Instrumentation Support"
469 depends on EXPERIMENTAL
470
Linus Torvalds1da177e2005-04-16 15:20:36 -0700471source "arch/ia64/oprofile/Kconfig"
472
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800473config KPROBES
474 bool "Kprobes (EXPERIMENTAL)"
Linus Torvaldsadd2b6f2006-02-26 20:24:40 -0800475 depends on EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800476 help
477 Kprobes allows you to trap at almost any kernel address and
478 execute a callback function. register_kprobe() establishes
479 a probepoint and specifies the callback. Kprobes is useful
480 for kernel debugging, non-intrusive instrumentation and testing.
481 If in doubt, say "N".
482endmenu
483
Linus Torvalds1da177e2005-04-16 15:20:36 -0700484source "arch/ia64/Kconfig.debug"
485
486source "security/Kconfig"
487
488source "crypto/Kconfig"