Update from upstream with manual merge of Yasunori Goto's
[deliverable/linux.git] / arch / ia64 / Kconfig
CommitLineData
1da177e4
LT
1#
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
6c654b5f
JL
29config SWIOTLB
30 bool
31 default y
32
1da177e4
LT
33config 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
7d12e522
AB
53config SCHED_NO_NO_OMIT_FRAME_POINTER
54 bool
55 default y
56
f14f75b8
JS
57config IA64_UNCACHED_ALLOCATOR
58 bool
59 select GENERIC_ALLOCATOR
60
1da177e4
LT
61choice
62 prompt "System type"
63 default IA64_GENERIC
64
65config IA64_GENERIC
66 bool "generic"
eb7b6b32 67 select ACPI
1da177e4
LT
68 select NUMA
69 select ACPI_NUMA
70 select VIRTUAL_MEM_MAP
71 select DISCONTIGMEM
72 help
73 This selects the system type of your hardware. A "generic" kernel
74 will run on any supported IA-64 system. However, if you configure
75 a kernel for your specific system, it will be faster and smaller.
76
77 generic For any supported IA-64 system
78 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
79 HP-zx1/sx1000 For HP systems
80 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
81 SGI-SN2 For SGI Altix systems
82 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
83
84 If you don't know what to do, choose "generic".
85
86config IA64_DIG
87 bool "DIG-compliant"
88
89config IA64_HP_ZX1
90 bool "HP-zx1/sx1000"
91 help
92 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
93 support for the HP I/O MMU.
94
95config IA64_HP_ZX1_SWIOTLB
96 bool "HP-zx1/sx1000 with software I/O TLB"
97 help
98 Build a kernel that runs on HP zx1 and sx1000 systems even when they
99 have broken PCI devices which cannot DMA to full 32 bits. Apart
100 from support for the HP I/O MMU, this includes support for the software
101 I/O TLB, which allows supporting the broken devices at the expense of
102 wasting some kernel memory (about 2MB by default).
103
104config IA64_SGI_SN2
105 bool "SGI-SN2"
106 help
107 Selecting this option will optimize the kernel for use on sn2 based
108 systems, but the resulting kernel binary will not run on other
109 types of ia64 systems. If you have an SGI Altix system, it's safe
110 to select this option. If in doubt, select ia64 generic support
111 instead.
112
113config IA64_HP_SIM
114 bool "Ski-simulator"
115
116endchoice
117
118choice
119 prompt "Processor type"
120 default ITANIUM
121
122config ITANIUM
123 bool "Itanium"
124 help
125 Select your IA-64 processor type. The default is Itanium.
126 This choice is safe for all IA-64 systems, but may not perform
127 optimally on systems with, say, Itanium 2 or newer processors.
128
129config MCKINLEY
130 bool "Itanium 2"
131 help
132 Select this to configure for an Itanium 2 (McKinley) processor.
133
134endchoice
135
136choice
137 prompt "Kernel page size"
138 default IA64_PAGE_SIZE_16KB
139
140config IA64_PAGE_SIZE_4KB
141 bool "4KB"
142 help
143 This lets you select the page size of the kernel. For best IA-64
144 performance, a page size of 8KB or 16KB is recommended. For best
145 IA-32 compatibility, a page size of 4KB should be selected (the vast
146 majority of IA-32 binaries work perfectly fine with a larger page
147 size). For Itanium 2 or newer systems, a page size of 64KB can also
148 be selected.
149
150 4KB For best IA-32 compatibility
151 8KB For best IA-64 performance
152 16KB For best IA-64 performance
153 64KB Requires Itanium 2 or newer processor.
154
155 If you don't know what to do, choose 16KB.
156
157config IA64_PAGE_SIZE_8KB
158 bool "8KB"
159
160config IA64_PAGE_SIZE_16KB
161 bool "16KB"
162
163config IA64_PAGE_SIZE_64KB
164 depends on !ITANIUM
165 bool "64KB"
166
167endchoice
168
b5d23e5b
CL
169source kernel/Kconfig.hz
170
1da177e4
LT
171config IA64_BRL_EMU
172 bool
173 depends on ITANIUM
174 default y
175
176# align cache-sensitive data to 128 bytes
177config IA64_L1_CACHE_SHIFT
178 int
179 default "7" if MCKINLEY
180 default "6" if ITANIUM
181
182# align cache-sensitive data to 64 bytes
183config NUMA
184 bool "NUMA support"
185 depends on !IA64_HP_SIM
186 default y if IA64_SGI_SN2
187 select ACPI_NUMA
188 help
189 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
190 Access). This option is for configuring high-end multiprocessor
191 server systems. If in doubt, say N.
192
193config VIRTUAL_MEM_MAP
194 bool "Virtual mem map"
195 default y if !IA64_HP_SIM
196 help
197 Say Y to compile the kernel with support for a virtual mem map.
198 This code also only takes effect if a memory hole of greater than
199 1 Gb is found during boot. You must turn this option on if you
200 require the DISCONTIGMEM option for your machine. If you are
201 unsure, say Y.
202
203config HOLES_IN_ZONE
204 bool
205 default y if VIRTUAL_MEM_MAP
206
3f22ab27 207config ARCH_DISCONTIGMEM_ENABLE
1da177e4
LT
208 bool "Discontiguous memory support"
209 depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) && NUMA && VIRTUAL_MEM_MAP
210 default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA
211 help
212 Say Y to support efficient handling of discontiguous physical memory,
213 for architectures which are either NUMA (Non-Uniform Memory Access)
214 or have huge holes in the physical address space for other reasons.
215 See <file:Documentation/vm/numa> for more.
216
217config IA64_CYCLONE
218 bool "Cyclone (EXA) Time Source support"
219 help
220 Say Y here to enable support for IBM EXA Cyclone time source.
221 If you're unsure, answer N.
222
223config IOSAPIC
224 bool
225 depends on !IA64_HP_SIM
226 default y
227
b0d82bd5
DN
228config IA64_SGI_SN_XP
229 tristate "Support communication between SGI SSIs"
65ed0b33 230 select IA64_UNCACHED_ALLOCATOR
b0d82bd5
DN
231 help
232 An SGI machine can be divided into multiple Single System
233 Images which act independently of each other and have
234 hardware based memory protection from the others. Enabling
235 this feature will allow for direct communication between SSIs
236 based on a network adapter and DMA messaging.
237
1da177e4
LT
238config FORCE_MAX_ZONEORDER
239 int
240 default "18"
241
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
261 int "Maximum number of CPUs (2-512)"
262 range 2 512
263 depends on SMP
264 default "64"
265 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
7a9bdd88
SS
282config SCHED_SMT
283 bool "SMT scheduler support"
284 depends on SMP
285 default off
286 help
287 Improves the CPU scheduler's decision making when dealing with
288 Intel IA64 chips with MultiThreading at a cost of slightly increased
289 overhead in some places. If unsure say N here.
290
1da177e4
LT
291config PREEMPT
292 bool "Preemptible Kernel"
293 help
294 This option reduces the latency of the kernel when reacting to
295 real-time or interactive events by allowing a low priority process to
296 be preempted even if it is in kernel mode executing a system call.
297 This allows applications to run more reliably even when the system is
298 under load.
299
300 Say Y here if you are building a kernel for a desktop, embedded
301 or real-time system. Say N if you are unsure.
302
3f22ab27
DH
303source "mm/Kconfig"
304
1da177e4
LT
305config IA32_SUPPORT
306 bool "Support for Linux/x86 binaries"
307 help
308 IA-64 processors can execute IA-32 (X86) instructions. By
309 saying Y here, the kernel will include IA-32 system call
310 emulation support which makes it possible to transparently
311 run IA-32 Linux binaries on an IA-64 Linux system.
312 If in doubt, say Y.
313
314config COMPAT
315 bool
316 depends on IA32_SUPPORT
317 default y
318
319config IA64_MCA_RECOVERY
320 tristate "MCA recovery from errors other than TLB."
321
322config PERFMON
323 bool "Performance monitor support"
324 help
325 Selects whether support for the IA-64 performance monitor hardware
326 is included in the kernel. This makes some kernel data-structures a
327 little bigger and slows down execution a bit, but it is generally
328 a good idea to turn this on. If you're unsure, say Y.
329
330config IA64_PALINFO
331 tristate "/proc/pal support"
332 help
333 If you say Y here, you are able to get PAL (Processor Abstraction
334 Layer) information in /proc/pal. This contains useful information
335 about the processors in your systems, such as cache and TLB sizes
336 and the PAL firmware version in use.
337
338 To use this option, you have to ensure that the "/proc file system
339 support" (CONFIG_PROC_FS) is enabled, too.
340
1da177e4
LT
341source "drivers/firmware/Kconfig"
342
343source "fs/Kconfig.binfmt"
344
345endmenu
346
347menu "Power management and ACPI"
348
eb7b6b32 349source "kernel/power/Kconfig"
1da177e4
LT
350
351source "drivers/acpi/Kconfig"
352
4db8699b
VP
353if PM
354
355source "arch/ia64/kernel/cpufreq/Kconfig"
356
357endif
358
1da177e4
LT
359endmenu
360
361if !IA64_HP_SIM
362
363menu "Bus options (PCI, PCMCIA)"
364
365config PCI
366 bool "PCI support"
367 help
85f265d8
CH
368 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
369 here unless you are using a simulator without PCI support.
1da177e4
LT
370
371config PCI_DOMAINS
372 bool
373 default PCI
374
375source "drivers/pci/Kconfig"
376
377source "drivers/pci/hotplug/Kconfig"
378
379source "drivers/pcmcia/Kconfig"
380
381endmenu
382
383endif
384
d5950b43
SR
385source "net/Kconfig"
386
1da177e4
LT
387source "drivers/Kconfig"
388
389source "fs/Kconfig"
390
391source "lib/Kconfig"
392
393#
394# Use the generic interrupt handling code in kernel/irq/:
395#
396config GENERIC_HARDIRQS
397 bool
398 default y
399
400config GENERIC_IRQ_PROBE
401 bool
402 default y
403
54d5d424
AR
404config GENERIC_PENDING_IRQ
405 bool
406 depends on GENERIC_HARDIRQS && SMP
407 default y
408
1da177e4
LT
409source "arch/ia64/hp/sim/Kconfig"
410
411source "arch/ia64/oprofile/Kconfig"
412
413source "arch/ia64/Kconfig.debug"
414
415source "security/Kconfig"
416
417source "crypto/Kconfig"
This page took 0.105379 seconds and 5 git commands to generate.