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