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