ia64/xen: Remove Xen support for ia64
[deliverable/linux.git] / arch / ia64 / Kconfig
CommitLineData
1da177e4
LT
1source "init/Kconfig"
2
dc52ddc0
MH
3source "kernel/Kconfig.freezer"
4
1da177e4
LT
5menu "Processor type and features"
6
7config IA64
8 bool
468bcf08 9 select ARCH_MIGHT_HAVE_PC_PARPORT
06f87adf
LB
10 select PCI if (!IA64_HP_SIM)
11 select ACPI if (!IA64_HP_SIM)
8140a90e 12 select PM if (!IA64_HP_SIM)
0773a6cf 13 select HAVE_UNSTABLE_SCHED_CLOCK
ec7748b5 14 select HAVE_IDE
42d4b839 15 select HAVE_OPROFILE
3f550096 16 select HAVE_KPROBES
9edddaa2 17 select HAVE_KRETPROBES
a14a07b8
SL
18 select HAVE_FTRACE_MCOUNT_RECORD
19 select HAVE_DYNAMIC_FTRACE if (!ITANIUM)
d3e75ff1 20 select HAVE_FUNCTION_TRACER
74bc7cee 21 select HAVE_DMA_ATTRS
b693919c 22 select HAVE_KVM
9690ad03 23 select HAVE_ARCH_TRACEHOOK
99162195 24 select HAVE_DMA_API_DEBUG
98e4ae8a
TH
25 select HAVE_MEMBLOCK
26 select HAVE_MEMBLOCK_NODE_MAP
b952741c 27 select HAVE_VIRT_CPU_ACCOUNTING
4febd95a 28 select VIRT_TO_BUS
98e4ae8a 29 select ARCH_DISCARD_MEMBLOCK
c5e66129
TG
30 select GENERIC_IRQ_PROBE
31 select GENERIC_PENDING_IRQ if SMP
e3d78122 32 select GENERIC_IRQ_SHOW
badc1446 33 select ARCH_WANT_OPTIONAL_GPIOLIB
df013ffb 34 select ARCH_HAVE_NMI_SAFE_CMPXCHG
4673ca8e 35 select GENERIC_IOMAP
13583bf1 36 select GENERIC_SMP_IDLE_THREAD
a6359d1e 37 select ARCH_INIT_TASK
f5e10287
TG
38 select ARCH_TASK_STRUCT_ALLOCATOR
39 select ARCH_THREAD_INFO_ALLOCATOR
21b19710 40 select ARCH_CLOCKSOURCE_DATA
70639421 41 select GENERIC_TIME_VSYSCALL_OLD
b6fca725 42 select SYSCTL_ARCH_UNALIGN_NO_WARN
786d35d4
DH
43 select HAVE_MOD_ARCH_SPECIFIC
44 select MODULES_USE_ELF_RELA
71c7356f 45 select ARCH_USE_CMPXCHG_LOCKREF
1da177e4
LT
46 default y
47 help
48 The Itanium Processor Family is Intel's 64-bit successor to
49 the 32-bit X86 line. The IA-64 Linux project has a home
50 page at <http://www.linuxia64.org/> and a mailing list at
51 <linux-ia64@vger.kernel.org>.
52
53config 64BIT
54 bool
9f271d57 55 select ATA_NONSTANDARD if ATA
1da177e4
LT
56 default y
57
66701b14 58config ZONE_DMA
09ae1f58
CL
59 def_bool y
60 depends on !IA64_SGI_SN2
66701b14 61
2bd62a40
CL
62config QUICKLIST
63 bool
64 default y
65
1da177e4
LT
66config MMU
67 bool
68 default y
69
e33621a2
FT
70config ARCH_DMA_ADDR_T_64BIT
71 def_bool y
72
66ed5ef8
FT
73config NEED_DMA_MAP_STATE
74 def_bool y
75
18e98307
FT
76config NEED_SG_DMA_LENGTH
77 def_bool y
78
6c654b5f
JL
79config SWIOTLB
80 bool
6c654b5f 81
85718fae
TL
82config STACKTRACE_SUPPORT
83 def_bool y
84
95c354fe 85config GENERIC_LOCKBREAK
2c86963b 86 def_bool n
95c354fe 87
1da177e4
LT
88config RWSEM_XCHGADD_ALGORITHM
89 bool
90 default y
91
d9c23400
MG
92config HUGETLB_PAGE_SIZE_VARIABLE
93 bool
94 depends on HUGETLB_PAGE
95 default y
96
1da177e4
LT
97config GENERIC_CALIBRATE_DELAY
98 bool
99 default y
100
988c388a 101config HAVE_SETUP_PER_CPU_AREA
b32ef636 102 def_bool y
103
3ed3bce8
MD
104config DMI
105 bool
106 default y
107
1da177e4
LT
108config EFI
109 bool
a614e192 110 select UCS2_STRING
1da177e4
LT
111 default y
112
ae1e9130 113config SCHED_OMIT_FRAME_POINTER
7d12e522
AB
114 bool
115 default y
116
f14f75b8
JS
117config IA64_UNCACHED_ALLOCATOR
118 bool
119 select GENERIC_ALLOCATOR
120
46cf98cd
VP
121config ARCH_USES_PG_UNCACHED
122 def_bool y
123 depends on IA64_UNCACHED_ALLOCATOR
124
e65e1fc2
AV
125config AUDIT_ARCH
126 bool
127 default y
128
ba9cc328
IY
129menuconfig PARAVIRT_GUEST
130 bool "Paravirtualized guest support"
0c406643 131 depends on BROKEN
ba9cc328
IY
132 help
133 Say Y here to get to see options related to running Linux under
134 various hypervisors. This option alone does not add any kernel code.
135
136 If you say N, all options in this submenu will be skipped and disabled.
137
138if PARAVIRT_GUEST
139
140config PARAVIRT
141 bool "Enable paravirtualization code"
142 depends on PARAVIRT_GUEST
143 default y
ba9cc328
IY
144 help
145 This changes the kernel so it can modify itself when it is run
146 under a hypervisor, potentially improving performance significantly
147 over full virtualization. However, when run without a hypervisor
148 the kernel is theoretically slower and slightly larger.
149
ba9cc328
IY
150endif
151
1da177e4
LT
152choice
153 prompt "System type"
154 default IA64_GENERIC
155
156config IA64_GENERIC
157 bool "generic"
158 select NUMA
159 select ACPI_NUMA
d1598e05 160 select SWIOTLB
62fdd767 161 select PCI_MSI
1da177e4
LT
162 help
163 This selects the system type of your hardware. A "generic" kernel
164 will run on any supported IA-64 system. However, if you configure
165 a kernel for your specific system, it will be faster and smaller.
166
167 generic For any supported IA-64 system
168 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
62fdd767 169 DIG+Intel+IOMMU For DIG systems with Intel IOMMU
1da177e4
LT
170 HP-zx1/sx1000 For HP systems
171 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
172 SGI-SN2 For SGI Altix systems
22246614 173 SGI-UV For SGI UV systems
1da177e4
LT
174 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
175
176 If you don't know what to do, choose "generic".
177
178config IA64_DIG
179 bool "DIG-compliant"
d1598e05 180 select SWIOTLB
1da177e4 181
62fdd767
FY
182config IA64_DIG_VTD
183 bool "DIG+Intel+IOMMU"
96edc754 184 select INTEL_IOMMU
62fdd767
FY
185 select PCI_MSI
186
1da177e4
LT
187config IA64_HP_ZX1
188 bool "HP-zx1/sx1000"
189 help
190 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
191 support for the HP I/O MMU.
192
193config IA64_HP_ZX1_SWIOTLB
194 bool "HP-zx1/sx1000 with software I/O TLB"
d1598e05 195 select SWIOTLB
1da177e4
LT
196 help
197 Build a kernel that runs on HP zx1 and sx1000 systems even when they
198 have broken PCI devices which cannot DMA to full 32 bits. Apart
199 from support for the HP I/O MMU, this includes support for the software
200 I/O TLB, which allows supporting the broken devices at the expense of
201 wasting some kernel memory (about 2MB by default).
202
203config IA64_SGI_SN2
204 bool "SGI-SN2"
bd3be240
JS
205 select NUMA
206 select ACPI_NUMA
1da177e4
LT
207 help
208 Selecting this option will optimize the kernel for use on sn2 based
209 systems, but the resulting kernel binary will not run on other
210 types of ia64 systems. If you have an SGI Altix system, it's safe
211 to select this option. If in doubt, select ia64 generic support
212 instead.
213
3351ab9b
JS
214config IA64_SGI_UV
215 bool "SGI-UV"
22246614
JS
216 select NUMA
217 select ACPI_NUMA
218 select SWIOTLB
219 help
220 Selecting this option will optimize the kernel for use on UV based
221 systems, but the resulting kernel binary will not run on other
222 types of ia64 systems. If you have an SGI UV system, it's safe
223 to select this option. If in doubt, select ia64 generic support
224 instead.
225
1da177e4
LT
226config IA64_HP_SIM
227 bool "Ski-simulator"
d1598e05 228 select SWIOTLB
1da177e4
LT
229
230endchoice
231
232choice
233 prompt "Processor type"
234 default ITANIUM
235
236config ITANIUM
237 bool "Itanium"
238 help
239 Select your IA-64 processor type. The default is Itanium.
240 This choice is safe for all IA-64 systems, but may not perform
241 optimally on systems with, say, Itanium 2 or newer processors.
242
243config MCKINLEY
244 bool "Itanium 2"
245 help
246 Select this to configure for an Itanium 2 (McKinley) processor.
247
248endchoice
249
250choice
251 prompt "Kernel page size"
252 default IA64_PAGE_SIZE_16KB
253
254config IA64_PAGE_SIZE_4KB
255 bool "4KB"
256 help
257 This lets you select the page size of the kernel. For best IA-64
258 performance, a page size of 8KB or 16KB is recommended. For best
259 IA-32 compatibility, a page size of 4KB should be selected (the vast
260 majority of IA-32 binaries work perfectly fine with a larger page
261 size). For Itanium 2 or newer systems, a page size of 64KB can also
262 be selected.
263
264 4KB For best IA-32 compatibility
265 8KB For best IA-64 performance
266 16KB For best IA-64 performance
267 64KB Requires Itanium 2 or newer processor.
268
269 If you don't know what to do, choose 16KB.
270
271config IA64_PAGE_SIZE_8KB
272 bool "8KB"
273
274config IA64_PAGE_SIZE_16KB
275 bool "16KB"
276
277config IA64_PAGE_SIZE_64KB
278 depends on !ITANIUM
279 bool "64KB"
280
281endchoice
282
837cd0bd
RH
283choice
284 prompt "Page Table Levels"
285 default PGTABLE_3
286
287config PGTABLE_3
288 bool "3 Levels"
289
290config PGTABLE_4
291 depends on !IA64_PAGE_SIZE_64KB
292 bool "4 Levels"
293
294endchoice
295
10d0aa3c
TL
296if IA64_HP_SIM
297config HZ
298 default 32
299endif
300
301if !IA64_HP_SIM
b5d23e5b 302source kernel/Kconfig.hz
10d0aa3c 303endif
b5d23e5b 304
1da177e4
LT
305config IA64_BRL_EMU
306 bool
307 depends on ITANIUM
308 default y
309
310# align cache-sensitive data to 128 bytes
311config IA64_L1_CACHE_SHIFT
312 int
313 default "7" if MCKINLEY
314 default "6" if ITANIUM
315
1da177e4
LT
316config IA64_CYCLONE
317 bool "Cyclone (EXA) Time Source support"
318 help
319 Say Y here to enable support for IBM EXA Cyclone time source.
320 If you're unsure, answer N.
321
322config IOSAPIC
323 bool
324 depends on !IA64_HP_SIM
325 default y
326
1da177e4 327config FORCE_MAX_ZONEORDER
da9577c5
BP
328 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
329 range 11 17 if !HUGETLB_PAGE
330 default "17" if HUGETLB_PAGE
331 default "11"
1da177e4
LT
332
333config SMP
334 bool "Symmetric multi-processing support"
335 help
336 This enables support for systems with more than one CPU. If you have
337 a system with only one CPU, say N. If you have a system with more
338 than one CPU, say Y.
339
340 If you say N here, the kernel will run on single and multiprocessor
341 systems, but will use only one CPU of a multiprocessor system. If
342 you say Y here, the kernel will run on many, but not all,
343 single processor systems. On a single processor system, the kernel
344 will run faster if you say N here.
345
03502faa
AB
346 See also the SMP-HOWTO available at
347 <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
348
349 If you don't know what to do here, say N.
350
351config NR_CPUS
d1339df1
RH
352 int "Maximum number of CPUs (2-4096)"
353 range 2 4096
1da177e4 354 depends on SMP
d1339df1 355 default "4096"
1da177e4
LT
356 help
357 You should set this to the number of CPUs in your system, but
358 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
359 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
360 than 64 will cause the use of a CPU mask array, causing a small
361 performance hit.
362
363config HOTPLUG_CPU
48a9240c
KC
364 bool "Support for hot-pluggable CPUs"
365 depends on SMP
1da177e4
LT
366 default n
367 ---help---
368 Say Y here to experiment with turning CPUs off and on. CPUs
369 can be controlled through /sys/devices/system/cpu/cpu#.
370 Say N if you want to disable CPU hotplug.
371
cc57637b
YG
372config ARCH_ENABLE_MEMORY_HOTPLUG
373 def_bool y
374
0c0e6195
KH
375config ARCH_ENABLE_MEMORY_HOTREMOVE
376 def_bool y
377
7a9bdd88
SS
378config SCHED_SMT
379 bool "SMT scheduler support"
380 depends on SMP
7a9bdd88
SS
381 help
382 Improves the CPU scheduler's decision making when dealing with
383 Intel IA64 chips with MultiThreading at a cost of slightly increased
384 overhead in some places. If unsure say N here.
385
ff741906
AR
386config PERMIT_BSP_REMOVE
387 bool "Support removal of Bootstrap Processor"
388 depends on HOTPLUG_CPU
389 default n
390 ---help---
391 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
392 support.
393
394config FORCE_CPEI_RETARGET
25985edc 395 bool "Force assumption that CPEI can be re-targeted"
ff741906
AR
396 depends on PERMIT_BSP_REMOVE
397 default n
398 ---help---
25985edc 399 Say Y if you need to force the assumption that CPEI can be re-targeted to
ff741906
AR
400 any cpu in the system. This hint is available via ACPI 3.0 specifications.
401 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
402 This option it useful to enable this feature on older BIOS's as well.
403 You can also enable this by using boot command line option force_cpei=1.
404
0b0517a4 405source "kernel/Kconfig.preempt"
1da177e4 406
3f22ab27
DH
407source "mm/Kconfig"
408
da9577c5
BP
409config ARCH_SELECT_MEMORY_MODEL
410 def_bool y
411
412config ARCH_DISCONTIGMEM_ENABLE
413 def_bool y
414 help
415 Say Y to support efficient handling of discontiguous physical memory,
416 for architectures which are either NUMA (Non-Uniform Memory Access)
417 or have huge holes in the physical address space for other reasons.
418 See <file:Documentation/vm/numa> for more.
419
420config ARCH_FLATMEM_ENABLE
421 def_bool y
422
423config ARCH_SPARSEMEM_ENABLE
424 def_bool y
425 depends on ARCH_DISCONTIGMEM_ENABLE
ef229c5a 426 select SPARSEMEM_VMEMMAP_ENABLE
da9577c5
BP
427
428config ARCH_DISCONTIGMEM_DEFAULT
429 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
430 depends on ARCH_DISCONTIGMEM_ENABLE
431
432config NUMA
433 bool "NUMA support"
434 depends on !IA64_HP_SIM && !FLATMEM
435 default y if IA64_SGI_SN2
6c33eb39 436 select ACPI_NUMA if ACPI
da9577c5
BP
437 help
438 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
439 Access). This option is for configuring high-end multiprocessor
440 server systems. If in doubt, say N.
441
c80d79d7
YG
442config NODES_SHIFT
443 int "Max num nodes shift(3-10)"
444 range 3 10
c57d68ca 445 default "10"
c80d79d7
YG
446 depends on NEED_MULTIPLE_NODES
447 help
448 This option specifies the maximum number of nodes in your SSI system.
449 MAX_NUMNODES will be 2^(This value).
450 If in doubt, use the default.
451
da9577c5
BP
452# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
453# VIRTUAL_MEM_MAP has been retained for historical reasons.
454config VIRTUAL_MEM_MAP
455 bool "Virtual mem map"
456 depends on !SPARSEMEM
457 default y if !IA64_HP_SIM
458 help
459 Say Y to compile the kernel with support for a virtual mem map.
460 This code also only takes effect if a memory hole of greater than
461 1 Gb is found during boot. You must turn this option on if you
462 require the DISCONTIGMEM option for your machine. If you are
463 unsure, say Y.
464
465config HOLES_IN_ZONE
466 bool
467 default y if VIRTUAL_MEM_MAP
468
469config HAVE_ARCH_EARLY_PFN_TO_NID
334f85b6 470 def_bool NUMA && SPARSEMEM
da9577c5 471
10ad400b
YG
472config HAVE_ARCH_NODEDATA_EXTENSION
473 def_bool y
474 depends on NUMA
475
3bccd996
LS
476config USE_PERCPU_NUMA_NODE_ID
477 def_bool y
478 depends on NUMA
479
fd1197f1 480config HAVE_MEMORYLESS_NODES
25106000 481 def_bool NUMA
fd1197f1 482
9492587c
KH
483config ARCH_PROC_KCORE_TEXT
484 def_bool y
485 depends on PROC_KCORE
486
1da177e4
LT
487config IA64_MCA_RECOVERY
488 tristate "MCA recovery from errors other than TLB."
489
490config PERFMON
491 bool "Performance monitor support"
492 help
493 Selects whether support for the IA-64 performance monitor hardware
494 is included in the kernel. This makes some kernel data-structures a
495 little bigger and slows down execution a bit, but it is generally
496 a good idea to turn this on. If you're unsure, say Y.
497
498config IA64_PALINFO
499 tristate "/proc/pal support"
500 help
501 If you say Y here, you are able to get PAL (Processor Abstraction
502 Layer) information in /proc/pal. This contains useful information
503 about the processors in your systems, such as cache and TLB sizes
504 and the PAL firmware version in use.
505
506 To use this option, you have to ensure that the "/proc file system
507 support" (CONFIG_PROC_FS) is enabled, too.
508
e9ef08bd
FY
509config IA64_MC_ERR_INJECT
510 tristate "MC error injection support"
511 help
01dd2fbf
ML
512 Adds support for MC error injection. If enabled, the kernel
513 will provide a sysfs interface for user applications to
514 call MC error injection PAL procedures to inject various errors.
e9ef08bd
FY
515 This is a useful tool for MCA testing.
516
517 If you're unsure, do not select this option.
518
466575f4
JS
519config SGI_SN
520 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
521
2ab561a1
DMT
522config IA64_ESI
523 bool "ESI (Extensible SAL Interface) support"
524 help
525 If you say Y here, support is built into the kernel to
526 make ESI calls. ESI calls are used to support vendor-specific
527 firmware extensions, such as the ability to inject memory-errors
528 for test-purposes. If you're unsure, say N.
529
28eda5b8
BH
530config IA64_HP_AML_NFW
531 bool "Support ACPI AML calls to native firmware"
532 help
533 This driver installs a global ACPI Operation Region handler for
534 region 0xA1. AML methods can use this OpRegion to call arbitrary
535 native firmware functions. The driver installs the OpRegion
536 handler if there is an HPQ5001 device or if the user supplies
537 the "force" module parameter, e.g., with the "aml_nfw.force"
538 kernel command line option.
539
c1311af1
BC
540source "drivers/sn/Kconfig"
541
a7956113 542config KEXEC
48a9240c
KC
543 bool "kexec system call"
544 depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
a7956113
ZN
545 help
546 kexec is a system call that implements the ability to shutdown your
547 current kernel, and to start another kernel. It is like a reboot
3dde6ad8 548 but it is independent of the system firmware. And like a reboot
a7956113
ZN
549 you can start any kernel with it, not just Linux.
550
01dd2fbf 551 The name comes from the similarity to the exec system call.
a7956113
ZN
552
553 It is an ongoing process to be certain the hardware in a machine
554 is properly shutdown, so do not be surprised if this code does not
bf220695
GU
555 initially work for you. As of this writing the exact hardware
556 interface is strongly in flux, so no good recommendation can be
557 made.
a7956113
ZN
558
559config CRASH_DUMP
fb86611f
BW
560 bool "kernel crash dumps"
561 depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
a7956113
ZN
562 help
563 Generate crash dump after being started by kexec.
564
1da177e4
LT
565source "drivers/firmware/Kconfig"
566
567source "fs/Kconfig.binfmt"
568
569endmenu
570
1547a012 571menu "Power management and ACPI options"
1da177e4 572
eb7b6b32 573source "kernel/power/Kconfig"
1da177e4
LT
574
575source "drivers/acpi/Kconfig"
576
4db8699b 577if PM
ab423e43
VK
578menu "CPU Frequency scaling"
579source "drivers/cpufreq/Kconfig"
580endmenu
4db8699b
VP
581endif
582
1da177e4
LT
583endmenu
584
585if !IA64_HP_SIM
586
587menu "Bus options (PCI, PCMCIA)"
588
589config PCI
590 bool "PCI support"
591 help
85f265d8
CH
592 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
593 here unless you are using a simulator without PCI support.
1da177e4
LT
594
595config PCI_DOMAINS
36e23590
MW
596 def_bool PCI
597
598config PCI_SYSCALL
599 def_bool PCI
1da177e4 600
b7bb575c
KK
601source "drivers/pci/pcie/Kconfig"
602
1da177e4
LT
603source "drivers/pci/Kconfig"
604
605source "drivers/pci/hotplug/Kconfig"
606
607source "drivers/pcmcia/Kconfig"
608
609endmenu
610
611endif
612
d5950b43
SR
613source "net/Kconfig"
614
1da177e4
LT
615source "drivers/Kconfig"
616
1547a012
BH
617source "arch/ia64/hp/sim/Kconfig"
618
1a4b0fc5
JS
619config MSPEC
620 tristate "Memory special operations driver"
621 depends on IA64
622 select IA64_UNCACHED_ALLOCATOR
623 help
624 If you have an ia64 and you want to enable memory special
625 operations support (formerly known as fetchop), say Y here,
626 otherwise say N.
627
1da177e4
LT
628source "fs/Kconfig"
629
1547a012
BH
630source "arch/ia64/Kconfig.debug"
631
632source "security/Kconfig"
633
634source "crypto/Kconfig"
635
b693919c
XZ
636source "arch/ia64/kvm/Kconfig"
637
1da177e4
LT
638source "lib/Kconfig"
639
b34eb53c 640config IOMMU_HELPER
a8522509 641 def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)
This page took 0.619053 seconds and 5 git commands to generate.