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