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