xref: /linux/arch/s390/Kconfig (revision a3d14d1602ca11429d242d230c31af8f822f614f)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvaldsconfig MMU
361d48c2cSMartin Schwidefsky	def_bool y
41da177e4SLinus Torvalds
52fd92273SHeiko Carstensconfig CPU_BIG_ENDIAN
62fd92273SHeiko Carstens	def_bool y
72fd92273SHeiko Carstens
82b105ff9SIngo Molnarconfig LOCKDEP_SUPPORT
961d48c2cSMartin Schwidefsky	def_bool y
102b105ff9SIngo Molnar
115bdc9b44SHeiko Carstensconfig STACKTRACE_SUPPORT
1261d48c2cSMartin Schwidefsky	def_bool y
135bdc9b44SHeiko Carstens
14f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
156f9a3c33SMartin Schwidefsky	def_bool n
16f0d1b0b3SDavid Howells
17f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
186f9a3c33SMartin Schwidefsky	def_bool n
19f0d1b0b3SDavid Howells
203bb11234SAlexander Gordeevconfig ARCH_PROC_KCORE_TEXT
213bb11234SAlexander Gordeev	def_bool y
223bb11234SAlexander Gordeev
237e33db4eSAkinobu Mitaconfig GENERIC_HWEIGHT
247c679286SHeiko Carstens	def_bool !HAVE_MARCH_Z196_FEATURES
257e33db4eSAkinobu Mita
26c0007f1aSHeiko Carstensconfig GENERIC_BUG
276f9a3c33SMartin Schwidefsky	def_bool y if BUG
28c0007f1aSHeiko Carstens
2952499f40SHeiko Carstensconfig GENERIC_BUG_RELATIVE_POINTERS
3052499f40SHeiko Carstens	def_bool y
3152499f40SHeiko Carstens
32b6b40c53SMartin Schwidefskyconfig GENERIC_LOCKBREAK
33114b9df4SEric Farman	def_bool y if PREEMPTION
34b6b40c53SMartin Schwidefsky
35402b0862SCarsten Otteconfig PGSTE
366f9a3c33SMartin Schwidefsky	def_bool y if KVM
37402b0862SCarsten Otte
38843c48fdSJan Glauberconfig AUDIT_ARCH
39843c48fdSJan Glauber	def_bool y
40843c48fdSJan Glauber
41ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
42c8717a3dSJan Glauber	def_bool y
43c8717a3dSJan Glauber
442a0a5b22SJan Willekeconfig ARCH_SUPPORTS_UPROBES
455a79859aSHeiko Carstens	def_bool y
462a0a5b22SJan Willeke
475e785963SVasily Gorbikconfig KASAN_SHADOW_OFFSET
485e785963SVasily Gorbik	hex
495e785963SVasily Gorbik	depends on KASAN
509a39abb7SVasily Gorbik	default 0x1C000000000000
515e785963SVasily Gorbik
52579a6633SHeiko Carstensconfig CC_ASM_FLAG_OUTPUT_BROKEN
53e7583c5fSHeiko Carstens	def_bool CC_IS_GCC && GCC_VERSION < 140200
54e7583c5fSHeiko Carstens	help
55e7583c5fSHeiko Carstens	  GCC versions before 14.2.0 may die with an internal
56e7583c5fSHeiko Carstens	  compiler error in some configurations if flag output
57e7583c5fSHeiko Carstens	  operands are used within inline assemblies.
58e7583c5fSHeiko Carstens
59f340d270SHeiko Carstensconfig CC_HAS_ASM_AOR_FORMAT_FLAGS
60f340d270SHeiko Carstens	def_bool !(CC_IS_CLANG && CLANG_VERSION < 190100)
61f340d270SHeiko Carstens	help
62f340d270SHeiko Carstens	  Clang versions before 19.1.0 do not support A,
63f340d270SHeiko Carstens	  O, and R inline assembly format flags.
64f340d270SHeiko Carstens
65347a8dc3SMartin Schwidefskyconfig S390
6661d48c2cSMartin Schwidefsky	def_bool y
67129975e7SHeiko Carstens	#
68129975e7SHeiko Carstens	# Note: keep this list sorted alphabetically
69129975e7SHeiko Carstens	#
70129975e7SHeiko Carstens	imply IMA_SECURE_AND_OR_TRUSTED_BOOT
7112700c17SArnd Bergmann	select ALTERNATE_USER_ADDRESS_SPACE
7296c0a6a7SHeiko Carstens	select ARCH_32BIT_USTAT_F_TINODE
73708b1376SVasily Gorbik	select ARCH_CORRECT_STACKTRACE_ON_KRETPROBE
7491024b3cSAnshuman Khandual	select ARCH_ENABLE_MEMORY_HOTPLUG if SPARSEMEM
7591024b3cSAnshuman Khandual	select ARCH_ENABLE_MEMORY_HOTREMOVE
76cebc774fSAnshuman Khandual	select ARCH_ENABLE_SPLIT_PMD_PTLOCK if PGTABLE_LEVELS > 2
773bcc8a1aSHeiko Carstens	select ARCH_HAS_CPU_FINALIZE_INIT
7800807191SEric Biggers	select ARCH_HAS_CRC32
792792d84eSKees Cook	select ARCH_HAS_CURRENT_STACK_POINTER
805f58bde7SHeiko Carstens	select ARCH_HAS_DEBUG_VIRTUAL
81399145f9SAnshuman Khandual	select ARCH_HAS_DEBUG_VM_PGTABLE
8208c8e685SHeiko Carstens	select ARCH_HAS_DEBUG_WX
8321266be9SDan Williams	select ARCH_HAS_DEVMEM_IS_ALLOWED
84de6c85bfSChristoph Hellwig	select ARCH_HAS_DMA_OPS if PCI
852b68f6caSKees Cook	select ARCH_HAS_ELF_RANDOMIZE
86129975e7SHeiko Carstens	select ARCH_HAS_FORCE_DMA_UNENCRYPTED
8779962038SHeiko Carstens	select ARCH_HAS_FORTIFY_SOURCE
88957e3facSRiku Voipio	select ARCH_HAS_GCOV_PROFILE_ALL
894eb0716eSAlexandre Ghiti	select ARCH_HAS_GIGANTIC_PAGE
90907fa061SHeiko Carstens	select ARCH_HAS_KCOV
91e7615c92SHeiko Carstens	select ARCH_HAS_MEMBARRIER_SYNC_CORE
920c9c1d56SThiago Jung Bauermann	select ARCH_HAS_MEM_ENCRYPT
9385bf3785SPaul E. McKenney	select ARCH_HAS_NMI_SAFE_THIS_CPU_OPS
949de3e4bfSHeiko Carstens	select ARCH_HAS_PREEMPT_LAZY
95f9aad622SAnshuman Khandual	select ARCH_HAS_PTDUMP
963010a5eaSLaurent Dufour	select ARCH_HAS_PTE_SPECIAL
97129975e7SHeiko Carstens	select ARCH_HAS_SCALED_CPUTIME
980490d6d7SHeiko Carstens	select ARCH_HAS_SET_DIRECT_MAP
99d2852a22SDaniel Borkmann	select ARCH_HAS_SET_MEMORY
100ad21fc4fSLaura Abbott	select ARCH_HAS_STRICT_KERNEL_RWX
101ad21fc4fSLaura Abbott	select ARCH_HAS_STRICT_MODULE_RWX
102aa0d6e70SArnd Bergmann	select ARCH_HAS_SYSCALL_WRAPPER
103918327e9SKees Cook	select ARCH_HAS_UBSAN
104a812eee0SNam Cao	select ARCH_HAS_VDSO_TIME_DATA
1050e0d04a8SHeiko Carstens	select ARCH_HAVE_NMI_SAFE_CMPXCHG
1066beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK
1076beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK_BH
1086beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK_IRQ
1096beb0009SThomas Gleixner	select ARCH_INLINE_READ_LOCK_IRQSAVE
1100e0d04a8SHeiko Carstens	select ARCH_INLINE_READ_TRYLOCK
1116beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK
1126beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK_BH
1136beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK_IRQ
1146beb0009SThomas Gleixner	select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
1150e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_LOCK
1160e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_LOCK_BH
1170e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_LOCK_IRQ
1180e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_LOCK_IRQSAVE
1190e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_TRYLOCK
1200e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_TRYLOCK_BH
1210e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_UNLOCK
1220e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_UNLOCK_BH
1230e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_UNLOCK_IRQ
1240e0d04a8SHeiko Carstens	select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
1256beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK
1266beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK_BH
1276beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK_IRQ
1286beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_LOCK_IRQSAVE
1290e0d04a8SHeiko Carstens	select ARCH_INLINE_WRITE_TRYLOCK
1306beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK
1316beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK_BH
1326beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK_IRQ
1336beb0009SThomas Gleixner	select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
1349eda317cSSumanth Korikkar	select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
135e991e5bbSVasily Gorbik	select ARCH_STACKWALK
13636e7fdaaSChristian Borntraeger	select ARCH_SUPPORTS_ATOMIC_RMW
1375d6ad668SMike Rapoport	select ARCH_SUPPORTS_DEBUG_PAGEALLOC
138bb9c14adSDavid Hildenbrand	select ARCH_SUPPORTS_HUGETLBFS
139fbac266fSHeiko Carstens	select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 && CC_IS_CLANG
14024e3f9fbSHeiko Carstens	select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS
141a763bc8bSPhilipp Hachtmann	select ARCH_SUPPORTS_NUMA_BALANCING
142e06f47a1SHeiko Carstens	select ARCH_SUPPORTS_PER_VMA_LOCK
143295d8fa9SChristian Borntraeger	select ARCH_USE_BUILTIN_BSWAP
144efc1d23bSHeiko Carstens	select ARCH_USE_CMPXCHG_LOCKREF
145ccf7c3fbSHeiko Carstens	select ARCH_USE_SYM_ANNOTATIONS
14651c2ee6dSNick Desaulniers	select ARCH_WANTS_NO_INSTR
147d2abfbe4SHeiko Carstens	select ARCH_WANT_DEFAULT_BPF_JIT
1486ca6b581SHeiko Carstens	select ARCH_WANT_IPC_PARSE_VERSION
1492f0584f3SRick Edgecombe	select ARCH_WANT_IRQS_OFF_ACTIVATE_MM
150acb7c202SNathan Chancellor	select ARCH_WANT_KERNEL_PMD_MKWRITE
1510b6f1582SAneesh Kumar K.V	select ARCH_WANT_LD_ORPHAN_WARN
15210916706SShile Zhang	select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
1530e0d04a8SHeiko Carstens	select BUILDTIME_TABLE_SORT
154802ba53eSHeiko Carstens	select CLONE_BACKWARDS2
1555d6a0163SHeiko Carstens	select DCACHE_WORD_ACCESS if !KMSAN
1566ef55060SHeiko Carstens	select DYNAMIC_FTRACE if FUNCTION_TRACER
1576ef55060SHeiko Carstens	select FUNCTION_ALIGNMENT_8B if CC_IS_GCC
158129975e7SHeiko Carstens	select FUNCTION_ALIGNMENT_16B if !CC_IS_GCC
1594a39f12eSSven Schnelle	select GENERIC_ALLOCATOR
1608f00b3e2SHendrik Brueckner	select GENERIC_CPU_DEVICES
161d424986fSMartin Schwidefsky	select GENERIC_CPU_AUTOPROBE
16256e62a73SSven Schnelle	select GENERIC_CPU_VULNERABILITIES
1634bff8cb5SSven Schnelle	select GENERIC_ENTRY
164e80e7813SThomas Gleixner	select GENERIC_GETTIMEOFDAY
16579c74ecbSMartin Schwidefsky	select GENERIC_SMP_IDLE_THREAD
1669bf39a65SThomas Weißschuh	select GENERIC_TIME_VSYSCALL
167eeab78b0SHeiko Carstens	select GENERIC_VDSO_DATA_STORE
168b43b3fffSBaoquan He	select GENERIC_VDSO_TIME_NS
1692a19be61SVlastimil Babka	select GENERIC_IOREMAP if PCI
1707a017721SAKASHI Takahiro	select HAVE_ALIGNED_STRUCT_PAGE
1715a79859aSHeiko Carstens	select HAVE_ARCH_AUDITSYSCALL
17213ddb52cSHeiko Carstens	select HAVE_ARCH_JUMP_LABEL
17342db5ed8SVasily Gorbik	select HAVE_ARCH_JUMP_LABEL_RELATIVE
1743e39ce26SVasily Gorbik	select HAVE_ARCH_KASAN
175e37b3dd0SIlya Leoshkevich	select HAVE_ARCH_KASAN_VMALLOC
1763a8f6f3bSIlya Leoshkevich	select HAVE_ARCH_KCSAN
177e41ba111SSven Schnelle	select HAVE_ARCH_KMSAN
178bae1cd36SSven Schnelle	select HAVE_ARCH_KFENCE
179c63cb468SHeiko Carstens	select HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET
1805614dd92SMartin Schwidefsky	select HAVE_ARCH_SECCOMP_FILTER
181b94c0ebbSHeiko Carstens	select HAVE_ARCH_SOFT_DIRTY
1820e0d04a8SHeiko Carstens	select HAVE_ARCH_STACKLEAK
1835a79859aSHeiko Carstens	select HAVE_ARCH_TRACEHOOK
184ce3dc447SMartin Schwidefsky	select HAVE_ARCH_TRANSPARENT_HUGEPAGE
1852ff2b7ecSMasahiro Yamada	select HAVE_ARCH_VMAP_STACK
186fa151887SHeiko Carstens	select HAVE_ASM_MODVERSIONS
1870e0d04a8SHeiko Carstens	select HAVE_BUILDTIME_MCOUNT_SORT
1880e0d04a8SHeiko Carstens	select HAVE_CMPXCHG_DOUBLE
1890e0d04a8SHeiko Carstens	select HAVE_CMPXCHG_LOCAL
190e1231b0eSHeiko Carstens	select HAVE_DEBUG_KMEMLEAK
1915a79859aSHeiko Carstens	select HAVE_DMA_CONTIGUOUS
1925740a7c7SHeiko Carstens	select HAVE_DYNAMIC_FTRACE
193762abbc0SMasami Hiramatsu (Google)	select HAVE_DYNAMIC_FTRACE_WITH_ARGS
1942ab3a0a9SHeiko Carstens	select HAVE_FTRACE_REGS_HAVING_PT_REGS
1955a79859aSHeiko Carstens	select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
19642b01a55SVasily Gorbik	select HAVE_DYNAMIC_FTRACE_WITH_REGS
1979078a549SChristian Borntraeger	select HAVE_EBPF_JIT if HAVE_MARCH_Z196_FEATURES
19825176ad0SDavid Hildenbrand	select HAVE_EFFICIENT_UNALIGNED_ACCESS
199d983c89cSVasily Gorbik	select HAVE_GUP_FAST
2007495e179SSven Schnelle	select HAVE_FENTRY
2010e0d04a8SHeiko Carstens	select HAVE_FTRACE_GRAPH_FUNC
202a30b5b03SHeiko Carstens	select HAVE_FTRACE_MCOUNT_RECORD
20373d6eb48SIlya Leoshkevich	select HAVE_FUNCTION_ARG_ACCESS_API
204a3ed4157SMasami Hiramatsu (Google)	select HAVE_FUNCTION_ERROR_INJECTION
2055a79859aSHeiko Carstens	select HAVE_FUNCTION_GRAPH_FREGS
2065a79859aSHeiko Carstens	select HAVE_FUNCTION_GRAPH_TRACER
207bc00b3ecSHeiko Carstens	select HAVE_FUNCTION_TRACER
2084bff8cb5SSven Schnelle	select HAVE_GCC_PLUGINS
209d460bb6cSNiklas Schnelle	select HAVE_GENERIC_VDSO
2100e0d04a8SHeiko Carstens	select HAVE_IOREMAP_PROT if PCI
2110e0d04a8SHeiko Carstens	select HAVE_KERNEL_BZIP2
2128e2872ceSHeiko Carstens	select HAVE_KERNEL_GZIP
2130e0d04a8SHeiko Carstens	select HAVE_KERNEL_LZ4
2140e0d04a8SHeiko Carstens	select HAVE_KERNEL_LZMA
21589b5202eSVasily Gorbik	select HAVE_KERNEL_LZO
2160e0d04a8SHeiko Carstens	select HAVE_KERNEL_UNCOMPRESSED
2177b034d9cSDimitri John Ledkov	select HAVE_KERNEL_XZ
2180e0d04a8SHeiko Carstens	select HAVE_KERNEL_ZSTD
219657480d9SSven Schnelle	select HAVE_KPROBES
2200e0d04a8SHeiko Carstens	select HAVE_KPROBES_ON_FTRACE
22121042d43SJiri Slaby	select HAVE_KRETPROBES
22250be6345SPhilipp Hachtmann	select HAVE_LIVEPATCH
223786d35d4SDavid Howells	select HAVE_MEMBLOCK_PHYS_MAP
224129975e7SHeiko Carstens	select HAVE_MOD_ARCH_SPECIFIC
225d983c89cSVasily Gorbik	select HAVE_NMI
2265394f1e9SArnd Bergmann	select HAVE_NOP_MCOUNT
227eb01d42aSChristoph Hellwig	select HAVE_PAGE_SIZE_4KB
2280e0d04a8SHeiko Carstens	select HAVE_PCI
229129975e7SHeiko Carstens	select HAVE_PERF_EVENTS
230129975e7SHeiko Carstens	select HAVE_PERF_REGS
231b5f46348SHeiko Carstens	select HAVE_PERF_USER_STACK_DUMP
2320e0d04a8SHeiko Carstens	select HAVE_PREEMPT_DYNAMIC_KEY
233aa137a6dSMiroslav Benes	select HAVE_REGS_AND_STACK_ACCESS_API
2346ca6b581SHeiko Carstens	select HAVE_RELIABLE_STACKTRACE
2359d6d99e3SHeiko Carstens	select HAVE_RETHOOK
2361254cfbcSHeiko Carstens	select HAVE_RSEQ
237890e3dc8SHeiko Carstens	select HAVE_SAMPLE_FTRACE_DIRECT
238254b2fd0SHeiko Carstens	select HAVE_SAMPLE_FTRACE_DIRECT_MULTI
239cd1a41ceSThomas Gleixner	select HAVE_SETUP_PER_CPU_AREA
2400e0d04a8SHeiko Carstens	select HAVE_SOFTIRQ_ON_OWN_STACK
2410e0d04a8SHeiko Carstens	select HAVE_SYSCALL_TRACEPOINTS
2422b91ec9fSFrederic Weisbecker	select HAVE_VIRT_CPU_ACCOUNTING
2431018424aSHeiko Carstens	select HAVE_VIRT_CPU_ACCOUNTING_IDLE
244eb01d42aSChristoph Hellwig	select HOTPLUG_SMT
245eb01d42aSChristoph Hellwig	select IOMMU_HELPER		if PCI
246e7256acaSHeiko Carstens	select IOMMU_SUPPORT		if PCI
24757d1da4fSHeiko Carstens	select KASAN_VMALLOC if KASAN
2486ca6b581SHeiko Carstens	select LOCK_MM_AND_FIND_VMA
249129975e7SHeiko Carstens	select MMU_GATHER_MERGE_VMAS
250129975e7SHeiko Carstens	select MMU_GATHER_NO_GATHER
251786d35d4SDavid Howells	select MMU_GATHER_RCU_TABLE_FREE
252eb01d42aSChristoph Hellwig	select MODULES_USE_ELF_RELA
253254b2fd0SHeiko Carstens	select NEED_DMA_MAP_STATE	if PCI
254212c3a85SDavid Hildenbrand	select NEED_PER_CPU_EMBED_FIRST_CHUNK
255eb01d42aSChristoph Hellwig	select NEED_PROC_VMCORE_DEVICE_RAM if PROC_VMCORE
2567eddd99cSAl Viro	select NEED_SG_DMA_LENGTH	if PCI
25793bead43SHeiko Carstens	select OLD_SIGACTION
2582eac9c2dSChristoph Hellwig	select OLD_SIGSUSPEND3
259eb01d42aSChristoph Hellwig	select PCI_DOMAINS		if PCI
260981aa1d3SThomas Gleixner	select PCI_MSI			if PCI
261aa9f168dSNiklas Schnelle	select PCI_MSI_ARCH_FALLBACKS	if PCI_MSI
262bb98f396SSebastian Ott	select PCI_QUIRKS		if PCI
263129975e7SHeiko Carstens	select SPARSE_IRQ
2640e0d04a8SHeiko Carstens	select SWIOTLB
265d5c352cdSHeiko Carstens	select SYSCTL_EXCEPTION_TRACE
2664aae683fSMasahiro Yamada	select THREAD_INFO_IN_TASK
2670563416bSJosh Triplett	select TRACE_IRQFLAGS_SUPPORT
268aa44433aSHeiko Carstens	select TTY
269b920aa77SHeiko Carstens	select USER_STACKTRACE_SUPPORT
2700e0d04a8SHeiko Carstens	select VDSO_GETRANDOM
27127939d6cSHeiko Carstens	select VIRT_CPU_ACCOUNTING
27263703f37SKefeng Wang	select VMAP_STACK
273129975e7SHeiko Carstens	select ZONE_DMA
2741da177e4SLinus Torvalds	# Note: keep the above list sorted alphabetically
275fca3e357SMartin Schwidefsky
2766f9a3c33SMartin Schwidefskyconfig SCHED_OMIT_FRAME_POINTER
277fca3e357SMartin Schwidefsky	def_bool y
278c81956c9SKirill A. Shutemov
279c81956c9SKirill A. Shutemovconfig PGTABLE_LEVELS
2801aea9b3fSMartin Schwidefsky	int
281c81956c9SKirill A. Shutemov	default 5
28221042d43SJiri Slaby
28321042d43SJiri Slabysource "kernel/livepatch/Kconfig"
28475239cf7SEric DeVolder
28575239cf7SEric DeVolderconfig ARCH_SUPPORTS_KEXEC
28675239cf7SEric DeVolder	def_bool y
28775239cf7SEric DeVolder
288c1ad12eeSArnd Bergmannconfig ARCH_SUPPORTS_KEXEC_FILE
28975239cf7SEric DeVolder	def_bool y
29075239cf7SEric DeVolder
29175239cf7SEric DeVolderconfig ARCH_SUPPORTS_KEXEC_SIG
29275239cf7SEric DeVolder	def_bool MODULE_SIG_FORMAT
293e6265fe7SEric DeVolder
294c1ad12eeSArnd Bergmannconfig ARCH_SUPPORTS_KEXEC_PURGATORY
29575239cf7SEric DeVolder	def_bool y
29675239cf7SEric DeVolder
29775239cf7SEric DeVolderconfig ARCH_SUPPORTS_CRASH_DUMP
29875239cf7SEric DeVolder	def_bool y
299d68b4b6fSLinus Torvalds	help
30075239cf7SEric DeVolder	  Refer to <file:Documentation/arch/s390/zfcpdump.rst> for more details on this.
301d68b4b6fSLinus Torvalds	  This option also enables s390 zfcpdump.
30275239cf7SEric DeVolder	  See also <file:Documentation/arch/s390/zfcpdump.rst>
30331daa343SDave Vasilevsky
30431daa343SDave Vasilevskyconfig ARCH_DEFAULT_CRASH_DUMP
30531daa343SDave Vasilevsky	def_bool y
306843c48fdSJan Glauber
3071da177e4SLinus Torvaldsmenu "Processor type and features"
308843c48fdSJan Glauber
309843c48fdSJan Glauberconfig HAVE_MARCH_Z10_FEATURES
310843c48fdSJan Glauber	def_bool n
311843c48fdSJan Glauber
312843c48fdSJan Glauberconfig HAVE_MARCH_Z196_FEATURES
313843c48fdSJan Glauber	def_bool n
314843c48fdSJan Glauber	select HAVE_MARCH_Z10_FEATURES
315991c1505SHeiko Carstens
316991c1505SHeiko Carstensconfig HAVE_MARCH_ZEC12_FEATURES
317991c1505SHeiko Carstens	def_bool n
318991c1505SHeiko Carstens	select HAVE_MARCH_Z196_FEATURES
319f8b2dcbdSMartin Schwidefsky
320f8b2dcbdSMartin Schwidefskyconfig HAVE_MARCH_Z13_FEATURES
321f8b2dcbdSMartin Schwidefsky	def_bool n
322f8b2dcbdSMartin Schwidefsky	select HAVE_MARCH_ZEC12_FEATURES
3236997c323SMartin Schwidefsky
3246997c323SMartin Schwidefskyconfig HAVE_MARCH_Z14_FEATURES
3256997c323SMartin Schwidefsky	def_bool n
3266997c323SMartin Schwidefsky	select HAVE_MARCH_Z13_FEATURES
327a0e22511SMartin Schwidefsky
328a0e22511SMartin Schwidefskyconfig HAVE_MARCH_Z15_FEATURES
329a0e22511SMartin Schwidefsky	def_bool n
330a0e22511SMartin Schwidefsky	select HAVE_MARCH_Z14_FEATURES
331e69a7ff8SHeiko Carstens
332e69a7ff8SHeiko Carstensconfig HAVE_MARCH_Z16_FEATURES
333e69a7ff8SHeiko Carstens	def_bool n
334e69a7ff8SHeiko Carstens	select HAVE_MARCH_Z15_FEATURES
335*c51ea988SVasily Gorbik
336*c51ea988SVasily Gorbikconfig HAVE_MARCH_Z17_FEATURES
337*c51ea988SVasily Gorbik	def_bool n
338*c51ea988SVasily Gorbik	select HAVE_MARCH_Z16_FEATURES
339843c48fdSJan Glauber
340843c48fdSJan Glauberchoice
3417072276eSMartin Schwidefsky	prompt "Processor type"
342843c48fdSJan Glauber	default MARCH_Z196
343843c48fdSJan Glauber
344843c48fdSJan Glauberconfig MARCH_Z10
3455a79859aSHeiko Carstens	bool "IBM System z10"
3465474080aSHeiko Carstens	select HAVE_MARCH_Z10_FEATURES
347843c48fdSJan Glauber	depends on $(cc-option,-march=z10)
3484efd417fSVasily Gorbik	help
3494efd417fSVasily Gorbik	  Select this to enable optimizations for IBM System z10 (2097 and 2098
350843c48fdSJan Glauber	  series). This is the oldest machine generation currently supported.
351843c48fdSJan Glauber
352843c48fdSJan Glauberconfig MARCH_Z196
3535a79859aSHeiko Carstens	bool "IBM zEnterprise 114 and 196"
3545474080aSHeiko Carstens	select HAVE_MARCH_Z196_FEATURES
355843c48fdSJan Glauber	depends on $(cc-option,-march=z196)
356843c48fdSJan Glauber	help
357843c48fdSJan Glauber	  Select this to enable optimizations for IBM zEnterprise 114 and 196
358843c48fdSJan Glauber	  (2818 and 2817 series). The kernel will be slightly faster but will
359843c48fdSJan Glauber	  not work on older machines.
360991c1505SHeiko Carstens
36159471227SHeiko Carstensconfig MARCH_ZEC12
3625a79859aSHeiko Carstens	bool "IBM zBC12 and zEC12"
3635474080aSHeiko Carstens	select HAVE_MARCH_ZEC12_FEATURES
364991c1505SHeiko Carstens	depends on $(cc-option,-march=zEC12)
36559471227SHeiko Carstens	help
36659471227SHeiko Carstens	  Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
36759471227SHeiko Carstens	  2827 series). The kernel will be slightly faster but will not work on
368991c1505SHeiko Carstens	  older machines.
369f8b2dcbdSMartin Schwidefsky
370bb3aa614SHeiko Carstensconfig MARCH_Z13
3715a79859aSHeiko Carstens	bool "IBM z13s and z13"
3725474080aSHeiko Carstens	select HAVE_MARCH_Z13_FEATURES
373f8b2dcbdSMartin Schwidefsky	depends on $(cc-option,-march=z13)
374bb3aa614SHeiko Carstens	help
375bb3aa614SHeiko Carstens	  Select this to enable optimizations for IBM z13s and z13 (2965 and
376bb3aa614SHeiko Carstens	  2964 series). The kernel will be slightly faster but will not work on
377f8b2dcbdSMartin Schwidefsky	  older machines.
3786997c323SMartin Schwidefsky
379451239ebSHeiko Carstensconfig MARCH_Z14
3806997c323SMartin Schwidefsky	bool "IBM z14 ZR1 and z14"
3815474080aSHeiko Carstens	select HAVE_MARCH_Z14_FEATURES
3826997c323SMartin Schwidefsky	depends on $(cc-option,-march=z14)
383451239ebSHeiko Carstens	help
384451239ebSHeiko Carstens	  Select this to enable optimizations for IBM z14 ZR1 and z14 (3907
385451239ebSHeiko Carstens	  and 3906 series). The kernel will be slightly faster but will not
3866997c323SMartin Schwidefsky	  work on older machines.
387a0e22511SMartin Schwidefsky
388a0e22511SMartin Schwidefskyconfig MARCH_Z15
389a0e22511SMartin Schwidefsky	bool "IBM z15"
3905474080aSHeiko Carstens	select HAVE_MARCH_Z15_FEATURES
391a0e22511SMartin Schwidefsky	depends on $(cc-option,-march=z15)
392a0e22511SMartin Schwidefsky	help
393a0e22511SMartin Schwidefsky	  Select this to enable optimizations for IBM z15 (8562
394a0e22511SMartin Schwidefsky	  and 8561 series). The kernel will be slightly faster but will not
395a0e22511SMartin Schwidefsky	  work on older machines.
396e69a7ff8SHeiko Carstens
397e69a7ff8SHeiko Carstensconfig MARCH_Z16
398e69a7ff8SHeiko Carstens	bool "IBM z16"
399e69a7ff8SHeiko Carstens	select HAVE_MARCH_Z16_FEATURES
400e69a7ff8SHeiko Carstens	depends on $(cc-option,-march=z16)
401e69a7ff8SHeiko Carstens	help
402e69a7ff8SHeiko Carstens	  Select this to enable optimizations for IBM z16 (3931 and
403e69a7ff8SHeiko Carstens	  3932 series).
404*c51ea988SVasily Gorbik
405*c51ea988SVasily Gorbikconfig MARCH_Z17
406*c51ea988SVasily Gorbik	bool "IBM z17"
407*c51ea988SVasily Gorbik	select HAVE_MARCH_Z17_FEATURES
408*c51ea988SVasily Gorbik	depends on $(cc-option,-march=z17)
409*c51ea988SVasily Gorbik	help
410*c51ea988SVasily Gorbik	  Select this to enable optimizations for IBM z17 (9175 and
411*c51ea988SVasily Gorbik	  9176 series).
412843c48fdSJan Glauber
4131da177e4SLinus Torvaldsendchoice
4141db9e051SHeiko Carstens
4151db9e051SHeiko Carstensconfig MARCH_Z10_TUNE
4161db9e051SHeiko Carstens	def_bool TUNE_Z10 || MARCH_Z10 && TUNE_DEFAULT
4171db9e051SHeiko Carstens
4181db9e051SHeiko Carstensconfig MARCH_Z196_TUNE
4191db9e051SHeiko Carstens	def_bool TUNE_Z196 || MARCH_Z196 && TUNE_DEFAULT
4201db9e051SHeiko Carstens
4211db9e051SHeiko Carstensconfig MARCH_ZEC12_TUNE
4221db9e051SHeiko Carstens	def_bool TUNE_ZEC12 || MARCH_ZEC12 && TUNE_DEFAULT
423f8b2dcbdSMartin Schwidefsky
424f8b2dcbdSMartin Schwidefskyconfig MARCH_Z13_TUNE
425f8b2dcbdSMartin Schwidefsky	def_bool TUNE_Z13 || MARCH_Z13 && TUNE_DEFAULT
4266997c323SMartin Schwidefsky
4276997c323SMartin Schwidefskyconfig MARCH_Z14_TUNE
4286997c323SMartin Schwidefsky	def_bool TUNE_Z14 || MARCH_Z14 && TUNE_DEFAULT
429a0e22511SMartin Schwidefsky
430a0e22511SMartin Schwidefskyconfig MARCH_Z15_TUNE
431a0e22511SMartin Schwidefsky	def_bool TUNE_Z15 || MARCH_Z15 && TUNE_DEFAULT
432e69a7ff8SHeiko Carstens
433e69a7ff8SHeiko Carstensconfig MARCH_Z16_TUNE
434e69a7ff8SHeiko Carstens	def_bool TUNE_Z16 || MARCH_Z16 && TUNE_DEFAULT
435*c51ea988SVasily Gorbik
436*c51ea988SVasily Gorbikconfig MARCH_Z17_TUNE
437*c51ea988SVasily Gorbik	def_bool TUNE_Z17 || MARCH_Z17 && TUNE_DEFAULT
4381db9e051SHeiko Carstens
4391db9e051SHeiko Carstenschoice
4401db9e051SHeiko Carstens	prompt "Tune code generation"
4411db9e051SHeiko Carstens	default TUNE_DEFAULT
4421db9e051SHeiko Carstens	help
4431db9e051SHeiko Carstens	  Cause the compiler to tune (-mtune) the generated code for a machine.
4441db9e051SHeiko Carstens	  This will make the code run faster on the selected machine but
4451db9e051SHeiko Carstens	  somewhat slower on other machines.
4461db9e051SHeiko Carstens	  This option only changes how the compiler emits instructions, not the
4471db9e051SHeiko Carstens	  selection of instructions itself, so the resulting kernel will run on
4481db9e051SHeiko Carstens	  all other machines.
4491db9e051SHeiko Carstens
4501db9e051SHeiko Carstensconfig TUNE_DEFAULT
4511db9e051SHeiko Carstens	bool "Default"
4521db9e051SHeiko Carstens	help
4531db9e051SHeiko Carstens	  Tune the generated code for the target processor for which the kernel
4541db9e051SHeiko Carstens	  will be compiled.
4551db9e051SHeiko Carstens
4561db9e051SHeiko Carstensconfig TUNE_Z10
4571db9e051SHeiko Carstens	bool "IBM System z10"
4581db9e051SHeiko Carstens
4591db9e051SHeiko Carstensconfig TUNE_Z196
4605474080aSHeiko Carstens	bool "IBM zEnterprise 114 and 196"
4611db9e051SHeiko Carstens	depends on $(cc-option,-mtune=z196)
4621db9e051SHeiko Carstens
4631db9e051SHeiko Carstensconfig TUNE_ZEC12
4645474080aSHeiko Carstens	bool "IBM zBC12 and zEC12"
4651db9e051SHeiko Carstens	depends on $(cc-option,-mtune=zEC12)
466f8b2dcbdSMartin Schwidefsky
46789d0180aSHeiko Carstensconfig TUNE_Z13
4685474080aSHeiko Carstens	bool "IBM z13s and z13"
469f8b2dcbdSMartin Schwidefsky	depends on $(cc-option,-mtune=z13)
4706997c323SMartin Schwidefsky
47189d0180aSHeiko Carstensconfig TUNE_Z14
4725474080aSHeiko Carstens	bool "IBM z14 ZR1 and z14"
4736997c323SMartin Schwidefsky	depends on $(cc-option,-mtune=z14)
474a0e22511SMartin Schwidefsky
475a0e22511SMartin Schwidefskyconfig TUNE_Z15
4765474080aSHeiko Carstens	bool "IBM z15"
477a0e22511SMartin Schwidefsky	depends on $(cc-option,-mtune=z15)
478e69a7ff8SHeiko Carstens
479e69a7ff8SHeiko Carstensconfig TUNE_Z16
480e69a7ff8SHeiko Carstens	bool "IBM z16"
481e69a7ff8SHeiko Carstens	depends on $(cc-option,-mtune=z16)
482*c51ea988SVasily Gorbik
483*c51ea988SVasily Gorbikconfig TUNE_Z17
484*c51ea988SVasily Gorbik	bool "IBM z17"
485*c51ea988SVasily Gorbik	depends on $(cc-option,-mtune=z17)
4861db9e051SHeiko Carstens
4871db9e051SHeiko Carstensendchoice
488347a8dc3SMartin Schwidefsky
4896f9a3c33SMartin Schwidefskyconfig 64BIT
490d9f7a745SMartin Schwidefsky	def_bool y
491622021cdSSven Schnelle
492622021cdSSven Schnelleconfig COMMAND_LINE_SIZE
493622021cdSSven Schnelle	int "Maximum size of kernel command line"
494622021cdSSven Schnelle	default 4096
495622021cdSSven Schnelle	range 896 1048576
496622021cdSSven Schnelle	help
497622021cdSSven Schnelle	  This allows you to specify the maximum length of the kernel command
498622021cdSSven Schnelle	  line.
499843c48fdSJan Glauber
50077ed045eSHeiko Carstensconfig COMPAT
501843c48fdSJan Glauber	def_bool n
502843c48fdSJan Glauber	prompt "Kernel support for 31 bit emulation"
5037eddd99cSAl Viro	select ARCH_WANT_OLD_COMPAT_IPC
504fef747baSArnd Bergmann	select COMPAT_OLD_SIGACTION
5052813893fSIulia Manda	select HAVE_UID16
506b20ea29aSNathan Chancellor	depends on MULTIUSER
507843c48fdSJan Glauber	depends on !CC_IS_CLANG && !LD_IS_LLD
508843c48fdSJan Glauber	help
509843c48fdSJan Glauber	  Select this option if you want to enable your system kernel to
510843c48fdSJan Glauber	  handle system-calls from ELF binaries for 31 bit ESA.  This option
51177ed045eSHeiko Carstens	  (and some other stuff like libraries and such) is needed for
51277ed045eSHeiko Carstens	  executing 31 bit applications.
51377ed045eSHeiko Carstens
514843c48fdSJan Glauber	  If unsure say N.
5151da177e4SLinus Torvalds
5166f9a3c33SMartin Schwidefskyconfig SMP
5171da177e4SLinus Torvalds	def_bool y
5181da177e4SLinus Torvalds
5195c75a0daSHeiko Carstensconfig NR_CPUS
5205c75a0daSHeiko Carstens	int "Maximum number of CPUs (2-512)"
5215a79859aSHeiko Carstens	range 2 512
5221da177e4SLinus Torvalds	default "64"
5231da177e4SLinus Torvalds	help
5245c75a0daSHeiko Carstens	  This allows you to specify the maximum number of CPUs which this
5251da177e4SLinus Torvalds	  kernel will support. The maximum supported value is 512 and the
5261da177e4SLinus Torvalds	  minimum value which makes sense is 2.
5271da177e4SLinus Torvalds
5281da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
5291da177e4SLinus Torvalds	  approximately sixteen kilobytes to the kernel image.
5301da177e4SLinus Torvalds
5316f9a3c33SMartin Schwidefskyconfig HOTPLUG_CPU
5321da177e4SLinus Torvalds	def_bool y
5333a368f74SPhilipp Hachtmann
5343a368f74SPhilipp Hachtmannconfig NUMA
53567626fadSHeiko Carstens	bool "NUMA support"
5363a368f74SPhilipp Hachtmann	depends on SCHED_TOPOLOGY
5373a368f74SPhilipp Hachtmann	default n
5383a368f74SPhilipp Hachtmann	help
5393a368f74SPhilipp Hachtmann	  Enable NUMA support
5403a368f74SPhilipp Hachtmann
5413a368f74SPhilipp Hachtmann	  This option adds NUMA support to the kernel.
5423a368f74SPhilipp Hachtmann
543701dc81eSHeiko Carstensconfig NODES_SHIFT
544a9ee6cf5SMike Rapoport	int
545701dc81eSHeiko Carstens	depends on NUMA
546c29a7bafSMichael Holzheu	default "1"
5479236b4ddSHeiko Carstens
5489236b4ddSHeiko Carstensconfig SCHED_SMT
5499236b4ddSHeiko Carstens	def_bool n
5508d11e021SHeiko Carstens
55183a24e32SHeiko Carstensconfig SCHED_MC
5528d11e021SHeiko Carstens	def_bool n
55310ad34bcSMartin Schwidefsky
5546f9a3c33SMartin Schwidefskyconfig SCHED_TOPOLOGY
55510ad34bcSMartin Schwidefsky	def_bool y
55610ad34bcSMartin Schwidefsky	prompt "Topology scheduler support"
55783a24e32SHeiko Carstens	select SCHED_SMT
5584cb14bc8SHeiko Carstens	select SCHED_MC
55910ad34bcSMartin Schwidefsky	help
56010ad34bcSMartin Schwidefsky	  Topology scheduler support improves the CPU scheduler's decision
56110ad34bcSMartin Schwidefsky	  making when dealing with machines that have multi-threading,
5624cb14bc8SHeiko Carstens	  multiple cores or multiple books.
5637e627f81STobias Huschle
5647e627f81STobias Huschleconfig SCHED_TOPOLOGY_VERTICAL
5657e627f81STobias Huschle	def_bool y
5667e627f81STobias Huschle	bool "Use vertical CPU polarization by default"
5677e627f81STobias Huschle	depends on SCHED_TOPOLOGY
5687e627f81STobias Huschle	help
5697e627f81STobias Huschle	  Use vertical CPU polarization by default if available.
5707e627f81STobias Huschle	  The default CPU polarization is horizontal.
571b9271a53SMete Durlu
572b9271a53SMete Durluconfig HIPERDISPATCH_ON
573b9271a53SMete Durlu	def_bool y
574b9271a53SMete Durlu	bool "Use hiperdispatch on vertical polarization by default"
575b9271a53SMete Durlu	depends on SCHED_TOPOLOGY
576b9271a53SMete Durlu	depends on PROC_SYSCTL
577b9271a53SMete Durlu	help
578b9271a53SMete Durlu	  Hiperdispatch aims to improve the CPU scheduler's decision
579b9271a53SMete Durlu	  making when using vertical polarization by adjusting CPU
580b9271a53SMete Durlu	  capacities dynamically. Set this option to use hiperdispatch
581b9271a53SMete Durlu	  on vertical polarization by default. This can be overwritten
582b9271a53SMete Durlu	  by sysctl's s390.hiperdispatch attribute later on.
5838636a1f9SMasahiro Yamada
584843c48fdSJan Glaubersource "kernel/Kconfig.hz"
5858cf57d72SAnastasia Eskova
5868cf57d72SAnastasia Eskovaconfig CERT_STORE
5878cf57d72SAnastasia Eskova	bool "Get user certificates via DIAG320"
588481daa50SSven Schnelle	depends on KEYS
5898cf57d72SAnastasia Eskova	select CRYPTO_LIB_SHA256
5908cf57d72SAnastasia Eskova	help
5918cf57d72SAnastasia Eskova	  Enable this option if you want to access user-provided secure boot
5928cf57d72SAnastasia Eskova	  certificates via DIAG 0x320.
5938cf57d72SAnastasia Eskova
5948cf57d72SAnastasia Eskova	  These certificates will be made available via the keyring named
5958cf57d72SAnastasia Eskova	  'cert_store'.
596d768bd89SMartin Schwidefsky
597d768bd89SMartin Schwidefskyconfig KERNEL_NOBP
598d768bd89SMartin Schwidefsky	def_bool n
599d768bd89SMartin Schwidefsky	prompt "Enable modified branch prediction for the kernel by default"
600d768bd89SMartin Schwidefsky	help
601d768bd89SMartin Schwidefsky	  If this option is selected the kernel will switch to a modified
602d768bd89SMartin Schwidefsky	  branch prediction mode if the firmware interface is available.
603d768bd89SMartin Schwidefsky	  The modified branch prediction mode improves the behaviour in
604d768bd89SMartin Schwidefsky	  regard to speculative execution.
605d768bd89SMartin Schwidefsky
606d768bd89SMartin Schwidefsky	  With the option enabled the kernel parameter "nobp=0" or "nospec"
607d768bd89SMartin Schwidefsky	  can be used to run the kernel in the normal branch prediction mode.
608d768bd89SMartin Schwidefsky
609d768bd89SMartin Schwidefsky	  With the option disabled the modified branch prediction mode is
610d768bd89SMartin Schwidefsky	  enabled with the "nobp=1" kernel parameter.
611d768bd89SMartin Schwidefsky
612d768bd89SMartin Schwidefsky	  If unsure, say N.
613f19fbd5eSMartin Schwidefsky
614f19fbd5eSMartin Schwidefskyconfig EXPOLINE
6151d2ad084SVasily Gorbik	def_bool n
616f19fbd5eSMartin Schwidefsky	depends on $(cc-option,-mindirect-branch=thunk)
617f19fbd5eSMartin Schwidefsky	prompt "Avoid speculative indirect branches in the kernel"
618f19fbd5eSMartin Schwidefsky	help
619f19fbd5eSMartin Schwidefsky	  Compile the kernel with the expoline compiler options to guard
620f19fbd5eSMartin Schwidefsky	  against kernel-to-user data leaks by avoiding speculative indirect
621f19fbd5eSMartin Schwidefsky	  branches.
622f19fbd5eSMartin Schwidefsky	  Requires a compiler with -mindirect-branch=thunk support for full
623f19fbd5eSMartin Schwidefsky	  protection. The kernel may run slower.
624f19fbd5eSMartin Schwidefsky
625f19fbd5eSMartin Schwidefsky	  If unsure, say N.
6261d2ad084SVasily Gorbik
6274eac37ffSVasily Gorbikconfig EXPOLINE_EXTERN
6284eac37ffSVasily Gorbik	def_bool EXPOLINE && CC_IS_GCC && GCC_VERSION >= 110200 && \
6291d2ad084SVasily Gorbik		 $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC))
6304eac37ffSVasily Gorbik	help
6314eac37ffSVasily Gorbik	  Generate expolines as external functions if the compiler supports it.
6324eac37ffSVasily Gorbik	  This option is required for some tooling like kpatch, if expolines
6334eac37ffSVasily Gorbik	  are enabled. The kernel is compiled with
6341d2ad084SVasily Gorbik	  -mindirect-branch=thunk-extern, which requires a newer compiler.
635f19fbd5eSMartin Schwidefsky
636f19fbd5eSMartin Schwidefskychoice
637f19fbd5eSMartin Schwidefsky	prompt "Expoline default"
638f19fbd5eSMartin Schwidefsky	depends on EXPOLINE
639f19fbd5eSMartin Schwidefsky	default EXPOLINE_FULL
640f19fbd5eSMartin Schwidefsky
641f19fbd5eSMartin Schwidefskyconfig EXPOLINE_OFF
642f19fbd5eSMartin Schwidefsky	bool "spectre_v2=off"
6436e179d64SMartin Schwidefsky
644f19fbd5eSMartin Schwidefskyconfig EXPOLINE_AUTO
645f19fbd5eSMartin Schwidefsky	bool "spectre_v2=auto"
646f19fbd5eSMartin Schwidefsky
647f19fbd5eSMartin Schwidefskyconfig EXPOLINE_FULL
648f19fbd5eSMartin Schwidefsky	bool "spectre_v2=on"
649f19fbd5eSMartin Schwidefsky
650f19fbd5eSMartin Schwidefskyendchoice
651805bc0bcSGerald Schaefer
65280ddf5ceSHeiko Carstensconfig RELOCATABLE
6539b400d17SArd Biesheuvel	def_bool y
654805bc0bcSGerald Schaefer	select ARCH_VMLINUX_NEEDS_RELOCS
655805bc0bcSGerald Schaefer	help
656805bc0bcSGerald Schaefer	  This builds a kernel image that retains relocation information
657805bc0bcSGerald Schaefer	  so it can be loaded at an arbitrary address.
658805bc0bcSGerald Schaefer	  The relocations make the kernel image about 15% larger (compressed
65980ddf5ceSHeiko Carstens	  10%), but are discarded at runtime.
66080ddf5ceSHeiko Carstens	  Note: this option exists only for documentation purposes, please do
661805bc0bcSGerald Schaefer	  not remove it.
662b2d24b97SGerald Schaefer
663b2d24b97SGerald Schaeferconfig RANDOMIZE_BASE
664b2d24b97SGerald Schaefer	bool "Randomize the address of the kernel image (KASLR)"
665b2d24b97SGerald Schaefer	default y
666b2d24b97SGerald Schaefer	help
667b2d24b97SGerald Schaefer	  In support of Kernel Address Space Layout Randomization (KASLR),
668b2d24b97SGerald Schaefer	  this randomizes the address at which the kernel image is loaded,
669b2d24b97SGerald Schaefer	  as a security feature that deters exploit attempts relying on
670b2d24b97SGerald Schaefer	  knowledge of the location of kernel internals.
67132db4019SAlexander Gordeev
67232db4019SAlexander Gordeevconfig RANDOMIZE_IDENTITY_BASE
67332db4019SAlexander Gordeev	bool "Randomize the address of the identity mapping base"
67432db4019SAlexander Gordeev	depends on RANDOMIZE_BASE
67532db4019SAlexander Gordeev	default DEBUG_VM
67632db4019SAlexander Gordeev	help
67732db4019SAlexander Gordeev	  The identity mapping base address is pinned to zero by default.
67832db4019SAlexander Gordeev	  Allow randomization of that base to expose otherwise missed
67932db4019SAlexander Gordeev	  notion of physical and virtual addresses of data structures.
68032db4019SAlexander Gordeev	  That does not have any impact on the base address at which the
68132db4019SAlexander Gordeev	  kernel image is loaded.
68232db4019SAlexander Gordeev
68332db4019SAlexander Gordeev	  If unsure, say N
68454f2ecc3SAlexander Gordeev
68554f2ecc3SAlexander Gordeevconfig KERNEL_IMAGE_BASE
68654f2ecc3SAlexander Gordeev	hex "Kernel image base address"
68754f2ecc3SAlexander Gordeev	range 0x100000 0x1FFFFFE0000000 if !KASAN
68854f2ecc3SAlexander Gordeev	range 0x100000 0x1BFFFFE0000000 if KASAN
68954f2ecc3SAlexander Gordeev	default 0x3FFE0000000 if !KASAN
69054f2ecc3SAlexander Gordeev	default 0x7FFFE0000000 if KASAN
69154f2ecc3SAlexander Gordeev	help
69254f2ecc3SAlexander Gordeev	  This is the address at which the kernel image is loaded in case
69354f2ecc3SAlexander Gordeev	  Kernel Address Space Layout Randomization (KASLR) is disabled.
69454f2ecc3SAlexander Gordeev
69554f2ecc3SAlexander Gordeev	  In case the Protected virtualization guest support is enabled the
69654f2ecc3SAlexander Gordeev	  Ultravisor imposes a virtual address limit. If the value of this
69754f2ecc3SAlexander Gordeev	  option leads to the kernel image exceeding the Ultravisor limit,
69854f2ecc3SAlexander Gordeev	  this option is ignored and the image is loaded below the limit.
69954f2ecc3SAlexander Gordeev
70054f2ecc3SAlexander Gordeev	  If the value of this option leads to the kernel image overlapping
70154f2ecc3SAlexander Gordeev	  the virtual memory where other data structures are located, this
70254f2ecc3SAlexander Gordeev	  option is ignored and the image is loaded above the structures.
703843c48fdSJan Glauber
704843c48fdSJan Glauberendmenu
705843c48fdSJan Glauber
706843c48fdSJan Glaubermenu "Memory setup"
707843c48fdSJan Glauber
7086f9a3c33SMartin Schwidefskyconfig ARCH_SPARSEMEM_ENABLE
709843c48fdSJan Glauber	def_bool y
710843c48fdSJan Glauber	select SPARSEMEM_VMEMMAP_ENABLE
7111da177e4SLinus Torvalds	select SPARSEMEM_VMEMMAP
712843c48fdSJan Glauber
7136f9a3c33SMartin Schwidefskyconfig ARCH_SPARSEMEM_DEFAULT
714e65e1fc2SAl Viro	def_bool y
715b8402b95SHeiko Carstens
716b8402b95SHeiko Carstensconfig MAX_PHYSMEM_BITS
717b8402b95SHeiko Carstens	int "Maximum size of supported physical memory in bits (42-53)"
718b8402b95SHeiko Carstens	range 42 53
719b8402b95SHeiko Carstens	default "46"
720b8402b95SHeiko Carstens	help
721b8402b95SHeiko Carstens	  This option specifies the maximum supported size of physical memory
722b8402b95SHeiko Carstens	  in bits. Supported is any size between 2^42 (4TB) and 2^53 (8PB).
723b8402b95SHeiko Carstens	  Increasing the number of bits also increases the kernel image size.
724b8402b95SHeiko Carstens	  By default 46 bits (64TB) are supported.
725843c48fdSJan Glauber
72661d48c2cSMartin Schwidefskyendmenu
727843c48fdSJan Glauber
7281da177e4SLinus Torvaldsmenu "I/O subsystem"
7291da177e4SLinus Torvalds
7306f9a3c33SMartin Schwidefskyconfig QDIO
7316f9a3c33SMartin Schwidefsky	def_tristate y
732a7f7f624SMasahiro Yamada	prompt "QDIO support"
7338129ee16SFrank Pavlic	help
734efca13bcSUrsula Braun	  This driver provides the Queued Direct I/O base support for
7351da177e4SLinus Torvalds	  IBM System z.
7361da177e4SLinus Torvalds
7371da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
7381da177e4SLinus Torvalds	  module will be called qdio.
7391da177e4SLinus Torvalds
7401da177e4SLinus Torvalds	  If unsure, say Y.
741c8717a3dSJan Glauber
742c8717a3dSJan Glauberif PCI
743c8717a3dSJan Glauber
744c8717a3dSJan Glauberconfig PCI_NR_FUNCTIONS
745c8717a3dSJan Glauber	int "Maximum number of PCI functions (1-4096)"
74610e59217SNiklas Schnelle	range 1 4096
747c8717a3dSJan Glauber	default "512"
748c8717a3dSJan Glauber	help
749c8717a3dSJan Glauber	  This allows you to specify the maximum number of PCI functions which
750c8717a3dSJan Glauber	  this kernel will support.
751c8717a3dSJan Glauber
752c8717a3dSJan Glauberendif # PCI
753c8717a3dSJan Glauber
754c8717a3dSJan Glauberconfig HAS_IOMEM
755c8717a3dSJan Glauber	def_bool PCI
7569d92a7e1SCornelia Huck
757d9c11b1eSSebastian Ottconfig CHSC_SCH
7586f9a3c33SMartin Schwidefsky	def_tristate m
7599d92a7e1SCornelia Huck	prompt "Support for CHSC subchannels"
7609d92a7e1SCornelia Huck	help
7619d92a7e1SCornelia Huck	  This driver allows usage of CHSC subchannels. A CHSC subchannel
7629d92a7e1SCornelia Huck	  is usually present on LPAR only.
7639d92a7e1SCornelia Huck	  The driver creates a device /dev/chsc, which may be used to
7649d92a7e1SCornelia Huck	  obtain I/O configuration information about the machine and
7659d92a7e1SCornelia Huck	  to issue asynchronous chsc commands (DANGEROUS).
7669d92a7e1SCornelia Huck	  You will usually only want to use this interface on a special
7679d92a7e1SCornelia Huck	  LPAR designated for system management.
7689d92a7e1SCornelia Huck
7699d92a7e1SCornelia Huck	  To compile this driver as a module, choose M here: the
7709d92a7e1SCornelia Huck	  module will be called chsc_sch.
7719d92a7e1SCornelia Huck
7729d92a7e1SCornelia Huck	  If unsure, say N.
7731d1c8f78SSebastian Ott
7741d1c8f78SSebastian Ottconfig SCM_BUS
7751d1c8f78SSebastian Ott	def_bool y
7761d1c8f78SSebastian Ott	prompt "SCM bus driver"
7771d1c8f78SSebastian Ott	help
7781d1c8f78SSebastian Ott	  Bus driver for Storage Class Memory.
779eadb86abSSebastian Ott
780eadb86abSSebastian Ottconfig EADM_SCH
781eadb86abSSebastian Ott	def_tristate m
782eadb86abSSebastian Ott	prompt "Support for EADM subchannels"
783eadb86abSSebastian Ott	depends on SCM_BUS
784eadb86abSSebastian Ott	help
785eadb86abSSebastian Ott	  This driver allows usage of EADM subchannels. EADM subchannels act
786eadb86abSSebastian Ott	  as a communication vehicle for SCM increments.
787eadb86abSSebastian Ott
788eadb86abSSebastian Ott	  To compile this driver as a module, choose M here: the
789eadb86abSSebastian Ott	  module will be called eadm_sch.
79012376084SHolger Dengler
79112376084SHolger Denglerconfig AP
79212376084SHolger Dengler	def_tristate y
79312376084SHolger Dengler	prompt "Support for Adjunct Processors (ap)"
79412376084SHolger Dengler	help
79512376084SHolger Dengler	  This driver allows usage to Adjunct Processor (AP) devices via
79612376084SHolger Dengler	  the ap bus, cards and queues. Supported Adjunct Processors are
79712376084SHolger Dengler	  the CryptoExpress Cards (CEX).
79812376084SHolger Dengler
79912376084SHolger Dengler	  To compile this driver as a module, choose M here: the
80012376084SHolger Dengler	  module will be called ap.
80112376084SHolger Dengler
80212376084SHolger Dengler	  If unsure, say Y (default).
803b3840c8bSHolger Dengler
804b3840c8bSHolger Denglerconfig AP_DEBUG
805b3840c8bSHolger Dengler	def_bool n
806b3840c8bSHolger Dengler	prompt "Enable debug features for Adjunct Processor (ap) devices"
807b3840c8bSHolger Dengler	depends on AP
808b3840c8bSHolger Dengler	help
809b3840c8bSHolger Dengler	  Say 'Y' here to enable some additional debug features for Adjunct
810b3840c8bSHolger Dengler	  Processor (ap) devices.
811b3840c8bSHolger Dengler
812b3840c8bSHolger Dengler	  There will be some more sysfs attributes displayed for ap queues.
813b3840c8bSHolger Dengler
814b3840c8bSHolger Dengler	  Do not enable on production level kernel build.
815b3840c8bSHolger Dengler
816b3840c8bSHolger Dengler	  If unsure, say N.
81763f1934dSDong Jia Shi
81863f1934dSDong Jia Shiconfig VFIO_CCW
81963f1934dSDong Jia Shi	def_tristate n
820de858a05SArnd Bergmann	prompt "Support for VFIO-CCW subchannels"
8218bf8c5eeSChristoph Hellwig	depends on VFIO
82263f1934dSDong Jia Shi	select VFIO_MDEV
82363f1934dSDong Jia Shi	help
82463f1934dSDong Jia Shi	  This driver allows usage of I/O subchannels via VFIO-CCW.
82563f1934dSDong Jia Shi
82663f1934dSDong Jia Shi	  To compile this driver as a module, choose M here: the
82763f1934dSDong Jia Shi	  module will be called vfio_ccw.
8281fde5734STony Krowiak
8291fde5734STony Krowiakconfig VFIO_AP
8301fde5734STony Krowiak	def_tristate n
8310f1cbf94SJason Gunthorpe	prompt "VFIO support for AP devices"
832de858a05SArnd Bergmann	depends on KVM
83312376084SHolger Dengler	depends on VFIO
834de858a05SArnd Bergmann	depends on AP
8351fde5734STony Krowiak	select VFIO_MDEV
8361fde5734STony Krowiak	help
8371fde5734STony Krowiak	  This driver grants access to Adjunct Processor (AP) devices
8381fde5734STony Krowiak	  via the VFIO mediated device interface.
8391fde5734STony Krowiak
8401fde5734STony Krowiak	  To compile this driver as a module, choose M here: the module
8411fde5734STony Krowiak	  will be called vfio_ap.
842843c48fdSJan Glauber
843843c48fdSJan Glauberendmenu
844843c48fdSJan Glauber
845843c48fdSJan Glauberconfig CCW
846843c48fdSJan Glauber	def_bool y
847b6ef86e9SUrsula Braun
848b6ef86e9SUrsula Braunconfig HAVE_PNETID
849b6ef86e9SUrsula Braun	tristate
850b6ef86e9SUrsula Braun	default (SMC || CCWGROUP)
851843c48fdSJan Glauber
852684de39bSHeiko Carstensmenu "Virtualization"
8531da177e4SLinus Torvalds
8546f9a3c33SMartin Schwidefskyconfig PFAULT
8556f9a3c33SMartin Schwidefsky	def_bool y
8561da177e4SLinus Torvalds	prompt "Pseudo page fault support"
8571da177e4SLinus Torvalds	help
8581da177e4SLinus Torvalds	  Select this option, if you want to use PFAULT pseudo page fault
8591da177e4SLinus Torvalds	  handling under VM. If running native or in LPAR, this option
8601da177e4SLinus Torvalds	  has no effect. If your VM does not support PFAULT, PAGEEX
8611da177e4SLinus Torvalds	  pseudo page fault handling will be used.
8621da177e4SLinus Torvalds	  Note that VM 4.2 supports PFAULT but has a bug in its
8631da177e4SLinus Torvalds	  implementation that causes some problems.
8641da177e4SLinus Torvalds	  Everybody who wants to run Linux under VM != VM4.2 should select
8651da177e4SLinus Torvalds	  this option.
8661da177e4SLinus Torvalds
8676f9a3c33SMartin Schwidefskyconfig CMM
8686f9a3c33SMartin Schwidefsky	def_tristate n
8691da177e4SLinus Torvalds	prompt "Cooperative memory management"
8701da177e4SLinus Torvalds	help
8711da177e4SLinus Torvalds	  Select this option, if you want to enable the kernel interface
8721da177e4SLinus Torvalds	  to reduce the memory size of the system. This is accomplished
8731da177e4SLinus Torvalds	  by allocating pages of memory and put them "on hold". This only
8741da177e4SLinus Torvalds	  makes sense for a system running under VM where the unused pages
8751da177e4SLinus Torvalds	  will be reused by VM for other guest systems. The interface
8761da177e4SLinus Torvalds	  allows an external monitor to balance memory of many systems.
8771da177e4SLinus Torvalds	  Everybody who wants to run Linux under VM should select this
8781da177e4SLinus Torvalds	  option.
8791da177e4SLinus Torvalds
8806f9a3c33SMartin Schwidefskyconfig CMM_IUCV
8816f9a3c33SMartin Schwidefsky	def_bool y
8821da177e4SLinus Torvalds	prompt "IUCV special message interface to cooperative memory management"
8831da177e4SLinus Torvalds	depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
8841da177e4SLinus Torvalds	help
8851da177e4SLinus Torvalds	  Select this option to enable the special message interface to
8861da177e4SLinus Torvalds	  the cooperative memory management.
8871da177e4SLinus Torvalds
8886f9a3c33SMartin Schwidefskyconfig APPLDATA_BASE
8896f9a3c33SMartin Schwidefsky	def_bool n
8905d3516b3SRandy Dunlap	prompt "Linux - VM Monitor Stream, base infrastructure"
8911da177e4SLinus Torvalds	depends on PROC_SYSCTL
8921da177e4SLinus Torvalds	help
8931da177e4SLinus Torvalds	  This provides a kernel interface for creating and updating z/VM APPLDATA
8941da177e4SLinus Torvalds	  monitor records. The monitor records are updated at certain time
8951da177e4SLinus Torvalds	  intervals, once the timer is started.
8961da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
8971da177e4SLinus Torvalds	  i.e. enables or disables monitoring on the Linux side.
8981da177e4SLinus Torvalds	  A custom interval value (in seconds) can be written to
8991da177e4SLinus Torvalds	  /proc/appldata/interval.
9001da177e4SLinus Torvalds
9011da177e4SLinus Torvalds	  Defaults are 60 seconds interval and timer off.
9021da177e4SLinus Torvalds	  The /proc entries can also be read from, showing the current settings.
9031da177e4SLinus Torvalds
9046f9a3c33SMartin Schwidefskyconfig APPLDATA_MEM
9056f9a3c33SMartin Schwidefsky	def_tristate m
90662fb2ba3SAl Viro	prompt "Monitor memory management statistics"
9071da177e4SLinus Torvalds	depends on APPLDATA_BASE && VM_EVENT_COUNTERS
9081da177e4SLinus Torvalds	help
9091da177e4SLinus Torvalds	  This provides memory management related data to the Linux - VM Monitor
9101da177e4SLinus Torvalds	  Stream, like paging/swapping rate, memory utilisation, etc.
9111da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
9121da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
9131da177e4SLinus Torvalds	  on the z/VM side.
9141da177e4SLinus Torvalds
9151da177e4SLinus Torvalds	  Default is disabled.
9161da177e4SLinus Torvalds	  The /proc entry can also be read from, showing the current settings.
9171da177e4SLinus Torvalds
9181da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
9191da177e4SLinus Torvalds	  appldata_mem.o.
9201da177e4SLinus Torvalds
9216f9a3c33SMartin Schwidefskyconfig APPLDATA_OS
9226f9a3c33SMartin Schwidefsky	def_tristate m
9231da177e4SLinus Torvalds	prompt "Monitor OS statistics"
9241da177e4SLinus Torvalds	depends on APPLDATA_BASE
9251da177e4SLinus Torvalds	help
9261da177e4SLinus Torvalds	  This provides OS related data to the Linux - VM Monitor Stream, like
9271da177e4SLinus Torvalds	  CPU utilisation, etc.
9281da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
9291da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
9301da177e4SLinus Torvalds	  on the z/VM side.
9311da177e4SLinus Torvalds
9321da177e4SLinus Torvalds	  Default is disabled.
9331da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
9341da177e4SLinus Torvalds	  appldata_os.o.
9351da177e4SLinus Torvalds
9366f9a3c33SMartin Schwidefskyconfig APPLDATA_NET_SUM
9376f9a3c33SMartin Schwidefsky	def_tristate m
93870193af9SSachin Sant	prompt "Monitor overall network statistics"
9391da177e4SLinus Torvalds	depends on APPLDATA_BASE && NET
9401da177e4SLinus Torvalds	help
9411da177e4SLinus Torvalds	  This provides network related data to the Linux - VM Monitor Stream,
9421da177e4SLinus Torvalds	  currently there is only a total sum of network I/O statistics, no
9431da177e4SLinus Torvalds	  per-interface data.
9441da177e4SLinus Torvalds	  Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
9451da177e4SLinus Torvalds	  APPLDATA monitor record, i.e. enables or disables monitoring this record
9461da177e4SLinus Torvalds	  on the z/VM side.
9471da177e4SLinus Torvalds
9481da177e4SLinus Torvalds	  Default is disabled.
9491da177e4SLinus Torvalds	  This can also be compiled as a module, which will be called
9501da177e4SLinus Torvalds	  appldata_net_sum.o.
9513325b4d8SHeiko Carstens
9526f9a3c33SMartin Schwidefskyconfig S390_HYPFS
9533325b4d8SHeiko Carstens	def_bool y
9543325b4d8SHeiko Carstens	prompt "s390 hypervisor information"
9553325b4d8SHeiko Carstens	help
9563325b4d8SHeiko Carstens	  This provides several binary files at (debugfs)/s390_hypfs/ to
9573325b4d8SHeiko Carstens	  provide accounting information in an s390 hypervisor environment.
9583325b4d8SHeiko Carstens
9593325b4d8SHeiko Carstensconfig S390_HYPFS_FS
9606f9a3c33SMartin Schwidefsky	def_bool n
96124bbb1faSMichael Holzheu	prompt "s390 hypervisor file system support"
9623325b4d8SHeiko Carstens	select SYS_HYPERVISOR
96324bbb1faSMichael Holzheu	depends on S390_HYPFS
96424bbb1faSMichael Holzheu	help
9653325b4d8SHeiko Carstens	  This is a virtual file system intended to provide accounting
9663325b4d8SHeiko Carstens	  information in an s390 hypervisor environment. This file system
9673325b4d8SHeiko Carstens	  is deprecated and should not be used.
9683325b4d8SHeiko Carstens
96924bbb1faSMichael Holzheu	  Say N if you are unsure.
970843c48fdSJan Glauber
971411ed322SMichael Holzheusource "arch/s390/kvm/Kconfig"
972fa587743SCarsten Otte
9736f9a3c33SMartin Schwidefskyconfig S390_GUEST
974510cf5a6SKees Cook	def_bool y
97579b6f7fbSChen Gang	prompt "s390 support for virtio devices"
97680629b0bSChristian Borntraeger	select TTY
977fa587743SCarsten Otte	select VIRTUALIZATION
978fa587743SCarsten Otte	select VIRTIO
979bdd1fc27SCornelia Huck	help
980bdd1fc27SCornelia Huck	  Enabling this option adds support for virtio based paravirtual device
981bdd1fc27SCornelia Huck	  drivers on s390.
98220766c08SChristian Borntraeger
983bdd1fc27SCornelia Huck	  Select this option if you want to run the kernel as a guest under
984bcf5cef7SHeiko Carstens	  the KVM hypervisor.
9851da177e4SLinus Torvalds
986badbf397SIlya Leoshkevichendmenu
98790c53187SIlya Leoshkevich
98890c53187SIlya Leoshkevichconfig S390_MODULES_SANITY_TEST_HELPERS
98990c53187SIlya Leoshkevich	def_bool n
990badbf397SIlya Leoshkevich
991badbf397SIlya Leoshkevichmenu "Selftests"
992badbf397SIlya Leoshkevich
993badbf397SIlya Leoshkevichconfig S390_UNWIND_SELFTEST
99425d36a85SMete Durlu	def_tristate n
99525d36a85SMete Durlu	depends on KUNIT
996badbf397SIlya Leoshkevich	default KUNIT_ALL_TESTS
997badbf397SIlya Leoshkevich	prompt "Test unwind functions"
998badbf397SIlya Leoshkevich	help
999badbf397SIlya Leoshkevich	  This option enables s390 specific stack unwinder testing kernel
1000badbf397SIlya Leoshkevich	  module. This option is not useful for distributions or general
1001badbf397SIlya Leoshkevich	  kernels, but only for kernel developers working on architecture code.
1002badbf397SIlya Leoshkevich
1003badbf397SIlya Leoshkevich	  Say N if you are unsure.
1004d340d28aSSven Schnelle
1005d340d28aSSven Schnelleconfig S390_KPROBES_SANITY_TEST
1006d340d28aSSven Schnelle	def_tristate n
1007d340d28aSSven Schnelle	prompt "Enable s390 specific kprobes tests"
1008d340d28aSSven Schnelle	depends on KPROBES
1009d340d28aSSven Schnelle	depends on KUNIT
1010d340d28aSSven Schnelle	help
1011d340d28aSSven Schnelle	  This option enables an s390 specific kprobes test module. This option
1012d340d28aSSven Schnelle	  is not useful for distributions or general kernels, but only for kernel
1013d340d28aSSven Schnelle	  developers working on architecture code.
1014d340d28aSSven Schnelle
1015d340d28aSSven Schnelle	  Say N if you are unsure.
101690c53187SIlya Leoshkevich
101790c53187SIlya Leoshkevichconfig S390_MODULES_SANITY_TEST
101890c53187SIlya Leoshkevich	def_tristate n
101990c53187SIlya Leoshkevich	depends on KUNIT
102090c53187SIlya Leoshkevich	default KUNIT_ALL_TESTS
102190c53187SIlya Leoshkevich	prompt "Enable s390 specific modules tests"
102290c53187SIlya Leoshkevich	select S390_MODULES_SANITY_TEST_HELPERS
102390c53187SIlya Leoshkevich	help
102490c53187SIlya Leoshkevich	  This option enables an s390 specific modules test. This option is
102590c53187SIlya Leoshkevich	  not useful for distributions or general kernels, but only for
102690c53187SIlya Leoshkevich	  kernel developers working on architecture code.
102790c53187SIlya Leoshkevich
1028badbf397SIlya Leoshkevich	  Say N if you are unsure.
1029endmenu
1030