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