]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/s390/Kconfig
s390/mm: make arch_add_memory() NUMA aware
[mirror_ubuntu-artful-kernel.git] / arch / s390 / Kconfig
CommitLineData
1da177e4 1config MMU
61d48c2c 2 def_bool y
1da177e4 3
66701b14 4config ZONE_DMA
69dbb2f7 5 def_bool y
66701b14 6
2b105ff9 7config LOCKDEP_SUPPORT
61d48c2c 8 def_bool y
2b105ff9 9
5bdc9b44 10config STACKTRACE_SUPPORT
61d48c2c 11 def_bool y
5bdc9b44 12
a3afe70b
HC
13config HAVE_LATENCYTOP_SUPPORT
14 def_bool y
15
1da177e4
LT
16config RWSEM_GENERIC_SPINLOCK
17 bool
18
19config RWSEM_XCHGADD_ALGORITHM
61d48c2c 20 def_bool y
1da177e4 21
f0d1b0b3 22config ARCH_HAS_ILOG2_U32
6f9a3c33 23 def_bool n
f0d1b0b3
DH
24
25config ARCH_HAS_ILOG2_U64
6f9a3c33 26 def_bool n
f0d1b0b3 27
7e33db4e 28config GENERIC_HWEIGHT
61d48c2c 29 def_bool y
7e33db4e 30
c0007f1a 31config GENERIC_BUG
6f9a3c33 32 def_bool y if BUG
c0007f1a 33
52499f40
HC
34config GENERIC_BUG_RELATIVE_POINTERS
35 def_bool y
36
eca577ef 37config ARCH_DMA_ADDR_T_64BIT
5a79859a 38 def_bool y
eca577ef 39
b6b40c53 40config GENERIC_LOCKBREAK
6f9a3c33 41 def_bool y if SMP && PREEMPT
b6b40c53 42
402b0862 43config PGSTE
6f9a3c33 44 def_bool y if KVM
402b0862 45
6a11f75b
AM
46config ARCH_SUPPORTS_DEBUG_PAGEALLOC
47 def_bool y
48
843c48fd
JG
49config KEXEC
50 def_bool y
51
52config AUDIT_ARCH
53 def_bool y
54
ce816fa8 55config NO_IOPORT_MAP
c8717a3d
JG
56 def_bool y
57
58config PCI_QUIRKS
59 def_bool n
60
2a0a5b22 61config ARCH_SUPPORTS_UPROBES
5a79859a 62 def_bool y
2a0a5b22 63
347a8dc3 64config S390
61d48c2c 65 def_bool y
0e0d04a8 66 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
93bead43 67 select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
2b68f6ca 68 select ARCH_HAS_ELF_RANDOMIZE
957e3fac 69 select ARCH_HAS_GCOV_PROFILE_ALL
47523c98 70 select ARCH_HAS_SG_CHAIN
0e0d04a8 71 select ARCH_HAVE_NMI_SAFE_CMPXCHG
6beb0009
TG
72 select ARCH_INLINE_READ_LOCK
73 select ARCH_INLINE_READ_LOCK_BH
74 select ARCH_INLINE_READ_LOCK_IRQ
75 select ARCH_INLINE_READ_LOCK_IRQSAVE
0e0d04a8 76 select ARCH_INLINE_READ_TRYLOCK
6beb0009
TG
77 select ARCH_INLINE_READ_UNLOCK
78 select ARCH_INLINE_READ_UNLOCK_BH
79 select ARCH_INLINE_READ_UNLOCK_IRQ
80 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
0e0d04a8
HC
81 select ARCH_INLINE_SPIN_LOCK
82 select ARCH_INLINE_SPIN_LOCK_BH
83 select ARCH_INLINE_SPIN_LOCK_IRQ
84 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
85 select ARCH_INLINE_SPIN_TRYLOCK
86 select ARCH_INLINE_SPIN_TRYLOCK_BH
87 select ARCH_INLINE_SPIN_UNLOCK
88 select ARCH_INLINE_SPIN_UNLOCK_BH
89 select ARCH_INLINE_SPIN_UNLOCK_IRQ
90 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
6beb0009
TG
91 select ARCH_INLINE_WRITE_LOCK
92 select ARCH_INLINE_WRITE_LOCK_BH
93 select ARCH_INLINE_WRITE_LOCK_IRQ
94 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
0e0d04a8 95 select ARCH_INLINE_WRITE_TRYLOCK
6beb0009
TG
96 select ARCH_INLINE_WRITE_UNLOCK
97 select ARCH_INLINE_WRITE_UNLOCK_BH
98 select ARCH_INLINE_WRITE_UNLOCK_IRQ
99 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
0e0d04a8 100 select ARCH_SAVE_PAGE_KEYS if HIBERNATION
36e7fdaa 101 select ARCH_SUPPORTS_ATOMIC_RMW
efc1d23b 102 select ARCH_USE_CMPXCHG_LOCKREF
c1d7e01d 103 select ARCH_WANT_IPC_PARSE_VERSION
0e0d04a8
HC
104 select BUILDTIME_EXTABLE_SORT
105 select CLONE_BACKWARDS2
5d6a0163 106 select DYNAMIC_FTRACE if FUNCTION_TRACER
0e0d04a8 107 select GENERIC_CLOCKEVENTS
8f00b3e2 108 select GENERIC_CPU_AUTOPROBE
0e0d04a8 109 select GENERIC_CPU_DEVICES if !SMP
746479cd 110 select GENERIC_FIND_FIRST_BIT
e80e7813 111 select GENERIC_SMP_IDLE_THREAD
79c74ecb 112 select GENERIC_TIME_VSYSCALL
0e0d04a8 113 select HAVE_ALIGNED_STRUCT_PAGE if SLUB
7a017721 114 select HAVE_ARCH_AUDITSYSCALL
5a79859a 115 select HAVE_ARCH_JUMP_LABEL
c63cb468 116 select HAVE_ARCH_SECCOMP_FILTER
0e0d04a8 117 select HAVE_ARCH_TRACEHOOK
5a79859a 118 select HAVE_ARCH_TRANSPARENT_HUGEPAGE
77a87f0c 119 select HAVE_BPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES
0e0d04a8
HC
120 select HAVE_CMPXCHG_DOUBLE
121 select HAVE_CMPXCHG_LOCAL
0e0d04a8 122 select HAVE_DEBUG_KMEMLEAK
5a79859a
HC
123 select HAVE_DYNAMIC_FTRACE
124 select HAVE_DYNAMIC_FTRACE_WITH_REGS
0e0d04a8 125 select HAVE_FTRACE_MCOUNT_RECORD
5a79859a
HC
126 select HAVE_FUNCTION_GRAPH_TRACER
127 select HAVE_FUNCTION_TRACER
03b8c7b6 128 select HAVE_FUTEX_CMPXCHG if FUTEX
0e0d04a8
HC
129 select HAVE_KERNEL_BZIP2
130 select HAVE_KERNEL_GZIP
8e2872ce 131 select HAVE_KERNEL_LZ4
0e0d04a8
HC
132 select HAVE_KERNEL_LZMA
133 select HAVE_KERNEL_LZO
134 select HAVE_KERNEL_XZ
135 select HAVE_KPROBES
136 select HAVE_KRETPROBES
5a79859a 137 select HAVE_KVM
21042d43 138 select HAVE_LIVEPATCH
0e0d04a8
HC
139 select HAVE_MEMBLOCK
140 select HAVE_MEMBLOCK_NODE_MAP
50be6345 141 select HAVE_MEMBLOCK_PHYS_MAP
786d35d4 142 select HAVE_MOD_ARCH_SPECIFIC
0e0d04a8
HC
143 select HAVE_OPROFILE
144 select HAVE_PERF_EVENTS
145 select HAVE_REGS_AND_STACK_ACCESS_API
146 select HAVE_SYSCALL_TRACEPOINTS
0e0d04a8 147 select HAVE_VIRT_CPU_ACCOUNTING
786d35d4 148 select MODULES_USE_ELF_RELA
50be6345 149 select NO_BOOTMEM
7eddd99c 150 select OLD_SIGACTION
93bead43 151 select OLD_SIGSUSPEND3
0e0d04a8 152 select SYSCTL_EXCEPTION_TRACE
0563416b 153 select TTY
0e0d04a8 154 select VIRT_CPU_ACCOUNTING
93bead43 155 select VIRT_TO_BUS
1da177e4 156
fca3e357 157config SCHED_OMIT_FRAME_POINTER
6f9a3c33 158 def_bool y
fca3e357 159
c81956c9
KS
160config PGTABLE_LEVELS
161 int
162 default 4 if 64BIT
163 default 2
164
1da177e4
LT
165source "init/Kconfig"
166
dc52ddc0
MH
167source "kernel/Kconfig.freezer"
168
21042d43
JS
169source "kernel/livepatch/Kconfig"
170
843c48fd
JG
171menu "Processor type and features"
172
173config HAVE_MARCH_Z900_FEATURES
174 def_bool n
175
176config HAVE_MARCH_Z990_FEATURES
177 def_bool n
178 select HAVE_MARCH_Z900_FEATURES
179
180config HAVE_MARCH_Z9_109_FEATURES
181 def_bool n
182 select HAVE_MARCH_Z990_FEATURES
183
184config HAVE_MARCH_Z10_FEATURES
185 def_bool n
186 select HAVE_MARCH_Z9_109_FEATURES
187
188config HAVE_MARCH_Z196_FEATURES
189 def_bool n
190 select HAVE_MARCH_Z10_FEATURES
191
991c1505
HC
192config HAVE_MARCH_ZEC12_FEATURES
193 def_bool n
194 select HAVE_MARCH_Z196_FEATURES
195
f8b2dcbd
MS
196config HAVE_MARCH_Z13_FEATURES
197 def_bool n
198 select HAVE_MARCH_ZEC12_FEATURES
199
843c48fd
JG
200choice
201 prompt "Processor type"
5a79859a 202 default MARCH_Z900
1da177e4 203
843c48fd
JG
204config MARCH_Z900
205 bool "IBM zSeries model z800 and z900"
5a79859a 206 select HAVE_MARCH_Z900_FEATURES
843c48fd
JG
207 help
208 Select this to enable optimizations for model z800/z900 (2064 and
209 2066 series). This will enable some optimizations that are not
210 available on older ESA/390 (31 Bit) only CPUs.
211
212config MARCH_Z990
213 bool "IBM zSeries model z890 and z990"
5a79859a 214 select HAVE_MARCH_Z990_FEATURES
843c48fd
JG
215 help
216 Select this to enable optimizations for model z890/z990 (2084 and
217 2086 series). The kernel will be slightly faster but will not work
218 on older machines.
219
220config MARCH_Z9_109
221 bool "IBM System z9"
5a79859a 222 select HAVE_MARCH_Z9_109_FEATURES
843c48fd
JG
223 help
224 Select this to enable optimizations for IBM System z9 (2094 and
225 2096 series). The kernel will be slightly faster but will not work
226 on older machines.
227
228config MARCH_Z10
229 bool "IBM System z10"
5a79859a 230 select HAVE_MARCH_Z10_FEATURES
843c48fd
JG
231 help
232 Select this to enable optimizations for IBM System z10 (2097 and
233 2098 series). The kernel will be slightly faster but will not work
234 on older machines.
235
236config MARCH_Z196
237 bool "IBM zEnterprise 114 and 196"
5a79859a 238 select HAVE_MARCH_Z196_FEATURES
843c48fd
JG
239 help
240 Select this to enable optimizations for IBM zEnterprise 114 and 196
241 (2818 and 2817 series). The kernel will be slightly faster but will
242 not work on older machines.
1da177e4 243
991c1505 244config MARCH_ZEC12
59471227 245 bool "IBM zBC12 and zEC12"
5a79859a 246 select HAVE_MARCH_ZEC12_FEATURES
991c1505 247 help
59471227
HC
248 Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
249 2827 series). The kernel will be slightly faster but will not work on
250 older machines.
991c1505 251
f8b2dcbd
MS
252config MARCH_Z13
253 bool "IBM z13"
5a79859a 254 select HAVE_MARCH_Z13_FEATURES
f8b2dcbd
MS
255 help
256 Select this to enable optimizations for IBM z13 (2964 series).
257 The kernel will be slightly faster but will not work on older
258 machines.
259
843c48fd 260endchoice
1da177e4 261
1db9e051
HC
262config MARCH_Z900_TUNE
263 def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT
264
265config MARCH_Z990_TUNE
266 def_bool TUNE_Z990 || MARCH_Z990 && TUNE_DEFAULT
267
268config MARCH_Z9_109_TUNE
269 def_bool TUNE_Z9_109 || MARCH_Z9_109 && TUNE_DEFAULT
270
271config MARCH_Z10_TUNE
272 def_bool TUNE_Z10 || MARCH_Z10 && TUNE_DEFAULT
273
274config MARCH_Z196_TUNE
275 def_bool TUNE_Z196 || MARCH_Z196 && TUNE_DEFAULT
276
277config MARCH_ZEC12_TUNE
278 def_bool TUNE_ZEC12 || MARCH_ZEC12 && TUNE_DEFAULT
279
f8b2dcbd
MS
280config MARCH_Z13_TUNE
281 def_bool TUNE_Z13 || MARCH_Z13 && TUNE_DEFAULT
282
1db9e051
HC
283choice
284 prompt "Tune code generation"
285 default TUNE_DEFAULT
286 help
287 Cause the compiler to tune (-mtune) the generated code for a machine.
288 This will make the code run faster on the selected machine but
289 somewhat slower on other machines.
290 This option only changes how the compiler emits instructions, not the
291 selection of instructions itself, so the resulting kernel will run on
292 all other machines.
293
294config TUNE_DEFAULT
295 bool "Default"
296 help
297 Tune the generated code for the target processor for which the kernel
298 will be compiled.
299
1db9e051
HC
300config TUNE_Z900
301 bool "IBM zSeries model z800 and z900"
302
303config TUNE_Z990
304 bool "IBM zSeries model z890 and z990"
305
306config TUNE_Z9_109
307 bool "IBM System z9"
308
309config TUNE_Z10
310 bool "IBM System z10"
311
312config TUNE_Z196
313 bool "IBM zEnterprise 114 and 196"
314
315config TUNE_ZEC12
316 bool "IBM zBC12 and zEC12"
317
f8b2dcbd
MS
318config TUNE_Z13
319 bool "IBM z13"
320
1db9e051
HC
321endchoice
322
347a8dc3 323config 64BIT
6f9a3c33 324 def_bool y
d9f7a745 325
843c48fd
JG
326config COMPAT
327 def_bool y
328 prompt "Kernel support for 31 bit emulation"
843c48fd
JG
329 select COMPAT_BINFMT_ELF if BINFMT_ELF
330 select ARCH_WANT_OLD_COMPAT_IPC
7eddd99c 331 select COMPAT_OLD_SIGACTION
2813893f 332 depends on MULTIUSER
843c48fd
JG
333 help
334 Select this option if you want to enable your system kernel to
335 handle system-calls from ELF binaries for 31 bit ESA. This option
336 (and some other stuff like libraries and such) is needed for
337 executing 31 bit applications. It is safe to say "Y".
338
339config SYSVIPC_COMPAT
340 def_bool y if COMPAT && SYSVIPC
341
342config KEYS_COMPAT
343 def_bool y if COMPAT && KEYS
344
1da177e4 345config SMP
6f9a3c33
MS
346 def_bool y
347 prompt "Symmetric multi-processing support"
1da177e4
LT
348 ---help---
349 This enables support for systems with more than one CPU. If you have
350 a system with only one CPU, like most personal computers, say N. If
351 you have a system with more than one CPU, say Y.
352
4a474157 353 If you say N here, the kernel will run on uni- and multiprocessor
1da177e4
LT
354 machines, but will use only one CPU of a multiprocessor machine. If
355 you say Y here, the kernel will run on many, but not all,
4a474157 356 uniprocessor machines. On a uniprocessor machine, the kernel
1da177e4
LT
357 will run faster if you say N here.
358
03502faa
AB
359 See also the SMP-HOWTO available at
360 <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
361
362 Even if you don't know what to do here, say Y.
363
364config NR_CPUS
5c75a0da
HC
365 int "Maximum number of CPUs (2-512)"
366 range 2 512
1da177e4 367 depends on SMP
5a79859a 368 default "64"
1da177e4
LT
369 help
370 This allows you to specify the maximum number of CPUs which this
5c75a0da 371 kernel will support. The maximum supported value is 512 and the
1da177e4
LT
372 minimum value which makes sense is 2.
373
374 This is purely to save memory - each supported CPU adds
375 approximately sixteen kilobytes to the kernel image.
376
377config HOTPLUG_CPU
6f9a3c33
MS
378 def_bool y
379 prompt "Support for hot-pluggable CPUs"
1da177e4 380 depends on SMP
1da177e4
LT
381 help
382 Say Y here to be able to turn CPUs off and on. CPUs
383 can be controlled through /sys/devices/system/cpu/cpu#.
384 Say N if you want to disable CPU hotplug.
385
10ad34bc
MS
386config SCHED_SMT
387 def_bool n
388
8d11e021 389config SCHED_MC
83a24e32 390 def_bool n
8d11e021 391
4cb14bc8 392config SCHED_BOOK
10ad34bc
MS
393 def_bool n
394
395config SCHED_TOPOLOGY
6f9a3c33 396 def_bool y
10ad34bc 397 prompt "Topology scheduler support"
83a24e32 398 depends on SMP
10ad34bc 399 select SCHED_SMT
83a24e32 400 select SCHED_MC
10ad34bc 401 select SCHED_BOOK
4cb14bc8 402 help
10ad34bc
MS
403 Topology scheduler support improves the CPU scheduler's decision
404 making when dealing with machines that have multi-threading,
405 multiple cores or multiple books.
4cb14bc8 406
843c48fd
JG
407source kernel/Kconfig.preempt
408
843c48fd 409source kernel/Kconfig.hz
1da177e4 410
843c48fd 411endmenu
1da177e4 412
843c48fd 413menu "Memory setup"
1d057720 414
843c48fd 415config ARCH_SPARSEMEM_ENABLE
6f9a3c33 416 def_bool y
843c48fd
JG
417 select SPARSEMEM_VMEMMAP_ENABLE
418 select SPARSEMEM_VMEMMAP
e65e1fc2 419
843c48fd
JG
420config ARCH_SPARSEMEM_DEFAULT
421 def_bool y
1da177e4 422
843c48fd
JG
423config ARCH_SELECT_MEMORY_MODEL
424 def_bool y
1da177e4 425
843c48fd
JG
426config ARCH_ENABLE_MEMORY_HOTPLUG
427 def_bool y if SPARSEMEM
0efa4703 428
843c48fd
JG
429config ARCH_ENABLE_MEMORY_HOTREMOVE
430 def_bool y
e37f50e1 431
ec66ad66
MS
432config ARCH_ENABLE_SPLIT_PMD_PTLOCK
433 def_bool y
ec66ad66 434
843c48fd
JG
435config FORCE_MAX_ZONEORDER
436 int
437 default "9"
f861e405 438
843c48fd 439source "mm/Kconfig"
1da177e4
LT
440
441config PACK_STACK
6f9a3c33
MS
442 def_bool y
443 prompt "Pack kernel stack"
1da177e4
LT
444 help
445 This option enables the compiler option -mkernel-backchain if it
446 is available. If the option is available the compiler supports
447 the new stack layout which dramatically reduces the minimum stack
448 frame size. With an old compiler a non-leaf function needs a
449 minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
450 -mkernel-backchain the minimum size drops to 16 byte on 31 bit
451 and 24 byte on 64 bit.
452
453 Say Y if you are unsure.
454
1da177e4 455config CHECK_STACK
6f9a3c33
MS
456 def_bool y
457 prompt "Detect kernel stack overflow"
1da177e4
LT
458 help
459 This option enables the compiler option -mstack-guard and
460 -mstack-size if they are available. If the compiler supports them
461 it will emit additional code to each function prolog to trigger
462 an illegal operation if the kernel stack is about to overflow.
463
464 Say N if you are unsure.
465
466config STACK_GUARD
467 int "Size of the guard area (128-1024)"
468 range 128 1024
469 depends on CHECK_STACK
470 default "256"
471 help
472 This allows you to specify the size of the guard area at the lower
473 end of the kernel stack. If the kernel stack points into the guard
474 area on function entry an illegal operation is triggered. The size
475 needs to be a power of 2. Please keep in mind that the size of an
476 interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
477 The minimum size for the stack guard should be 256 for 31 bit and
478 512 for 64 bit.
479
2c190da4 480config WARN_DYNAMIC_STACK
6f9a3c33 481 def_bool n
2c190da4 482 prompt "Emit compiler warnings for function with dynamic stack usage"
1da177e4 483 help
2c190da4
JG
484 This option enables the compiler option -mwarn-dynamicstack. If the
485 compiler supports this options generates warnings for functions
486 that dynamically allocate stack space using alloca.
1da177e4
LT
487
488 Say N if you are unsure.
489
843c48fd 490endmenu
3f22ab27 491
843c48fd 492menu "I/O subsystem"
1da177e4 493
1da177e4 494config QDIO
6f9a3c33
MS
495 def_tristate y
496 prompt "QDIO support"
1da177e4 497 ---help---
8129ee16 498 This driver provides the Queued Direct I/O base support for
efca13bc 499 IBM System z.
1da177e4
LT
500
501 To compile this driver as a module, choose M here: the
502 module will be called qdio.
503
504 If unsure, say Y.
505
c8717a3d
JG
506menuconfig PCI
507 bool "PCI support"
90114d65 508 select HAVE_DMA_ATTRS
c8717a3d
JG
509 select PCI_MSI
510 help
511 Enable PCI support.
512
513if PCI
514
515config PCI_NR_FUNCTIONS
516 int "Maximum number of PCI functions (1-4096)"
517 range 1 4096
518 default "64"
519 help
520 This allows you to specify the maximum number of PCI functions which
521 this kernel will support.
522
1f44a225
MS
523config PCI_NR_MSI
524 int "Maximum number of MSI interrupts (64-32768)"
525 range 64 32768
526 default "256"
527 help
528 This defines the number of virtual interrupts the kernel will
529 provide for MSI interrupts. If you configure your system to have
530 too few drivers will fail to allocate MSI interrupts for all
531 PCI devices.
532
c8717a3d
JG
533source "drivers/pci/Kconfig"
534source "drivers/pci/pcie/Kconfig"
535source "drivers/pci/hotplug/Kconfig"
536
537endif # PCI
538
539config PCI_DOMAINS
540 def_bool PCI
541
542config HAS_IOMEM
543 def_bool PCI
544
545config IOMMU_HELPER
546 def_bool PCI
547
548config HAS_DMA
549 def_bool PCI
550 select HAVE_DMA_API_DEBUG
551
552config NEED_SG_DMA_LENGTH
553 def_bool PCI
554
91630032
JG
555config NEED_DMA_MAP_STATE
556 def_bool PCI
557
9d92a7e1 558config CHSC_SCH
d9c11b1e 559 def_tristate m
6f9a3c33 560 prompt "Support for CHSC subchannels"
9d92a7e1
CH
561 help
562 This driver allows usage of CHSC subchannels. A CHSC subchannel
563 is usually present on LPAR only.
564 The driver creates a device /dev/chsc, which may be used to
565 obtain I/O configuration information about the machine and
566 to issue asynchronous chsc commands (DANGEROUS).
567 You will usually only want to use this interface on a special
568 LPAR designated for system management.
569
570 To compile this driver as a module, choose M here: the
571 module will be called chsc_sch.
572
573 If unsure, say N.
574
1d1c8f78
SO
575config SCM_BUS
576 def_bool y
1d1c8f78
SO
577 prompt "SCM bus driver"
578 help
579 Bus driver for Storage Class Memory.
580
eadb86ab
SO
581config EADM_SCH
582 def_tristate m
583 prompt "Support for EADM subchannels"
584 depends on SCM_BUS
585 help
586 This driver allows usage of EADM subchannels. EADM subchannels act
587 as a communication vehicle for SCM increments.
588
589 To compile this driver as a module, choose M here: the
590 module will be called eadm_sch.
591
843c48fd
JG
592endmenu
593
594menu "Dump support"
595
596config CRASH_DUMP
597 bool "kernel crash dumps"
5a79859a 598 depends on SMP
843c48fd
JG
599 select KEXEC
600 help
601 Generate crash dump after being started by kexec.
602 Crash dump kernels are loaded in the main kernel with kexec-tools
603 into a specially reserved region and then later executed after
604 a crash by kdump/kexec.
843c48fd 605 Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
bf28a597
MH
606 This option also enables s390 zfcpdump.
607 See also <file:Documentation/s390/zfcpdump.txt>
843c48fd
JG
608
609endmenu
610
611menu "Executable file formats / Emulations"
1da177e4 612
1da177e4
LT
613source "fs/Kconfig.binfmt"
614
843c48fd
JG
615config SECCOMP
616 def_bool y
617 prompt "Enable seccomp to safely compute untrusted bytecode"
618 depends on PROC_FS
619 help
620 This kernel feature is useful for number crunching applications
621 that may need to compute untrusted bytecode during their
622 execution. By using pipes or other transports made available to
623 the process as file descriptors supporting the read/write
624 syscalls, it's possible to isolate those applications in
625 their own address space using seccomp. Once seccomp is
626 enabled via /proc/<pid>/seccomp, it cannot be disabled
627 and the task is only allowed to execute a few safe syscalls
628 defined by each seccomp mode.
629
630 If unsure, say Y.
631
632endmenu
633
634menu "Power Management"
635
636config ARCH_HIBERNATION_POSSIBLE
5a79859a 637 def_bool y
843c48fd
JG
638
639source "kernel/power/Kconfig"
640
641endmenu
642
643source "net/Kconfig"
644
645config PCMCIA
646 def_bool n
647
648config CCW
649 def_bool y
650
651source "drivers/Kconfig"
652
653source "fs/Kconfig"
654
655source "arch/s390/Kconfig.debug"
656
657source "security/Kconfig"
658
659source "crypto/Kconfig"
660
661source "lib/Kconfig"
662
663menu "Virtualization"
684de39b 664
1da177e4 665config PFAULT
6f9a3c33
MS
666 def_bool y
667 prompt "Pseudo page fault support"
1da177e4
LT
668 help
669 Select this option, if you want to use PFAULT pseudo page fault
670 handling under VM. If running native or in LPAR, this option
671 has no effect. If your VM does not support PFAULT, PAGEEX
672 pseudo page fault handling will be used.
673 Note that VM 4.2 supports PFAULT but has a bug in its
674 implementation that causes some problems.
675 Everybody who wants to run Linux under VM != VM4.2 should select
676 this option.
677
678config SHARED_KERNEL
0eccc783
HC
679 bool "VM shared kernel support"
680 depends on !JUMP_LABEL
1da177e4
LT
681 help
682 Select this option, if you want to share the text segment of the
683 Linux kernel between different VM guests. This reduces memory
684 usage with lots of guests but greatly increases kernel size.
9c9c1761
HC
685 Also if a kernel was IPL'ed from a shared segment the kexec system
686 call will not work.
1da177e4
LT
687 You should only select this option if you know what you are
688 doing and want to exploit this feature.
689
690config CMM
6f9a3c33
MS
691 def_tristate n
692 prompt "Cooperative memory management"
1da177e4
LT
693 help
694 Select this option, if you want to enable the kernel interface
695 to reduce the memory size of the system. This is accomplished
696 by allocating pages of memory and put them "on hold". This only
697 makes sense for a system running under VM where the unused pages
698 will be reused by VM for other guest systems. The interface
699 allows an external monitor to balance memory of many systems.
700 Everybody who wants to run Linux under VM should select this
701 option.
702
1da177e4 703config CMM_IUCV
6f9a3c33
MS
704 def_bool y
705 prompt "IUCV special message interface to cooperative memory management"
1da177e4
LT
706 depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
707 help
708 Select this option to enable the special message interface to
709 the cooperative memory management.
710
1da177e4 711config APPLDATA_BASE
6f9a3c33
MS
712 def_bool n
713 prompt "Linux - VM Monitor Stream, base infrastructure"
c185b783 714 depends on PROC_FS
1da177e4
LT
715 help
716 This provides a kernel interface for creating and updating z/VM APPLDATA
717 monitor records. The monitor records are updated at certain time
718 intervals, once the timer is started.
719 Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
720 i.e. enables or disables monitoring on the Linux side.
721 A custom interval value (in seconds) can be written to
722 /proc/appldata/interval.
723
724 Defaults are 60 seconds interval and timer off.
725 The /proc entries can also be read from, showing the current settings.
726
727config APPLDATA_MEM
6f9a3c33
MS
728 def_tristate m
729 prompt "Monitor memory management statistics"
62fb2ba3 730 depends on APPLDATA_BASE && VM_EVENT_COUNTERS
1da177e4
LT
731 help
732 This provides memory management related data to the Linux - VM Monitor
733 Stream, like paging/swapping rate, memory utilisation, etc.
734 Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
735 APPLDATA monitor record, i.e. enables or disables monitoring this record
736 on the z/VM side.
737
738 Default is disabled.
739 The /proc entry can also be read from, showing the current settings.
740
741 This can also be compiled as a module, which will be called
742 appldata_mem.o.
743
744config APPLDATA_OS
6f9a3c33
MS
745 def_tristate m
746 prompt "Monitor OS statistics"
1da177e4
LT
747 depends on APPLDATA_BASE
748 help
749 This provides OS related data to the Linux - VM Monitor Stream, like
750 CPU utilisation, etc.
751 Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
752 APPLDATA monitor record, i.e. enables or disables monitoring this record
753 on the z/VM side.
754
755 Default is disabled.
756 This can also be compiled as a module, which will be called
757 appldata_os.o.
758
759config APPLDATA_NET_SUM
6f9a3c33
MS
760 def_tristate m
761 prompt "Monitor overall network statistics"
70193af9 762 depends on APPLDATA_BASE && NET
1da177e4
LT
763 help
764 This provides network related data to the Linux - VM Monitor Stream,
765 currently there is only a total sum of network I/O statistics, no
766 per-interface data.
767 Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
768 APPLDATA monitor record, i.e. enables or disables monitoring this record
769 on the z/VM side.
770
771 Default is disabled.
772 This can also be compiled as a module, which will be called
773 appldata_net_sum.o.
774
24bbb1fa 775config S390_HYPFS_FS
6f9a3c33
MS
776 def_bool y
777 prompt "s390 hypervisor file system support"
24bbb1fa 778 select SYS_HYPERVISOR
24bbb1fa
MH
779 help
780 This is a virtual file system intended to provide accounting
781 information in an s390 hypervisor environment.
782
843c48fd 783source "arch/s390/kvm/Kconfig"
411ed322 784
fa587743 785config S390_GUEST
6f9a3c33 786 def_bool y
510cf5a6 787 prompt "s390 support for virtio devices"
79b6f7fb 788 select TTY
80629b0b 789 select VIRTUALIZATION
fa587743 790 select VIRTIO
faeba830 791 select VIRTIO_CONSOLE
fa587743 792 help
bdd1fc27
CH
793 Enabling this option adds support for virtio based paravirtual device
794 drivers on s390.
1da177e4 795
20766c08 796 Select this option if you want to run the kernel as a guest under
bdd1fc27 797 the KVM hypervisor.
155af2f9
HJP
798
799endmenu