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