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