blob: b36370d3eab9e937cda93b9cf53305c4a5786b3f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001source "init/Kconfig"
2
Matt Helsleydc52ddc2008-10-18 20:27:21 -07003source "kernel/Kconfig.freezer"
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005menu "Processor type and features"
6
7config IA64
8 bool
Len Brown06f87ad2007-01-26 00:38:53 -05009 select PCI if (!IA64_HP_SIM)
10 select ACPI if (!IA64_HP_SIM)
Len Brown8140a902007-03-16 22:00:43 -040011 select PM if (!IA64_HP_SIM)
Dan Williamsf282b972007-04-18 18:46:20 +100012 select ARCH_SUPPORTS_MSI
Tony Luck0773a6c2009-01-15 10:29:17 -080013 select HAVE_UNSTABLE_SCHED_CLOCK
Sam Ravnborgec7748b2008-02-09 10:46:40 +010014 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050015 select HAVE_OPROFILE
Mathieu Desnoyers3f550092008-02-02 15:10:35 -050016 select HAVE_KPROBES
Ananth N Mavinakayanahalli9edddaa2008-03-04 14:28:37 -080017 select HAVE_KRETPROBES
Shaohua Lia14a07b2009-01-09 11:29:49 +080018 select HAVE_FTRACE_MCOUNT_RECORD
19 select HAVE_DYNAMIC_FTRACE if (!ITANIUM)
Shaohua Lid3e75ff2009-01-09 11:29:46 +080020 select HAVE_FUNCTION_TRACER
Arthur Kepner74bc7ce2008-04-29 01:00:30 -070021 select HAVE_DMA_ATTRS
Xiantao Zhangb6939192008-03-28 14:58:47 +080022 select HAVE_KVM
Shaohua Li9690ad02008-10-01 13:57:14 -070023 select HAVE_ARCH_TRACEHOOK
FUJITA Tomonori99162192009-06-17 16:28:14 -070024 select HAVE_DMA_API_DEBUG
Thomas Gleixnerc5e66122011-01-19 20:32:46 +010025 select HAVE_GENERIC_HARDIRQS
Tejun Heo98e4ae82011-12-08 10:22:08 -080026 select HAVE_MEMBLOCK
27 select HAVE_MEMBLOCK_NODE_MAP
Frederic Weisbeckerb9527412012-06-16 15:39:34 +020028 select HAVE_VIRT_CPU_ACCOUNTING
Stephen Rothwell4febd952013-03-07 15:48:16 +110029 select VIRT_TO_BUS
Tejun Heo98e4ae82011-12-08 10:22:08 -080030 select ARCH_DISCARD_MEMBLOCK
Thomas Gleixnerc5e66122011-01-19 20:32:46 +010031 select GENERIC_IRQ_PROBE
32 select GENERIC_PENDING_IRQ if SMP
Thomas Gleixnere3d78122011-03-25 21:04:38 +010033 select GENERIC_IRQ_SHOW
Mark Brownbadc1442011-06-01 21:25:47 +010034 select ARCH_WANT_OPTIONAL_GPIOLIB
Huang Yingdf013ff2011-07-13 13:14:22 +080035 select ARCH_HAVE_NMI_SAFE_CMPXCHG
Michael S. Tsirkin4673ca82011-11-24 14:54:28 +020036 select GENERIC_IOMAP
Thomas Gleixner13583bf2012-04-20 13:05:49 +000037 select GENERIC_SMP_IDLE_THREAD
Thomas Gleixnera6359d12012-05-03 09:03:02 +000038 select ARCH_INIT_TASK
Thomas Gleixnerf5e10282012-05-05 15:05:48 +000039 select ARCH_TASK_STRUCT_ALLOCATOR
40 select ARCH_THREAD_INFO_ALLOCATOR
Anna-Maria Gleixner21b19712012-05-18 16:45:48 +000041 select ARCH_CLOCKSOURCE_DATA
John Stultz70639422012-09-04 15:34:21 -040042 select GENERIC_TIME_VSYSCALL_OLD
Vineet Guptab6fca722013-01-09 20:06:28 +053043 select SYSCTL_ARCH_UNALIGN_NO_WARN
David Howells786d35d2012-09-28 14:31:03 +093044 select HAVE_MOD_ARCH_SPECIFIC
45 select MODULES_USE_ELF_RELA
Linus Torvalds1da177e2005-04-16 15:20:36 -070046 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
53config 64BIT
54 bool
Zhang, Yanmin9f271d52007-02-09 11:29:51 +080055 select ATA_NONSTANDARD if ATA
Linus Torvalds1da177e2005-04-16 15:20:36 -070056 default y
57
Christoph Lameter66701b12007-02-10 01:43:09 -080058config ZONE_DMA
Christoph Lameter09ae1f52007-02-10 01:43:11 -080059 def_bool y
60 depends on !IA64_SGI_SN2
Christoph Lameter66701b12007-02-10 01:43:09 -080061
Christoph Lameter2bd62a42007-05-10 22:42:53 -070062config QUICKLIST
63 bool
64 default y
65
Linus Torvalds1da177e2005-04-16 15:20:36 -070066config MMU
67 bool
68 default y
69
FUJITA Tomonorie33621a2010-10-01 14:15:27 -070070config ARCH_DMA_ADDR_T_64BIT
71 def_bool y
72
FUJITA Tomonori66ed5ef2010-03-10 15:23:25 -080073config NEED_DMA_MAP_STATE
74 def_bool y
75
FUJITA Tomonori18e98302010-05-26 14:44:32 -070076config NEED_SG_DMA_LENGTH
77 def_bool y
78
John W. Linville6c654b52005-09-29 14:42:42 -070079config SWIOTLB
80 bool
John W. Linville6c654b52005-09-29 14:42:42 -070081
Tony Luck85718fa2010-09-23 13:52:07 -070082config STACKTRACE_SUPPORT
83 def_bool y
84
Nick Piggin95c354f2008-01-30 13:31:20 +010085config GENERIC_LOCKBREAK
Tony Luck2c869632009-09-25 08:42:16 -070086 def_bool n
Nick Piggin95c354f2008-01-30 13:31:20 +010087
Linus Torvalds1da177e2005-04-16 15:20:36 -070088config RWSEM_XCHGADD_ALGORITHM
89 bool
90 default y
91
Mel Gormand9c23402007-10-16 01:26:01 -070092config HUGETLB_PAGE_SIZE_VARIABLE
93 bool
94 depends on HUGETLB_PAGE
95 default y
96
Linus Torvalds1da177e2005-04-16 15:20:36 -070097config GENERIC_CALIBRATE_DELAY
98 bool
99 default y
100
travis@sgi.com988c3882008-01-30 23:27:58 +0100101config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +0100102 def_bool y
103
Matt Domsch3ed3bce2006-03-26 01:37:03 -0800104config DMI
105 bool
106 default y
107
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108config EFI
109 bool
Matt Fleminga614e192013-04-30 11:30:24 +0100110 select UCS2_STRING
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 default y
112
Ingo Molnarae1e9132008-11-11 09:05:16 +0100113config SCHED_OMIT_FRAME_POINTER
Anton Blanchard7d12e522005-05-05 16:15:11 -0700114 bool
115 default y
116
Jes Sorensenf14f75b2005-06-21 17:15:02 -0700117config IA64_UNCACHED_ALLOCATOR
118 bool
119 select GENERIC_ALLOCATOR
120
Venkatesh Pallipadi46cf98c2009-07-10 09:57:37 -0700121config ARCH_USES_PG_UNCACHED
122 def_bool y
123 depends on IA64_UNCACHED_ALLOCATOR
124
Al Viroe65e1fc2006-09-12 03:04:40 -0400125config AUDIT_ARCH
126 bool
127 default y
128
Isaku Yamahataba9cc322008-10-17 11:18:11 +0900129menuconfig PARAVIRT_GUEST
130 bool "Paravirtualized guest support"
Fengguang Wu0c406642012-07-25 15:53:49 +0800131 depends on BROKEN
Isaku Yamahataba9cc322008-10-17 11:18:11 +0900132 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
138if PARAVIRT_GUEST
139
140config PARAVIRT
141 bool "Enable paravirtualization code"
142 depends on PARAVIRT_GUEST
143 default y
Isaku Yamahataba9cc322008-10-17 11:18:11 +0900144 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
151source "arch/ia64/xen/Kconfig"
152
153endif
154
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155choice
156 prompt "System type"
157 default IA64_GENERIC
158
159config IA64_GENERIC
160 bool "generic"
161 select NUMA
162 select ACPI_NUMA
Jan Beulichd1598e02007-01-03 09:26:21 +0000163 select SWIOTLB
Fenghua Yu62fdd762008-10-17 12:14:13 -0700164 select PCI_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165 help
166 This selects the system type of your hardware. A "generic" kernel
167 will run on any supported IA-64 system. However, if you configure
168 a kernel for your specific system, it will be faster and smaller.
169
170 generic For any supported IA-64 system
171 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
Fenghua Yu62fdd762008-10-17 12:14:13 -0700172 DIG+Intel+IOMMU For DIG systems with Intel IOMMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173 HP-zx1/sx1000 For HP systems
174 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
175 SGI-SN2 For SGI Altix systems
Jack Steiner22246612008-05-06 15:18:57 -0500176 SGI-UV For SGI UV systems
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
Isaku Yamahataba9cc322008-10-17 11:18:11 +0900178 Xen-domU For xen domU system
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179
180 If you don't know what to do, choose "generic".
181
182config IA64_DIG
183 bool "DIG-compliant"
Jan Beulichd1598e02007-01-03 09:26:21 +0000184 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185
Fenghua Yu62fdd762008-10-17 12:14:13 -0700186config IA64_DIG_VTD
187 bool "DIG+Intel+IOMMU"
Paul Bolle96edc752013-03-05 14:59:23 +0100188 select INTEL_IOMMU
Fenghua Yu62fdd762008-10-17 12:14:13 -0700189 select PCI_MSI
190
Linus Torvalds1da177e2005-04-16 15:20:36 -0700191config IA64_HP_ZX1
192 bool "HP-zx1/sx1000"
193 help
194 Build a kernel that runs on HP zx1 and sx1000 systems. This adds
195 support for the HP I/O MMU.
196
197config IA64_HP_ZX1_SWIOTLB
198 bool "HP-zx1/sx1000 with software I/O TLB"
Jan Beulichd1598e02007-01-03 09:26:21 +0000199 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700200 help
201 Build a kernel that runs on HP zx1 and sx1000 systems even when they
202 have broken PCI devices which cannot DMA to full 32 bits. Apart
203 from support for the HP I/O MMU, this includes support for the software
204 I/O TLB, which allows supporting the broken devices at the expense of
205 wasting some kernel memory (about 2MB by default).
206
207config IA64_SGI_SN2
208 bool "SGI-SN2"
Jes Sorensenbd3be242008-02-11 15:10:19 +0100209 select NUMA
210 select ACPI_NUMA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211 help
212 Selecting this option will optimize the kernel for use on sn2 based
213 systems, but the resulting kernel binary will not run on other
214 types of ia64 systems. If you have an SGI Altix system, it's safe
215 to select this option. If in doubt, select ia64 generic support
216 instead.
217
Jack Steiner3351ab92008-07-31 07:52:50 -0500218config IA64_SGI_UV
219 bool "SGI-UV"
Jack Steiner22246612008-05-06 15:18:57 -0500220 select NUMA
221 select ACPI_NUMA
222 select SWIOTLB
223 help
224 Selecting this option will optimize the kernel for use on UV based
225 systems, but the resulting kernel binary will not run on other
226 types of ia64 systems. If you have an SGI UV system, it's safe
227 to select this option. If in doubt, select ia64 generic support
228 instead.
229
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230config IA64_HP_SIM
231 bool "Ski-simulator"
Jan Beulichd1598e02007-01-03 09:26:21 +0000232 select SWIOTLB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233
Isaku Yamahataba9cc322008-10-17 11:18:11 +0900234config IA64_XEN_GUEST
235 bool "Xen guest"
Isaku Yamahata1d5b20f2009-01-16 12:17:30 +0900236 select SWIOTLB
Isaku Yamahataba9cc322008-10-17 11:18:11 +0900237 depends on XEN
Isaku Yamahata1d5b20f2009-01-16 12:17:30 +0900238 help
239 Build a kernel that runs on Xen guest domain. At this moment only
240 16KB page size in supported.
Isaku Yamahataba9cc322008-10-17 11:18:11 +0900241
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242endchoice
243
244choice
245 prompt "Processor type"
246 default ITANIUM
247
248config ITANIUM
249 bool "Itanium"
250 help
251 Select your IA-64 processor type. The default is Itanium.
252 This choice is safe for all IA-64 systems, but may not perform
253 optimally on systems with, say, Itanium 2 or newer processors.
254
255config MCKINLEY
256 bool "Itanium 2"
257 help
258 Select this to configure for an Itanium 2 (McKinley) processor.
259
260endchoice
261
262choice
263 prompt "Kernel page size"
264 default IA64_PAGE_SIZE_16KB
265
266config IA64_PAGE_SIZE_4KB
267 bool "4KB"
268 help
269 This lets you select the page size of the kernel. For best IA-64
270 performance, a page size of 8KB or 16KB is recommended. For best
271 IA-32 compatibility, a page size of 4KB should be selected (the vast
272 majority of IA-32 binaries work perfectly fine with a larger page
273 size). For Itanium 2 or newer systems, a page size of 64KB can also
274 be selected.
275
276 4KB For best IA-32 compatibility
277 8KB For best IA-64 performance
278 16KB For best IA-64 performance
279 64KB Requires Itanium 2 or newer processor.
280
281 If you don't know what to do, choose 16KB.
282
283config IA64_PAGE_SIZE_8KB
284 bool "8KB"
285
286config IA64_PAGE_SIZE_16KB
287 bool "16KB"
288
289config IA64_PAGE_SIZE_64KB
290 depends on !ITANIUM
291 bool "64KB"
292
293endchoice
294
Robin Holt837cd0b2005-11-11 09:35:43 -0600295choice
296 prompt "Page Table Levels"
297 default PGTABLE_3
298
299config PGTABLE_3
300 bool "3 Levels"
301
302config PGTABLE_4
303 depends on !IA64_PAGE_SIZE_64KB
304 bool "4 Levels"
305
306endchoice
307
Tony Luck10d0aa32008-02-11 13:23:46 -0800308if IA64_HP_SIM
309config HZ
310 default 32
311endif
312
313if !IA64_HP_SIM
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700314source kernel/Kconfig.hz
Tony Luck10d0aa32008-02-11 13:23:46 -0800315endif
Christoph Lameterb5d23e52005-06-23 00:08:27 -0700316
Linus Torvalds1da177e2005-04-16 15:20:36 -0700317config IA64_BRL_EMU
318 bool
319 depends on ITANIUM
320 default y
321
322# align cache-sensitive data to 128 bytes
323config IA64_L1_CACHE_SHIFT
324 int
325 default "7" if MCKINLEY
326 default "6" if ITANIUM
327
Linus Torvalds1da177e2005-04-16 15:20:36 -0700328config IA64_CYCLONE
329 bool "Cyclone (EXA) Time Source support"
330 help
331 Say Y here to enable support for IBM EXA Cyclone time source.
332 If you're unsure, answer N.
333
334config IOSAPIC
335 bool
336 depends on !IA64_HP_SIM
337 default y
338
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339config FORCE_MAX_ZONEORDER
Bob Piccoda9577c2005-10-04 15:13:37 -0400340 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
341 range 11 17 if !HUGETLB_PAGE
342 default "17" if HUGETLB_PAGE
343 default "11"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700344
345config SMP
346 bool "Symmetric multi-processing support"
Jens Axboef27b4332008-06-26 11:22:30 +0200347 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 help
349 This enables support for systems with more than one CPU. If you have
350 a system with only one CPU, say N. If you have a system with more
351 than one CPU, say Y.
352
353 If you say N here, the kernel will run on single and multiprocessor
354 systems, but will use only one CPU of a multiprocessor system. If
355 you say Y here, the kernel will run on many, but not all,
356 single processor systems. On a single processor system, the kernel
357 will run faster if you say N here.
358
Adrian Bunk03502fa2008-02-03 15:50:21 +0200359 See also the SMP-HOWTO available at
360 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361
362 If you don't know what to do here, say N.
363
364config NR_CPUS
Robin Holtd1339df2008-08-02 13:29:24 -0500365 int "Maximum number of CPUs (2-4096)"
366 range 2 4096
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367 depends on SMP
Robin Holtd1339df2008-08-02 13:29:24 -0500368 default "4096"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369 help
370 You should set this to the number of CPUs in your system, but
371 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
372 only use 2 CPUs on a >2 CPU system. Setting this to a value larger
373 than 64 will cause the use of a CPU mask array, causing a small
374 performance hit.
375
376config HOTPLUG_CPU
Kees Cook48a92402012-10-02 11:16:29 -0700377 bool "Support for hot-pluggable CPUs"
378 depends on SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700379 default n
380 ---help---
381 Say Y here to experiment with turning CPUs off and on. CPUs
382 can be controlled through /sys/devices/system/cpu/cpu#.
383 Say N if you want to disable CPU hotplug.
384
Yasunori Gotocc576372006-06-29 02:24:27 -0700385config ARCH_ENABLE_MEMORY_HOTPLUG
386 def_bool y
387
KAMEZAWA Hiroyuki0c0e6192007-10-16 01:26:12 -0700388config ARCH_ENABLE_MEMORY_HOTREMOVE
389 def_bool y
390
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700391config SCHED_SMT
392 bool "SMT scheduler support"
393 depends on SMP
Suresh Siddha7a9bdd82005-04-05 18:05:00 -0700394 help
395 Improves the CPU scheduler's decision making when dealing with
396 Intel IA64 chips with MultiThreading at a cost of slightly increased
397 overhead in some places. If unsure say N here.
398
Ashok Rajff741902005-11-11 14:32:40 -0800399config PERMIT_BSP_REMOVE
400 bool "Support removal of Bootstrap Processor"
401 depends on HOTPLUG_CPU
402 default n
403 ---help---
404 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
405 support.
406
407config FORCE_CPEI_RETARGET
Lucas De Marchi25985ed2011-03-30 22:57:33 -0300408 bool "Force assumption that CPEI can be re-targeted"
Ashok Rajff741902005-11-11 14:32:40 -0800409 depends on PERMIT_BSP_REMOVE
410 default n
411 ---help---
Lucas De Marchi25985ed2011-03-30 22:57:33 -0300412 Say Y if you need to force the assumption that CPEI can be re-targeted to
Ashok Rajff741902005-11-11 14:32:40 -0800413 any cpu in the system. This hint is available via ACPI 3.0 specifications.
414 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
415 This option it useful to enable this feature on older BIOS's as well.
416 You can also enable this by using boot command line option force_cpei=1.
417
Satyam Sharma0b0517a42007-08-13 23:41:45 +0530418source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700419
Dave Hansen3f22ab22005-06-23 00:07:43 -0700420source "mm/Kconfig"
421
Bob Piccoda9577c2005-10-04 15:13:37 -0400422config ARCH_SELECT_MEMORY_MODEL
423 def_bool y
424
425config ARCH_DISCONTIGMEM_ENABLE
426 def_bool y
427 help
428 Say Y to support efficient handling of discontiguous physical memory,
429 for architectures which are either NUMA (Non-Uniform Memory Access)
430 or have huge holes in the physical address space for other reasons.
431 See <file:Documentation/vm/numa> for more.
432
433config ARCH_FLATMEM_ENABLE
434 def_bool y
435
436config ARCH_SPARSEMEM_ENABLE
437 def_bool y
438 depends on ARCH_DISCONTIGMEM_ENABLE
Christoph Lameteref229c52007-10-16 01:24:15 -0700439 select SPARSEMEM_VMEMMAP_ENABLE
Bob Piccoda9577c2005-10-04 15:13:37 -0400440
441config ARCH_DISCONTIGMEM_DEFAULT
442 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
443 depends on ARCH_DISCONTIGMEM_ENABLE
444
445config NUMA
446 bool "NUMA support"
447 depends on !IA64_HP_SIM && !FLATMEM
448 default y if IA64_SGI_SN2
KAMEZAWA Hiroyuki6c33eb32006-11-08 17:44:50 -0800449 select ACPI_NUMA if ACPI
Bob Piccoda9577c2005-10-04 15:13:37 -0400450 help
451 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
452 Access). This option is for configuring high-end multiprocessor
453 server systems. If in doubt, say N.
454
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700455config NODES_SHIFT
456 int "Max num nodes shift(3-10)"
457 range 3 10
Christoph Lameterc57d68c2006-08-22 19:43:27 -0700458 default "10"
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700459 depends on NEED_MULTIPLE_NODES
460 help
461 This option specifies the maximum number of nodes in your SSI system.
462 MAX_NUMNODES will be 2^(This value).
463 If in doubt, use the default.
464
Bob Piccoda9577c2005-10-04 15:13:37 -0400465# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent.
466# VIRTUAL_MEM_MAP has been retained for historical reasons.
467config VIRTUAL_MEM_MAP
468 bool "Virtual mem map"
469 depends on !SPARSEMEM
470 default y if !IA64_HP_SIM
471 help
472 Say Y to compile the kernel with support for a virtual mem map.
473 This code also only takes effect if a memory hole of greater than
474 1 Gb is found during boot. You must turn this option on if you
475 require the DISCONTIGMEM option for your machine. If you are
476 unsure, say Y.
477
478config HOLES_IN_ZONE
479 bool
480 default y if VIRTUAL_MEM_MAP
481
482config HAVE_ARCH_EARLY_PFN_TO_NID
Tony Luck334f85b62009-02-19 11:22:36 -0800483 def_bool NUMA && SPARSEMEM
Bob Piccoda9577c2005-10-04 15:13:37 -0400484
Yasunori Goto10ad4002006-06-27 02:53:33 -0700485config HAVE_ARCH_NODEDATA_EXTENSION
486 def_bool y
487 depends on NUMA
488
Lee Schermerhorn3bccd992010-05-26 14:44:59 -0700489config USE_PERCPU_NUMA_NODE_ID
490 def_bool y
491 depends on NUMA
492
Lee Schermerhornfd1197f2010-05-26 14:45:01 -0700493config HAVE_MEMORYLESS_NODES
Lee Schermerhorn25106002010-08-09 17:19:00 -0700494 def_bool NUMA
Lee Schermerhornfd1197f2010-05-26 14:45:01 -0700495
KAMEZAWA Hiroyuki94925872009-09-22 16:45:45 -0700496config ARCH_PROC_KCORE_TEXT
497 def_bool y
498 depends on PROC_KCORE
499
Linus Torvalds1da177e2005-04-16 15:20:36 -0700500config IA64_MCA_RECOVERY
501 tristate "MCA recovery from errors other than TLB."
502
503config PERFMON
504 bool "Performance monitor support"
505 help
506 Selects whether support for the IA-64 performance monitor hardware
507 is included in the kernel. This makes some kernel data-structures a
508 little bigger and slows down execution a bit, but it is generally
509 a good idea to turn this on. If you're unsure, say Y.
510
511config IA64_PALINFO
512 tristate "/proc/pal support"
513 help
514 If you say Y here, you are able to get PAL (Processor Abstraction
515 Layer) information in /proc/pal. This contains useful information
516 about the processors in your systems, such as cache and TLB sizes
517 and the PAL firmware version in use.
518
519 To use this option, you have to ensure that the "/proc file system
520 support" (CONFIG_PROC_FS) is enabled, too.
521
Fenghua Yue9ef08b2006-12-08 16:06:01 -0800522config IA64_MC_ERR_INJECT
523 tristate "MC error injection support"
524 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200525 Adds support for MC error injection. If enabled, the kernel
526 will provide a sysfs interface for user applications to
527 call MC error injection PAL procedures to inject various errors.
Fenghua Yue9ef08b2006-12-08 16:06:01 -0800528 This is a useful tool for MCA testing.
529
530 If you're unsure, do not select this option.
531
Jes Sorensen466575f2006-01-19 04:54:00 -0500532config SGI_SN
533 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
534
David Mosberger-Tang2ab561a2006-06-21 11:19:22 -0700535config IA64_ESI
536 bool "ESI (Extensible SAL Interface) support"
537 help
538 If you say Y here, support is built into the kernel to
539 make ESI calls. ESI calls are used to support vendor-specific
540 firmware extensions, such as the ability to inject memory-errors
541 for test-purposes. If you're unsure, say N.
542
Bjorn Helgaas28eda5b2007-09-20 14:22:03 -0600543config IA64_HP_AML_NFW
544 bool "Support ACPI AML calls to native firmware"
545 help
546 This driver installs a global ACPI Operation Region handler for
547 region 0xA1. AML methods can use this OpRegion to call arbitrary
548 native firmware functions. The driver installs the OpRegion
549 handler if there is an HPQ5001 device or if the user supplies
550 the "force" module parameter, e.g., with the "aml_nfw.force"
551 kernel command line option.
552
Brent Casavantc1311af2006-04-20 15:38:16 -0500553source "drivers/sn/Kconfig"
554
Zou Nan haia79561132006-12-07 09:51:35 -0800555config KEXEC
Kees Cook48a92402012-10-02 11:16:29 -0700556 bool "kexec system call"
557 depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
Zou Nan haia79561132006-12-07 09:51:35 -0800558 help
559 kexec is a system call that implements the ability to shutdown your
560 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +0200561 but it is independent of the system firmware. And like a reboot
Zou Nan haia79561132006-12-07 09:51:35 -0800562 you can start any kernel with it, not just Linux.
563
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200564 The name comes from the similarity to the exec system call.
Zou Nan haia79561132006-12-07 09:51:35 -0800565
566 It is an ongoing process to be certain the hardware in a machine
567 is properly shutdown, so do not be surprised if this code does not
Geert Uytterhoevenbf220692013-08-20 21:38:03 +0200568 initially work for you. As of this writing the exact hardware
569 interface is strongly in flux, so no good recommendation can be
570 made.
Zou Nan haia79561132006-12-07 09:51:35 -0800571
572config CRASH_DUMP
Bernhard Wallefb866112008-06-26 14:53:11 +0200573 bool "kernel crash dumps"
574 depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
Zou Nan haia79561132006-12-07 09:51:35 -0800575 help
576 Generate crash dump after being started by kexec.
577
Linus Torvalds1da177e2005-04-16 15:20:36 -0700578source "drivers/firmware/Kconfig"
579
580source "fs/Kconfig.binfmt"
581
582endmenu
583
Bjorn Helgaas1547a012008-11-06 10:53:54 -0600584menu "Power management and ACPI options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700585
Len Browneb7b6b32005-08-25 12:08:25 -0400586source "kernel/power/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700587
588source "drivers/acpi/Kconfig"
589
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700590if PM
Viresh Kumarab423e42013-04-04 12:54:20 +0000591menu "CPU Frequency scaling"
592source "drivers/cpufreq/Kconfig"
593endmenu
Venkatesh Pallipadi4db86992005-07-29 16:15:00 -0700594endif
595
Linus Torvalds1da177e2005-04-16 15:20:36 -0700596endmenu
597
598if !IA64_HP_SIM
599
600menu "Bus options (PCI, PCMCIA)"
601
602config PCI
603 bool "PCI support"
604 help
Christoph Hellwig85f265d2005-08-09 13:38:00 -0700605 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
606 here unless you are using a simulator without PCI support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700607
608config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600609 def_bool PCI
610
611config PCI_SYSCALL
612 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700613
Kenji Kaneshigeb7bb5752006-04-28 11:50:43 +0900614source "drivers/pci/pcie/Kconfig"
615
Linus Torvalds1da177e2005-04-16 15:20:36 -0700616source "drivers/pci/Kconfig"
617
618source "drivers/pci/hotplug/Kconfig"
619
620source "drivers/pcmcia/Kconfig"
621
622endmenu
623
624endif
625
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700626source "net/Kconfig"
627
Linus Torvalds1da177e2005-04-16 15:20:36 -0700628source "drivers/Kconfig"
629
Bjorn Helgaas1547a012008-11-06 10:53:54 -0600630source "arch/ia64/hp/sim/Kconfig"
631
Jes Sorensen1a4b0fc2006-11-10 12:27:49 -0800632config MSPEC
633 tristate "Memory special operations driver"
634 depends on IA64
635 select IA64_UNCACHED_ALLOCATOR
636 help
637 If you have an ia64 and you want to enable memory special
638 operations support (formerly known as fetchop), say Y here,
639 otherwise say N.
640
Linus Torvalds1da177e2005-04-16 15:20:36 -0700641source "fs/Kconfig"
642
Bjorn Helgaas1547a012008-11-06 10:53:54 -0600643source "arch/ia64/Kconfig.debug"
644
645source "security/Kconfig"
646
647source "crypto/Kconfig"
648
Xiantao Zhangb6939192008-03-28 14:58:47 +0800649source "arch/ia64/kvm/Kconfig"
650
Linus Torvalds1da177e2005-04-16 15:20:36 -0700651source "lib/Kconfig"
652
FUJITA Tomonorib34eb532008-03-28 14:27:03 -0700653config IOMMU_HELPER
FUJITA Tomonoria8522502008-04-29 00:59:36 -0700654 def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB)