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