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