f80f5e2aec87592168ba6724e122357a2240a9d0
[deliverable/linux.git] / arch / ia64 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "IA-64 Linux Kernel Configuration"
7
8 source "init/Kconfig"
9
10 menu "Processor type and features"
11
12 config IA64
13 bool
14 select PCI if (!IA64_HP_SIM)
15 select ACPI if (!IA64_HP_SIM)
16 select PM if (!IA64_HP_SIM)
17 select ARCH_SUPPORTS_MSI
18 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
25 config 64BIT
26 bool
27 select ATA_NONSTANDARD if ATA
28 default y
29
30 config ZONE_DMA
31 def_bool y
32 depends on !IA64_SGI_SN2
33
34 config QUICKLIST
35 bool
36 default y
37
38 config MMU
39 bool
40 default y
41
42 config SWIOTLB
43 bool
44
45 config RWSEM_XCHGADD_ALGORITHM
46 bool
47 default y
48
49 config ARCH_HAS_ILOG2_U32
50 bool
51 default n
52
53 config ARCH_HAS_ILOG2_U64
54 bool
55 default n
56
57 config HUGETLB_PAGE_SIZE_VARIABLE
58 bool
59 depends on HUGETLB_PAGE
60 default y
61
62 config GENERIC_FIND_NEXT_BIT
63 bool
64 default y
65
66 config GENERIC_CALIBRATE_DELAY
67 bool
68 default y
69
70 config GENERIC_TIME
71 bool
72 default y
73
74 config GENERIC_TIME_VSYSCALL
75 bool
76 default y
77
78 config DMI
79 bool
80 default y
81
82 config EFI
83 bool
84 default y
85
86 config GENERIC_IOMAP
87 bool
88 default y
89
90 config SCHED_NO_NO_OMIT_FRAME_POINTER
91 bool
92 default y
93
94 config IA64_UNCACHED_ALLOCATOR
95 bool
96 select GENERIC_ALLOCATOR
97
98 config AUDIT_ARCH
99 bool
100 default y
101
102 choice
103 prompt "System type"
104 default IA64_GENERIC
105
106 config IA64_GENERIC
107 bool "generic"
108 select NUMA
109 select ACPI_NUMA
110 select SWIOTLB
111 help
112 This selects the system type of your hardware. A "generic" kernel
113 will run on any supported IA-64 system. However, if you configure
114 a kernel for your specific system, it will be faster and smaller.
115
116 generic For any supported IA-64 system
117 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
118 HP-zx1/sx1000 For HP systems
119 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
120 SGI-SN2 For SGI Altix systems
121 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
122
123 If you don't know what to do, choose "generic".
124
125 config IA64_DIG
126 bool "DIG-compliant"
127 select SWIOTLB
128
129 config IA64_HP_ZX1
130 bool "HP-zx1/sx1000"
131 help
132 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
133 support for the HP I/O MMU.
134
135 config IA64_HP_ZX1_SWIOTLB
136 bool "HP-zx1/sx1000 with software I/O TLB"
137 select SWIOTLB
138 help
139 Build a kernel that runs on HP zx1 and sx1000 systems even when they
140 have broken PCI devices which cannot DMA to full 32 bits. Apart
141 from support for the HP I/O MMU, this includes support for the software
142 I/O TLB, which allows supporting the broken devices at the expense of
143 wasting some kernel memory (about 2MB by default).
144
145 config IA64_SGI_SN2
146 bool "SGI-SN2"
147 help
148 Selecting this option will optimize the kernel for use on sn2 based
149 systems, but the resulting kernel binary will not run on other
150 types of ia64 systems. If you have an SGI Altix system, it's safe
151 to select this option. If in doubt, select ia64 generic support
152 instead.
153
154 config IA64_HP_SIM
155 bool "Ski-simulator"
156 select SWIOTLB
157
158 endchoice
159
160 choice
161 prompt "Processor type"
162 default ITANIUM
163
164 config ITANIUM
165 bool "Itanium"
166 help
167 Select your IA-64 processor type. The default is Itanium.
168 This choice is safe for all IA-64 systems, but may not perform
169 optimally on systems with, say, Itanium 2 or newer processors.
170
171 config MCKINLEY
172 bool "Itanium 2"
173 help
174 Select this to configure for an Itanium 2 (McKinley) processor.
175
176 endchoice
177
178 choice
179 prompt "Kernel page size"
180 default IA64_PAGE_SIZE_16KB
181
182 config IA64_PAGE_SIZE_4KB
183 bool "4KB"
184 help
185 This lets you select the page size of the kernel. For best IA-64
186 performance, a page size of 8KB or 16KB is recommended. For best
187 IA-32 compatibility, a page size of 4KB should be selected (the vast
188 majority of IA-32 binaries work perfectly fine with a larger page
189 size). For Itanium 2 or newer systems, a page size of 64KB can also
190 be selected.
191
192 4KB For best IA-32 compatibility
193 8KB For best IA-64 performance
194 16KB For best IA-64 performance
195 64KB Requires Itanium 2 or newer processor.
196
197 If you don't know what to do, choose 16KB.
198
199 config IA64_PAGE_SIZE_8KB
200 bool "8KB"
201
202 config IA64_PAGE_SIZE_16KB
203 bool "16KB"
204
205 config IA64_PAGE_SIZE_64KB
206 depends on !ITANIUM
207 bool "64KB"
208
209 endchoice
210
211 choice
212 prompt "Page Table Levels"
213 default PGTABLE_3
214
215 config PGTABLE_3
216 bool "3 Levels"
217
218 config PGTABLE_4
219 depends on !IA64_PAGE_SIZE_64KB
220 bool "4 Levels"
221
222 endchoice
223
224 source kernel/Kconfig.hz
225
226 config IA64_BRL_EMU
227 bool
228 depends on ITANIUM
229 default y
230
231 # align cache-sensitive data to 128 bytes
232 config IA64_L1_CACHE_SHIFT
233 int
234 default "7" if MCKINLEY
235 default "6" if ITANIUM
236
237 config IA64_CYCLONE
238 bool "Cyclone (EXA) Time Source support"
239 help
240 Say Y here to enable support for IBM EXA Cyclone time source.
241 If you're unsure, answer N.
242
243 config IOSAPIC
244 bool
245 depends on !IA64_HP_SIM
246 default y
247
248 config IA64_SGI_SN_XP
249 tristate "Support communication between SGI SSIs"
250 depends on IA64_GENERIC || IA64_SGI_SN2
251 select IA64_UNCACHED_ALLOCATOR
252 help
253 An SGI machine can be divided into multiple Single System
254 Images which act independently of each other and have
255 hardware based memory protection from the others. Enabling
256 this feature will allow for direct communication between SSIs
257 based on a network adapter and DMA messaging.
258
259 config FORCE_MAX_ZONEORDER
260 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
261 range 11 17 if !HUGETLB_PAGE
262 default "17" if HUGETLB_PAGE
263 default "11"
264
265 config SMP
266 bool "Symmetric multi-processing support"
267 help
268 This enables support for systems with more than one CPU. If you have
269 a system with only one CPU, say N. If you have a system with more
270 than one CPU, say Y.
271
272 If you say N here, the kernel will run on single and multiprocessor
273 systems, but will use only one CPU of a multiprocessor system. If
274 you say Y here, the kernel will run on many, but not all,
275 single processor systems. On a single processor system, the kernel
276 will run faster if you say N here.
277
278 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
279 available at <http://www.tldp.org/docs.html#howto>.
280
281 If you don't know what to do here, say N.
282
283 config NR_CPUS
284 int "Maximum number of CPUs (2-1024)"
285 range 2 1024
286 depends on SMP
287 default "1024"
288 help
289 You should set this to the number of CPUs in your system, but
290 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
291 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
292 than 64 will cause the use of a CPU mask array, causing a small
293 performance hit.
294
295 config HOTPLUG_CPU
296 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
297 depends on SMP && EXPERIMENTAL
298 select HOTPLUG
299 default n
300 ---help---
301 Say Y here to experiment with turning CPUs off and on. CPUs
302 can be controlled through /sys/devices/system/cpu/cpu#.
303 Say N if you want to disable CPU hotplug.
304
305 config ARCH_ENABLE_MEMORY_HOTPLUG
306 def_bool y
307
308 config SCHED_SMT
309 bool "SMT scheduler support"
310 depends on SMP
311 help
312 Improves the CPU scheduler's decision making when dealing with
313 Intel IA64 chips with MultiThreading at a cost of slightly increased
314 overhead in some places. If unsure say N here.
315
316 config PERMIT_BSP_REMOVE
317 bool "Support removal of Bootstrap Processor"
318 depends on HOTPLUG_CPU
319 default n
320 ---help---
321 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
322 support.
323
324 config FORCE_CPEI_RETARGET
325 bool "Force assumption that CPEI can be re-targetted"
326 depends on PERMIT_BSP_REMOVE
327 default n
328 ---help---
329 Say Y if you need to force the assumption that CPEI can be re-targetted to
330 any cpu in the system. This hint is available via ACPI 3.0 specifications.
331 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
332 This option it useful to enable this feature on older BIOS's as well.
333 You can also enable this by using boot command line option force_cpei=1.
334
335 source "kernel/Kconfig.preempt"
336
337 source "mm/Kconfig"
338
339 config ARCH_SELECT_MEMORY_MODEL
340 def_bool y
341
342 config ARCH_DISCONTIGMEM_ENABLE
343 def_bool y
344 help
345 Say Y to support efficient handling of discontiguous physical memory,
346 for architectures which are either NUMA (Non-Uniform Memory Access)
347 or have huge holes in the physical address space for other reasons.
348 See <file:Documentation/vm/numa> for more.
349
350 config ARCH_FLATMEM_ENABLE
351 def_bool y
352
353 config ARCH_SPARSEMEM_ENABLE
354 def_bool y
355 depends on ARCH_DISCONTIGMEM_ENABLE
356 select SPARSEMEM_VMEMMAP_ENABLE
357
358 config ARCH_DISCONTIGMEM_DEFAULT
359 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
360 depends on ARCH_DISCONTIGMEM_ENABLE
361
362 config NUMA
363 bool "NUMA support"
364 depends on !IA64_HP_SIM && !FLATMEM
365 default y if IA64_SGI_SN2
366 select ACPI_NUMA if ACPI
367 help
368 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
369 Access). This option is for configuring high-end multiprocessor
370 server systems. If in doubt, say N.
371
372 config NODES_SHIFT
373 int "Max num nodes shift(3-10)"
374 range 3 10
375 default "10"
376 depends on NEED_MULTIPLE_NODES
377 help
378 This option specifies the maximum number of nodes in your SSI system.
379 MAX_NUMNODES will be 2^(This value).
380 If in doubt, use the default.
381
382 config ARCH_POPULATES_NODE_MAP
383 def_bool y
384
385 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
386 # VIRTUAL_MEM_MAP has been retained for historical reasons.
387 config VIRTUAL_MEM_MAP
388 bool "Virtual mem map"
389 depends on !SPARSEMEM
390 default y if !IA64_HP_SIM
391 help
392 Say Y to compile the kernel with support for a virtual mem map.
393 This code also only takes effect if a memory hole of greater than
394 1 Gb is found during boot. You must turn this option on if you
395 require the DISCONTIGMEM option for your machine. If you are
396 unsure, say Y.
397
398 config HOLES_IN_ZONE
399 bool
400 default y if VIRTUAL_MEM_MAP
401
402 config HAVE_ARCH_EARLY_PFN_TO_NID
403 def_bool y
404 depends on NEED_MULTIPLE_NODES
405
406 config HAVE_ARCH_NODEDATA_EXTENSION
407 def_bool y
408 depends on NUMA
409
410 config IA32_SUPPORT
411 bool "Support for Linux/x86 binaries"
412 help
413 IA-64 processors can execute IA-32 (X86) instructions. By
414 saying Y here, the kernel will include IA-32 system call
415 emulation support which makes it possible to transparently
416 run IA-32 Linux binaries on an IA-64 Linux system.
417 If in doubt, say Y.
418
419 config COMPAT
420 bool
421 depends on IA32_SUPPORT
422 default y
423
424 config COMPAT_FOR_U64_ALIGNMENT
425 def_bool COMPAT
426
427 config IA64_MCA_RECOVERY
428 tristate "MCA recovery from errors other than TLB."
429
430 config PERFMON
431 bool "Performance monitor support"
432 help
433 Selects whether support for the IA-64 performance monitor hardware
434 is included in the kernel. This makes some kernel data-structures a
435 little bigger and slows down execution a bit, but it is generally
436 a good idea to turn this on. If you're unsure, say Y.
437
438 config IA64_PALINFO
439 tristate "/proc/pal support"
440 help
441 If you say Y here, you are able to get PAL (Processor Abstraction
442 Layer) information in /proc/pal. This contains useful information
443 about the processors in your systems, such as cache and TLB sizes
444 and the PAL firmware version in use.
445
446 To use this option, you have to ensure that the "/proc file system
447 support" (CONFIG_PROC_FS) is enabled, too.
448
449 config IA64_MC_ERR_INJECT
450 tristate "MC error injection support"
451 help
452 Selets whether support for MC error injection. By enabling the
453 support, kernel provide sysfs interface for user application to
454 call MC error injection PAL procedure to inject various errors.
455 This is a useful tool for MCA testing.
456
457 If you're unsure, do not select this option.
458
459 config SGI_SN
460 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
461
462 config IA64_ESI
463 bool "ESI (Extensible SAL Interface) support"
464 help
465 If you say Y here, support is built into the kernel to
466 make ESI calls. ESI calls are used to support vendor-specific
467 firmware extensions, such as the ability to inject memory-errors
468 for test-purposes. If you're unsure, say N.
469
470 config IA64_HP_AML_NFW
471 bool "Support ACPI AML calls to native firmware"
472 help
473 This driver installs a global ACPI Operation Region handler for
474 region 0xA1. AML methods can use this OpRegion to call arbitrary
475 native firmware functions. The driver installs the OpRegion
476 handler if there is an HPQ5001 device or if the user supplies
477 the "force" module parameter, e.g., with the "aml_nfw.force"
478 kernel command line option.
479
480 source "drivers/sn/Kconfig"
481
482 config KEXEC
483 bool "kexec system call (EXPERIMENTAL)"
484 depends on EXPERIMENTAL && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
485 help
486 kexec is a system call that implements the ability to shutdown your
487 current kernel, and to start another kernel. It is like a reboot
488 but it is independent of the system firmware. And like a reboot
489 you can start any kernel with it, not just Linux.
490
491 The name comes from the similiarity to the exec system call.
492
493 It is an ongoing process to be certain the hardware in a machine
494 is properly shutdown, so do not be surprised if this code does not
495 initially work for you. It may help to enable device hotplugging
496 support. As of this writing the exact hardware interface is
497 strongly in flux, so no good recommendation can be made.
498
499 config CRASH_DUMP
500 bool "kernel crash dumps (EXPERIMENTAL)"
501 depends on EXPERIMENTAL && IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
502 help
503 Generate crash dump after being started by kexec.
504
505 source "drivers/firmware/Kconfig"
506
507 source "fs/Kconfig.binfmt"
508
509 endmenu
510
511 menu "Power management and ACPI"
512
513 source "kernel/power/Kconfig"
514
515 source "drivers/acpi/Kconfig"
516
517 if PM
518
519 source "arch/ia64/kernel/cpufreq/Kconfig"
520
521 endif
522
523 endmenu
524
525 if !IA64_HP_SIM
526
527 menu "Bus options (PCI, PCMCIA)"
528
529 config PCI
530 bool "PCI support"
531 help
532 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
533 here unless you are using a simulator without PCI support.
534
535 config PCI_DOMAINS
536 def_bool PCI
537
538 config PCI_SYSCALL
539 def_bool PCI
540
541 source "drivers/pci/pcie/Kconfig"
542
543 source "drivers/pci/Kconfig"
544
545 source "drivers/pci/hotplug/Kconfig"
546
547 source "drivers/pcmcia/Kconfig"
548
549 endmenu
550
551 endif
552
553 source "net/Kconfig"
554
555 source "drivers/Kconfig"
556
557 config MSPEC
558 tristate "Memory special operations driver"
559 depends on IA64
560 select IA64_UNCACHED_ALLOCATOR
561 help
562 If you have an ia64 and you want to enable memory special
563 operations support (formerly known as fetchop), say Y here,
564 otherwise say N.
565
566 source "fs/Kconfig"
567
568 source "lib/Kconfig"
569
570 #
571 # Use the generic interrupt handling code in kernel/irq/:
572 #
573 config GENERIC_HARDIRQS
574 bool
575 default y
576
577 config GENERIC_IRQ_PROBE
578 bool
579 default y
580
581 config GENERIC_PENDING_IRQ
582 bool
583 depends on GENERIC_HARDIRQS && SMP
584 default y
585
586 config IRQ_PER_CPU
587 bool
588 default y
589
590 source "arch/ia64/hp/sim/Kconfig"
591
592 menu "Instrumentation Support"
593 depends on EXPERIMENTAL
594
595 source "arch/ia64/oprofile/Kconfig"
596
597 config KPROBES
598 bool "Kprobes"
599 depends on KALLSYMS && MODULES
600 help
601 Kprobes allows you to trap at almost any kernel address and
602 execute a callback function. register_kprobe() establishes
603 a probepoint and specifies the callback. Kprobes is useful
604 for kernel debugging, non-intrusive instrumentation and testing.
605 If in doubt, say "N".
606 endmenu
607
608 source "arch/ia64/Kconfig.debug"
609
610 source "security/Kconfig"
611
612 source "crypto/Kconfig"
This page took 0.068745 seconds and 4 git commands to generate.