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