• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1source "init/Kconfig"
2
3source "kernel/Kconfig.freezer"
4
5menu "Processor type and features"
6
7config 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_EXIT_THREAD
17	select HAVE_IDE
18	select HAVE_OPROFILE
19	select HAVE_KPROBES
20	select HAVE_KRETPROBES
21	select HAVE_FTRACE_MCOUNT_RECORD
22	select HAVE_DYNAMIC_FTRACE if (!ITANIUM)
23	select HAVE_FUNCTION_TRACER
24	select HAVE_DMA_ATTRS
25	select HAVE_KVM
26	select TTY
27	select HAVE_ARCH_TRACEHOOK
28	select HAVE_DMA_API_DEBUG
29	select HAVE_MEMBLOCK
30	select HAVE_MEMBLOCK_NODE_MAP
31	select HAVE_VIRT_CPU_ACCOUNTING
32	select ARCH_HAS_SG_CHAIN
33	select VIRT_TO_BUS
34	select ARCH_DISCARD_MEMBLOCK
35	select GENERIC_IRQ_PROBE
36	select GENERIC_PENDING_IRQ if SMP
37	select GENERIC_IRQ_SHOW
38	select GENERIC_IRQ_LEGACY
39	select ARCH_WANT_OPTIONAL_GPIOLIB
40	select ARCH_HAVE_NMI_SAFE_CMPXCHG
41	select GENERIC_IOMAP
42	select GENERIC_SMP_IDLE_THREAD
43	select ARCH_INIT_TASK
44	select ARCH_TASK_STRUCT_ALLOCATOR
45	select ARCH_THREAD_INFO_ALLOCATOR
46	select ARCH_CLOCKSOURCE_DATA
47	select GENERIC_TIME_VSYSCALL_OLD
48	select SYSCTL_ARCH_UNALIGN_NO_WARN
49	select HAVE_MOD_ARCH_SPECIFIC
50	select MODULES_USE_ELF_RELA
51	select ARCH_USE_CMPXCHG_LOCKREF
52	select HAVE_ARCH_AUDITSYSCALL
53	default y
54	help
55	  The Itanium Processor Family is Intel's 64-bit successor to
56	  the 32-bit X86 line.  The IA-64 Linux project has a home
57	  page at <http://www.linuxia64.org/> and a mailing list at
58	  <linux-ia64@vger.kernel.org>.
59
60config 64BIT
61	bool
62	select ATA_NONSTANDARD if ATA
63	default y
64
65config ZONE_DMA
66	def_bool y
67	depends on !IA64_SGI_SN2
68
69config QUICKLIST
70	bool
71	default y
72
73config MMU
74	bool
75	default y
76
77config ARCH_DMA_ADDR_T_64BIT
78	def_bool y
79
80config NEED_DMA_MAP_STATE
81	def_bool y
82
83config NEED_SG_DMA_LENGTH
84	def_bool y
85
86config SWIOTLB
87       bool
88
89config STACKTRACE_SUPPORT
90	def_bool y
91
92config GENERIC_LOCKBREAK
93	def_bool n
94
95config RWSEM_XCHGADD_ALGORITHM
96	bool
97	default y
98
99config HUGETLB_PAGE_SIZE_VARIABLE
100	bool
101	depends on HUGETLB_PAGE
102	default y
103
104config GENERIC_CALIBRATE_DELAY
105	bool
106	default y
107
108config HAVE_SETUP_PER_CPU_AREA
109	def_bool y
110
111config DMI
112	bool
113	default y
114	select DMI_SCAN_MACHINE_NON_EFI_FALLBACK
115
116config EFI
117	bool
118	select UCS2_STRING
119	default y
120
121config SCHED_OMIT_FRAME_POINTER
122	bool
123	default y
124
125config IA64_UNCACHED_ALLOCATOR
126	bool
127	select GENERIC_ALLOCATOR
128
129config ARCH_USES_PG_UNCACHED
130	def_bool y
131	depends on IA64_UNCACHED_ALLOCATOR
132
133config AUDIT_ARCH
134	bool
135	default y
136
137menuconfig PARAVIRT_GUEST
138	bool "Paravirtualized guest support"
139	depends on BROKEN
140	help
141	  Say Y here to get to see options related to running Linux under
142	  various hypervisors.  This option alone does not add any kernel code.
143
144	  If you say N, all options in this submenu will be skipped and disabled.
145
146if PARAVIRT_GUEST
147
148config PARAVIRT
149	bool "Enable paravirtualization code"
150	depends on PARAVIRT_GUEST
151	default y
152	help
153	  This changes the kernel so it can modify itself when it is run
154	  under a hypervisor, potentially improving performance significantly
155	  over full virtualization.  However, when run without a hypervisor
156	  the kernel is theoretically slower and slightly larger.
157
158endif
159
160choice
161	prompt "System type"
162	default IA64_GENERIC
163
164config IA64_GENERIC
165	bool "generic"
166	select NUMA
167	select ACPI_NUMA
168	select SWIOTLB
169	select PCI_MSI
170	help
171	  This selects the system type of your hardware.  A "generic" kernel
172	  will run on any supported IA-64 system.  However, if you configure
173	  a kernel for your specific system, it will be faster and smaller.
174
175	  generic		For any supported IA-64 system
176	  DIG-compliant		For DIG ("Developer's Interface Guide") compliant systems
177	  DIG+Intel+IOMMU	For DIG systems with Intel IOMMU
178	  HP-zx1/sx1000		For HP systems
179	  HP-zx1/sx1000+swiotlb	For HP systems with (broken) DMA-constrained devices.
180	  SGI-SN2		For SGI Altix systems
181	  SGI-UV		For SGI UV systems
182	  Ski-simulator		For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
183
184	  If you don't know what to do, choose "generic".
185
186config IA64_DIG
187	bool "DIG-compliant"
188	select SWIOTLB
189
190config IA64_DIG_VTD
191	bool "DIG+Intel+IOMMU"
192	select INTEL_IOMMU
193	select PCI_MSI
194
195config IA64_HP_ZX1
196	bool "HP-zx1/sx1000"
197	help
198	  Build a kernel that runs on HP zx1 and sx1000 systems.  This adds
199	  support for the HP I/O MMU.
200
201config IA64_HP_ZX1_SWIOTLB
202	bool "HP-zx1/sx1000 with software I/O TLB"
203	select SWIOTLB
204	help
205	  Build a kernel that runs on HP zx1 and sx1000 systems even when they
206	  have broken PCI devices which cannot DMA to full 32 bits.  Apart
207	  from support for the HP I/O MMU, this includes support for the software
208	  I/O TLB, which allows supporting the broken devices at the expense of
209	  wasting some kernel memory (about 2MB by default).
210
211config IA64_SGI_SN2
212	bool "SGI-SN2"
213	select NUMA
214	select ACPI_NUMA
215	help
216	  Selecting this option will optimize the kernel for use on sn2 based
217	  systems, but the resulting kernel binary will not run on other
218	  types of ia64 systems.  If you have an SGI Altix system, it's safe
219	  to select this option.  If in doubt, select ia64 generic support
220	  instead.
221
222config IA64_SGI_UV
223	bool "SGI-UV"
224	select NUMA
225	select ACPI_NUMA
226	select SWIOTLB
227	help
228	  Selecting this option will optimize the kernel for use on UV based
229	  systems, but the resulting kernel binary will not run on other
230	  types of ia64 systems.  If you have an SGI UV system, it's safe
231	  to select this option.  If in doubt, select ia64 generic support
232	  instead.
233
234config IA64_HP_SIM
235	bool "Ski-simulator"
236	select SWIOTLB
237
238endchoice
239
240choice
241	prompt "Processor type"
242	default ITANIUM
243
244config 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
251config MCKINLEY
252	bool "Itanium 2"
253	help
254	  Select this to configure for an Itanium 2 (McKinley) processor.
255
256endchoice
257
258choice
259	prompt "Kernel page size"
260	default IA64_PAGE_SIZE_16KB
261
262config 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
279config IA64_PAGE_SIZE_8KB
280	bool "8KB"
281
282config IA64_PAGE_SIZE_16KB
283	bool "16KB"
284
285config IA64_PAGE_SIZE_64KB
286	depends on !ITANIUM
287	bool "64KB"
288
289endchoice
290
291choice
292	prompt "Page Table Levels"
293	default PGTABLE_3
294
295config PGTABLE_3
296	bool "3 Levels"
297
298config PGTABLE_4
299	depends on !IA64_PAGE_SIZE_64KB
300	bool "4 Levels"
301
302endchoice
303
304if IA64_HP_SIM
305config HZ
306	default 32
307endif
308
309if !IA64_HP_SIM
310source kernel/Kconfig.hz
311endif
312
313config IA64_BRL_EMU
314	bool
315	depends on ITANIUM
316	default y
317
318# align cache-sensitive data to 128 bytes
319config IA64_L1_CACHE_SHIFT
320	int
321	default "7" if MCKINLEY
322	default "6" if ITANIUM
323
324config 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
330config IOSAPIC
331	bool
332	depends on !IA64_HP_SIM
333	default y
334
335config 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
341config 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
359config 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
371config 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
380config ARCH_ENABLE_MEMORY_HOTPLUG
381	def_bool y
382
383config ARCH_ENABLE_MEMORY_HOTREMOVE
384	def_bool y
385
386config 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
394config 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
402config 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
413source "kernel/Kconfig.preempt"
414
415source "mm/Kconfig"
416
417config ARCH_SELECT_MEMORY_MODEL
418	def_bool y
419
420config 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
428config ARCH_FLATMEM_ENABLE
429	def_bool y
430
431config ARCH_SPARSEMEM_ENABLE
432	def_bool y
433	depends on ARCH_DISCONTIGMEM_ENABLE
434	select SPARSEMEM_VMEMMAP_ENABLE
435
436config 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
440config 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
450config 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.
462config 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
473config HOLES_IN_ZONE
474	bool
475	default y if VIRTUAL_MEM_MAP
476
477config HAVE_ARCH_EARLY_PFN_TO_NID
478	def_bool NUMA && SPARSEMEM
479
480config HAVE_ARCH_NODEDATA_EXTENSION
481	def_bool y
482	depends on NUMA
483
484config USE_PERCPU_NUMA_NODE_ID
485	def_bool y
486	depends on NUMA
487
488config HAVE_MEMORYLESS_NODES
489	def_bool NUMA
490
491config ARCH_PROC_KCORE_TEXT
492	def_bool y
493	depends on PROC_KCORE
494
495config IA64_MCA_RECOVERY
496	tristate "MCA recovery from errors other than TLB."
497
498config 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
506config 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
517config 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
527config SGI_SN
528	def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
529
530config 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
538config 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
548source "drivers/sn/Kconfig"
549
550config 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
567config 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
573source "drivers/firmware/Kconfig"
574
575source "fs/Kconfig.binfmt"
576
577endmenu
578
579menu "Power management and ACPI options"
580
581source "kernel/power/Kconfig"
582
583source "drivers/acpi/Kconfig"
584
585if PM
586menu "CPU Frequency scaling"
587source "drivers/cpufreq/Kconfig"
588endmenu
589endif
590
591endmenu
592
593if !IA64_HP_SIM
594
595menu "Bus options (PCI, PCMCIA)"
596
597config 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
603config PCI_DOMAINS
604	def_bool PCI
605
606config PCI_SYSCALL
607	def_bool PCI
608
609source "drivers/pci/pcie/Kconfig"
610
611source "drivers/pci/Kconfig"
612
613source "drivers/pci/hotplug/Kconfig"
614
615source "drivers/pcmcia/Kconfig"
616
617endmenu
618
619endif
620
621source "net/Kconfig"
622
623source "drivers/Kconfig"
624
625source "arch/ia64/hp/sim/Kconfig"
626
627config 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
636source "fs/Kconfig"
637
638source "arch/ia64/Kconfig.debug"
639
640source "security/Kconfig"
641
642source "crypto/Kconfig"
643
644source "arch/ia64/kvm/Kconfig"
645
646source "lib/Kconfig"
647
648config IOMMU_HELPER
649	def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)
650