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