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