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