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