]> Git Repo - linux.git/blob - arch/s390/Kconfig
s390/mm: convert to the generic get_user_pages_fast code
[linux.git] / arch / s390 / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 config MMU
3         def_bool y
4
5 config ZONE_DMA
6         def_bool y
7
8 config CPU_BIG_ENDIAN
9         def_bool y
10
11 config LOCKDEP_SUPPORT
12         def_bool y
13
14 config STACKTRACE_SUPPORT
15         def_bool y
16
17 config RWSEM_GENERIC_SPINLOCK
18         bool
19
20 config RWSEM_XCHGADD_ALGORITHM
21         def_bool y
22
23 config ARCH_HAS_ILOG2_U32
24         def_bool n
25
26 config ARCH_HAS_ILOG2_U64
27         def_bool n
28
29 config GENERIC_HWEIGHT
30         def_bool y
31
32 config GENERIC_BUG
33         def_bool y if BUG
34
35 config GENERIC_BUG_RELATIVE_POINTERS
36         def_bool y
37
38 config GENERIC_LOCKBREAK
39         def_bool y if SMP && PREEMPT
40
41 config PGSTE
42         def_bool y if KVM
43
44 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
45         def_bool y
46
47 config AUDIT_ARCH
48         def_bool y
49
50 config NO_IOPORT_MAP
51         def_bool y
52
53 config PCI_QUIRKS
54         def_bool n
55
56 config ARCH_SUPPORTS_UPROBES
57         def_bool y
58
59 config KASAN_SHADOW_OFFSET
60         hex
61         depends on KASAN
62         default 0x18000000000000 if KASAN_S390_4_LEVEL_PAGING
63         default 0x30000000000
64
65 config S390
66         def_bool y
67         select ARCH_BINFMT_ELF_STATE
68         select ARCH_HAS_DEVMEM_IS_ALLOWED
69         select ARCH_HAS_ELF_RANDOMIZE
70         select ARCH_HAS_FORTIFY_SOURCE
71         select ARCH_HAS_GCOV_PROFILE_ALL
72         select ARCH_HAS_GIGANTIC_PAGE if (MEMORY_ISOLATION && COMPACTION) || CMA
73         select ARCH_HAS_KCOV
74         select ARCH_HAS_PTE_SPECIAL
75         select ARCH_HAS_SET_MEMORY
76         select ARCH_HAS_STRICT_KERNEL_RWX
77         select ARCH_HAS_STRICT_MODULE_RWX
78         select ARCH_HAS_SYSCALL_WRAPPER
79         select ARCH_HAS_UBSAN_SANITIZE_ALL
80         select ARCH_HAVE_NMI_SAFE_CMPXCHG
81         select ARCH_INLINE_READ_LOCK
82         select ARCH_INLINE_READ_LOCK_BH
83         select ARCH_INLINE_READ_LOCK_IRQ
84         select ARCH_INLINE_READ_LOCK_IRQSAVE
85         select ARCH_INLINE_READ_TRYLOCK
86         select ARCH_INLINE_READ_UNLOCK
87         select ARCH_INLINE_READ_UNLOCK_BH
88         select ARCH_INLINE_READ_UNLOCK_IRQ
89         select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
90         select ARCH_INLINE_SPIN_LOCK
91         select ARCH_INLINE_SPIN_LOCK_BH
92         select ARCH_INLINE_SPIN_LOCK_IRQ
93         select ARCH_INLINE_SPIN_LOCK_IRQSAVE
94         select ARCH_INLINE_SPIN_TRYLOCK
95         select ARCH_INLINE_SPIN_TRYLOCK_BH
96         select ARCH_INLINE_SPIN_UNLOCK
97         select ARCH_INLINE_SPIN_UNLOCK_BH
98         select ARCH_INLINE_SPIN_UNLOCK_IRQ
99         select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
100         select ARCH_INLINE_WRITE_LOCK
101         select ARCH_INLINE_WRITE_LOCK_BH
102         select ARCH_INLINE_WRITE_LOCK_IRQ
103         select ARCH_INLINE_WRITE_LOCK_IRQSAVE
104         select ARCH_INLINE_WRITE_TRYLOCK
105         select ARCH_INLINE_WRITE_UNLOCK
106         select ARCH_INLINE_WRITE_UNLOCK_BH
107         select ARCH_INLINE_WRITE_UNLOCK_IRQ
108         select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
109         select ARCH_SAVE_PAGE_KEYS if HIBERNATION
110         select ARCH_SUPPORTS_ATOMIC_RMW
111         select ARCH_SUPPORTS_NUMA_BALANCING
112         select ARCH_USE_BUILTIN_BSWAP
113         select ARCH_USE_CMPXCHG_LOCKREF
114         select ARCH_WANTS_DYNAMIC_TASK_STRUCT
115         select ARCH_WANT_IPC_PARSE_VERSION
116         select BUILDTIME_EXTABLE_SORT
117         select CLONE_BACKWARDS2
118         select DYNAMIC_FTRACE if FUNCTION_TRACER
119         select GENERIC_CLOCKEVENTS
120         select GENERIC_CPU_AUTOPROBE
121         select GENERIC_CPU_DEVICES if !SMP
122         select GENERIC_CPU_VULNERABILITIES
123         select GENERIC_FIND_FIRST_BIT
124         select GENERIC_SMP_IDLE_THREAD
125         select GENERIC_TIME_VSYSCALL
126         select HAVE_ALIGNED_STRUCT_PAGE if SLUB
127         select HAVE_ARCH_AUDITSYSCALL
128         select HAVE_ARCH_JUMP_LABEL
129         select HAVE_ARCH_JUMP_LABEL_RELATIVE
130         select HAVE_ARCH_KASAN
131         select CPU_NO_EFFICIENT_FFS if !HAVE_MARCH_Z9_109_FEATURES
132         select HAVE_ARCH_SECCOMP_FILTER
133         select HAVE_ARCH_SOFT_DIRTY
134         select HAVE_ARCH_TRACEHOOK
135         select HAVE_ARCH_TRANSPARENT_HUGEPAGE
136         select HAVE_ARCH_VMAP_STACK
137         select HAVE_EBPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES
138         select HAVE_CMPXCHG_DOUBLE
139         select HAVE_CMPXCHG_LOCAL
140         select HAVE_COPY_THREAD_TLS
141         select HAVE_DEBUG_KMEMLEAK
142         select HAVE_DMA_CONTIGUOUS
143         select HAVE_DYNAMIC_FTRACE
144         select HAVE_DYNAMIC_FTRACE_WITH_REGS
145         select HAVE_EFFICIENT_UNALIGNED_ACCESS
146         select HAVE_FENTRY
147         select HAVE_FTRACE_MCOUNT_RECORD
148         select HAVE_FUNCTION_GRAPH_TRACER
149         select HAVE_FUNCTION_TRACER
150         select HAVE_FUTEX_CMPXCHG if FUTEX
151         select HAVE_GCC_PLUGINS
152         select HAVE_GENERIC_GUP
153         select HAVE_KERNEL_BZIP2
154         select HAVE_KERNEL_GZIP
155         select HAVE_KERNEL_LZ4
156         select HAVE_KERNEL_LZMA
157         select HAVE_KERNEL_LZO
158         select HAVE_KERNEL_UNCOMPRESSED
159         select HAVE_KERNEL_XZ
160         select HAVE_KPROBES
161         select HAVE_KRETPROBES
162         select HAVE_KVM
163         select HAVE_LIVEPATCH
164         select HAVE_PERF_REGS
165         select HAVE_PERF_USER_STACK_DUMP
166         select HAVE_MEMBLOCK_NODE_MAP
167         select HAVE_MEMBLOCK_PHYS_MAP
168         select HAVE_MOD_ARCH_SPECIFIC
169         select HAVE_NOP_MCOUNT
170         select HAVE_OPROFILE
171         select HAVE_PCI
172         select HAVE_PERF_EVENTS
173         select HAVE_REGS_AND_STACK_ACCESS_API
174         select HAVE_RSEQ
175         select HAVE_SYSCALL_TRACEPOINTS
176         select HAVE_VIRT_CPU_ACCOUNTING
177         select IOMMU_HELPER             if PCI
178         select IOMMU_SUPPORT            if PCI
179         select MODULES_USE_ELF_RELA
180         select NEED_DMA_MAP_STATE       if PCI
181         select NEED_SG_DMA_LENGTH       if PCI
182         select OLD_SIGACTION
183         select OLD_SIGSUSPEND3
184         select PCI_DOMAINS              if PCI
185         select PCI_MSI                  if PCI
186         select SPARSE_IRQ
187         select SYSCTL_EXCEPTION_TRACE
188         select THREAD_INFO_IN_TASK
189         select TTY
190         select VIRT_CPU_ACCOUNTING
191         select ARCH_HAS_SCALED_CPUTIME
192         select VIRT_TO_BUS
193         select HAVE_NMI
194
195
196 config SCHED_OMIT_FRAME_POINTER
197         def_bool y
198
199 config PGTABLE_LEVELS
200         int
201         default 5
202
203 source "kernel/livepatch/Kconfig"
204
205 menu "Processor type and features"
206
207 config HAVE_MARCH_Z900_FEATURES
208         def_bool n
209
210 config HAVE_MARCH_Z990_FEATURES
211         def_bool n
212         select HAVE_MARCH_Z900_FEATURES
213
214 config HAVE_MARCH_Z9_109_FEATURES
215         def_bool n
216         select HAVE_MARCH_Z990_FEATURES
217
218 config HAVE_MARCH_Z10_FEATURES
219         def_bool n
220         select HAVE_MARCH_Z9_109_FEATURES
221
222 config HAVE_MARCH_Z196_FEATURES
223         def_bool n
224         select HAVE_MARCH_Z10_FEATURES
225
226 config HAVE_MARCH_ZEC12_FEATURES
227         def_bool n
228         select HAVE_MARCH_Z196_FEATURES
229
230 config HAVE_MARCH_Z13_FEATURES
231         def_bool n
232         select HAVE_MARCH_ZEC12_FEATURES
233
234 config HAVE_MARCH_Z14_FEATURES
235         def_bool n
236         select HAVE_MARCH_Z13_FEATURES
237
238 choice
239         prompt "Processor type"
240         default MARCH_Z196
241
242 config MARCH_Z900
243         bool "IBM zSeries model z800 and z900"
244         select HAVE_MARCH_Z900_FEATURES
245         help
246           Select this to enable optimizations for model z800/z900 (2064 and
247           2066 series). This will enable some optimizations that are not
248           available on older ESA/390 (31 Bit) only CPUs.
249
250 config MARCH_Z990
251         bool "IBM zSeries model z890 and z990"
252         select HAVE_MARCH_Z990_FEATURES
253         help
254           Select this to enable optimizations for model z890/z990 (2084 and
255           2086 series). The kernel will be slightly faster but will not work
256           on older machines.
257
258 config MARCH_Z9_109
259         bool "IBM System z9"
260         select HAVE_MARCH_Z9_109_FEATURES
261         help
262           Select this to enable optimizations for IBM System z9 (2094 and
263           2096 series). The kernel will be slightly faster but will not work
264           on older machines.
265
266 config MARCH_Z10
267         bool "IBM System z10"
268         select HAVE_MARCH_Z10_FEATURES
269         help
270           Select this to enable optimizations for IBM System z10 (2097 and
271           2098 series). The kernel will be slightly faster but will not work
272           on older machines.
273
274 config MARCH_Z196
275         bool "IBM zEnterprise 114 and 196"
276         select HAVE_MARCH_Z196_FEATURES
277         help
278           Select this to enable optimizations for IBM zEnterprise 114 and 196
279           (2818 and 2817 series). The kernel will be slightly faster but will
280           not work on older machines.
281
282 config MARCH_ZEC12
283         bool "IBM zBC12 and zEC12"
284         select HAVE_MARCH_ZEC12_FEATURES
285         help
286           Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
287           2827 series). The kernel will be slightly faster but will not work on
288           older machines.
289
290 config MARCH_Z13
291         bool "IBM z13s and z13"
292         select HAVE_MARCH_Z13_FEATURES
293         help
294           Select this to enable optimizations for IBM z13s and z13 (2965 and
295           2964 series). The kernel will be slightly faster but will not work on
296           older machines.
297
298 config MARCH_Z14
299         bool "IBM z14 ZR1 and z14"
300         select HAVE_MARCH_Z14_FEATURES
301         help
302           Select this to enable optimizations for IBM z14 ZR1 and z14 (3907
303           and 3906 series). The kernel will be slightly faster but will not
304           work on older machines.
305
306 endchoice
307
308 config MARCH_Z900_TUNE
309         def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT
310
311 config MARCH_Z990_TUNE
312         def_bool TUNE_Z990 || MARCH_Z990 && TUNE_DEFAULT
313
314 config MARCH_Z9_109_TUNE
315         def_bool TUNE_Z9_109 || MARCH_Z9_109 && TUNE_DEFAULT
316
317 config MARCH_Z10_TUNE
318         def_bool TUNE_Z10 || MARCH_Z10 && TUNE_DEFAULT
319
320 config MARCH_Z196_TUNE
321         def_bool TUNE_Z196 || MARCH_Z196 && TUNE_DEFAULT
322
323 config MARCH_ZEC12_TUNE
324         def_bool TUNE_ZEC12 || MARCH_ZEC12 && TUNE_DEFAULT
325
326 config MARCH_Z13_TUNE
327         def_bool TUNE_Z13 || MARCH_Z13 && TUNE_DEFAULT
328
329 config MARCH_Z14_TUNE
330         def_bool TUNE_Z14 || MARCH_Z14 && TUNE_DEFAULT
331
332 choice
333         prompt "Tune code generation"
334         default TUNE_DEFAULT
335         help
336           Cause the compiler to tune (-mtune) the generated code for a machine.
337           This will make the code run faster on the selected machine but
338           somewhat slower on other machines.
339           This option only changes how the compiler emits instructions, not the
340           selection of instructions itself, so the resulting kernel will run on
341           all other machines.
342
343 config TUNE_DEFAULT
344         bool "Default"
345         help
346           Tune the generated code for the target processor for which the kernel
347           will be compiled.
348
349 config TUNE_Z900
350         bool "IBM zSeries model z800 and z900"
351
352 config TUNE_Z990
353         bool "IBM zSeries model z890 and z990"
354
355 config TUNE_Z9_109
356         bool "IBM System z9"
357
358 config TUNE_Z10
359         bool "IBM System z10"
360
361 config TUNE_Z196
362         bool "IBM zEnterprise 114 and 196"
363
364 config TUNE_ZEC12
365         bool "IBM zBC12 and zEC12"
366
367 config TUNE_Z13
368         bool "IBM z13"
369
370 config TUNE_Z14
371         bool "IBM z14"
372
373 endchoice
374
375 config 64BIT
376         def_bool y
377
378 config COMPAT
379         def_bool y
380         prompt "Kernel support for 31 bit emulation"
381         select COMPAT_BINFMT_ELF if BINFMT_ELF
382         select ARCH_WANT_OLD_COMPAT_IPC
383         select COMPAT_OLD_SIGACTION
384         select HAVE_UID16
385         depends on MULTIUSER
386         help
387           Select this option if you want to enable your system kernel to
388           handle system-calls from ELF binaries for 31 bit ESA.  This option
389           (and some other stuff like libraries and such) is needed for
390           executing 31 bit applications.  It is safe to say "Y".
391
392 config COMPAT_VDSO
393         def_bool COMPAT && !CC_IS_CLANG
394
395 config SYSVIPC_COMPAT
396         def_bool y if COMPAT && SYSVIPC
397
398 config SMP
399         def_bool y
400         prompt "Symmetric multi-processing support"
401         ---help---
402           This enables support for systems with more than one CPU. If you have
403           a system with only one CPU, like most personal computers, say N. If
404           you have a system with more than one CPU, say Y.
405
406           If you say N here, the kernel will run on uni- and multiprocessor
407           machines, but will use only one CPU of a multiprocessor machine. If
408           you say Y here, the kernel will run on many, but not all,
409           uniprocessor machines. On a uniprocessor machine, the kernel
410           will run faster if you say N here.
411
412           See also the SMP-HOWTO available at
413           <http://www.tldp.org/docs.html#howto>.
414
415           Even if you don't know what to do here, say Y.
416
417 config NR_CPUS
418         int "Maximum number of CPUs (2-512)"
419         range 2 512
420         depends on SMP
421         default "64"
422         help
423           This allows you to specify the maximum number of CPUs which this
424           kernel will support. The maximum supported value is 512 and the
425           minimum value which makes sense is 2.
426
427           This is purely to save memory - each supported CPU adds
428           approximately sixteen kilobytes to the kernel image.
429
430 config HOTPLUG_CPU
431         def_bool y
432         prompt "Support for hot-pluggable CPUs"
433         depends on SMP
434         help
435           Say Y here to be able to turn CPUs off and on. CPUs
436           can be controlled through /sys/devices/system/cpu/cpu#.
437           Say N if you want to disable CPU hotplug.
438
439 # Some NUMA nodes have memory ranges that span
440 # other nodes.  Even though a pfn is valid and
441 # between a node's start and end pfns, it may not
442 # reside on that node.  See memmap_init_zone()
443 # for details. <- They meant memory holes!
444 config NODES_SPAN_OTHER_NODES
445         def_bool NUMA
446
447 config NUMA
448         bool "NUMA support"
449         depends on SMP && SCHED_TOPOLOGY
450         default n
451         help
452           Enable NUMA support
453
454           This option adds NUMA support to the kernel.
455
456           An operation mode can be selected by appending
457           numa=<method> to the kernel command line.
458
459           The default behaviour is identical to appending numa=plain to
460           the command line. This will create just one node with all
461           available memory and all CPUs in it.
462
463 config NODES_SHIFT
464         int "Maximum NUMA nodes (as a power of 2)"
465         range 1 10
466         depends on NUMA
467         default "4"
468         help
469           Specify the maximum number of NUMA nodes available on the target
470           system. Increases memory reserved to accommodate various tables.
471
472 menu "Select NUMA modes"
473         depends on NUMA
474
475 config NUMA_EMU
476         bool "NUMA emulation"
477         default y
478         help
479           Numa emulation mode will split the available system memory into
480           equal chunks which then are distributed over the configured number
481           of nodes in a round-robin manner.
482
483           The number of fake nodes is limited by the number of available memory
484           chunks (i.e. memory size / fake size) and the number of supported
485           nodes in the kernel.
486
487           The CPUs are assigned to the nodes in a way that partially respects
488           the original machine topology (if supported by the machine).
489           Fair distribution of the CPUs is not guaranteed.
490
491 config EMU_SIZE
492         hex "NUMA emulation memory chunk size"
493         default 0x10000000
494         range 0x400000 0x100000000
495         depends on NUMA_EMU
496         help
497           Select the default size by which the memory is chopped and then
498           assigned to emulated NUMA nodes.
499
500           This can be overridden by specifying
501
502           emu_size=<n>
503
504           on the kernel command line where also suffixes K, M, G, and T are
505           supported.
506
507 endmenu
508
509 config SCHED_SMT
510         def_bool n
511
512 config SCHED_MC
513         def_bool n
514
515 config SCHED_BOOK
516         def_bool n
517
518 config SCHED_DRAWER
519         def_bool n
520
521 config SCHED_TOPOLOGY
522         def_bool y
523         prompt "Topology scheduler support"
524         depends on SMP
525         select SCHED_SMT
526         select SCHED_MC
527         select SCHED_BOOK
528         select SCHED_DRAWER
529         help
530           Topology scheduler support improves the CPU scheduler's decision
531           making when dealing with machines that have multi-threading,
532           multiple cores or multiple books.
533
534 source "kernel/Kconfig.hz"
535
536 config KEXEC
537         def_bool y
538         select KEXEC_CORE
539
540 config KEXEC_FILE
541         bool "kexec file based system call"
542         select KEXEC_CORE
543         select BUILD_BIN2C
544         depends on CRYPTO
545         depends on CRYPTO_SHA256
546         depends on CRYPTO_SHA256_S390
547         help
548           Enable the kexec file based system call. In contrast to the normal
549           kexec system call this system call takes file descriptors for the
550           kernel and initramfs as arguments.
551
552 config ARCH_HAS_KEXEC_PURGATORY
553         def_bool y
554         depends on KEXEC_FILE
555
556 config ARCH_RANDOM
557         def_bool y
558         prompt "s390 architectural random number generation API"
559         help
560           Enable the s390 architectural random number generation API
561           to provide random data for all consumers within the Linux
562           kernel.
563
564           When enabled the arch_random_* functions declared in linux/random.h
565           are implemented. The implementation is based on the s390 CPACF
566           instruction subfunction TRNG which provides a real true random
567           number generator.
568
569           If unsure, say Y.
570
571 config KERNEL_NOBP
572         def_bool n
573         prompt "Enable modified branch prediction for the kernel by default"
574         help
575           If this option is selected the kernel will switch to a modified
576           branch prediction mode if the firmware interface is available.
577           The modified branch prediction mode improves the behaviour in
578           regard to speculative execution.
579
580           With the option enabled the kernel parameter "nobp=0" or "nospec"
581           can be used to run the kernel in the normal branch prediction mode.
582
583           With the option disabled the modified branch prediction mode is
584           enabled with the "nobp=1" kernel parameter.
585
586           If unsure, say N.
587
588 config EXPOLINE
589         def_bool n
590         prompt "Avoid speculative indirect branches in the kernel"
591         help
592           Compile the kernel with the expoline compiler options to guard
593           against kernel-to-user data leaks by avoiding speculative indirect
594           branches.
595           Requires a compiler with -mindirect-branch=thunk support for full
596           protection. The kernel may run slower.
597
598           If unsure, say N.
599
600 choice
601         prompt "Expoline default"
602         depends on EXPOLINE
603         default EXPOLINE_FULL
604
605 config EXPOLINE_OFF
606         bool "spectre_v2=off"
607
608 config EXPOLINE_AUTO
609         bool "spectre_v2=auto"
610
611 config EXPOLINE_FULL
612         bool "spectre_v2=on"
613
614 endchoice
615
616 endmenu
617
618 menu "Memory setup"
619
620 config ARCH_SPARSEMEM_ENABLE
621         def_bool y
622         select SPARSEMEM_VMEMMAP_ENABLE
623         select SPARSEMEM_VMEMMAP
624
625 config ARCH_SPARSEMEM_DEFAULT
626         def_bool y
627
628 config ARCH_SELECT_MEMORY_MODEL
629         def_bool y
630
631 config ARCH_ENABLE_MEMORY_HOTPLUG
632         def_bool y if SPARSEMEM
633
634 config ARCH_ENABLE_MEMORY_HOTREMOVE
635         def_bool y
636
637 config ARCH_ENABLE_SPLIT_PMD_PTLOCK
638         def_bool y
639
640 config FORCE_MAX_ZONEORDER
641         int
642         default "9"
643
644 config MAX_PHYSMEM_BITS
645         int "Maximum size of supported physical memory in bits (42-53)"
646         range 42 53
647         default "46"
648         help
649           This option specifies the maximum supported size of physical memory
650           in bits. Supported is any size between 2^42 (4TB) and 2^53 (8PB).
651           Increasing the number of bits also increases the kernel image size.
652           By default 46 bits (64TB) are supported.
653
654 config PACK_STACK
655         def_bool y
656         prompt "Pack kernel stack"
657         help
658           This option enables the compiler option -mkernel-backchain if it
659           is available. If the option is available the compiler supports
660           the new stack layout which dramatically reduces the minimum stack
661           frame size. With an old compiler a non-leaf function needs a
662           minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
663           -mkernel-backchain the minimum size drops to 16 byte on 31 bit
664           and 24 byte on 64 bit.
665
666           Say Y if you are unsure.
667
668 config CHECK_STACK
669         def_bool y
670         depends on !VMAP_STACK
671         prompt "Detect kernel stack overflow"
672         help
673           This option enables the compiler option -mstack-guard and
674           -mstack-size if they are available. If the compiler supports them
675           it will emit additional code to each function prolog to trigger
676           an illegal operation if the kernel stack is about to overflow.
677
678           Say N if you are unsure.
679
680 config STACK_GUARD
681         int "Size of the guard area (128-1024)"
682         range 128 1024
683         depends on CHECK_STACK
684         default "256"
685         help
686           This allows you to specify the size of the guard area at the lower
687           end of the kernel stack. If the kernel stack points into the guard
688           area on function entry an illegal operation is triggered. The size
689           needs to be a power of 2. Please keep in mind that the size of an
690           interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
691           The minimum size for the stack guard should be 256 for 31 bit and
692           512 for 64 bit.
693
694 config WARN_DYNAMIC_STACK
695         def_bool n
696         prompt "Emit compiler warnings for function with dynamic stack usage"
697         help
698           This option enables the compiler option -mwarn-dynamicstack. If the
699           compiler supports this options generates warnings for functions
700           that dynamically allocate stack space using alloca.
701
702           Say N if you are unsure.
703
704 endmenu
705
706 menu "I/O subsystem"
707
708 config QDIO
709         def_tristate y
710         prompt "QDIO support"
711         ---help---
712           This driver provides the Queued Direct I/O base support for
713           IBM System z.
714
715           To compile this driver as a module, choose M here: the
716           module will be called qdio.
717
718           If unsure, say Y.
719
720 if PCI
721
722 config PCI_NR_FUNCTIONS
723         int "Maximum number of PCI functions (1-4096)"
724         range 1 4096
725         default "128"
726         help
727           This allows you to specify the maximum number of PCI functions which
728           this kernel will support.
729
730 endif   # PCI
731
732 config HAS_IOMEM
733         def_bool PCI
734
735 config CHSC_SCH
736         def_tristate m
737         prompt "Support for CHSC subchannels"
738         help
739           This driver allows usage of CHSC subchannels. A CHSC subchannel
740           is usually present on LPAR only.
741           The driver creates a device /dev/chsc, which may be used to
742           obtain I/O configuration information about the machine and
743           to issue asynchronous chsc commands (DANGEROUS).
744           You will usually only want to use this interface on a special
745           LPAR designated for system management.
746
747           To compile this driver as a module, choose M here: the
748           module will be called chsc_sch.
749
750           If unsure, say N.
751
752 config SCM_BUS
753         def_bool y
754         prompt "SCM bus driver"
755         help
756           Bus driver for Storage Class Memory.
757
758 config EADM_SCH
759         def_tristate m
760         prompt "Support for EADM subchannels"
761         depends on SCM_BUS
762         help
763           This driver allows usage of EADM subchannels. EADM subchannels act
764           as a communication vehicle for SCM increments.
765
766           To compile this driver as a module, choose M here: the
767           module will be called eadm_sch.
768
769 config VFIO_CCW
770         def_tristate n
771         prompt "Support for VFIO-CCW subchannels"
772         depends on S390_CCW_IOMMU && VFIO_MDEV
773         help
774           This driver allows usage of I/O subchannels via VFIO-CCW.
775
776           To compile this driver as a module, choose M here: the
777           module will be called vfio_ccw.
778
779 config VFIO_AP
780         def_tristate n
781         prompt "VFIO support for AP devices"
782         depends on S390_AP_IOMMU && VFIO_MDEV_DEVICE && KVM
783         help
784                 This driver grants access to Adjunct Processor (AP) devices
785                 via the VFIO mediated device interface.
786
787                 To compile this driver as a module, choose M here: the module
788                 will be called vfio_ap.
789
790 endmenu
791
792 menu "Dump support"
793
794 config CRASH_DUMP
795         bool "kernel crash dumps"
796         depends on SMP
797         select KEXEC
798         help
799           Generate crash dump after being started by kexec.
800           Crash dump kernels are loaded in the main kernel with kexec-tools
801           into a specially reserved region and then later executed after
802           a crash by kdump/kexec.
803           Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
804           This option also enables s390 zfcpdump.
805           See also <file:Documentation/s390/zfcpdump.txt>
806
807 endmenu
808
809 config SECCOMP
810         def_bool y
811         prompt "Enable seccomp to safely compute untrusted bytecode"
812         depends on PROC_FS
813         help
814           This kernel feature is useful for number crunching applications
815           that may need to compute untrusted bytecode during their
816           execution. By using pipes or other transports made available to
817           the process as file descriptors supporting the read/write
818           syscalls, it's possible to isolate those applications in
819           their own address space using seccomp. Once seccomp is
820           enabled via /proc/<pid>/seccomp, it cannot be disabled
821           and the task is only allowed to execute a few safe syscalls
822           defined by each seccomp mode.
823
824           If unsure, say Y.
825
826 menu "Power Management"
827
828 config ARCH_HIBERNATION_POSSIBLE
829         def_bool y
830
831 source "kernel/power/Kconfig"
832
833 endmenu
834
835 config CCW
836         def_bool y
837
838 config HAVE_PNETID
839         tristate
840         default (SMC || CCWGROUP)
841
842 menu "Virtualization"
843
844 config PROTECTED_VIRTUALIZATION_GUEST
845         def_bool n
846         prompt "Protected virtualization guest support"
847         help
848           Select this option, if you want to be able to run this
849           kernel as a protected virtualization KVM guest.
850           Protected virtualization capable machines have a mini hypervisor
851           located at machine level (an ultravisor). With help of the
852           Ultravisor, KVM will be able to run "protected" VMs, special
853           VMs whose memory and management data are unavailable to KVM.
854
855 config PFAULT
856         def_bool y
857         prompt "Pseudo page fault support"
858         help
859           Select this option, if you want to use PFAULT pseudo page fault
860           handling under VM. If running native or in LPAR, this option
861           has no effect. If your VM does not support PFAULT, PAGEEX
862           pseudo page fault handling will be used.
863           Note that VM 4.2 supports PFAULT but has a bug in its
864           implementation that causes some problems.
865           Everybody who wants to run Linux under VM != VM4.2 should select
866           this option.
867
868 config CMM
869         def_tristate n
870         prompt "Cooperative memory management"
871         help
872           Select this option, if you want to enable the kernel interface
873           to reduce the memory size of the system. This is accomplished
874           by allocating pages of memory and put them "on hold". This only
875           makes sense for a system running under VM where the unused pages
876           will be reused by VM for other guest systems. The interface
877           allows an external monitor to balance memory of many systems.
878           Everybody who wants to run Linux under VM should select this
879           option.
880
881 config CMM_IUCV
882         def_bool y
883         prompt "IUCV special message interface to cooperative memory management"
884         depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
885         help
886           Select this option to enable the special message interface to
887           the cooperative memory management.
888
889 config APPLDATA_BASE
890         def_bool n
891         prompt "Linux - VM Monitor Stream, base infrastructure"
892         depends on PROC_FS
893         help
894           This provides a kernel interface for creating and updating z/VM APPLDATA
895           monitor records. The monitor records are updated at certain time
896           intervals, once the timer is started.
897           Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
898           i.e. enables or disables monitoring on the Linux side.
899           A custom interval value (in seconds) can be written to
900           /proc/appldata/interval.
901
902           Defaults are 60 seconds interval and timer off.
903           The /proc entries can also be read from, showing the current settings.
904
905 config APPLDATA_MEM
906         def_tristate m
907         prompt "Monitor memory management statistics"
908         depends on APPLDATA_BASE && VM_EVENT_COUNTERS
909         help
910           This provides memory management related data to the Linux - VM Monitor
911           Stream, like paging/swapping rate, memory utilisation, etc.
912           Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
913           APPLDATA monitor record, i.e. enables or disables monitoring this record
914           on the z/VM side.
915
916           Default is disabled.
917           The /proc entry can also be read from, showing the current settings.
918
919           This can also be compiled as a module, which will be called
920           appldata_mem.o.
921
922 config APPLDATA_OS
923         def_tristate m
924         prompt "Monitor OS statistics"
925         depends on APPLDATA_BASE
926         help
927           This provides OS related data to the Linux - VM Monitor Stream, like
928           CPU utilisation, etc.
929           Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
930           APPLDATA monitor record, i.e. enables or disables monitoring this record
931           on the z/VM side.
932
933           Default is disabled.
934           This can also be compiled as a module, which will be called
935           appldata_os.o.
936
937 config APPLDATA_NET_SUM
938         def_tristate m
939         prompt "Monitor overall network statistics"
940         depends on APPLDATA_BASE && NET
941         help
942           This provides network related data to the Linux - VM Monitor Stream,
943           currently there is only a total sum of network I/O statistics, no
944           per-interface data.
945           Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
946           APPLDATA monitor record, i.e. enables or disables monitoring this record
947           on the z/VM side.
948
949           Default is disabled.
950           This can also be compiled as a module, which will be called
951           appldata_net_sum.o.
952
953 config S390_HYPFS_FS
954         def_bool y
955         prompt "s390 hypervisor file system support"
956         select SYS_HYPERVISOR
957         help
958           This is a virtual file system intended to provide accounting
959           information in an s390 hypervisor environment.
960
961 source "arch/s390/kvm/Kconfig"
962
963 config S390_GUEST
964         def_bool y
965         prompt "s390 support for virtio devices"
966         select TTY
967         select VIRTUALIZATION
968         select VIRTIO
969         select VIRTIO_CONSOLE
970         help
971           Enabling this option adds support for virtio based paravirtual device
972           drivers on s390.
973
974           Select this option if you want to run the kernel as a guest under
975           the KVM hypervisor.
976
977 endmenu
This page took 0.118336 seconds and 4 git commands to generate.