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