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