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