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