ia64/xen-unstable

view linux-2.6-xen-sparse/arch/ia64/Kconfig @ 10692:306d7857928c

[IA64] Save & restore.

xc_ia64_linux_save.c and xc_ia64_linux_restore.c added.
vcpu context has more registers and states (eg: tr registers).
Per cpu irqs are deallocated when cpu is switched off.
#if/#endif added in reboot.c for ia64.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Tue Jul 11 12:51:18 2006 -0600 (2006-07-11)
parents e74c47d073ee
children 8d501f39286c
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 SCHED_NO_NO_OMIT_FRAME_POINTER
75 bool
76 default y
78 config IA64_UNCACHED_ALLOCATOR
79 bool
80 select GENERIC_ALLOCATOR
82 config DMA_IS_DMA32
83 bool
84 default y
86 choice
87 prompt "System type"
88 default IA64_GENERIC
90 config IA64_GENERIC
91 bool "generic"
92 select ACPI
93 select NUMA
94 select ACPI_NUMA
95 help
96 This selects the system type of your hardware. A "generic" kernel
97 will run on any supported IA-64 system. However, if you configure
98 a kernel for your specific system, it will be faster and smaller.
100 generic For any supported IA-64 system
101 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
102 HP-zx1/sx1000 For HP systems
103 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
104 SGI-SN2 For SGI Altix systems
105 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
107 If you don't know what to do, choose "generic".
109 config IA64_DIG
110 bool "DIG-compliant"
112 config IA64_HP_ZX1
113 bool "HP-zx1/sx1000"
114 help
115 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
116 support for the HP I/O MMU.
118 config IA64_HP_ZX1_SWIOTLB
119 bool "HP-zx1/sx1000 with software I/O TLB"
120 help
121 Build a kernel that runs on HP zx1 and sx1000 systems even when they
122 have broken PCI devices which cannot DMA to full 32 bits. Apart
123 from support for the HP I/O MMU, this includes support for the software
124 I/O TLB, which allows supporting the broken devices at the expense of
125 wasting some kernel memory (about 2MB by default).
127 config IA64_SGI_SN2
128 bool "SGI-SN2"
129 help
130 Selecting this option will optimize the kernel for use on sn2 based
131 systems, but the resulting kernel binary will not run on other
132 types of ia64 systems. If you have an SGI Altix system, it's safe
133 to select this option. If in doubt, select ia64 generic support
134 instead.
136 config IA64_HP_SIM
137 bool "Ski-simulator"
139 endchoice
141 choice
142 prompt "Processor type"
143 default ITANIUM
145 config ITANIUM
146 bool "Itanium"
147 help
148 Select your IA-64 processor type. The default is Itanium.
149 This choice is safe for all IA-64 systems, but may not perform
150 optimally on systems with, say, Itanium 2 or newer processors.
152 config MCKINLEY
153 bool "Itanium 2"
154 help
155 Select this to configure for an Itanium 2 (McKinley) processor.
157 endchoice
159 choice
160 prompt "Kernel page size"
161 default IA64_PAGE_SIZE_16KB
163 config IA64_PAGE_SIZE_4KB
164 bool "4KB"
165 help
166 This lets you select the page size of the kernel. For best IA-64
167 performance, a page size of 8KB or 16KB is recommended. For best
168 IA-32 compatibility, a page size of 4KB should be selected (the vast
169 majority of IA-32 binaries work perfectly fine with a larger page
170 size). For Itanium 2 or newer systems, a page size of 64KB can also
171 be selected.
173 4KB For best IA-32 compatibility
174 8KB For best IA-64 performance
175 16KB For best IA-64 performance
176 64KB Requires Itanium 2 or newer processor.
178 If you don't know what to do, choose 16KB.
180 config IA64_PAGE_SIZE_8KB
181 bool "8KB"
183 config IA64_PAGE_SIZE_16KB
184 bool "16KB"
186 config IA64_PAGE_SIZE_64KB
187 depends on !ITANIUM
188 bool "64KB"
190 endchoice
192 choice
193 prompt "Page Table Levels"
194 default PGTABLE_3
196 config PGTABLE_3
197 bool "3 Levels"
199 config PGTABLE_4
200 depends on !IA64_PAGE_SIZE_64KB
201 bool "4 Levels"
203 endchoice
205 source kernel/Kconfig.hz
207 config IA64_BRL_EMU
208 bool
209 depends on ITANIUM
210 default y
212 # align cache-sensitive data to 128 bytes
213 config IA64_L1_CACHE_SHIFT
214 int
215 default "7" if MCKINLEY
216 default "6" if ITANIUM
218 config IA64_CYCLONE
219 bool "Cyclone (EXA) Time Source support"
220 help
221 Say Y here to enable support for IBM EXA Cyclone time source.
222 If you're unsure, answer N.
224 config IOSAPIC
225 bool
226 depends on !IA64_HP_SIM
227 default y
229 config IA64_SGI_SN_XP
230 tristate "Support communication between SGI SSIs"
231 depends on IA64_GENERIC || IA64_SGI_SN2
232 select IA64_UNCACHED_ALLOCATOR
233 help
234 An SGI machine can be divided into multiple Single System
235 Images which act independently of each other and have
236 hardware based memory protection from the others. Enabling
237 this feature will allow for direct communication between SSIs
238 based on a network adapter and DMA messaging.
240 config FORCE_MAX_ZONEORDER
241 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
242 range 11 17 if !HUGETLB_PAGE
243 default "17" if HUGETLB_PAGE
244 default "11"
246 config SMP
247 bool "Symmetric multi-processing support"
248 help
249 This enables support for systems with more than one CPU. If you have
250 a system with only one CPU, say N. If you have a system with more
251 than one CPU, say Y.
253 If you say N here, the kernel will run on single and multiprocessor
254 systems, but will use only one CPU of a multiprocessor system. If
255 you say Y here, the kernel will run on many, but not all,
256 single processor systems. On a single processor system, the kernel
257 will run faster if you say N here.
259 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
260 available at <http://www.tldp.org/docs.html#howto>.
262 If you don't know what to do here, say N.
264 config NR_CPUS
265 int "Maximum number of CPUs (2-1024)"
266 range 2 1024
267 depends on SMP
268 default "64"
269 help
270 You should set this to the number of CPUs in your system, but
271 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
272 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
273 than 64 will cause the use of a CPU mask array, causing a small
274 performance hit.
276 config HOTPLUG_CPU
277 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
278 depends on SMP && EXPERIMENTAL
279 select HOTPLUG
280 default n
281 ---help---
282 Say Y here to experiment with turning CPUs off and on. CPUs
283 can be controlled through /sys/devices/system/cpu/cpu#.
284 Say N if you want to disable CPU hotplug.
286 config SCHED_SMT
287 bool "SMT scheduler support"
288 depends on SMP
289 default off
290 help
291 Improves the CPU scheduler's decision making when dealing with
292 Intel IA64 chips with MultiThreading at a cost of slightly increased
293 overhead in some places. If unsure say N here.
295 config PREEMPT
296 bool "Preemptible Kernel"
297 help
298 This option reduces the latency of the kernel when reacting to
299 real-time or interactive events by allowing a low priority process to
300 be preempted even if it is in kernel mode executing a system call.
301 This allows applications to run more reliably even when the system is
302 under load.
304 Say Y here if you are building a kernel for a desktop, embedded
305 or real-time system. Say N if you are unsure.
307 source "mm/Kconfig"
309 config ARCH_SELECT_MEMORY_MODEL
310 def_bool y
312 config ARCH_DISCONTIGMEM_ENABLE
313 def_bool y
314 help
315 Say Y to support efficient handling of discontiguous physical memory,
316 for architectures which are either NUMA (Non-Uniform Memory Access)
317 or have huge holes in the physical address space for other reasons.
318 See <file:Documentation/vm/numa> for more.
320 config ARCH_FLATMEM_ENABLE
321 def_bool y
323 config ARCH_SPARSEMEM_ENABLE
324 def_bool y
325 depends on ARCH_DISCONTIGMEM_ENABLE
327 config ARCH_DISCONTIGMEM_DEFAULT
328 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
329 depends on ARCH_DISCONTIGMEM_ENABLE
331 config NUMA
332 bool "NUMA support"
333 depends on !IA64_HP_SIM && !FLATMEM
334 default y if IA64_SGI_SN2
335 help
336 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
337 Access). This option is for configuring high-end multiprocessor
338 server systems. If in doubt, say N.
340 # VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
341 # VIRTUAL_MEM_MAP has been retained for historical reasons.
342 config VIRTUAL_MEM_MAP
343 bool "Virtual mem map"
344 depends on !SPARSEMEM
345 default y if !IA64_HP_SIM
346 help
347 Say Y to compile the kernel with support for a virtual mem map.
348 This code also only takes effect if a memory hole of greater than
349 1 Gb is found during boot. You must turn this option on if you
350 require the DISCONTIGMEM option for your machine. If you are
351 unsure, say Y.
353 config HOLES_IN_ZONE
354 bool
355 default y if VIRTUAL_MEM_MAP
357 config HAVE_ARCH_EARLY_PFN_TO_NID
358 def_bool y
359 depends on NEED_MULTIPLE_NODES
361 config IA32_SUPPORT
362 bool "Support for Linux/x86 binaries"
363 help
364 IA-64 processors can execute IA-32 (X86) instructions. By
365 saying Y here, the kernel will include IA-32 system call
366 emulation support which makes it possible to transparently
367 run IA-32 Linux binaries on an IA-64 Linux system.
368 If in doubt, say Y.
370 config COMPAT
371 bool
372 depends on IA32_SUPPORT
373 default y
375 config IA64_MCA_RECOVERY
376 tristate "MCA recovery from errors other than TLB."
378 config PERFMON
379 bool "Performance monitor support"
380 help
381 Selects whether support for the IA-64 performance monitor hardware
382 is included in the kernel. This makes some kernel data-structures a
383 little bigger and slows down execution a bit, but it is generally
384 a good idea to turn this on. If you're unsure, say Y.
386 config IA64_PALINFO
387 tristate "/proc/pal support"
388 help
389 If you say Y here, you are able to get PAL (Processor Abstraction
390 Layer) information in /proc/pal. This contains useful information
391 about the processors in your systems, such as cache and TLB sizes
392 and the PAL firmware version in use.
394 To use this option, you have to ensure that the "/proc file system
395 support" (CONFIG_PROC_FS) is enabled, too.
397 config SGI_SN
398 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
400 source "drivers/firmware/Kconfig"
402 source "fs/Kconfig.binfmt"
404 endmenu
406 menu "Power management and ACPI"
408 source "kernel/power/Kconfig"
410 source "drivers/acpi/Kconfig"
412 if PM
414 source "arch/ia64/kernel/cpufreq/Kconfig"
416 endif
418 endmenu
420 if !IA64_HP_SIM
422 menu "Bus options (PCI, PCMCIA)"
424 config PCI
425 bool "PCI support"
426 help
427 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
428 here unless you are using a simulator without PCI support.
430 config PCI_DOMAINS
431 bool
432 default PCI
434 source "drivers/pci/Kconfig"
436 source "drivers/pci/hotplug/Kconfig"
438 source "drivers/pcmcia/Kconfig"
440 endmenu
442 endif
444 source "net/Kconfig"
446 source "drivers/Kconfig"
448 source "fs/Kconfig"
450 source "lib/Kconfig"
452 #
453 # Use the generic interrupt handling code in kernel/irq/:
454 #
455 config GENERIC_HARDIRQS
456 bool
457 default y
459 config GENERIC_IRQ_PROBE
460 bool
461 default y
463 config GENERIC_PENDING_IRQ
464 bool
465 depends on GENERIC_HARDIRQS && SMP
466 default y
468 source "arch/ia64/hp/sim/Kconfig"
470 menu "Instrumentation Support"
471 depends on EXPERIMENTAL
473 source "arch/ia64/oprofile/Kconfig"
475 config KPROBES
476 bool "Kprobes (EXPERIMENTAL)"
477 depends on EXPERIMENTAL && MODULES
478 help
479 Kprobes allows you to trap at almost any kernel address and
480 execute a callback function. register_kprobe() establishes
481 a probepoint and specifies the callback. Kprobes is useful
482 for kernel debugging, non-intrusive instrumentation and testing.
483 If in doubt, say "N".
484 endmenu
486 source "arch/ia64/Kconfig.debug"
488 source "security/Kconfig"
490 source "crypto/Kconfig"
492 #
493 # override default values of drivers/xen/Kconfig
494 #
495 if XEN
496 config XEN_UTIL
497 default n if XEN_IA64_DOM0_VP
499 config HAVE_ARCH_ALLOC_SKB
500 default n if !XEN_IA64_DOM0_VP
502 config HAVE_ARCH_DEV_ALLOC_SKB
503 default n if !XEN_IA64_DOM0_VP
505 config XEN_BALLOON
506 default n if !XEN_IA64_DOM0_VP
508 config XEN_SKBUFF
509 default n if !XEN_IA64_DOM0_VP
511 config XEN_NETDEV_BACKEND
512 default n if !XEN_IA64_DOM0_VP
514 config XEN_NETDEV_FRONTEND
515 default n if !XEN_IA64_DOM0_VP
517 config XEN_DEVMEM
518 default n
520 config XEN_REBOOT
521 default y
523 config XEN_SMPBOOT
524 default n
525 endif
527 source "drivers/xen/Kconfig"