[PATCH] i386: export: memory more than 4G through /proc/iomem
[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
14 default y
15 help
16 The Itanium Processor Family is Intel's 64-bit successor to
17 the 32-bit X86 line. The IA-64 Linux project has a home
18 page at <http://www.linuxia64.org/> and a mailing list at
19 <linux-ia64@vger.kernel.org>.
20
21config 64BIT
22 bool
23 default y
24
25config MMU
26 bool
27 default y
28
6c654b5f
JL
29config SWIOTLB
30 bool
31 default y
32
1da177e4
LT
33config RWSEM_XCHGADD_ALGORITHM
34 bool
35 default y
36
37config GENERIC_CALIBRATE_DELAY
38 bool
39 default y
40
41config TIME_INTERPOLATION
42 bool
43 default y
44
45config EFI
46 bool
47 default y
48
49config GENERIC_IOMAP
50 bool
51 default y
52
7d12e522
AB
53config SCHED_NO_NO_OMIT_FRAME_POINTER
54 bool
55 default y
56
f14f75b8
JS
57config IA64_UNCACHED_ALLOCATOR
58 bool
59 select GENERIC_ALLOCATOR
60
ff9569bc 61config DMA_IS_DMA32
d1e3dfdc
AK
62 bool
63 default y
64
1da177e4
LT
65choice
66 prompt "System type"
67 default IA64_GENERIC
68
69config IA64_GENERIC
70 bool "generic"
eb7b6b32 71 select ACPI
1da177e4
LT
72 select NUMA
73 select ACPI_NUMA
1da177e4
LT
74 help
75 This selects the system type of your hardware. A "generic" kernel
76 will run on any supported IA-64 system. However, if you configure
77 a kernel for your specific system, it will be faster and smaller.
78
79 generic For any supported IA-64 system
80 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
81 HP-zx1/sx1000 For HP systems
82 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
83 SGI-SN2 For SGI Altix systems
84 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
85
86 If you don't know what to do, choose "generic".
87
88config IA64_DIG
89 bool "DIG-compliant"
90
91config IA64_HP_ZX1
92 bool "HP-zx1/sx1000"
93 help
94 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
95 support for the HP I/O MMU.
96
97config IA64_HP_ZX1_SWIOTLB
98 bool "HP-zx1/sx1000 with software I/O TLB"
99 help
100 Build a kernel that runs on HP zx1 and sx1000 systems even when they
101 have broken PCI devices which cannot DMA to full 32 bits. Apart
102 from support for the HP I/O MMU, this includes support for the software
103 I/O TLB, which allows supporting the broken devices at the expense of
104 wasting some kernel memory (about 2MB by default).
105
106config IA64_SGI_SN2
107 bool "SGI-SN2"
108 help
109 Selecting this option will optimize the kernel for use on sn2 based
110 systems, but the resulting kernel binary will not run on other
111 types of ia64 systems. If you have an SGI Altix system, it's safe
112 to select this option. If in doubt, select ia64 generic support
113 instead.
114
115config IA64_HP_SIM
116 bool "Ski-simulator"
117
118endchoice
119
120choice
121 prompt "Processor type"
122 default ITANIUM
123
124config ITANIUM
125 bool "Itanium"
126 help
127 Select your IA-64 processor type. The default is Itanium.
128 This choice is safe for all IA-64 systems, but may not perform
129 optimally on systems with, say, Itanium 2 or newer processors.
130
131config MCKINLEY
132 bool "Itanium 2"
133 help
134 Select this to configure for an Itanium 2 (McKinley) processor.
135
136endchoice
137
138choice
139 prompt "Kernel page size"
140 default IA64_PAGE_SIZE_16KB
141
142config IA64_PAGE_SIZE_4KB
143 bool "4KB"
144 help
145 This lets you select the page size of the kernel. For best IA-64
146 performance, a page size of 8KB or 16KB is recommended. For best
147 IA-32 compatibility, a page size of 4KB should be selected (the vast
148 majority of IA-32 binaries work perfectly fine with a larger page
149 size). For Itanium 2 or newer systems, a page size of 64KB can also
150 be selected.
151
152 4KB For best IA-32 compatibility
153 8KB For best IA-64 performance
154 16KB For best IA-64 performance
155 64KB Requires Itanium 2 or newer processor.
156
157 If you don't know what to do, choose 16KB.
158
159config IA64_PAGE_SIZE_8KB
160 bool "8KB"
161
162config IA64_PAGE_SIZE_16KB
163 bool "16KB"
164
165config IA64_PAGE_SIZE_64KB
166 depends on !ITANIUM
167 bool "64KB"
168
169endchoice
170
837cd0bd
RH
171choice
172 prompt "Page Table Levels"
173 default PGTABLE_3
174
175config PGTABLE_3
176 bool "3 Levels"
177
178config PGTABLE_4
179 depends on !IA64_PAGE_SIZE_64KB
180 bool "4 Levels"
181
182endchoice
183
b5d23e5b
CL
184source kernel/Kconfig.hz
185
1da177e4
LT
186config IA64_BRL_EMU
187 bool
188 depends on ITANIUM
189 default y
190
191# align cache-sensitive data to 128 bytes
192config IA64_L1_CACHE_SHIFT
193 int
194 default "7" if MCKINLEY
195 default "6" if ITANIUM
196
1da177e4
LT
197config IA64_CYCLONE
198 bool "Cyclone (EXA) Time Source support"
199 help
200 Say Y here to enable support for IBM EXA Cyclone time source.
201 If you're unsure, answer N.
202
203config IOSAPIC
204 bool
205 depends on !IA64_HP_SIM
206 default y
207
b0d82bd5
DN
208config IA64_SGI_SN_XP
209 tristate "Support communication between SGI SSIs"
f79b3488 210 depends on IA64_GENERIC || IA64_SGI_SN2
65ed0b33 211 select IA64_UNCACHED_ALLOCATOR
b0d82bd5
DN
212 help
213 An SGI machine can be divided into multiple Single System
214 Images which act independently of each other and have
215 hardware based memory protection from the others. Enabling
216 this feature will allow for direct communication between SSIs
217 based on a network adapter and DMA messaging.
218
1da177e4 219config FORCE_MAX_ZONEORDER
da9577c5
BP
220 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
221 range 11 17 if !HUGETLB_PAGE
222 default "17" if HUGETLB_PAGE
223 default "11"
1da177e4
LT
224
225config SMP
226 bool "Symmetric multi-processing support"
227 help
228 This enables support for systems with more than one CPU. If you have
229 a system with only one CPU, say N. If you have a system with more
230 than one CPU, say Y.
231
232 If you say N here, the kernel will run on single and multiprocessor
233 systems, but will use only one CPU of a multiprocessor system. If
234 you say Y here, the kernel will run on many, but not all,
235 single processor systems. On a single processor system, the kernel
236 will run faster if you say N here.
237
238 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
239 available at <http://www.tldp.org/docs.html#howto>.
240
241 If you don't know what to do here, say N.
242
243config NR_CPUS
54703d36
JS
244 int "Maximum number of CPUs (2-1024)"
245 range 2 1024
1da177e4
LT
246 depends on SMP
247 default "64"
248 help
249 You should set this to the number of CPUs in your system, but
250 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
251 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
252 than 64 will cause the use of a CPU mask array, causing a small
253 performance hit.
254
b354a838
JS
255config IA64_NR_NODES
256 int "Maximum number of NODEs (256-1024)" if (IA64_SGI_SN2 || IA64_GENERIC)
257 range 256 1024
258 depends on IA64_SGI_SN2 || IA64_GENERIC
259 default "256"
260 help
261 This option specifies the maximum number of nodes in your SSI system.
262 If in doubt, use the default.
263
1da177e4
LT
264config HOTPLUG_CPU
265 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
266 depends on SMP && EXPERIMENTAL
267 select HOTPLUG
268 default n
269 ---help---
270 Say Y here to experiment with turning CPUs off and on. CPUs
271 can be controlled through /sys/devices/system/cpu/cpu#.
272 Say N if you want to disable CPU hotplug.
273
7a9bdd88
SS
274config SCHED_SMT
275 bool "SMT scheduler support"
276 depends on SMP
277 default off
278 help
279 Improves the CPU scheduler's decision making when dealing with
280 Intel IA64 chips with MultiThreading at a cost of slightly increased
281 overhead in some places. If unsure say N here.
282
ff741906
AR
283config PERMIT_BSP_REMOVE
284 bool "Support removal of Bootstrap Processor"
285 depends on HOTPLUG_CPU
286 default n
287 ---help---
288 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
289 support.
290
291config FORCE_CPEI_RETARGET
292 bool "Force assumption that CPEI can be re-targetted"
293 depends on PERMIT_BSP_REMOVE
294 default n
295 ---help---
296 Say Y if you need to force the assumption that CPEI can be re-targetted to
297 any cpu in the system. This hint is available via ACPI 3.0 specifications.
298 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
299 This option it useful to enable this feature on older BIOS's as well.
300 You can also enable this by using boot command line option force_cpei=1.
301
1da177e4
LT
302config PREEMPT
303 bool "Preemptible Kernel"
304 help
305 This option reduces the latency of the kernel when reacting to
306 real-time or interactive events by allowing a low priority process to
307 be preempted even if it is in kernel mode executing a system call.
308 This allows applications to run more reliably even when the system is
309 under load.
310
311 Say Y here if you are building a kernel for a desktop, embedded
312 or real-time system. Say N if you are unsure.
313
3f22ab27
DH
314source "mm/Kconfig"
315
da9577c5
BP
316config ARCH_SELECT_MEMORY_MODEL
317 def_bool y
318
319config ARCH_DISCONTIGMEM_ENABLE
320 def_bool y
321 help
322 Say Y to support efficient handling of discontiguous physical memory,
323 for architectures which are either NUMA (Non-Uniform Memory Access)
324 or have huge holes in the physical address space for other reasons.
325 See <file:Documentation/vm/numa> for more.
326
327config ARCH_FLATMEM_ENABLE
328 def_bool y
329
330config ARCH_SPARSEMEM_ENABLE
331 def_bool y
332 depends on ARCH_DISCONTIGMEM_ENABLE
333
334config ARCH_DISCONTIGMEM_DEFAULT
335 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
336 depends on ARCH_DISCONTIGMEM_ENABLE
337
338config NUMA
339 bool "NUMA support"
340 depends on !IA64_HP_SIM && !FLATMEM
341 default y if IA64_SGI_SN2
342 help
343 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
344 Access). This option is for configuring high-end multiprocessor
345 server systems. If in doubt, say N.
346
347# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
348# VIRTUAL_MEM_MAP has been retained for historical reasons.
349config VIRTUAL_MEM_MAP
350 bool "Virtual mem map"
351 depends on !SPARSEMEM
352 default y if !IA64_HP_SIM
353 help
354 Say Y to compile the kernel with support for a virtual mem map.
355 This code also only takes effect if a memory hole of greater than
356 1 Gb is found during boot. You must turn this option on if you
357 require the DISCONTIGMEM option for your machine. If you are
358 unsure, say Y.
359
360config HOLES_IN_ZONE
361 bool
362 default y if VIRTUAL_MEM_MAP
363
364config HAVE_ARCH_EARLY_PFN_TO_NID
365 def_bool y
366 depends on NEED_MULTIPLE_NODES
367
1da177e4
LT
368config IA32_SUPPORT
369 bool "Support for Linux/x86 binaries"
370 help
371 IA-64 processors can execute IA-32 (X86) instructions. By
372 saying Y here, the kernel will include IA-32 system call
373 emulation support which makes it possible to transparently
374 run IA-32 Linux binaries on an IA-64 Linux system.
375 If in doubt, say Y.
376
377config COMPAT
378 bool
379 depends on IA32_SUPPORT
380 default y
381
382config IA64_MCA_RECOVERY
383 tristate "MCA recovery from errors other than TLB."
384
385config PERFMON
386 bool "Performance monitor support"
387 help
388 Selects whether support for the IA-64 performance monitor hardware
389 is included in the kernel. This makes some kernel data-structures a
390 little bigger and slows down execution a bit, but it is generally
391 a good idea to turn this on. If you're unsure, say Y.
392
393config IA64_PALINFO
394 tristate "/proc/pal support"
395 help
396 If you say Y here, you are able to get PAL (Processor Abstraction
397 Layer) information in /proc/pal. This contains useful information
398 about the processors in your systems, such as cache and TLB sizes
399 and the PAL firmware version in use.
400
401 To use this option, you have to ensure that the "/proc file system
402 support" (CONFIG_PROC_FS) is enabled, too.
403
466575f4
JS
404config SGI_SN
405 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
406
1da177e4
LT
407source "drivers/firmware/Kconfig"
408
409source "fs/Kconfig.binfmt"
410
411endmenu
412
413menu "Power management and ACPI"
414
eb7b6b32 415source "kernel/power/Kconfig"
1da177e4
LT
416
417source "drivers/acpi/Kconfig"
418
4db8699b
VP
419if PM
420
421source "arch/ia64/kernel/cpufreq/Kconfig"
422
423endif
424
1da177e4
LT
425endmenu
426
427if !IA64_HP_SIM
428
429menu "Bus options (PCI, PCMCIA)"
430
431config PCI
432 bool "PCI support"
433 help
85f265d8
CH
434 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
435 here unless you are using a simulator without PCI support.
1da177e4
LT
436
437config PCI_DOMAINS
438 bool
439 default PCI
440
441source "drivers/pci/Kconfig"
442
443source "drivers/pci/hotplug/Kconfig"
444
445source "drivers/pcmcia/Kconfig"
446
447endmenu
448
449endif
450
d5950b43
SR
451source "net/Kconfig"
452
1da177e4
LT
453source "drivers/Kconfig"
454
455source "fs/Kconfig"
456
457source "lib/Kconfig"
458
459#
460# Use the generic interrupt handling code in kernel/irq/:
461#
462config GENERIC_HARDIRQS
463 bool
464 default y
465
466config GENERIC_IRQ_PROBE
467 bool
468 default y
469
54d5d424
AR
470config GENERIC_PENDING_IRQ
471 bool
472 depends on GENERIC_HARDIRQS && SMP
473 default y
474
1da177e4
LT
475source "arch/ia64/hp/sim/Kconfig"
476
cd6b0762
PP
477menu "Instrumentation Support"
478 depends on EXPERIMENTAL
479
1da177e4
LT
480source "arch/ia64/oprofile/Kconfig"
481
cd6b0762
PP
482config KPROBES
483 bool "Kprobes (EXPERIMENTAL)"
add2b6fd 484 depends on EXPERIMENTAL && MODULES
cd6b0762
PP
485 help
486 Kprobes allows you to trap at almost any kernel address and
487 execute a callback function. register_kprobe() establishes
488 a probepoint and specifies the callback. Kprobes is useful
489 for kernel debugging, non-intrusive instrumentation and testing.
490 If in doubt, say "N".
491endmenu
492
1da177e4
LT
493source "arch/ia64/Kconfig.debug"
494
495source "security/Kconfig"
496
497source "crypto/Kconfig"