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