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