ia64/xen-unstable

view linux-2.6-xen-sparse/arch/ia64/Kconfig @ 12901:ed56ef3e9716

[IA64][BUILD] XEN_XKBUFF needs to depend on NET

Signed-Off-By: Simon Horman <horms@verge.net.au>
author awilliam@xenbuild2.aw
date Thu Dec 14 08:54:54 2006 -0700 (2006-12-14)
parents e5e6893ec699
children 16847428f859 4fad820a2233
line source
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
6 mainmenu "IA-64 Linux Kernel Configuration"
8 source "init/Kconfig"
10 menu "Processor type and features"
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>.
21 config 64BIT
22 bool
23 default y
25 config MMU
26 bool
27 default y
29 config SWIOTLB
30 bool
31 default y
33 config RWSEM_XCHGADD_ALGORITHM
34 bool
35 default y
37 config GENERIC_CALIBRATE_DELAY
38 bool
39 default y
41 config TIME_INTERPOLATION
42 bool
43 default y
45 config EFI
46 bool
47 default y
49 config GENERIC_IOMAP
50 bool
51 default y
53 config XEN
54 bool "Xen hypervisor support"
55 default y
56 help
57 Enable Xen hypervisor support. Resulting kernel runs
58 both as a guest OS on Xen and natively on hardware.
60 config XEN_IA64_VDSO_PARAVIRT
61 bool
62 depends on XEN && !ITANIUM
63 default y
64 help
65 vDSO paravirtualization
67 config XEN_IA64_EXPOSE_P2M
68 bool "Xen/IA64 exposure p2m table"
69 depends on XEN
70 default y
71 help
72 expose p2m from xen
74 config XEN_IA64_EXPOSE_P2M_USE_DTR
75 bool "Xen/IA64 map p2m table with dtr"
76 depends on XEN_IA64_EXPOSE_P2M
77 default y
78 help
79 use dtr to map the exposed p2m table
81 config SCHED_NO_NO_OMIT_FRAME_POINTER
82 bool
83 default y
85 config IA64_UNCACHED_ALLOCATOR
86 bool
87 select GENERIC_ALLOCATOR
89 config DMA_IS_DMA32
90 bool
91 default y
93 choice
94 prompt "System type"
95 default IA64_GENERIC
97 config IA64_GENERIC
98 bool "generic"
99 select ACPI
100 select NUMA
101 select ACPI_NUMA
102 help
103 This selects the system type of your hardware. A "generic" kernel
104 will run on any supported IA-64 system. However, if you configure
105 a kernel for your specific system, it will be faster and smaller.
107 generic For any supported IA-64 system
108 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
109 HP-zx1/sx1000 For HP systems
110 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
111 SGI-SN2 For SGI Altix systems
112 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
114 If you don't know what to do, choose "generic".
116 config IA64_DIG
117 bool "DIG-compliant"
119 config IA64_HP_ZX1
120 bool "HP-zx1/sx1000"
121 help
122 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
123 support for the HP I/O MMU.
125 config IA64_HP_ZX1_SWIOTLB
126 bool "HP-zx1/sx1000 with software I/O TLB"
127 help
128 Build a kernel that runs on HP zx1 and sx1000 systems even when they
129 have broken PCI devices which cannot DMA to full 32 bits. Apart
130 from support for the HP I/O MMU, this includes support for the software
131 I/O TLB, which allows supporting the broken devices at the expense of
132 wasting some kernel memory (about 2MB by default).
134 config IA64_SGI_SN2
135 bool "SGI-SN2"
136 help
137 Selecting this option will optimize the kernel for use on sn2 based
138 systems, but the resulting kernel binary will not run on other
139 types of ia64 systems. If you have an SGI Altix system, it's safe
140 to select this option. If in doubt, select ia64 generic support
141 instead.
143 config IA64_HP_SIM
144 bool "Ski-simulator"
146 endchoice
148 choice
149 prompt "Processor type"
150 default ITANIUM
152 config ITANIUM
153 bool "Itanium"
154 help
155 Select your IA-64 processor type. The default is Itanium.
156 This choice is safe for all IA-64 systems, but may not perform
157 optimally on systems with, say, Itanium 2 or newer processors.
159 config MCKINLEY
160 bool "Itanium 2"
161 help
162 Select this to configure for an Itanium 2 (McKinley) processor.
164 endchoice
166 choice
167 prompt "Kernel page size"
168 default IA64_PAGE_SIZE_16KB
170 config IA64_PAGE_SIZE_4KB
171 bool "4KB"
172 help
173 This lets you select the page size of the kernel. For best IA-64
174 performance, a page size of 8KB or 16KB is recommended. For best
175 IA-32 compatibility, a page size of 4KB should be selected (the vast
176 majority of IA-32 binaries work perfectly fine with a larger page
177 size). For Itanium 2 or newer systems, a page size of 64KB can also
178 be selected.
180 4KB For best IA-32 compatibility
181 8KB For best IA-64 performance
182 16KB For best IA-64 performance
183 64KB Requires Itanium 2 or newer processor.
185 If you don't know what to do, choose 16KB.
187 config IA64_PAGE_SIZE_8KB
188 bool "8KB"
190 config IA64_PAGE_SIZE_16KB
191 bool "16KB"
193 config IA64_PAGE_SIZE_64KB
194 depends on !ITANIUM
195 bool "64KB"
197 endchoice
199 choice
200 prompt "Page Table Levels"
201 default PGTABLE_3
203 config PGTABLE_3
204 bool "3 Levels"
206 config PGTABLE_4
207 depends on !IA64_PAGE_SIZE_64KB
208 bool "4 Levels"
210 endchoice
212 source kernel/Kconfig.hz
214 config IA64_BRL_EMU
215 bool
216 depends on ITANIUM
217 default y
219 # align cache-sensitive data to 128 bytes
220 config IA64_L1_CACHE_SHIFT
221 int
222 default "7" if MCKINLEY
223 default "6" if ITANIUM
225 config IA64_CYCLONE
226 bool "Cyclone (EXA) Time Source support"
227 help
228 Say Y here to enable support for IBM EXA Cyclone time source.
229 If you're unsure, answer N.
231 config IOSAPIC
232 bool
233 depends on !IA64_HP_SIM
234 default y
236 config IA64_SGI_SN_XP
237 tristate "Support communication between SGI SSIs"
238 depends on IA64_GENERIC || IA64_SGI_SN2
239 select IA64_UNCACHED_ALLOCATOR
240 help
241 An SGI machine can be divided into multiple Single System
242 Images which act independently of each other and have
243 hardware based memory protection from the others. Enabling
244 this feature will allow for direct communication between SSIs
245 based on a network adapter and DMA messaging.
247 config FORCE_MAX_ZONEORDER
248 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
249 range 11 17 if !HUGETLB_PAGE
250 default "17" if HUGETLB_PAGE
251 default "11"
253 config SMP
254 bool "Symmetric multi-processing support"
255 help
256 This enables support for systems with more than one CPU. If you have
257 a system with only one CPU, say N. If you have a system with more
258 than one CPU, say Y.
260 If you say N here, the kernel will run on single and multiprocessor
261 systems, but will use only one CPU of a multiprocessor system. If
262 you say Y here, the kernel will run on many, but not all,
263 single processor systems. On a single processor system, the kernel
264 will run faster if you say N here.
266 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
267 available at <http://www.tldp.org/docs.html#howto>.
269 If you don't know what to do here, say N.
271 config NR_CPUS
272 int "Maximum number of CPUs (2-1024)"
273 range 2 1024
274 depends on SMP
275 default "64"
276 help
277 You should set this to the number of CPUs in your system, but
278 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
279 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
280 than 64 will cause the use of a CPU mask array, causing a small
281 performance hit.
283 config HOTPLUG_CPU
284 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
285 depends on SMP && EXPERIMENTAL
286 select HOTPLUG
287 default n
288 ---help---
289 Say Y here to experiment with turning CPUs off and on. CPUs
290 can be controlled through /sys/devices/system/cpu/cpu#.
291 Say N if you want to disable CPU hotplug.
293 config ARCH_ENABLE_MEMORY_HOTPLUG
294 def_bool y
296 config SCHED_SMT
297 bool "SMT scheduler support"
298 depends on SMP
299 default off
300 help
301 Improves the CPU scheduler's decision making when dealing with
302 Intel IA64 chips with MultiThreading at a cost of slightly increased
303 overhead in some places. If unsure say N here.
305 config PREEMPT
306 bool "Preemptible Kernel"
307 help
308 This option reduces the latency of the kernel when reacting to
309 real-time or interactive events by allowing a low priority process to
310 be preempted even if it is in kernel mode executing a system call.
311 This allows applications to run more reliably even when the system is
312 under load.
314 Say Y here if you are building a kernel for a desktop, embedded
315 or real-time system. Say N if you are unsure.
317 source "mm/Kconfig"
319 config ARCH_SELECT_MEMORY_MODEL
320 def_bool y
322 config ARCH_DISCONTIGMEM_ENABLE
323 def_bool y
324 help
325 Say Y to support efficient handling of discontiguous physical memory,
326 for architectures which are either NUMA (Non-Uniform Memory Access)
327 or have huge holes in the physical address space for other reasons.
328 See <file:Documentation/vm/numa> for more.
330 config ARCH_FLATMEM_ENABLE
331 def_bool y
333 config ARCH_SPARSEMEM_ENABLE
334 def_bool y
335 depends on ARCH_DISCONTIGMEM_ENABLE
337 config ARCH_DISCONTIGMEM_DEFAULT
338 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
339 depends on ARCH_DISCONTIGMEM_ENABLE
341 config NUMA
342 bool "NUMA support"
343 depends on !IA64_HP_SIM && !FLATMEM
344 default y if IA64_SGI_SN2
345 help
346 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
347 Access). This option is for configuring high-end multiprocessor
348 server systems. If in doubt, say N.
350 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
351 # VIRTUAL_MEM_MAP has been retained for historical reasons.
352 config VIRTUAL_MEM_MAP
353 bool "Virtual mem map"
354 depends on !SPARSEMEM
355 default y if !IA64_HP_SIM
356 help
357 Say Y to compile the kernel with support for a virtual mem map.
358 This code also only takes effect if a memory hole of greater than
359 1 Gb is found during boot. You must turn this option on if you
360 require the DISCONTIGMEM option for your machine. If you are
361 unsure, say Y.
363 config HOLES_IN_ZONE
364 bool
365 default y if VIRTUAL_MEM_MAP
367 config HAVE_ARCH_EARLY_PFN_TO_NID
368 def_bool y
369 depends on NEED_MULTIPLE_NODES
371 config IA32_SUPPORT
372 bool "Support for Linux/x86 binaries"
373 help
374 IA-64 processors can execute IA-32 (X86) instructions. By
375 saying Y here, the kernel will include IA-32 system call
376 emulation support which makes it possible to transparently
377 run IA-32 Linux binaries on an IA-64 Linux system.
378 If in doubt, say Y.
380 config COMPAT
381 bool
382 depends on IA32_SUPPORT
383 default y
385 config IA64_MCA_RECOVERY
386 tristate "MCA recovery from errors other than TLB."
388 config PERFMON
389 bool "Performance monitor support"
390 help
391 Selects whether support for the IA-64 performance monitor hardware
392 is included in the kernel. This makes some kernel data-structures a
393 little bigger and slows down execution a bit, but it is generally
394 a good idea to turn this on. If you're unsure, say Y.
396 config IA64_PALINFO
397 tristate "/proc/pal support"
398 help
399 If you say Y here, you are able to get PAL (Processor Abstraction
400 Layer) information in /proc/pal. This contains useful information
401 about the processors in your systems, such as cache and TLB sizes
402 and the PAL firmware version in use.
404 To use this option, you have to ensure that the "/proc file system
405 support" (CONFIG_PROC_FS) is enabled, too.
407 config SGI_SN
408 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
410 source "drivers/firmware/Kconfig"
412 source "fs/Kconfig.binfmt"
414 endmenu
416 menu "Power management and ACPI"
418 source "kernel/power/Kconfig"
420 source "drivers/acpi/Kconfig"
422 if PM
424 source "arch/ia64/kernel/cpufreq/Kconfig"
426 endif
428 endmenu
430 if !IA64_HP_SIM
432 menu "Bus options (PCI, PCMCIA)"
434 config PCI
435 bool "PCI support"
436 help
437 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
438 here unless you are using a simulator without PCI support.
440 config PCI_DOMAINS
441 bool
442 default PCI
444 config XEN_PCIDEV_FRONTEND
445 bool "Xen PCI Frontend"
446 depends on PCI && XEN
447 default y
448 help
449 The PCI device frontend driver allows the kernel to import arbitrary
450 PCI devices from a PCI backend to support PCI driver domains.
452 config XEN_PCIDEV_FE_DEBUG
453 bool "Xen PCI Frontend Debugging"
454 depends on XEN_PCIDEV_FRONTEND
455 default n
456 help
457 Enables some debug statements within the PCI Frontend.
459 source "drivers/pci/Kconfig"
461 source "drivers/pci/hotplug/Kconfig"
463 source "drivers/pcmcia/Kconfig"
465 endmenu
467 endif
469 source "net/Kconfig"
471 source "drivers/Kconfig"
473 source "fs/Kconfig"
475 source "lib/Kconfig"
477 #
478 # Use the generic interrupt handling code in kernel/irq/:
479 #
480 config GENERIC_HARDIRQS
481 bool
482 default y
484 config GENERIC_IRQ_PROBE
485 bool
486 default y
488 config GENERIC_PENDING_IRQ
489 bool
490 depends on GENERIC_HARDIRQS && SMP
491 default y
493 source "arch/ia64/hp/sim/Kconfig"
495 menu "Instrumentation Support"
496 depends on EXPERIMENTAL
498 source "arch/ia64/oprofile/Kconfig"
500 config KPROBES
501 bool "Kprobes (EXPERIMENTAL)"
502 depends on EXPERIMENTAL && MODULES
503 help
504 Kprobes allows you to trap at almost any kernel address and
505 execute a callback function. register_kprobe() establishes
506 a probepoint and specifies the callback. Kprobes is useful
507 for kernel debugging, non-intrusive instrumentation and testing.
508 If in doubt, say "N".
509 endmenu
511 source "arch/ia64/Kconfig.debug"
513 source "security/Kconfig"
515 source "crypto/Kconfig"
517 #
518 # override default values of drivers/xen/Kconfig
519 #
520 if XEN
521 config XEN_UTIL
522 default n
524 config HAVE_ARCH_ALLOC_SKB
525 default y
527 config HAVE_ARCH_DEV_ALLOC_SKB
528 default y
530 config XEN_BALLOON
531 default y
533 config XEN_SKBUFF
534 default y
535 depends on NET
537 config XEN_REBOOT
538 default y
540 config XEN_SMPBOOT
541 default n
542 endif
544 source "drivers/xen/Kconfig"