Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[GitHub/mt8127/android_kernel_alcatel_ttab.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
f0d1b0b3
DH
37config ARCH_HAS_ILOG2_U32
38 bool
39 default n
40
41config ARCH_HAS_ILOG2_U64
42 bool
43 default n
44
2875aef8
AM
45config GENERIC_FIND_NEXT_BIT
46 bool
47 default y
48
1da177e4
LT
49config GENERIC_CALIBRATE_DELAY
50 bool
51 default y
52
53config TIME_INTERPOLATION
54 bool
55 default y
56
3ed3bce8
MD
57config DMI
58 bool
59 default y
60
1da177e4
LT
61config EFI
62 bool
63 default y
64
65config GENERIC_IOMAP
66 bool
67 default y
68
7d12e522
AB
69config SCHED_NO_NO_OMIT_FRAME_POINTER
70 bool
71 default y
72
f14f75b8
JS
73config IA64_UNCACHED_ALLOCATOR
74 bool
75 select GENERIC_ALLOCATOR
76
e65e1fc2
AV
77config AUDIT_ARCH
78 bool
79 default y
80
1da177e4
LT
81choice
82 prompt "System type"
83 default IA64_GENERIC
84
85config IA64_GENERIC
86 bool "generic"
eb7b6b32 87 select ACPI
1300124f 88 select PCI
1da177e4
LT
89 select NUMA
90 select ACPI_NUMA
1da177e4
LT
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
105config IA64_DIG
106 bool "DIG-compliant"
107
108config 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
114config 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
123config 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
132config IA64_HP_SIM
133 bool "Ski-simulator"
134
135endchoice
136
137choice
138 prompt "Processor type"
139 default ITANIUM
140
141config 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
148config MCKINLEY
149 bool "Itanium 2"
150 help
151 Select this to configure for an Itanium 2 (McKinley) processor.
152
153endchoice
154
155choice
156 prompt "Kernel page size"
157 default IA64_PAGE_SIZE_16KB
158
159config 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
176config IA64_PAGE_SIZE_8KB
177 bool "8KB"
178
179config IA64_PAGE_SIZE_16KB
180 bool "16KB"
181
182config IA64_PAGE_SIZE_64KB
183 depends on !ITANIUM
184 bool "64KB"
185
186endchoice
187
837cd0bd
RH
188choice
189 prompt "Page Table Levels"
190 default PGTABLE_3
191
192config PGTABLE_3
193 bool "3 Levels"
194
195config PGTABLE_4
196 depends on !IA64_PAGE_SIZE_64KB
197 bool "4 Levels"
198
199endchoice
200
b5d23e5b
CL
201source kernel/Kconfig.hz
202
1da177e4
LT
203config IA64_BRL_EMU
204 bool
205 depends on ITANIUM
206 default y
207
208# align cache-sensitive data to 128 bytes
209config IA64_L1_CACHE_SHIFT
210 int
211 default "7" if MCKINLEY
212 default "6" if ITANIUM
213
1da177e4
LT
214config 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
220config IOSAPIC
221 bool
222 depends on !IA64_HP_SIM
223 default y
224
b0d82bd5
DN
225config IA64_SGI_SN_XP
226 tristate "Support communication between SGI SSIs"
f79b3488 227 depends on IA64_GENERIC || IA64_SGI_SN2
65ed0b33 228 select IA64_UNCACHED_ALLOCATOR
b0d82bd5
DN
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
1da177e4 236config FORCE_MAX_ZONEORDER
da9577c5
BP
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"
1da177e4
LT
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
54703d36
JS
261 int "Maximum number of CPUs (2-1024)"
262 range 2 1024
1da177e4 263 depends on SMP
c57d68ca 264 default "1024"
1da177e4
LT
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
cc57637b
YG
282config ARCH_ENABLE_MEMORY_HOTPLUG
283 def_bool y
284
7a9bdd88
SS
285config SCHED_SMT
286 bool "SMT scheduler support"
287 depends on SMP
7a9bdd88
SS
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
ff741906
AR
293config 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
301config 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
1da177e4
LT
312config 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
3f22ab27
DH
324source "mm/Kconfig"
325
da9577c5
BP
326config ARCH_SELECT_MEMORY_MODEL
327 def_bool y
328
329config 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
337config ARCH_FLATMEM_ENABLE
338 def_bool y
339
340config ARCH_SPARSEMEM_ENABLE
341 def_bool y
342 depends on ARCH_DISCONTIGMEM_ENABLE
343
344config 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
348config NUMA
349 bool "NUMA support"
350 depends on !IA64_HP_SIM && !FLATMEM
351 default y if IA64_SGI_SN2
6c33eb39 352 select ACPI_NUMA if ACPI
da9577c5
BP
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
c80d79d7
YG
358config NODES_SHIFT
359 int "Max num nodes shift(3-10)"
360 range 3 10
c57d68ca 361 default "10"
c80d79d7
YG
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
05e0caad
MG
368config ARCH_POPULATES_NODE_MAP
369 def_bool y
370
da9577c5
BP
371# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
372# VIRTUAL_MEM_MAP has been retained for historical reasons.
373config 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
384config HOLES_IN_ZONE
385 bool
386 default y if VIRTUAL_MEM_MAP
387
388config HAVE_ARCH_EARLY_PFN_TO_NID
389 def_bool y
390 depends on NEED_MULTIPLE_NODES
391
10ad400b
YG
392config HAVE_ARCH_NODEDATA_EXTENSION
393 def_bool y
394 depends on NUMA
395
1da177e4
LT
396config 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
405config COMPAT
406 bool
407 depends on IA32_SUPPORT
408 default y
409
410config IA64_MCA_RECOVERY
411 tristate "MCA recovery from errors other than TLB."
412
413config 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
421config 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
466575f4
JS
432config SGI_SN
433 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
434
2ab561a1
DMT
435config 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
c1311af1
BC
443source "drivers/sn/Kconfig"
444
a7956113
ZN
445config 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
462config 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
1da177e4
LT
468source "drivers/firmware/Kconfig"
469
470source "fs/Kconfig.binfmt"
471
472endmenu
473
474menu "Power management and ACPI"
475
eb7b6b32 476source "kernel/power/Kconfig"
1da177e4
LT
477
478source "drivers/acpi/Kconfig"
479
4db8699b
VP
480if PM
481
482source "arch/ia64/kernel/cpufreq/Kconfig"
483
484endif
485
1da177e4
LT
486endmenu
487
488if !IA64_HP_SIM
489
490menu "Bus options (PCI, PCMCIA)"
491
492config PCI
493 bool "PCI support"
494 help
85f265d8
CH
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.
1da177e4
LT
497
498config PCI_DOMAINS
499 bool
500 default PCI
501
b7bb575c
KK
502source "drivers/pci/pcie/Kconfig"
503
1da177e4
LT
504source "drivers/pci/Kconfig"
505
506source "drivers/pci/hotplug/Kconfig"
507
508source "drivers/pcmcia/Kconfig"
509
510endmenu
511
512endif
513
d5950b43
SR
514source "net/Kconfig"
515
1da177e4
LT
516source "drivers/Kconfig"
517
1a4b0fc5
JS
518config 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
1da177e4
LT
527source "fs/Kconfig"
528
529source "lib/Kconfig"
530
531#
532# Use the generic interrupt handling code in kernel/irq/:
533#
534config GENERIC_HARDIRQS
535 bool
536 default y
537
538config GENERIC_IRQ_PROBE
539 bool
540 default y
541
54d5d424
AR
542config GENERIC_PENDING_IRQ
543 bool
544 depends on GENERIC_HARDIRQS && SMP
545 default y
546
0d7012a9
IM
547config IRQ_PER_CPU
548 bool
549 default y
550
1da177e4
LT
551source "arch/ia64/hp/sim/Kconfig"
552
cd6b0762
PP
553menu "Instrumentation Support"
554 depends on EXPERIMENTAL
555
1da177e4
LT
556source "arch/ia64/oprofile/Kconfig"
557
cd6b0762
PP
558config KPROBES
559 bool "Kprobes (EXPERIMENTAL)"
3a872d89 560 depends on KALLSYMS && EXPERIMENTAL && MODULES
cd6b0762
PP
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".
567endmenu
568
1da177e4
LT
569source "arch/ia64/Kconfig.debug"
570
571source "security/Kconfig"
572
573source "crypto/Kconfig"