ia64/xen-unstable

view linux-2.6-xen-sparse/arch/ia64/Kconfig @ 9390:11325d1c412c

[IA64] build xen_sysfs by default

This works on xen/ia64 too, enable the code

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Wed Mar 22 10:04:43 2006 -0700 (2006-03-22)
parents b4f1084177cc
children 272a0a971ca3
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
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 ARCH_XEN
61 bool
62 default y
63 help
64 TEMP ONLY. Needs to be on for drivers/xen to build.
66 config XEN_PRIVILEGED_GUEST
67 bool "Privileged Guest"
68 default n
69 help
70 Used in drivers/xen/privcmd.c. Should go away?
72 config XEN_BLKDEV_GRANT
73 depends on XEN
74 bool
75 default y
77 config XEN_BLKDEV_FRONTEND
78 depends on XEN
79 bool
80 default y
82 config XEN_BLKDEV_BACKEND
83 depends on XEN
84 bool
85 default y
87 config XEN_VT
88 bool "Override for turning on CONFIG_VT for domU"
89 default y
90 help
91 Hack to turn off CONFIG_VT for domU
93 config VT
94 bool
95 default y if XEN && XEN_VT
96 default n if XEN && !XEN_VT
97 help
98 Hack to turn off CONFIG_VT for domU
100 config XEN_SYSFS
101 bool "Export Xen attributes in sysfs"
102 depends on XEN && SYSFS
103 default y
104 help
105 Xen hypervisor attributes will show up under /sys/hypervisor/.
107 config SCHED_NO_NO_OMIT_FRAME_POINTER
108 bool
109 default y
111 config IA64_UNCACHED_ALLOCATOR
112 bool
113 select GENERIC_ALLOCATOR
115 config DMA_IS_DMA32
116 bool
117 default y
119 choice
120 prompt "System type"
121 default IA64_GENERIC
123 config IA64_GENERIC
124 bool "generic"
125 select ACPI
126 select NUMA
127 select ACPI_NUMA
128 help
129 This selects the system type of your hardware. A "generic" kernel
130 will run on any supported IA-64 system. However, if you configure
131 a kernel for your specific system, it will be faster and smaller.
133 generic For any supported IA-64 system
134 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
135 HP-zx1/sx1000 For HP systems
136 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
137 SGI-SN2 For SGI Altix systems
138 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
140 If you don't know what to do, choose "generic".
142 config IA64_DIG
143 bool "DIG-compliant"
145 config IA64_HP_ZX1
146 bool "HP-zx1/sx1000"
147 help
148 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
149 support for the HP I/O MMU.
151 config IA64_HP_ZX1_SWIOTLB
152 bool "HP-zx1/sx1000 with software I/O TLB"
153 help
154 Build a kernel that runs on HP zx1 and sx1000 systems even when they
155 have broken PCI devices which cannot DMA to full 32 bits. Apart
156 from support for the HP I/O MMU, this includes support for the software
157 I/O TLB, which allows supporting the broken devices at the expense of
158 wasting some kernel memory (about 2MB by default).
160 config IA64_SGI_SN2
161 bool "SGI-SN2"
162 help
163 Selecting this option will optimize the kernel for use on sn2 based
164 systems, but the resulting kernel binary will not run on other
165 types of ia64 systems. If you have an SGI Altix system, it's safe
166 to select this option. If in doubt, select ia64 generic support
167 instead.
169 config IA64_HP_SIM
170 bool "Ski-simulator"
172 endchoice
174 choice
175 prompt "Processor type"
176 default ITANIUM
178 config ITANIUM
179 bool "Itanium"
180 help
181 Select your IA-64 processor type. The default is Itanium.
182 This choice is safe for all IA-64 systems, but may not perform
183 optimally on systems with, say, Itanium 2 or newer processors.
185 config MCKINLEY
186 bool "Itanium 2"
187 help
188 Select this to configure for an Itanium 2 (McKinley) processor.
190 endchoice
192 choice
193 prompt "Kernel page size"
194 default IA64_PAGE_SIZE_16KB
196 config IA64_PAGE_SIZE_4KB
197 bool "4KB"
198 help
199 This lets you select the page size of the kernel. For best IA-64
200 performance, a page size of 8KB or 16KB is recommended. For best
201 IA-32 compatibility, a page size of 4KB should be selected (the vast
202 majority of IA-32 binaries work perfectly fine with a larger page
203 size). For Itanium 2 or newer systems, a page size of 64KB can also
204 be selected.
206 4KB For best IA-32 compatibility
207 8KB For best IA-64 performance
208 16KB For best IA-64 performance
209 64KB Requires Itanium 2 or newer processor.
211 If you don't know what to do, choose 16KB.
213 config IA64_PAGE_SIZE_8KB
214 bool "8KB"
216 config IA64_PAGE_SIZE_16KB
217 bool "16KB"
219 config IA64_PAGE_SIZE_64KB
220 depends on !ITANIUM
221 bool "64KB"
223 endchoice
225 choice
226 prompt "Page Table Levels"
227 default PGTABLE_3
229 config PGTABLE_3
230 bool "3 Levels"
232 config PGTABLE_4
233 depends on !IA64_PAGE_SIZE_64KB
234 bool "4 Levels"
236 endchoice
238 source kernel/Kconfig.hz
240 config IA64_BRL_EMU
241 bool
242 depends on ITANIUM
243 default y
245 # align cache-sensitive data to 128 bytes
246 config IA64_L1_CACHE_SHIFT
247 int
248 default "7" if MCKINLEY
249 default "6" if ITANIUM
251 config IA64_CYCLONE
252 bool "Cyclone (EXA) Time Source support"
253 help
254 Say Y here to enable support for IBM EXA Cyclone time source.
255 If you're unsure, answer N.
257 config IOSAPIC
258 bool
259 depends on !IA64_HP_SIM
260 default y
262 config IA64_SGI_SN_XP
263 tristate "Support communication between SGI SSIs"
264 depends on IA64_GENERIC || IA64_SGI_SN2
265 select IA64_UNCACHED_ALLOCATOR
266 help
267 An SGI machine can be divided into multiple Single System
268 Images which act independently of each other and have
269 hardware based memory protection from the others. Enabling
270 this feature will allow for direct communication between SSIs
271 based on a network adapter and DMA messaging.
273 config FORCE_MAX_ZONEORDER
274 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
275 range 11 17 if !HUGETLB_PAGE
276 default "17" if HUGETLB_PAGE
277 default "11"
279 config SMP
280 bool "Symmetric multi-processing support"
281 help
282 This enables support for systems with more than one CPU. If you have
283 a system with only one CPU, say N. If you have a system with more
284 than one CPU, say Y.
286 If you say N here, the kernel will run on single and multiprocessor
287 systems, but will use only one CPU of a multiprocessor system. If
288 you say Y here, the kernel will run on many, but not all,
289 single processor systems. On a single processor system, the kernel
290 will run faster if you say N here.
292 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
293 available at <http://www.tldp.org/docs.html#howto>.
295 If you don't know what to do here, say N.
297 config NR_CPUS
298 int "Maximum number of CPUs (2-1024)"
299 range 2 1024
300 depends on SMP
301 default "64"
302 help
303 You should set this to the number of CPUs in your system, but
304 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
305 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
306 than 64 will cause the use of a CPU mask array, causing a small
307 performance hit.
309 config HOTPLUG_CPU
310 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
311 depends on SMP && EXPERIMENTAL
312 select HOTPLUG
313 default n
314 ---help---
315 Say Y here to experiment with turning CPUs off and on. CPUs
316 can be controlled through /sys/devices/system/cpu/cpu#.
317 Say N if you want to disable CPU hotplug.
319 config SCHED_SMT
320 bool "SMT scheduler support"
321 depends on SMP
322 default off
323 help
324 Improves the CPU scheduler's decision making when dealing with
325 Intel IA64 chips with MultiThreading at a cost of slightly increased
326 overhead in some places. If unsure say N here.
328 config PREEMPT
329 bool "Preemptible Kernel"
330 help
331 This option reduces the latency of the kernel when reacting to
332 real-time or interactive events by allowing a low priority process to
333 be preempted even if it is in kernel mode executing a system call.
334 This allows applications to run more reliably even when the system is
335 under load.
337 Say Y here if you are building a kernel for a desktop, embedded
338 or real-time system. Say N if you are unsure.
340 source "mm/Kconfig"
342 config ARCH_SELECT_MEMORY_MODEL
343 def_bool y
345 config ARCH_DISCONTIGMEM_ENABLE
346 def_bool y
347 help
348 Say Y to support efficient handling of discontiguous physical memory,
349 for architectures which are either NUMA (Non-Uniform Memory Access)
350 or have huge holes in the physical address space for other reasons.
351 See <file:Documentation/vm/numa> for more.
353 config ARCH_FLATMEM_ENABLE
354 def_bool y
356 config ARCH_SPARSEMEM_ENABLE
357 def_bool y
358 depends on ARCH_DISCONTIGMEM_ENABLE
360 config ARCH_DISCONTIGMEM_DEFAULT
361 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
362 depends on ARCH_DISCONTIGMEM_ENABLE
364 config NUMA
365 bool "NUMA support"
366 depends on !IA64_HP_SIM && !FLATMEM
367 default y if IA64_SGI_SN2
368 help
369 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
370 Access). This option is for configuring high-end multiprocessor
371 server systems. If in doubt, say N.
373 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
374 # VIRTUAL_MEM_MAP has been retained for historical reasons.
375 config VIRTUAL_MEM_MAP
376 bool "Virtual mem map"
377 depends on !SPARSEMEM
378 default y if !IA64_HP_SIM
379 help
380 Say Y to compile the kernel with support for a virtual mem map.
381 This code also only takes effect if a memory hole of greater than
382 1 Gb is found during boot. You must turn this option on if you
383 require the DISCONTIGMEM option for your machine. If you are
384 unsure, say Y.
386 config HOLES_IN_ZONE
387 bool
388 default y if VIRTUAL_MEM_MAP
390 config HAVE_ARCH_EARLY_PFN_TO_NID
391 def_bool y
392 depends on NEED_MULTIPLE_NODES
394 config IA32_SUPPORT
395 bool "Support for Linux/x86 binaries"
396 help
397 IA-64 processors can execute IA-32 (X86) instructions. By
398 saying Y here, the kernel will include IA-32 system call
399 emulation support which makes it possible to transparently
400 run IA-32 Linux binaries on an IA-64 Linux system.
401 If in doubt, say Y.
403 config COMPAT
404 bool
405 depends on IA32_SUPPORT
406 default y
408 config IA64_MCA_RECOVERY
409 tristate "MCA recovery from errors other than TLB."
411 config PERFMON
412 bool "Performance monitor support"
413 help
414 Selects whether support for the IA-64 performance monitor hardware
415 is included in the kernel. This makes some kernel data-structures a
416 little bigger and slows down execution a bit, but it is generally
417 a good idea to turn this on. If you're unsure, say Y.
419 config IA64_PALINFO
420 tristate "/proc/pal support"
421 help
422 If you say Y here, you are able to get PAL (Processor Abstraction
423 Layer) information in /proc/pal. This contains useful information
424 about the processors in your systems, such as cache and TLB sizes
425 and the PAL firmware version in use.
427 To use this option, you have to ensure that the "/proc file system
428 support" (CONFIG_PROC_FS) is enabled, too.
430 config SGI_SN
431 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
433 source "drivers/firmware/Kconfig"
435 source "fs/Kconfig.binfmt"
437 endmenu
439 menu "Power management and ACPI"
441 source "kernel/power/Kconfig"
443 source "drivers/acpi/Kconfig"
445 if PM
447 source "arch/ia64/kernel/cpufreq/Kconfig"
449 endif
451 endmenu
453 if !IA64_HP_SIM
455 menu "Bus options (PCI, PCMCIA)"
457 config PCI
458 bool "PCI support"
459 help
460 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
461 here unless you are using a simulator without PCI support.
463 config PCI_DOMAINS
464 bool
465 default PCI
467 source "drivers/pci/Kconfig"
469 source "drivers/pci/hotplug/Kconfig"
471 source "drivers/pcmcia/Kconfig"
473 endmenu
475 endif
477 source "net/Kconfig"
479 source "drivers/Kconfig"
481 source "fs/Kconfig"
483 source "lib/Kconfig"
485 #
486 # Use the generic interrupt handling code in kernel/irq/:
487 #
488 config GENERIC_HARDIRQS
489 bool
490 default y
492 config GENERIC_IRQ_PROBE
493 bool
494 default y
496 config GENERIC_PENDING_IRQ
497 bool
498 depends on GENERIC_HARDIRQS && SMP
499 default y
501 source "arch/ia64/hp/sim/Kconfig"
503 menu "Instrumentation Support"
504 depends on EXPERIMENTAL
506 source "arch/ia64/oprofile/Kconfig"
508 config KPROBES
509 bool "Kprobes (EXPERIMENTAL)"
510 depends on EXPERIMENTAL && MODULES
511 help
512 Kprobes allows you to trap at almost any kernel address and
513 execute a callback function. register_kprobe() establishes
514 a probepoint and specifies the callback. Kprobes is useful
515 for kernel debugging, non-intrusive instrumentation and testing.
516 If in doubt, say "N".
517 endmenu
519 source "arch/ia64/Kconfig.debug"
521 source "security/Kconfig"
523 source "crypto/Kconfig"