blob: a86236d6ba5d0268653e86c9e70890fb6a00bc9b [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
29config RWSEM_XCHGADD_ALGORITHM
30 bool
31 default y
32
33config GENERIC_CALIBRATE_DELAY
34 bool
35 default y
36
37config TIME_INTERPOLATION
38 bool
39 default y
40
41config EFI
42 bool
43 default y
44
45config GENERIC_IOMAP
46 bool
47 default y
48
Anton Blanchard7d12e522005-05-05 16:15:11 -070049config SCHED_NO_NO_OMIT_FRAME_POINTER
50 bool
51 default y
52
Jes Sorensenf14f75b2005-06-21 17:15:02 -070053config IA64_UNCACHED_ALLOCATOR
54 bool
55 select GENERIC_ALLOCATOR
56
Linus Torvalds1da177e2005-04-16 15:20:36 -070057choice
58 prompt "System type"
59 default IA64_GENERIC
60
61config IA64_GENERIC
62 bool "generic"
Len Browneb7b6b32005-08-25 12:08:25 -040063 select ACPI
Linus Torvalds1da177e2005-04-16 15:20:36 -070064 select NUMA
65 select ACPI_NUMA
Linus Torvalds1da177e2005-04-16 15:20:36 -070066 help
67 This selects the system type of your hardware. A "generic" kernel
68 will run on any supported IA-64 system. However, if you configure
69 a kernel for your specific system, it will be faster and smaller.
70
71 generic For any supported IA-64 system
72 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
73 HP-zx1/sx1000 For HP systems
74 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
75 SGI-SN2 For SGI Altix systems
76 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
77
78 If you don't know what to do, choose "generic".
79
80config IA64_DIG
81 bool "DIG-compliant"
82
83config IA64_HP_ZX1
84 bool "HP-zx1/sx1000"
85 help
86 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
87 support for the HP I/O MMU.
88
89config IA64_HP_ZX1_SWIOTLB
90 bool "HP-zx1/sx1000 with software I/O TLB"
91 help
92 Build a kernel that runs on HP zx1 and sx1000 systems even when they
93 have broken PCI devices which cannot DMA to full 32 bits. Apart
94 from support for the HP I/O MMU, this includes support for the software
95 I/O TLB, which allows supporting the broken devices at the expense of
96 wasting some kernel memory (about 2MB by default).
97
98config IA64_SGI_SN2
99 bool "SGI-SN2"
100 help
101 Selecting this option will optimize the kernel for use on sn2 based
102 systems, but the resulting kernel binary will not run on other
103 types of ia64 systems. If you have an SGI Altix system, it's safe
104 to select this option. If in doubt, select ia64 generic support
105 instead.
106
107config IA64_HP_SIM
108 bool "Ski-simulator"
109
110endchoice
111
112choice
113 prompt "Processor type"
114 default ITANIUM
115
116config ITANIUM
117 bool "Itanium"
118 help
119 Select your IA-64 processor type. The default is Itanium.
120 This choice is safe for all IA-64 systems, but may not perform
121 optimally on systems with, say, Itanium 2 or newer processors.
122
123config MCKINLEY
124 bool "Itanium 2"
125 help
126 Select this to configure for an Itanium 2 (McKinley) processor.
127
128endchoice
129
130choice
131 prompt "Kernel page size"
132 default IA64_PAGE_SIZE_16KB
133
134config IA64_PAGE_SIZE_4KB
135 bool "4KB"
136 help
137 This lets you select the page size of the kernel. For best IA-64
138 performance, a page size of 8KB or 16KB is recommended. For best
139 IA-32 compatibility, a page size of 4KB should be selected (the vast
140 majority of IA-32 binaries work perfectly fine with a larger page
141 size). For Itanium 2 or newer systems, a page size of 64KB can also
142 be selected.
143
144 4KB For best IA-32 compatibility
145 8KB For best IA-64 performance
146 16KB For best IA-64 performance
147 64KB Requires Itanium 2 or newer processor.
148
149 If you don't know what to do, choose 16KB.
150
151config IA64_PAGE_SIZE_8KB
152 bool "8KB"
153
154config IA64_PAGE_SIZE_16KB
155 bool "16KB"
156
157config IA64_PAGE_SIZE_64KB
158 depends on !ITANIUM
159 bool "64KB"
160
161endchoice
162
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700163source kernel/Kconfig.hz
164
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165config IA64_BRL_EMU
166 bool
167 depends on ITANIUM
168 default y
169
170# align cache-sensitive data to 128 bytes
171config IA64_L1_CACHE_SHIFT
172 int
173 default "7" if MCKINLEY
174 default "6" if ITANIUM
175
176# align cache-sensitive data to 64 bytes
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177config IA64_CYCLONE
178 bool "Cyclone (EXA) Time Source support"
179 help
180 Say Y here to enable support for IBM EXA Cyclone time source.
181 If you're unsure, answer N.
182
183config IOSAPIC
184 bool
185 depends on !IA64_HP_SIM
186 default y
187
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700188config IA64_SGI_SN_XP
189 tristate "Support communication between SGI SSIs"
Jes Sorensen65ed0b32005-06-21 17:15:03 -0700190 select IA64_UNCACHED_ALLOCATOR
Dean Nelsonb0d82bd2005-03-23 19:46:00 -0700191 help
192 An SGI machine can be divided into multiple Single System
193 Images which act independently of each other and have
194 hardware based memory protection from the others. Enabling
195 this feature will allow for direct communication between SSIs
196 based on a network adapter and DMA messaging.
197
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198config FORCE_MAX_ZONEORDER
Bob Piccoda9577c2005-10-04 15:13:37 -0400199 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
200 range 11 17 if !HUGETLB_PAGE
201 default "17" if HUGETLB_PAGE
202 default "11"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203
204config SMP
205 bool "Symmetric multi-processing support"
206 help
207 This enables support for systems with more than one CPU. If you have
208 a system with only one CPU, say N. If you have a system with more
209 than one CPU, say Y.
210
211 If you say N here, the kernel will run on single and multiprocessor
212 systems, but will use only one CPU of a multiprocessor system. If
213 you say Y here, the kernel will run on many, but not all,
214 single processor systems. On a single processor system, the kernel
215 will run faster if you say N here.
216
217 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
218 available at <http://www.tldp.org/docs.html#howto>.
219
220 If you don't know what to do here, say N.
221
222config NR_CPUS
223 int "Maximum number of CPUs (2-512)"
224 range 2 512
225 depends on SMP
226 default "64"
227 help
228 You should set this to the number of CPUs in your system, but
229 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
230 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
231 than 64 will cause the use of a CPU mask array, causing a small
232 performance hit.
233
234config HOTPLUG_CPU
235 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
236 depends on SMP && EXPERIMENTAL
237 select HOTPLUG
238 default n
239 ---help---
240 Say Y here to experiment with turning CPUs off and on. CPUs
241 can be controlled through /sys/devices/system/cpu/cpu#.
242 Say N if you want to disable CPU hotplug.
243
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700244config SCHED_SMT
245 bool "SMT scheduler support"
246 depends on SMP
247 default off
248 help
249 Improves the CPU scheduler's decision making when dealing with
250 Intel IA64 chips with MultiThreading at a cost of slightly increased
251 overhead in some places. If unsure say N here.
252
Linus Torvalds1da177e2005-04-16 15:20:36 -0700253config PREEMPT
254 bool "Preemptible Kernel"
255 help
256 This option reduces the latency of the kernel when reacting to
257 real-time or interactive events by allowing a low priority process to
258 be preempted even if it is in kernel mode executing a system call.
259 This allows applications to run more reliably even when the system is
260 under load.
261
262 Say Y here if you are building a kernel for a desktop, embedded
263 or real-time system. Say N if you are unsure.
264
Dave Hansen3f22ab22005-06-23 00:07:43 -0700265source "mm/Kconfig"
266
Bob Piccoda9577c2005-10-04 15:13:37 -0400267config ARCH_SELECT_MEMORY_MODEL
268 def_bool y
269
270config ARCH_DISCONTIGMEM_ENABLE
271 def_bool y
272 help
273 Say Y to support efficient handling of discontiguous physical memory,
274 for architectures which are either NUMA (Non-Uniform Memory Access)
275 or have huge holes in the physical address space for other reasons.
276 See <file:Documentation/vm/numa> for more.
277
278config ARCH_FLATMEM_ENABLE
279 def_bool y
280
281config ARCH_SPARSEMEM_ENABLE
282 def_bool y
283 depends on ARCH_DISCONTIGMEM_ENABLE
284
285config ARCH_DISCONTIGMEM_DEFAULT
286 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
287 depends on ARCH_DISCONTIGMEM_ENABLE
288
289config NUMA
290 bool "NUMA support"
291 depends on !IA64_HP_SIM && !FLATMEM
292 default y if IA64_SGI_SN2
293 help
294 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
295 Access). This option is for configuring high-end multiprocessor
296 server systems. If in doubt, say N.
297
298# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
299# VIRTUAL_MEM_MAP has been retained for historical reasons.
300config VIRTUAL_MEM_MAP
301 bool "Virtual mem map"
302 depends on !SPARSEMEM
303 default y if !IA64_HP_SIM
304 help
305 Say Y to compile the kernel with support for a virtual mem map.
306 This code also only takes effect if a memory hole of greater than
307 1 Gb is found during boot. You must turn this option on if you
308 require the DISCONTIGMEM option for your machine. If you are
309 unsure, say Y.
310
311config HOLES_IN_ZONE
312 bool
313 default y if VIRTUAL_MEM_MAP
314
315config HAVE_ARCH_EARLY_PFN_TO_NID
316 def_bool y
317 depends on NEED_MULTIPLE_NODES
318
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319config IA32_SUPPORT
320 bool "Support for Linux/x86 binaries"
321 help
322 IA-64 processors can execute IA-32 (X86) instructions. By
323 saying Y here, the kernel will include IA-32 system call
324 emulation support which makes it possible to transparently
325 run IA-32 Linux binaries on an IA-64 Linux system.
326 If in doubt, say Y.
327
328config COMPAT
329 bool
330 depends on IA32_SUPPORT
331 default y
332
333config IA64_MCA_RECOVERY
334 tristate "MCA recovery from errors other than TLB."
335
336config PERFMON
337 bool "Performance monitor support"
338 help
339 Selects whether support for the IA-64 performance monitor hardware
340 is included in the kernel. This makes some kernel data-structures a
341 little bigger and slows down execution a bit, but it is generally
342 a good idea to turn this on. If you're unsure, say Y.
343
344config IA64_PALINFO
345 tristate "/proc/pal support"
346 help
347 If you say Y here, you are able to get PAL (Processor Abstraction
348 Layer) information in /proc/pal. This contains useful information
349 about the processors in your systems, such as cache and TLB sizes
350 and the PAL firmware version in use.
351
352 To use this option, you have to ensure that the "/proc file system
353 support" (CONFIG_PROC_FS) is enabled, too.
354
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355source "drivers/firmware/Kconfig"
356
357source "fs/Kconfig.binfmt"
358
359endmenu
360
361menu "Power management and ACPI"
362
Len Browneb7b6b32005-08-25 12:08:25 -0400363source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364
365source "drivers/acpi/Kconfig"
366
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700367if PM
368
369source "arch/ia64/kernel/cpufreq/Kconfig"
370
371endif
372
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373endmenu
374
375if !IA64_HP_SIM
376
377menu "Bus options (PCI, PCMCIA)"
378
379config PCI
380 bool "PCI support"
381 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700382 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
383 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384
385config PCI_DOMAINS
386 bool
387 default PCI
388
389source "drivers/pci/Kconfig"
390
391source "drivers/pci/hotplug/Kconfig"
392
393source "drivers/pcmcia/Kconfig"
394
395endmenu
396
397endif
398
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700399source "net/Kconfig"
400
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401source "drivers/Kconfig"
402
403source "fs/Kconfig"
404
405source "lib/Kconfig"
406
407#
408# Use the generic interrupt handling code in kernel/irq/:
409#
410config GENERIC_HARDIRQS
411 bool
412 default y
413
414config GENERIC_IRQ_PROBE
415 bool
416 default y
417
Ashok Raj54d5d422005-09-06 15:16:15 -0700418config GENERIC_PENDING_IRQ
419 bool
420 depends on GENERIC_HARDIRQS && SMP
421 default y
422
Linus Torvalds1da177e2005-04-16 15:20:36 -0700423source "arch/ia64/hp/sim/Kconfig"
424
425source "arch/ia64/oprofile/Kconfig"
426
427source "arch/ia64/Kconfig.debug"
428
429source "security/Kconfig"
430
431source "crypto/Kconfig"