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