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