]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/ia64/Kconfig
[PATCH] make each arch use mm/Kconfig
[linux-2.6-omap-h63xx.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 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
81 config IA64_DIG
82         bool "DIG-compliant"
83
84 config 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
90 config 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
99 config 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
108 config IA64_HP_SIM
109         bool "Ski-simulator"
110
111 endchoice
112
113 choice
114         prompt "Processor type"
115         default ITANIUM
116
117 config 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
124 config MCKINLEY
125         bool "Itanium 2"
126         help
127           Select this to configure for an Itanium 2 (McKinley) processor.
128
129 endchoice
130
131 choice
132         prompt "Kernel page size"
133         default IA64_PAGE_SIZE_16KB
134
135 config 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
152 config IA64_PAGE_SIZE_8KB
153         bool "8KB"
154
155 config IA64_PAGE_SIZE_16KB
156         bool "16KB"
157
158 config IA64_PAGE_SIZE_64KB
159         depends on !ITANIUM
160         bool "64KB"
161
162 endchoice
163
164 config IA64_BRL_EMU
165         bool
166         depends on ITANIUM
167         default y
168
169 # align cache-sensitive data to 128 bytes
170 config IA64_L1_CACHE_SHIFT
171         int
172         default "7" if MCKINLEY
173         default "6" if ITANIUM
174
175 # align cache-sensitive data to 64 bytes
176 config NUMA
177         bool "NUMA support"
178         depends on !IA64_HP_SIM
179         default y if IA64_SGI_SN2
180         select ACPI_NUMA
181         help
182           Say Y to compile the kernel to support NUMA (Non-Uniform Memory
183           Access).  This option is for configuring high-end multiprocessor
184           server systems.  If in doubt, say N.
185
186 config VIRTUAL_MEM_MAP
187         bool "Virtual mem map"
188         default y if !IA64_HP_SIM
189         help
190           Say Y to compile the kernel with support for a virtual mem map.
191           This code also only takes effect if a memory hole of greater than
192           1 Gb is found during boot.  You must turn this option on if you
193           require the DISCONTIGMEM option for your machine. If you are
194           unsure, say Y.
195
196 config HOLES_IN_ZONE
197         bool
198         default y if VIRTUAL_MEM_MAP
199
200 config ARCH_DISCONTIGMEM_ENABLE
201         bool "Discontiguous memory support"
202         depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) && NUMA && VIRTUAL_MEM_MAP
203         default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA
204         help
205           Say Y to support efficient handling of discontiguous physical memory,
206           for architectures which are either NUMA (Non-Uniform Memory Access)
207           or have huge holes in the physical address space for other reasons.
208           See <file:Documentation/vm/numa> for more.
209
210 config IA64_CYCLONE
211         bool "Cyclone (EXA) Time Source support"
212         help
213           Say Y here to enable support for IBM EXA Cyclone time source.
214           If you're unsure, answer N.
215
216 config IOSAPIC
217         bool
218         depends on !IA64_HP_SIM
219         default y
220
221 config IA64_SGI_SN_SIM
222         bool "SGI Medusa Simulator Support"
223         depends on IA64_SGI_SN2 || IA64_GENERIC
224         help
225           If you are compiling a kernel that will run under SGI's IA-64
226           simulator (Medusa) then say Y, otherwise say N.
227
228 config IA64_SGI_SN_XP
229         tristate "Support communication between SGI SSIs"
230         select IA64_UNCACHED_ALLOCATOR
231         help
232           An SGI machine can be divided into multiple Single System
233           Images which act independently of each other and have
234           hardware based memory protection from the others.  Enabling
235           this feature will allow for direct communication between SSIs
236           based on a network adapter and DMA messaging.
237
238 config FORCE_MAX_ZONEORDER
239         int
240         default "18"
241
242 config SMP
243         bool "Symmetric multi-processing support"
244         help
245           This enables support for systems with more than one CPU. If you have
246           a system with only one CPU, say N.  If you have a system with more
247           than one CPU, say Y.
248
249           If you say N here, the kernel will run on single and multiprocessor
250           systems, but will use only one CPU of a multiprocessor system.  If
251           you say Y here, the kernel will run on many, but not all,
252           single processor systems.  On a single processor system, the kernel
253           will run faster if you say N here.
254
255           See also the <file:Documentation/smp.txt> and the SMP-HOWTO
256           available at <http://www.tldp.org/docs.html#howto>.
257
258           If you don't know what to do here, say N.
259
260 config NR_CPUS
261         int "Maximum number of CPUs (2-512)"
262         range 2 512
263         depends on SMP
264         default "64"
265         help
266           You should set this to the number of CPUs in your system, but
267           keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
268           only use 2 CPUs on a >2 CPU system.  Setting this to a value larger
269           than 64 will cause the use of a CPU mask array, causing a small
270           performance hit.
271
272 config HOTPLUG_CPU
273         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
274         depends on SMP && EXPERIMENTAL
275         select HOTPLUG
276         default n
277         ---help---
278           Say Y here to experiment with turning CPUs off and on.  CPUs
279           can be controlled through /sys/devices/system/cpu/cpu#.
280           Say N if you want to disable CPU hotplug.
281
282 config SCHED_SMT
283         bool "SMT scheduler support"
284         depends on SMP
285         default off
286         help
287           Improves the CPU scheduler's decision making when dealing with
288           Intel IA64 chips with MultiThreading at a cost of slightly increased
289           overhead in some places. If unsure say N here.
290
291 config PREEMPT
292         bool "Preemptible Kernel"
293         help
294           This option reduces the latency of the kernel when reacting to
295           real-time or interactive events by allowing a low priority process to
296           be preempted even if it is in kernel mode executing a system call.
297           This allows applications to run more reliably even when the system is
298           under load.
299
300           Say Y here if you are building a kernel for a desktop, embedded
301           or real-time system.  Say N if you are unsure.
302
303 source "mm/Kconfig"
304
305 config HAVE_DEC_LOCK
306         bool
307         depends on (SMP || PREEMPT)
308         default y
309
310 config IA32_SUPPORT
311         bool "Support for Linux/x86 binaries"
312         help
313           IA-64 processors can execute IA-32 (X86) instructions.  By
314           saying Y here, the kernel will include IA-32 system call
315           emulation support which makes it possible to transparently
316           run IA-32 Linux binaries on an IA-64 Linux system.
317           If in doubt, say Y.
318
319 config COMPAT
320         bool
321         depends on IA32_SUPPORT
322         default y
323
324 config IA64_MCA_RECOVERY
325         tristate "MCA recovery from errors other than TLB."
326
327 config PERFMON
328         bool "Performance monitor support"
329         help
330           Selects whether support for the IA-64 performance monitor hardware
331           is included in the kernel.  This makes some kernel data-structures a
332           little bigger and slows down execution a bit, but it is generally
333           a good idea to turn this on.  If you're unsure, say Y.
334
335 config IA64_PALINFO
336         tristate "/proc/pal support"
337         help
338           If you say Y here, you are able to get PAL (Processor Abstraction
339           Layer) information in /proc/pal.  This contains useful information
340           about the processors in your systems, such as cache and TLB sizes
341           and the PAL firmware version in use.
342
343           To use this option, you have to ensure that the "/proc file system
344           support" (CONFIG_PROC_FS) is enabled, too.
345
346 config ACPI_DEALLOCATE_IRQ
347         bool
348         depends on IOSAPIC && EXPERIMENTAL
349         default y
350
351 source "drivers/firmware/Kconfig"
352
353 source "fs/Kconfig.binfmt"
354
355 endmenu
356
357 menu "Power management and ACPI"
358
359 config PM
360         bool "Power Management support"
361         depends on !IA64_HP_SIM
362         default y
363         help
364           "Power Management" means that parts of your computer are shut
365           off or put into a power conserving "sleep" mode if they are not
366           being used.  There are two competing standards for doing this: APM
367           and ACPI.  If you want to use either one, say Y here and then also
368           to the requisite support below.
369
370           Power Management is most important for battery powered laptop
371           computers; if you have a laptop, check out the Linux Laptop home
372           page on the WWW at <http://www.linux-on-laptops.com/> and the
373           Battery Powered Linux mini-HOWTO, available from
374           <http://www.tldp.org/docs.html#howto>.
375
376           Note that, even if you say N here, Linux on the x86 architecture
377           will issue the hlt instruction if nothing is to be done, thereby
378           sending the processor to sleep and saving power.
379
380 config ACPI
381         bool
382         depends on !IA64_HP_SIM
383         default y
384
385 if !IA64_HP_SIM
386
387 source "drivers/acpi/Kconfig"
388
389 endif
390
391 endmenu
392
393 if !IA64_HP_SIM
394
395 menu "Bus options (PCI, PCMCIA)"
396
397 config PCI
398         bool "PCI support"
399         help
400           Find out whether you have a PCI motherboard. PCI is the name of a
401           bus system, i.e. the way the CPU talks to the other stuff inside
402           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
403           VESA. If you have PCI, say Y, otherwise N.
404
405           The PCI-HOWTO, available from
406           <http://www.tldp.org/docs.html#howto>, contains valuable
407           information about which PCI hardware does work under Linux and which
408           doesn't.
409
410 config PCI_DOMAINS
411         bool
412         default PCI
413
414 source "drivers/pci/Kconfig"
415
416 source "drivers/pci/hotplug/Kconfig"
417
418 source "drivers/pcmcia/Kconfig"
419
420 endmenu
421
422 endif
423
424 source "drivers/Kconfig"
425
426 source "fs/Kconfig"
427
428 source "lib/Kconfig"
429
430 #
431 # Use the generic interrupt handling code in kernel/irq/:
432 #
433 config GENERIC_HARDIRQS
434         bool
435         default y
436
437 config GENERIC_IRQ_PROBE
438         bool
439         default y
440
441 source "arch/ia64/hp/sim/Kconfig"
442
443 source "arch/ia64/oprofile/Kconfig"
444
445 source "arch/ia64/Kconfig.debug"
446
447 source "security/Kconfig"
448
449 source "crypto/Kconfig"