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