ia64/xen-unstable

view linux-2.6-xen-sparse/arch/ia64/Kconfig @ 10703:8d501f39286c

[IA64] vDSO paravirtualization: paravirtualize vDSO

paravirtualize vdso areabased on Kevin's pointout and Dan's Idea.
introduce hyperprivop HYPERPRIVOP_RSM_BE and HYPERPRIVOP_GET_PSR.
and paravirtualize vdso area using them.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Mon Jul 24 13:43:35 2006 -0600 (2006-07-24)
parents 306d7857928c
children 93c785354dd1
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_DOM0_VP
61 bool "dom0 vp model"
62 depends on XEN
63 default n
64 help
65 dom0 vp model
67 config XEN_IA64_DOM0_NON_VP
68 bool
69 depends on XEN && !XEN_IA64_DOM0_VP
70 default y
71 help
72 dom0 P=M model
74 config XEN_IA64_VDSO_PARAVIRT
75 bool
76 depends on XEN && !ITANIUM
77 default y
78 help
79 vDSO paravirtualization
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 SCHED_SMT
294 bool "SMT scheduler support"
295 depends on SMP
296 default off
297 help
298 Improves the CPU scheduler's decision making when dealing with
299 Intel IA64 chips with MultiThreading at a cost of slightly increased
300 overhead in some places. If unsure say N here.
302 config PREEMPT
303 bool "Preemptible Kernel"
304 help
305 This option reduces the latency of the kernel when reacting to
306 real-time or interactive events by allowing a low priority process to
307 be preempted even if it is in kernel mode executing a system call.
308 This allows applications to run more reliably even when the system is
309 under load.
311 Say Y here if you are building a kernel for a desktop, embedded
312 or real-time system. Say N if you are unsure.
314 source "mm/Kconfig"
316 config ARCH_SELECT_MEMORY_MODEL
317 def_bool y
319 config ARCH_DISCONTIGMEM_ENABLE
320 def_bool y
321 help
322 Say Y to support efficient handling of discontiguous physical memory,
323 for architectures which are either NUMA (Non-Uniform Memory Access)
324 or have huge holes in the physical address space for other reasons.
325 See <file:Documentation/vm/numa> for more.
327 config ARCH_FLATMEM_ENABLE
328 def_bool y
330 config ARCH_SPARSEMEM_ENABLE
331 def_bool y
332 depends on ARCH_DISCONTIGMEM_ENABLE
334 config ARCH_DISCONTIGMEM_DEFAULT
335 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
336 depends on ARCH_DISCONTIGMEM_ENABLE
338 config NUMA
339 bool "NUMA support"
340 depends on !IA64_HP_SIM && !FLATMEM
341 default y if IA64_SGI_SN2
342 help
343 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
344 Access). This option is for configuring high-end multiprocessor
345 server systems. If in doubt, say N.
347 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
348 # VIRTUAL_MEM_MAP has been retained for historical reasons.
349 config VIRTUAL_MEM_MAP
350 bool "Virtual mem map"
351 depends on !SPARSEMEM
352 default y if !IA64_HP_SIM
353 help
354 Say Y to compile the kernel with support for a virtual mem map.
355 This code also only takes effect if a memory hole of greater than
356 1 Gb is found during boot. You must turn this option on if you
357 require the DISCONTIGMEM option for your machine. If you are
358 unsure, say Y.
360 config HOLES_IN_ZONE
361 bool
362 default y if VIRTUAL_MEM_MAP
364 config HAVE_ARCH_EARLY_PFN_TO_NID
365 def_bool y
366 depends on NEED_MULTIPLE_NODES
368 config IA32_SUPPORT
369 bool "Support for Linux/x86 binaries"
370 help
371 IA-64 processors can execute IA-32 (X86) instructions. By
372 saying Y here, the kernel will include IA-32 system call
373 emulation support which makes it possible to transparently
374 run IA-32 Linux binaries on an IA-64 Linux system.
375 If in doubt, say Y.
377 config COMPAT
378 bool
379 depends on IA32_SUPPORT
380 default y
382 config IA64_MCA_RECOVERY
383 tristate "MCA recovery from errors other than TLB."
385 config PERFMON
386 bool "Performance monitor support"
387 help
388 Selects whether support for the IA-64 performance monitor hardware
389 is included in the kernel. This makes some kernel data-structures a
390 little bigger and slows down execution a bit, but it is generally
391 a good idea to turn this on. If you're unsure, say Y.
393 config IA64_PALINFO
394 tristate "/proc/pal support"
395 help
396 If you say Y here, you are able to get PAL (Processor Abstraction
397 Layer) information in /proc/pal. This contains useful information
398 about the processors in your systems, such as cache and TLB sizes
399 and the PAL firmware version in use.
401 To use this option, you have to ensure that the "/proc file system
402 support" (CONFIG_PROC_FS) is enabled, too.
404 config SGI_SN
405 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
407 source "drivers/firmware/Kconfig"
409 source "fs/Kconfig.binfmt"
411 endmenu
413 menu "Power management and ACPI"
415 source "kernel/power/Kconfig"
417 source "drivers/acpi/Kconfig"
419 if PM
421 source "arch/ia64/kernel/cpufreq/Kconfig"
423 endif
425 endmenu
427 if !IA64_HP_SIM
429 menu "Bus options (PCI, PCMCIA)"
431 config PCI
432 bool "PCI support"
433 help
434 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
435 here unless you are using a simulator without PCI support.
437 config PCI_DOMAINS
438 bool
439 default PCI
441 source "drivers/pci/Kconfig"
443 source "drivers/pci/hotplug/Kconfig"
445 source "drivers/pcmcia/Kconfig"
447 endmenu
449 endif
451 source "net/Kconfig"
453 source "drivers/Kconfig"
455 source "fs/Kconfig"
457 source "lib/Kconfig"
459 #
460 # Use the generic interrupt handling code in kernel/irq/:
461 #
462 config GENERIC_HARDIRQS
463 bool
464 default y
466 config GENERIC_IRQ_PROBE
467 bool
468 default y
470 config GENERIC_PENDING_IRQ
471 bool
472 depends on GENERIC_HARDIRQS && SMP
473 default y
475 source "arch/ia64/hp/sim/Kconfig"
477 menu "Instrumentation Support"
478 depends on EXPERIMENTAL
480 source "arch/ia64/oprofile/Kconfig"
482 config KPROBES
483 bool "Kprobes (EXPERIMENTAL)"
484 depends on EXPERIMENTAL && MODULES
485 help
486 Kprobes allows you to trap at almost any kernel address and
487 execute a callback function. register_kprobe() establishes
488 a probepoint and specifies the callback. Kprobes is useful
489 for kernel debugging, non-intrusive instrumentation and testing.
490 If in doubt, say "N".
491 endmenu
493 source "arch/ia64/Kconfig.debug"
495 source "security/Kconfig"
497 source "crypto/Kconfig"
499 #
500 # override default values of drivers/xen/Kconfig
501 #
502 if XEN
503 config XEN_UTIL
504 default n if XEN_IA64_DOM0_VP
506 config HAVE_ARCH_ALLOC_SKB
507 default n if !XEN_IA64_DOM0_VP
509 config HAVE_ARCH_DEV_ALLOC_SKB
510 default n if !XEN_IA64_DOM0_VP
512 config XEN_BALLOON
513 default n if !XEN_IA64_DOM0_VP
515 config XEN_SKBUFF
516 default n if !XEN_IA64_DOM0_VP
518 config XEN_NETDEV_BACKEND
519 default n if !XEN_IA64_DOM0_VP
521 config XEN_NETDEV_FRONTEND
522 default n if !XEN_IA64_DOM0_VP
524 config XEN_DEVMEM
525 default n
527 config XEN_REBOOT
528 default y
530 config XEN_SMPBOOT
531 default n
532 endif
534 source "drivers/xen/Kconfig"