1 # SPDX-License-Identifier: GPL-2.0
11 config STACKTRACE_SUPPORT
14 config ARCH_HAS_ILOG2_U32
17 config ARCH_HAS_ILOG2_U64
20 config ARCH_PROC_KCORE_TEXT
23 config GENERIC_HWEIGHT
24 def_bool !HAVE_MARCH_Z196_FEATURES
29 config GENERIC_BUG_RELATIVE_POINTERS
32 config GENERIC_LOCKBREAK
33 def_bool y if PREEMPTION
44 config ARCH_SUPPORTS_UPROBES
47 config KASAN_SHADOW_OFFSET
50 default 0x1C000000000000
52 config CC_ASM_FLAG_OUTPUT_BROKEN
53 def_bool CC_IS_GCC && GCC_VERSION < 140200
55 GCC versions before 14.2.0 may die with an internal
56 compiler error in some configurations if flag output
57 operands are used within inline assemblies.
59 config CC_HAS_ASM_AOR_FORMAT_FLAGS
60 def_bool !(CC_IS_CLANG && CLANG_VERSION < 190100)
62 Clang versions before 19.1.0 do not support A,
63 O, and R inline assembly format flags.
68 # Note: keep this list sorted alphabetically
70 imply IMA_SECURE_AND_OR_TRUSTED_BOOT
71 select ALTERNATE_USER_ADDRESS_SPACE
72 select ARCH_32BIT_USTAT_F_TINODE
73 select ARCH_CORRECT_STACKTRACE_ON_KRETPROBE
74 select ARCH_ENABLE_MEMORY_HOTPLUG if SPARSEMEM
75 select ARCH_ENABLE_MEMORY_HOTREMOVE
76 select ARCH_ENABLE_SPLIT_PMD_PTLOCK if PGTABLE_LEVELS > 2
77 select ARCH_HAS_CPU_FINALIZE_INIT
79 select ARCH_HAS_CURRENT_STACK_POINTER
80 select ARCH_HAS_DEBUG_VIRTUAL
81 select ARCH_HAS_DEBUG_VM_PGTABLE
82 select ARCH_HAS_DEBUG_WX
83 select ARCH_HAS_DEVMEM_IS_ALLOWED
84 select ARCH_HAS_DMA_OPS if PCI
85 select ARCH_HAS_ELF_RANDOMIZE
86 select ARCH_HAS_FORCE_DMA_UNENCRYPTED
87 select ARCH_HAS_FORTIFY_SOURCE
88 select ARCH_HAS_GCOV_PROFILE_ALL
89 select ARCH_HAS_GIGANTIC_PAGE
91 select ARCH_HAS_MEMBARRIER_SYNC_CORE
92 select ARCH_HAS_MEM_ENCRYPT
93 select ARCH_HAS_NMI_SAFE_THIS_CPU_OPS
94 select ARCH_HAS_PREEMPT_LAZY
95 select ARCH_HAS_PTDUMP
96 select ARCH_HAS_PTE_SPECIAL
97 select ARCH_HAS_SCALED_CPUTIME
98 select ARCH_HAS_SET_DIRECT_MAP
99 select ARCH_HAS_SET_MEMORY
100 select ARCH_HAS_STRICT_KERNEL_RWX
101 select ARCH_HAS_STRICT_MODULE_RWX
102 select ARCH_HAS_SYSCALL_WRAPPER
103 select ARCH_HAS_UBSAN
104 select ARCH_HAS_VDSO_TIME_DATA
105 select ARCH_HAVE_NMI_SAFE_CMPXCHG
106 select ARCH_INLINE_READ_LOCK
107 select ARCH_INLINE_READ_LOCK_BH
108 select ARCH_INLINE_READ_LOCK_IRQ
109 select ARCH_INLINE_READ_LOCK_IRQSAVE
110 select ARCH_INLINE_READ_TRYLOCK
111 select ARCH_INLINE_READ_UNLOCK
112 select ARCH_INLINE_READ_UNLOCK_BH
113 select ARCH_INLINE_READ_UNLOCK_IRQ
114 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
115 select ARCH_INLINE_SPIN_LOCK
116 select ARCH_INLINE_SPIN_LOCK_BH
117 select ARCH_INLINE_SPIN_LOCK_IRQ
118 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
119 select ARCH_INLINE_SPIN_TRYLOCK
120 select ARCH_INLINE_SPIN_TRYLOCK_BH
121 select ARCH_INLINE_SPIN_UNLOCK
122 select ARCH_INLINE_SPIN_UNLOCK_BH
123 select ARCH_INLINE_SPIN_UNLOCK_IRQ
124 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
125 select ARCH_INLINE_WRITE_LOCK
126 select ARCH_INLINE_WRITE_LOCK_BH
127 select ARCH_INLINE_WRITE_LOCK_IRQ
128 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
129 select ARCH_INLINE_WRITE_TRYLOCK
130 select ARCH_INLINE_WRITE_UNLOCK
131 select ARCH_INLINE_WRITE_UNLOCK_BH
132 select ARCH_INLINE_WRITE_UNLOCK_IRQ
133 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
134 select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
135 select ARCH_STACKWALK
136 select ARCH_SUPPORTS_ATOMIC_RMW
137 select ARCH_SUPPORTS_DEBUG_PAGEALLOC
138 select ARCH_SUPPORTS_HUGETLBFS
139 select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 && CC_IS_CLANG
140 select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS
141 select ARCH_SUPPORTS_NUMA_BALANCING
142 select ARCH_SUPPORTS_PER_VMA_LOCK
143 select ARCH_USE_BUILTIN_BSWAP
144 select ARCH_USE_CMPXCHG_LOCKREF
145 select ARCH_USE_SYM_ANNOTATIONS
146 select ARCH_WANTS_NO_INSTR
147 select ARCH_WANT_DEFAULT_BPF_JIT
148 select ARCH_WANT_IPC_PARSE_VERSION
149 select ARCH_WANT_IRQS_OFF_ACTIVATE_MM
150 select ARCH_WANT_KERNEL_PMD_MKWRITE
151 select ARCH_WANT_LD_ORPHAN_WARN
152 select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
153 select BUILDTIME_TABLE_SORT
154 select CLONE_BACKWARDS2
155 select DCACHE_WORD_ACCESS if !KMSAN
156 select DYNAMIC_FTRACE if FUNCTION_TRACER
157 select FUNCTION_ALIGNMENT_8B if CC_IS_GCC
158 select FUNCTION_ALIGNMENT_16B if !CC_IS_GCC
159 select GENERIC_ALLOCATOR
160 select GENERIC_CPU_DEVICES
161 select GENERIC_CPU_AUTOPROBE
162 select GENERIC_CPU_VULNERABILITIES
164 select GENERIC_GETTIMEOFDAY
165 select GENERIC_SMP_IDLE_THREAD
166 select GENERIC_TIME_VSYSCALL
167 select GENERIC_VDSO_DATA_STORE
168 select GENERIC_VDSO_TIME_NS
169 select GENERIC_IOREMAP if PCI
170 select HAVE_ALIGNED_STRUCT_PAGE
171 select HAVE_ARCH_AUDITSYSCALL
172 select HAVE_ARCH_JUMP_LABEL
173 select HAVE_ARCH_JUMP_LABEL_RELATIVE
174 select HAVE_ARCH_KASAN
175 select HAVE_ARCH_KASAN_VMALLOC
176 select HAVE_ARCH_KCSAN
177 select HAVE_ARCH_KMSAN
178 select HAVE_ARCH_KFENCE
179 select HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET
180 select HAVE_ARCH_SECCOMP_FILTER
181 select HAVE_ARCH_SOFT_DIRTY
182 select HAVE_ARCH_STACKLEAK
183 select HAVE_ARCH_TRACEHOOK
184 select HAVE_ARCH_TRANSPARENT_HUGEPAGE
185 select HAVE_ARCH_VMAP_STACK
186 select HAVE_ASM_MODVERSIONS
187 select HAVE_BUILDTIME_MCOUNT_SORT
188 select HAVE_CMPXCHG_DOUBLE
189 select HAVE_CMPXCHG_LOCAL
190 select HAVE_DEBUG_KMEMLEAK
191 select HAVE_DMA_CONTIGUOUS
192 select HAVE_DYNAMIC_FTRACE
193 select HAVE_DYNAMIC_FTRACE_WITH_ARGS
194 select HAVE_FTRACE_REGS_HAVING_PT_REGS
195 select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
196 select HAVE_DYNAMIC_FTRACE_WITH_REGS
197 select HAVE_EBPF_JIT if HAVE_MARCH_Z196_FEATURES
198 select HAVE_EFFICIENT_UNALIGNED_ACCESS
201 select HAVE_FTRACE_GRAPH_FUNC
202 select HAVE_FTRACE_MCOUNT_RECORD
203 select HAVE_FUNCTION_ARG_ACCESS_API
204 select HAVE_FUNCTION_ERROR_INJECTION
205 select HAVE_FUNCTION_GRAPH_FREGS
206 select HAVE_FUNCTION_GRAPH_TRACER
207 select HAVE_FUNCTION_TRACER
208 select HAVE_GCC_PLUGINS
209 select HAVE_GENERIC_VDSO
210 select HAVE_IOREMAP_PROT if PCI
211 select HAVE_KERNEL_BZIP2
212 select HAVE_KERNEL_GZIP
213 select HAVE_KERNEL_LZ4
214 select HAVE_KERNEL_LZMA
215 select HAVE_KERNEL_LZO
216 select HAVE_KERNEL_UNCOMPRESSED
217 select HAVE_KERNEL_XZ
218 select HAVE_KERNEL_ZSTD
220 select HAVE_KPROBES_ON_FTRACE
221 select HAVE_KRETPROBES
222 select HAVE_LIVEPATCH
223 select HAVE_MEMBLOCK_PHYS_MAP
224 select HAVE_MOD_ARCH_SPECIFIC
226 select HAVE_NOP_MCOUNT
227 select HAVE_PAGE_SIZE_4KB
229 select HAVE_PERF_EVENTS
230 select HAVE_PERF_REGS
231 select HAVE_PERF_USER_STACK_DUMP
232 select HAVE_PREEMPT_DYNAMIC_KEY
233 select HAVE_REGS_AND_STACK_ACCESS_API
234 select HAVE_RELIABLE_STACKTRACE
237 select HAVE_SAMPLE_FTRACE_DIRECT
238 select HAVE_SAMPLE_FTRACE_DIRECT_MULTI
239 select HAVE_SETUP_PER_CPU_AREA
240 select HAVE_SOFTIRQ_ON_OWN_STACK
241 select HAVE_SYSCALL_TRACEPOINTS
242 select HAVE_VIRT_CPU_ACCOUNTING
243 select HAVE_VIRT_CPU_ACCOUNTING_IDLE
245 select IOMMU_HELPER if PCI
246 select IOMMU_SUPPORT if PCI
247 select KASAN_VMALLOC if KASAN
248 select LOCK_MM_AND_FIND_VMA
249 select MMU_GATHER_MERGE_VMAS
250 select MMU_GATHER_NO_GATHER
251 select MMU_GATHER_RCU_TABLE_FREE
252 select MODULES_USE_ELF_RELA
253 select NEED_DMA_MAP_STATE if PCI
254 select NEED_PER_CPU_EMBED_FIRST_CHUNK
255 select NEED_PROC_VMCORE_DEVICE_RAM if PROC_VMCORE
256 select NEED_SG_DMA_LENGTH if PCI
258 select OLD_SIGSUSPEND3
259 select PCI_DOMAINS if PCI
260 select PCI_MSI if PCI
261 select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
262 select PCI_QUIRKS if PCI
265 select SYSCTL_EXCEPTION_TRACE
266 select THREAD_INFO_IN_TASK
267 select TRACE_IRQFLAGS_SUPPORT
269 select USER_STACKTRACE_SUPPORT
270 select VDSO_GETRANDOM
271 select VIRT_CPU_ACCOUNTING
274 # Note: keep the above list sorted alphabetically
276 config SCHED_OMIT_FRAME_POINTER
279 config PGTABLE_LEVELS
283 source "kernel/livepatch/Kconfig"
285 config ARCH_SUPPORTS_KEXEC
288 config ARCH_SUPPORTS_KEXEC_FILE
291 config ARCH_SUPPORTS_KEXEC_SIG
292 def_bool MODULE_SIG_FORMAT
294 config ARCH_SUPPORTS_KEXEC_PURGATORY
297 config ARCH_SUPPORTS_CRASH_DUMP
300 Refer to <file:Documentation/arch/s390/zfcpdump.rst> for more details on this.
301 This option also enables s390 zfcpdump.
302 See also <file:Documentation/arch/s390/zfcpdump.rst>
304 config ARCH_DEFAULT_CRASH_DUMP
307 menu "Processor type and features"
309 config HAVE_MARCH_Z10_FEATURES
312 config HAVE_MARCH_Z196_FEATURES
314 select HAVE_MARCH_Z10_FEATURES
316 config HAVE_MARCH_ZEC12_FEATURES
318 select HAVE_MARCH_Z196_FEATURES
320 config HAVE_MARCH_Z13_FEATURES
322 select HAVE_MARCH_ZEC12_FEATURES
324 config HAVE_MARCH_Z14_FEATURES
326 select HAVE_MARCH_Z13_FEATURES
328 config HAVE_MARCH_Z15_FEATURES
330 select HAVE_MARCH_Z14_FEATURES
332 config HAVE_MARCH_Z16_FEATURES
334 select HAVE_MARCH_Z15_FEATURES
336 config HAVE_MARCH_Z17_FEATURES
338 select HAVE_MARCH_Z16_FEATURES
341 prompt "Processor type"
345 bool "IBM System z10"
346 select HAVE_MARCH_Z10_FEATURES
347 depends on $(cc-option,-march=z10)
349 Select this to enable optimizations for IBM System z10 (2097 and 2098
350 series). This is the oldest machine generation currently supported.
353 bool "IBM zEnterprise 114 and 196"
354 select HAVE_MARCH_Z196_FEATURES
355 depends on $(cc-option,-march=z196)
357 Select this to enable optimizations for IBM zEnterprise 114 and 196
358 (2818 and 2817 series). The kernel will be slightly faster but will
359 not work on older machines.
362 bool "IBM zBC12 and zEC12"
363 select HAVE_MARCH_ZEC12_FEATURES
364 depends on $(cc-option,-march=zEC12)
366 Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
367 2827 series). The kernel will be slightly faster but will not work on
371 bool "IBM z13s and z13"
372 select HAVE_MARCH_Z13_FEATURES
373 depends on $(cc-option,-march=z13)
375 Select this to enable optimizations for IBM z13s and z13 (2965 and
376 2964 series). The kernel will be slightly faster but will not work on
380 bool "IBM z14 ZR1 and z14"
381 select HAVE_MARCH_Z14_FEATURES
382 depends on $(cc-option,-march=z14)
384 Select this to enable optimizations for IBM z14 ZR1 and z14 (3907
385 and 3906 series). The kernel will be slightly faster but will not
386 work on older machines.
390 select HAVE_MARCH_Z15_FEATURES
391 depends on $(cc-option,-march=z15)
393 Select this to enable optimizations for IBM z15 (8562
394 and 8561 series). The kernel will be slightly faster but will not
395 work on older machines.
399 select HAVE_MARCH_Z16_FEATURES
400 depends on $(cc-option,-march=z16)
402 Select this to enable optimizations for IBM z16 (3931 and
407 select HAVE_MARCH_Z17_FEATURES
408 depends on $(cc-option,-march=z17)
410 Select this to enable optimizations for IBM z17 (9175 and
415 config MARCH_Z10_TUNE
416 def_bool TUNE_Z10 || MARCH_Z10 && TUNE_DEFAULT
418 config MARCH_Z196_TUNE
419 def_bool TUNE_Z196 || MARCH_Z196 && TUNE_DEFAULT
421 config MARCH_ZEC12_TUNE
422 def_bool TUNE_ZEC12 || MARCH_ZEC12 && TUNE_DEFAULT
424 config MARCH_Z13_TUNE
425 def_bool TUNE_Z13 || MARCH_Z13 && TUNE_DEFAULT
427 config MARCH_Z14_TUNE
428 def_bool TUNE_Z14 || MARCH_Z14 && TUNE_DEFAULT
430 config MARCH_Z15_TUNE
431 def_bool TUNE_Z15 || MARCH_Z15 && TUNE_DEFAULT
433 config MARCH_Z16_TUNE
434 def_bool TUNE_Z16 || MARCH_Z16 && TUNE_DEFAULT
436 config MARCH_Z17_TUNE
437 def_bool TUNE_Z17 || MARCH_Z17 && TUNE_DEFAULT
440 prompt "Tune code generation"
443 Cause the compiler to tune (-mtune) the generated code for a machine.
444 This will make the code run faster on the selected machine but
445 somewhat slower on other machines.
446 This option only changes how the compiler emits instructions, not the
447 selection of instructions itself, so the resulting kernel will run on
453 Tune the generated code for the target processor for which the kernel
457 bool "IBM System z10"
460 bool "IBM zEnterprise 114 and 196"
461 depends on $(cc-option,-mtune=z196)
464 bool "IBM zBC12 and zEC12"
465 depends on $(cc-option,-mtune=zEC12)
468 bool "IBM z13s and z13"
469 depends on $(cc-option,-mtune=z13)
472 bool "IBM z14 ZR1 and z14"
473 depends on $(cc-option,-mtune=z14)
477 depends on $(cc-option,-mtune=z15)
481 depends on $(cc-option,-mtune=z16)
485 depends on $(cc-option,-mtune=z17)
492 config COMMAND_LINE_SIZE
493 int "Maximum size of kernel command line"
497 This allows you to specify the maximum length of the kernel command
502 prompt "Kernel support for 31 bit emulation"
503 select ARCH_WANT_OLD_COMPAT_IPC
504 select COMPAT_OLD_SIGACTION
507 depends on !CC_IS_CLANG && !LD_IS_LLD
509 Select this option if you want to enable your system kernel to
510 handle system-calls from ELF binaries for 31 bit ESA. This option
511 (and some other stuff like libraries and such) is needed for
512 executing 31 bit applications.
520 int "Maximum number of CPUs (2-512)"
524 This allows you to specify the maximum number of CPUs which this
525 kernel will support. The maximum supported value is 512 and the
526 minimum value which makes sense is 2.
528 This is purely to save memory - each supported CPU adds
529 approximately sixteen kilobytes to the kernel image.
536 depends on SCHED_TOPOLOGY
541 This option adds NUMA support to the kernel.
554 config SCHED_TOPOLOGY
556 prompt "Topology scheduler support"
560 Topology scheduler support improves the CPU scheduler's decision
561 making when dealing with machines that have multi-threading,
562 multiple cores or multiple books.
564 config SCHED_TOPOLOGY_VERTICAL
566 bool "Use vertical CPU polarization by default"
567 depends on SCHED_TOPOLOGY
569 Use vertical CPU polarization by default if available.
570 The default CPU polarization is horizontal.
572 config HIPERDISPATCH_ON
574 bool "Use hiperdispatch on vertical polarization by default"
575 depends on SCHED_TOPOLOGY
576 depends on PROC_SYSCTL
578 Hiperdispatch aims to improve the CPU scheduler's decision
579 making when using vertical polarization by adjusting CPU
580 capacities dynamically. Set this option to use hiperdispatch
581 on vertical polarization by default. This can be overwritten
582 by sysctl's s390.hiperdispatch attribute later on.
584 source "kernel/Kconfig.hz"
587 bool "Get user certificates via DIAG320"
589 select CRYPTO_LIB_SHA256
591 Enable this option if you want to access user-provided secure boot
592 certificates via DIAG 0x320.
594 These certificates will be made available via the keyring named
599 prompt "Enable modified branch prediction for the kernel by default"
601 If this option is selected the kernel will switch to a modified
602 branch prediction mode if the firmware interface is available.
603 The modified branch prediction mode improves the behaviour in
604 regard to speculative execution.
606 With the option enabled the kernel parameter "nobp=0" or "nospec"
607 can be used to run the kernel in the normal branch prediction mode.
609 With the option disabled the modified branch prediction mode is
610 enabled with the "nobp=1" kernel parameter.
616 depends on $(cc-option,-mindirect-branch=thunk)
617 prompt "Avoid speculative indirect branches in the kernel"
619 Compile the kernel with the expoline compiler options to guard
620 against kernel-to-user data leaks by avoiding speculative indirect
622 Requires a compiler with -mindirect-branch=thunk support for full
623 protection. The kernel may run slower.
627 config EXPOLINE_EXTERN
628 def_bool EXPOLINE && CC_IS_GCC && GCC_VERSION >= 110200 && \
629 $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC))
631 Generate expolines as external functions if the compiler supports it.
632 This option is required for some tooling like kpatch, if expolines
633 are enabled. The kernel is compiled with
634 -mindirect-branch=thunk-extern, which requires a newer compiler.
637 prompt "Expoline default"
639 default EXPOLINE_FULL
642 bool "spectre_v2=off"
645 bool "spectre_v2=auto"
654 select ARCH_VMLINUX_NEEDS_RELOCS
656 This builds a kernel image that retains relocation information
657 so it can be loaded at an arbitrary address.
658 The relocations make the kernel image about 15% larger (compressed
659 10%), but are discarded at runtime.
660 Note: this option exists only for documentation purposes, please do
663 config RANDOMIZE_BASE
664 bool "Randomize the address of the kernel image (KASLR)"
667 In support of Kernel Address Space Layout Randomization (KASLR),
668 this randomizes the address at which the kernel image is loaded,
669 as a security feature that deters exploit attempts relying on
670 knowledge of the location of kernel internals.
672 config RANDOMIZE_IDENTITY_BASE
673 bool "Randomize the address of the identity mapping base"
674 depends on RANDOMIZE_BASE
677 The identity mapping base address is pinned to zero by default.
678 Allow randomization of that base to expose otherwise missed
679 notion of physical and virtual addresses of data structures.
680 That does not have any impact on the base address at which the
681 kernel image is loaded.
685 config KERNEL_IMAGE_BASE
686 hex "Kernel image base address"
687 range 0x100000 0x1FFFFFE0000000 if !KASAN
688 range 0x100000 0x1BFFFFE0000000 if KASAN
689 default 0x3FFE0000000 if !KASAN
690 default 0x7FFFE0000000 if KASAN
692 This is the address at which the kernel image is loaded in case
693 Kernel Address Space Layout Randomization (KASLR) is disabled.
695 In case the Protected virtualization guest support is enabled the
696 Ultravisor imposes a virtual address limit. If the value of this
697 option leads to the kernel image exceeding the Ultravisor limit,
698 this option is ignored and the image is loaded below the limit.
700 If the value of this option leads to the kernel image overlapping
701 the virtual memory where other data structures are located, this
702 option is ignored and the image is loaded above the structures.
708 config ARCH_SPARSEMEM_ENABLE
710 select SPARSEMEM_VMEMMAP_ENABLE
711 select SPARSEMEM_VMEMMAP
713 config ARCH_SPARSEMEM_DEFAULT
716 config MAX_PHYSMEM_BITS
717 int "Maximum size of supported physical memory in bits (42-53)"
721 This option specifies the maximum supported size of physical memory
722 in bits. Supported is any size between 2^42 (4TB) and 2^53 (8PB).
723 Increasing the number of bits also increases the kernel image size.
724 By default 46 bits (64TB) are supported.
732 prompt "QDIO support"
734 This driver provides the Queued Direct I/O base support for
737 To compile this driver as a module, choose M here: the
738 module will be called qdio.
744 config PCI_NR_FUNCTIONS
745 int "Maximum number of PCI functions (1-4096)"
749 This allows you to specify the maximum number of PCI functions which
750 this kernel will support.
759 prompt "Support for CHSC subchannels"
761 This driver allows usage of CHSC subchannels. A CHSC subchannel
762 is usually present on LPAR only.
763 The driver creates a device /dev/chsc, which may be used to
764 obtain I/O configuration information about the machine and
765 to issue asynchronous chsc commands (DANGEROUS).
766 You will usually only want to use this interface on a special
767 LPAR designated for system management.
769 To compile this driver as a module, choose M here: the
770 module will be called chsc_sch.
776 prompt "SCM bus driver"
778 Bus driver for Storage Class Memory.
782 prompt "Support for EADM subchannels"
785 This driver allows usage of EADM subchannels. EADM subchannels act
786 as a communication vehicle for SCM increments.
788 To compile this driver as a module, choose M here: the
789 module will be called eadm_sch.
793 prompt "Support for Adjunct Processors (ap)"
795 This driver allows usage to Adjunct Processor (AP) devices via
796 the ap bus, cards and queues. Supported Adjunct Processors are
797 the CryptoExpress Cards (CEX).
799 To compile this driver as a module, choose M here: the
800 module will be called ap.
802 If unsure, say Y (default).
806 prompt "Enable debug features for Adjunct Processor (ap) devices"
809 Say 'Y' here to enable some additional debug features for Adjunct
810 Processor (ap) devices.
812 There will be some more sysfs attributes displayed for ap queues.
814 Do not enable on production level kernel build.
820 prompt "Support for VFIO-CCW subchannels"
824 This driver allows usage of I/O subchannels via VFIO-CCW.
826 To compile this driver as a module, choose M here: the
827 module will be called vfio_ccw.
831 prompt "VFIO support for AP devices"
837 This driver grants access to Adjunct Processor (AP) devices
838 via the VFIO mediated device interface.
840 To compile this driver as a module, choose M here: the module
841 will be called vfio_ap.
850 default (SMC || CCWGROUP)
852 menu "Virtualization"
856 prompt "Pseudo page fault support"
858 Select this option, if you want to use PFAULT pseudo page fault
859 handling under VM. If running native or in LPAR, this option
860 has no effect. If your VM does not support PFAULT, PAGEEX
861 pseudo page fault handling will be used.
862 Note that VM 4.2 supports PFAULT but has a bug in its
863 implementation that causes some problems.
864 Everybody who wants to run Linux under VM != VM4.2 should select
869 prompt "Cooperative memory management"
871 Select this option, if you want to enable the kernel interface
872 to reduce the memory size of the system. This is accomplished
873 by allocating pages of memory and put them "on hold". This only
874 makes sense for a system running under VM where the unused pages
875 will be reused by VM for other guest systems. The interface
876 allows an external monitor to balance memory of many systems.
877 Everybody who wants to run Linux under VM should select this
882 prompt "IUCV special message interface to cooperative memory management"
883 depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
885 Select this option to enable the special message interface to
886 the cooperative memory management.
890 prompt "Linux - VM Monitor Stream, base infrastructure"
891 depends on PROC_SYSCTL
893 This provides a kernel interface for creating and updating z/VM APPLDATA
894 monitor records. The monitor records are updated at certain time
895 intervals, once the timer is started.
896 Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
897 i.e. enables or disables monitoring on the Linux side.
898 A custom interval value (in seconds) can be written to
899 /proc/appldata/interval.
901 Defaults are 60 seconds interval and timer off.
902 The /proc entries can also be read from, showing the current settings.
906 prompt "Monitor memory management statistics"
907 depends on APPLDATA_BASE && VM_EVENT_COUNTERS
909 This provides memory management related data to the Linux - VM Monitor
910 Stream, like paging/swapping rate, memory utilisation, etc.
911 Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
912 APPLDATA monitor record, i.e. enables or disables monitoring this record
916 The /proc entry can also be read from, showing the current settings.
918 This can also be compiled as a module, which will be called
923 prompt "Monitor OS statistics"
924 depends on APPLDATA_BASE
926 This provides OS related data to the Linux - VM Monitor Stream, like
927 CPU utilisation, etc.
928 Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
929 APPLDATA monitor record, i.e. enables or disables monitoring this record
933 This can also be compiled as a module, which will be called
936 config APPLDATA_NET_SUM
938 prompt "Monitor overall network statistics"
939 depends on APPLDATA_BASE && NET
941 This provides network related data to the Linux - VM Monitor Stream,
942 currently there is only a total sum of network I/O statistics, no
944 Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
945 APPLDATA monitor record, i.e. enables or disables monitoring this record
949 This can also be compiled as a module, which will be called
954 prompt "s390 hypervisor information"
956 This provides several binary files at (debugfs)/s390_hypfs/ to
957 provide accounting information in an s390 hypervisor environment.
961 prompt "s390 hypervisor file system support"
962 select SYS_HYPERVISOR
963 depends on S390_HYPFS
965 This is a virtual file system intended to provide accounting
966 information in an s390 hypervisor environment. This file system
967 is deprecated and should not be used.
969 Say N if you are unsure.
971 source "arch/s390/kvm/Kconfig"
975 prompt "s390 support for virtio devices"
977 select VIRTUALIZATION
980 Enabling this option adds support for virtio based paravirtual device
983 Select this option if you want to run the kernel as a guest under
988 config S390_MODULES_SANITY_TEST_HELPERS
993 config S390_UNWIND_SELFTEST
996 default KUNIT_ALL_TESTS
997 prompt "Test unwind functions"
999 This option enables s390 specific stack unwinder testing kernel
1000 module. This option is not useful for distributions or general
1001 kernels, but only for kernel developers working on architecture code.
1003 Say N if you are unsure.
1005 config S390_KPROBES_SANITY_TEST
1007 prompt "Enable s390 specific kprobes tests"
1011 This option enables an s390 specific kprobes test module. This option
1012 is not useful for distributions or general kernels, but only for kernel
1013 developers working on architecture code.
1015 Say N if you are unsure.
1017 config S390_MODULES_SANITY_TEST
1020 default KUNIT_ALL_TESTS
1021 prompt "Enable s390 specific modules tests"
1022 select S390_MODULES_SANITY_TEST_HELPERS
1024 This option enables an s390 specific modules test. This option is
1025 not useful for distributions or general kernels, but only for
1026 kernel developers working on architecture code.
1028 Say N if you are unsure.