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