blob: 9a9c7a6fe925915f561dd48c454e1e02d5ee7a51 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002config MMU
Martin Schwidefsky61d48c22007-05-10 15:46:00 +02003 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Christoph Lameter66701b12007-02-10 01:43:09 -08005config ZONE_DMA
Heiko Carstens69dbb2f2011-05-26 09:48:31 +02006 def_bool y
Christoph Lameter66701b12007-02-10 01:43:09 -08007
Heiko Carstens2fd92272016-04-14 09:00:27 +02008config CPU_BIG_ENDIAN
9 def_bool y
10
Ingo Molnar2b105ff2006-07-03 00:25:02 -070011config LOCKDEP_SUPPORT
Martin Schwidefsky61d48c22007-05-10 15:46:00 +020012 def_bool y
Ingo Molnar2b105ff2006-07-03 00:25:02 -070013
Heiko Carstens5bdc9b42006-07-03 00:24:41 -070014config STACKTRACE_SUPPORT
Martin Schwidefsky61d48c22007-05-10 15:46:00 +020015 def_bool y
Heiko Carstens5bdc9b42006-07-03 00:24:41 -070016
Linus Torvalds1da177e2005-04-16 15:20:36 -070017config RWSEM_GENERIC_SPINLOCK
18 bool
19
20config RWSEM_XCHGADD_ALGORITHM
Martin Schwidefsky61d48c22007-05-10 15:46:00 +020021 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
David Howellsf0d1b0b2006-12-08 02:37:49 -080023config ARCH_HAS_ILOG2_U32
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +010024 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080025
26config ARCH_HAS_ILOG2_U64
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +010027 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080028
Akinobu Mita7e33db42006-03-26 01:39:34 -080029config GENERIC_HWEIGHT
Martin Schwidefsky61d48c22007-05-10 15:46:00 +020030 def_bool y
Akinobu Mita7e33db42006-03-26 01:39:34 -080031
Heiko Carstensc0007f12007-04-27 16:01:42 +020032config GENERIC_BUG
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +010033 def_bool y if BUG
Heiko Carstensc0007f12007-04-27 16:01:42 +020034
Heiko Carstens52499f42010-02-26 22:37:44 +010035config GENERIC_BUG_RELATIVE_POINTERS
36 def_bool y
37
Martin Schwidefskyb6b40c52008-02-05 16:50:42 +010038config GENERIC_LOCKBREAK
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +010039 def_bool y if SMP && PREEMPT
Martin Schwidefskyb6b40c52008-02-05 16:50:42 +010040
Carsten Otte402b0862008-03-25 18:47:10 +010041config PGSTE
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +010042 def_bool y if KVM
Carsten Otte402b0862008-03-25 18:47:10 +010043
Akinobu Mita6a11f752009-03-31 15:23:17 -070044config ARCH_SUPPORTS_DEBUG_PAGEALLOC
45 def_bool y
46
Jan Glauber843c48f2012-08-27 10:55:18 +020047config AUDIT_ARCH
48 def_bool y
49
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070050config NO_IOPORT_MAP
Jan Glauberc8717a32012-11-29 14:38:46 +010051 def_bool y
52
53config PCI_QUIRKS
54 def_bool n
55
Jan Willeke2a0a5b22014-09-22 16:39:06 +020056config ARCH_SUPPORTS_UPROBES
Heiko Carstens5a79859a2015-02-12 13:08:27 +010057 def_bool y
Jan Willeke2a0a5b22014-09-22 16:39:06 +020058
Martin Schwidefsky347a8dc2006-01-06 00:19:28 -080059config S390
Martin Schwidefsky61d48c22007-05-10 15:46:00 +020060 def_bool y
Martin Schwidefsky23fefe12017-06-07 14:10:24 +020061 select ARCH_BINFMT_ELF_STATE
Dan Williams21266be2015-11-19 18:19:29 -080062 select ARCH_HAS_DEVMEM_IS_ALLOWED
Kees Cook2b68f6c2015-04-14 15:48:00 -070063 select ARCH_HAS_ELF_RANDOMIZE
Heiko Carstens79962032017-09-12 13:49:57 +020064 select ARCH_HAS_FORTIFY_SOURCE
Riku Voipio957e3fa2014-12-12 16:57:44 -080065 select ARCH_HAS_GCOV_PROFILE_ALL
Aneesh Kumar K.Ve1073d12017-07-06 15:39:17 -070066 select ARCH_HAS_GIGANTIC_PAGE if (MEMORY_ISOLATION && COMPACTION) || CMA
Heiko Carstens907fa062016-06-20 14:08:32 +020067 select ARCH_HAS_KCOV
Laurent Dufour3010a5e2018-06-07 17:06:08 -070068 select ARCH_HAS_PTE_SPECIAL
Daniel Borkmannd2852a22017-02-21 16:09:33 +010069 select ARCH_HAS_SET_MEMORY
Heiko Carstens47523c92014-12-22 10:07:04 +010070 select ARCH_HAS_SG_CHAIN
Laura Abbottad21fc42017-02-06 16:31:57 -080071 select ARCH_HAS_STRICT_KERNEL_RWX
72 select ARCH_HAS_STRICT_MODULE_RWX
Christian Borntraegerc42d8c72016-09-12 14:37:20 +020073 select ARCH_HAS_UBSAN_SANITIZE_ALL
Heiko Carstens0e0d04a2013-02-06 10:15:55 +010074 select ARCH_HAVE_NMI_SAFE_CMPXCHG
Thomas Gleixner6beb0002009-11-09 15:21:34 +000075 select ARCH_INLINE_READ_LOCK
76 select ARCH_INLINE_READ_LOCK_BH
77 select ARCH_INLINE_READ_LOCK_IRQ
78 select ARCH_INLINE_READ_LOCK_IRQSAVE
Heiko Carstens0e0d04a2013-02-06 10:15:55 +010079 select ARCH_INLINE_READ_TRYLOCK
Thomas Gleixner6beb0002009-11-09 15:21:34 +000080 select ARCH_INLINE_READ_UNLOCK
81 select ARCH_INLINE_READ_UNLOCK_BH
82 select ARCH_INLINE_READ_UNLOCK_IRQ
83 select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
Heiko Carstens0e0d04a2013-02-06 10:15:55 +010084 select ARCH_INLINE_SPIN_LOCK
85 select ARCH_INLINE_SPIN_LOCK_BH
86 select ARCH_INLINE_SPIN_LOCK_IRQ
87 select ARCH_INLINE_SPIN_LOCK_IRQSAVE
88 select ARCH_INLINE_SPIN_TRYLOCK
89 select ARCH_INLINE_SPIN_TRYLOCK_BH
90 select ARCH_INLINE_SPIN_UNLOCK
91 select ARCH_INLINE_SPIN_UNLOCK_BH
92 select ARCH_INLINE_SPIN_UNLOCK_IRQ
93 select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
Thomas Gleixner6beb0002009-11-09 15:21:34 +000094 select ARCH_INLINE_WRITE_LOCK
95 select ARCH_INLINE_WRITE_LOCK_BH
96 select ARCH_INLINE_WRITE_LOCK_IRQ
97 select ARCH_INLINE_WRITE_LOCK_IRQSAVE
Heiko Carstens0e0d04a2013-02-06 10:15:55 +010098 select ARCH_INLINE_WRITE_TRYLOCK
Thomas Gleixner6beb0002009-11-09 15:21:34 +000099 select ARCH_INLINE_WRITE_UNLOCK
100 select ARCH_INLINE_WRITE_UNLOCK_BH
101 select ARCH_INLINE_WRITE_UNLOCK_IRQ
102 select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100103 select ARCH_SAVE_PAGE_KEYS if HIBERNATION
Christian Borntraeger36e7fda2014-08-05 09:57:51 +0200104 select ARCH_SUPPORTS_ATOMIC_RMW
Philipp Hachtmanna763bc82015-05-08 17:40:44 +0200105 select ARCH_SUPPORTS_NUMA_BALANCING
Christian Borntraeger295d8fa2015-10-29 01:16:04 +0100106 select ARCH_USE_BUILTIN_BSWAP
Heiko Carstensefc1d232013-09-05 13:26:17 +0200107 select ARCH_USE_CMPXCHG_LOCKREF
Martin Schwidefsky3f6813b2016-04-01 15:42:15 +0200108 select ARCH_WANTS_DYNAMIC_TASK_STRUCT
Will Deaconc1d7e012012-07-30 14:42:46 -0700109 select ARCH_WANT_IPC_PARSE_VERSION
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100110 select BUILDTIME_EXTABLE_SORT
111 select CLONE_BACKWARDS2
Heiko Carstens5d6a0162014-08-15 13:16:09 +0200112 select DYNAMIC_FTRACE if FUNCTION_TRACER
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100113 select GENERIC_CLOCKEVENTS
Hendrik Brueckner8f00b3e2015-02-19 12:22:02 +0100114 select GENERIC_CPU_AUTOPROBE
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100115 select GENERIC_CPU_DEVICES if !SMP
Martin Schwidefskyd4249862018-03-21 09:38:21 +0100116 select GENERIC_CPU_VULNERABILITIES
Heiko Carstens746479c2013-09-18 11:45:36 +0200117 select GENERIC_FIND_FIRST_BIT
Thomas Gleixnere80e7812012-04-20 13:05:52 +0000118 select GENERIC_SMP_IDLE_THREAD
Martin Schwidefsky79c74ec2013-11-22 10:04:53 +0100119 select GENERIC_TIME_VSYSCALL
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100120 select HAVE_ALIGNED_STRUCT_PAGE if SLUB
AKASHI Takahiro7a017722014-02-25 18:16:24 +0900121 select HAVE_ARCH_AUDITSYSCALL
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100122 select HAVE_ARCH_JUMP_LABEL
Zhaoxiu Zengfff7fb02016-05-20 17:03:57 -0700123 select CPU_NO_EFFICIENT_FFS if !HAVE_MARCH_Z9_109_FEATURES
Heiko Carstensc63cb462012-07-31 15:37:13 +0200124 select HAVE_ARCH_SECCOMP_FILTER
Martin Schwidefsky5614dd92015-04-22 14:47:42 +0200125 select HAVE_ARCH_SOFT_DIRTY
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100126 select HAVE_ARCH_TRACEHOOK
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100127 select HAVE_ARCH_TRANSPARENT_HUGEPAGE
Daniel Borkmann60777762016-05-13 19:08:28 +0200128 select HAVE_EBPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100129 select HAVE_CMPXCHG_DOUBLE
130 select HAVE_CMPXCHG_LOCAL
Heiko Carstensf50c0e62017-02-20 09:38:42 +0100131 select HAVE_COPY_THREAD_TLS
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100132 select HAVE_DEBUG_KMEMLEAK
Heiko Carstense1231b02016-11-14 13:57:03 +0100133 select HAVE_DMA_CONTIGUOUS
Christoph Hellwig002e6742018-01-09 16:30:23 +0100134 select DMA_DIRECT_OPS
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100135 select HAVE_DYNAMIC_FTRACE
136 select HAVE_DYNAMIC_FTRACE_WITH_REGS
Christian Borntraeger9078a542016-09-12 13:13:38 +0200137 select HAVE_EFFICIENT_UNALIGNED_ACCESS
Vasily Gorbikd983c892018-08-06 15:17:47 +0200138 select HAVE_FENTRY
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100139 select HAVE_FTRACE_MCOUNT_RECORD
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100140 select HAVE_FUNCTION_GRAPH_TRACER
141 select HAVE_FUNCTION_TRACER
Heiko Carstens03b8c7b2014-03-02 13:09:47 +0100142 select HAVE_FUTEX_CMPXCHG if FUTEX
Heiko Carstensbc00b3e2018-08-14 13:29:11 +0200143 select HAVE_GCC_PLUGINS
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100144 select HAVE_KERNEL_BZIP2
145 select HAVE_KERNEL_GZIP
Heiko Carstens8e2872c2013-07-18 15:18:24 +0200146 select HAVE_KERNEL_LZ4
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100147 select HAVE_KERNEL_LZMA
148 select HAVE_KERNEL_LZO
Vasily Gorbik89b52022018-06-13 00:00:25 +0200149 select HAVE_KERNEL_UNCOMPRESSED
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100150 select HAVE_KERNEL_XZ
151 select HAVE_KPROBES
152 select HAVE_KRETPROBES
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100153 select HAVE_KVM
Jiri Slaby21042d42015-03-26 10:10:17 +0100154 select HAVE_LIVEPATCH
Heiko Carstensc33eff62015-06-06 12:44:25 +0200155 select HAVE_PERF_REGS
156 select HAVE_PERF_USER_STACK_DUMP
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100157 select HAVE_MEMBLOCK
158 select HAVE_MEMBLOCK_NODE_MAP
Philipp Hachtmann50be6342014-01-29 18:16:01 +0100159 select HAVE_MEMBLOCK_PHYS_MAP
David Howells786d35d2012-09-28 14:31:03 +0930160 select HAVE_MOD_ARCH_SPECIFIC
Vasily Gorbikd983c892018-08-06 15:17:47 +0200161 select HAVE_NOP_MCOUNT
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100162 select HAVE_OPROFILE
163 select HAVE_PERF_EVENTS
164 select HAVE_REGS_AND_STACK_ACCESS_API
Heiko Carstens9d6d99e2018-06-30 10:54:15 +0200165 select HAVE_RSEQ
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100166 select HAVE_SYSCALL_TRACEPOINTS
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100167 select HAVE_VIRT_CPU_ACCOUNTING
David Howells786d35d2012-09-28 14:31:03 +0930168 select MODULES_USE_ELF_RELA
Philipp Hachtmann50be6342014-01-29 18:16:01 +0100169 select NO_BOOTMEM
Al Viro7eddd992012-12-25 19:26:12 -0500170 select OLD_SIGACTION
Heiko Carstens93bead42013-09-06 10:03:30 +0200171 select OLD_SIGSUSPEND3
Sebastian Ottbb98f392016-06-02 14:57:17 +0200172 select SPARSE_IRQ
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100173 select SYSCTL_EXCEPTION_TRACE
Heiko Carstensd5c352c2016-11-08 11:08:26 +0100174 select THREAD_INFO_IN_TASK
Josh Triplett05634162014-02-26 18:13:06 -0800175 select TTY
Heiko Carstens0e0d04a2013-02-06 10:15:55 +0100176 select VIRT_CPU_ACCOUNTING
Stanislaw Gruszka40565b52016-11-15 03:06:51 +0100177 select ARCH_HAS_SCALED_CPUTIME
Heiko Carstens93bead42013-09-06 10:03:30 +0200178 select VIRT_TO_BUS
Petr Mladek42a0bb32016-05-20 17:00:33 -0700179 select HAVE_NMI
Philipp Hachtmann3a368f72014-03-06 18:25:13 +0100180
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181
Martin Schwidefskyfca3e352009-07-07 16:37:10 +0200182config SCHED_OMIT_FRAME_POINTER
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100183 def_bool y
Martin Schwidefskyfca3e352009-07-07 16:37:10 +0200184
Kirill A. Shutemovc81956c2015-04-14 15:46:00 -0700185config PGTABLE_LEVELS
186 int
Martin Schwidefsky1aea9b32017-04-24 18:19:10 +0200187 default 5
Kirill A. Shutemovc81956c2015-04-14 15:46:00 -0700188
Jiri Slaby21042d42015-03-26 10:10:17 +0100189source "kernel/livepatch/Kconfig"
190
Jan Glauber843c48f2012-08-27 10:55:18 +0200191menu "Processor type and features"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700192
Jan Glauber843c48f2012-08-27 10:55:18 +0200193config HAVE_MARCH_Z900_FEATURES
194 def_bool n
195
196config HAVE_MARCH_Z990_FEATURES
197 def_bool n
198 select HAVE_MARCH_Z900_FEATURES
199
200config HAVE_MARCH_Z9_109_FEATURES
201 def_bool n
202 select HAVE_MARCH_Z990_FEATURES
203
204config HAVE_MARCH_Z10_FEATURES
205 def_bool n
206 select HAVE_MARCH_Z9_109_FEATURES
207
208config HAVE_MARCH_Z196_FEATURES
209 def_bool n
210 select HAVE_MARCH_Z10_FEATURES
211
Heiko Carstens991c15052012-11-13 10:26:37 +0200212config HAVE_MARCH_ZEC12_FEATURES
213 def_bool n
214 select HAVE_MARCH_Z196_FEATURES
215
Martin Schwidefskyf8b2dcb2015-01-14 17:50:19 +0100216config HAVE_MARCH_Z13_FEATURES
217 def_bool n
218 select HAVE_MARCH_ZEC12_FEATURES
219
Martin Schwidefsky6997c322017-04-12 14:17:25 +0200220config HAVE_MARCH_Z14_FEATURES
221 def_bool n
222 select HAVE_MARCH_Z13_FEATURES
223
Jan Glauber843c48f2012-08-27 10:55:18 +0200224choice
225 prompt "Processor type"
Martin Schwidefsky7072276e2016-04-18 17:10:16 +0200226 default MARCH_Z196
Jan Glauber843c48f2012-08-27 10:55:18 +0200227
228config MARCH_Z900
229 bool "IBM zSeries model z800 and z900"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100230 select HAVE_MARCH_Z900_FEATURES
Jan Glauber843c48f2012-08-27 10:55:18 +0200231 help
232 Select this to enable optimizations for model z800/z900 (2064 and
233 2066 series). This will enable some optimizations that are not
234 available on older ESA/390 (31 Bit) only CPUs.
235
236config MARCH_Z990
237 bool "IBM zSeries model z890 and z990"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100238 select HAVE_MARCH_Z990_FEATURES
Jan Glauber843c48f2012-08-27 10:55:18 +0200239 help
240 Select this to enable optimizations for model z890/z990 (2084 and
241 2086 series). The kernel will be slightly faster but will not work
242 on older machines.
243
244config MARCH_Z9_109
245 bool "IBM System z9"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100246 select HAVE_MARCH_Z9_109_FEATURES
Jan Glauber843c48f2012-08-27 10:55:18 +0200247 help
248 Select this to enable optimizations for IBM System z9 (2094 and
249 2096 series). The kernel will be slightly faster but will not work
250 on older machines.
251
252config MARCH_Z10
253 bool "IBM System z10"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100254 select HAVE_MARCH_Z10_FEATURES
Jan Glauber843c48f2012-08-27 10:55:18 +0200255 help
256 Select this to enable optimizations for IBM System z10 (2097 and
257 2098 series). The kernel will be slightly faster but will not work
258 on older machines.
259
260config MARCH_Z196
261 bool "IBM zEnterprise 114 and 196"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100262 select HAVE_MARCH_Z196_FEATURES
Jan Glauber843c48f2012-08-27 10:55:18 +0200263 help
264 Select this to enable optimizations for IBM zEnterprise 114 and 196
265 (2818 and 2817 series). The kernel will be slightly faster but will
266 not work on older machines.
267
Heiko Carstens991c15052012-11-13 10:26:37 +0200268config MARCH_ZEC12
Heiko Carstens59471222013-07-24 10:35:33 +0200269 bool "IBM zBC12 and zEC12"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100270 select HAVE_MARCH_ZEC12_FEATURES
Heiko Carstens991c15052012-11-13 10:26:37 +0200271 help
Heiko Carstens59471222013-07-24 10:35:33 +0200272 Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
273 2827 series). The kernel will be slightly faster but will not work on
274 older machines.
Heiko Carstens991c15052012-11-13 10:26:37 +0200275
Martin Schwidefskyf8b2dcb2015-01-14 17:50:19 +0100276config MARCH_Z13
Heiko Carstensbb3aa612016-02-19 10:46:08 +0100277 bool "IBM z13s and z13"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100278 select HAVE_MARCH_Z13_FEATURES
Martin Schwidefskyf8b2dcb2015-01-14 17:50:19 +0100279 help
Heiko Carstensbb3aa612016-02-19 10:46:08 +0100280 Select this to enable optimizations for IBM z13s and z13 (2965 and
281 2964 series). The kernel will be slightly faster but will not work on
282 older machines.
Martin Schwidefskyf8b2dcb2015-01-14 17:50:19 +0100283
Martin Schwidefsky6997c322017-04-12 14:17:25 +0200284config MARCH_Z14
Heiko Carstens451239e2018-04-13 14:04:24 +0200285 bool "IBM z14 ZR1 and z14"
Martin Schwidefsky6997c322017-04-12 14:17:25 +0200286 select HAVE_MARCH_Z14_FEATURES
287 help
Heiko Carstens451239e2018-04-13 14:04:24 +0200288 Select this to enable optimizations for IBM z14 ZR1 and z14 (3907
289 and 3906 series). The kernel will be slightly faster but will not
290 work on older machines.
Martin Schwidefsky6997c322017-04-12 14:17:25 +0200291
Jan Glauber843c48f2012-08-27 10:55:18 +0200292endchoice
Linus Torvalds1da177e2005-04-16 15:20:36 -0700293
Heiko Carstens1db9e052013-10-30 12:12:50 +0100294config MARCH_Z900_TUNE
295 def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT
296
297config MARCH_Z990_TUNE
298 def_bool TUNE_Z990 || MARCH_Z990 && TUNE_DEFAULT
299
300config MARCH_Z9_109_TUNE
301 def_bool TUNE_Z9_109 || MARCH_Z9_109 && TUNE_DEFAULT
302
303config MARCH_Z10_TUNE
304 def_bool TUNE_Z10 || MARCH_Z10 && TUNE_DEFAULT
305
306config MARCH_Z196_TUNE
307 def_bool TUNE_Z196 || MARCH_Z196 && TUNE_DEFAULT
308
309config MARCH_ZEC12_TUNE
310 def_bool TUNE_ZEC12 || MARCH_ZEC12 && TUNE_DEFAULT
311
Martin Schwidefskyf8b2dcb2015-01-14 17:50:19 +0100312config MARCH_Z13_TUNE
313 def_bool TUNE_Z13 || MARCH_Z13 && TUNE_DEFAULT
314
Martin Schwidefsky6997c322017-04-12 14:17:25 +0200315config MARCH_Z14_TUNE
316 def_bool TUNE_Z14 || MARCH_Z14 && TUNE_DEFAULT
317
Heiko Carstens1db9e052013-10-30 12:12:50 +0100318choice
319 prompt "Tune code generation"
320 default TUNE_DEFAULT
321 help
322 Cause the compiler to tune (-mtune) the generated code for a machine.
323 This will make the code run faster on the selected machine but
324 somewhat slower on other machines.
325 This option only changes how the compiler emits instructions, not the
326 selection of instructions itself, so the resulting kernel will run on
327 all other machines.
328
329config TUNE_DEFAULT
330 bool "Default"
331 help
332 Tune the generated code for the target processor for which the kernel
333 will be compiled.
334
Heiko Carstens1db9e052013-10-30 12:12:50 +0100335config TUNE_Z900
336 bool "IBM zSeries model z800 and z900"
337
338config TUNE_Z990
339 bool "IBM zSeries model z890 and z990"
340
341config TUNE_Z9_109
342 bool "IBM System z9"
343
344config TUNE_Z10
345 bool "IBM System z10"
346
347config TUNE_Z196
348 bool "IBM zEnterprise 114 and 196"
349
350config TUNE_ZEC12
351 bool "IBM zBC12 and zEC12"
352
Martin Schwidefskyf8b2dcb2015-01-14 17:50:19 +0100353config TUNE_Z13
354 bool "IBM z13"
355
Martin Schwidefsky6997c322017-04-12 14:17:25 +0200356config TUNE_Z14
357 bool "IBM z14"
358
Heiko Carstens1db9e052013-10-30 12:12:50 +0100359endchoice
360
Martin Schwidefsky347a8dc2006-01-06 00:19:28 -0800361config 64BIT
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100362 def_bool y
Martin Schwidefskyd9f7a742006-09-28 16:55:39 +0200363
Jan Glauber843c48f2012-08-27 10:55:18 +0200364config COMPAT
365 def_bool y
366 prompt "Kernel support for 31 bit emulation"
Jan Glauber843c48f2012-08-27 10:55:18 +0200367 select COMPAT_BINFMT_ELF if BINFMT_ELF
368 select ARCH_WANT_OLD_COMPAT_IPC
Al Viro7eddd992012-12-25 19:26:12 -0500369 select COMPAT_OLD_SIGACTION
Iulia Manda28138932015-04-15 16:16:41 -0700370 depends on MULTIUSER
Jan Glauber843c48f2012-08-27 10:55:18 +0200371 help
372 Select this option if you want to enable your system kernel to
373 handle system-calls from ELF binaries for 31 bit ESA. This option
374 (and some other stuff like libraries and such) is needed for
375 executing 31 bit applications. It is safe to say "Y".
376
377config SYSVIPC_COMPAT
378 def_bool y if COMPAT && SYSVIPC
379
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380config SMP
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100381 def_bool y
382 prompt "Symmetric multi-processing support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383 ---help---
384 This enables support for systems with more than one CPU. If you have
385 a system with only one CPU, like most personal computers, say N. If
386 you have a system with more than one CPU, say Y.
387
Robert Graffham4a474152014-01-23 15:55:29 -0800388 If you say N here, the kernel will run on uni- and multiprocessor
Linus Torvalds1da177e2005-04-16 15:20:36 -0700389 machines, but will use only one CPU of a multiprocessor machine. If
390 you say Y here, the kernel will run on many, but not all,
Robert Graffham4a474152014-01-23 15:55:29 -0800391 uniprocessor machines. On a uniprocessor machine, the kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -0700392 will run faster if you say N here.
393
Adrian Bunk03502fa2008-02-03 15:50:21 +0200394 See also the SMP-HOWTO available at
395 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396
397 Even if you don't know what to do here, say Y.
398
399config NR_CPUS
Heiko Carstens5c75a0d2015-01-28 16:52:01 +0100400 int "Maximum number of CPUs (2-512)"
401 range 2 512
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402 depends on SMP
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100403 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700404 help
405 This allows you to specify the maximum number of CPUs which this
Heiko Carstens5c75a0d2015-01-28 16:52:01 +0100406 kernel will support. The maximum supported value is 512 and the
Linus Torvalds1da177e2005-04-16 15:20:36 -0700407 minimum value which makes sense is 2.
408
409 This is purely to save memory - each supported CPU adds
410 approximately sixteen kilobytes to the kernel image.
411
412config HOTPLUG_CPU
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100413 def_bool y
414 prompt "Support for hot-pluggable CPUs"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415 depends on SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700416 help
417 Say Y here to be able to turn CPUs off and on. CPUs
418 can be controlled through /sys/devices/system/cpu/cpu#.
419 Say N if you want to disable CPU hotplug.
420
Philipp Hachtmann3a368f72014-03-06 18:25:13 +0100421# Some NUMA nodes have memory ranges that span
422# other nodes. Even though a pfn is valid and
423# between a node's start and end pfns, it may not
424# reside on that node. See memmap_init_zone()
425# for details. <- They meant memory holes!
426config NODES_SPAN_OTHER_NODES
427 def_bool NUMA
428
429config NUMA
430 bool "NUMA support"
Heiko Carstensc095a942015-12-28 12:53:51 +0100431 depends on SMP && SCHED_TOPOLOGY
Philipp Hachtmann3a368f72014-03-06 18:25:13 +0100432 default n
433 help
434 Enable NUMA support
435
436 This option adds NUMA support to the kernel.
437
438 An operation mode can be selected by appending
439 numa=<method> to the kernel command line.
440
441 The default behaviour is identical to appending numa=plain to
442 the command line. This will create just one node with all
443 available memory and all CPUs in it.
444
445config NODES_SHIFT
446 int "Maximum NUMA nodes (as a power of 2)"
447 range 1 10
448 depends on NUMA
449 default "4"
450 help
451 Specify the maximum number of NUMA nodes available on the target
452 system. Increases memory reserved to accommodate various tables.
453
Michael Holzheuc29a7ba2014-03-06 18:47:21 +0100454menu "Select NUMA modes"
455 depends on NUMA
456
457config NUMA_EMU
458 bool "NUMA emulation"
459 default y
460 help
461 Numa emulation mode will split the available system memory into
462 equal chunks which then are distributed over the configured number
463 of nodes in a round-robin manner.
464
465 The number of fake nodes is limited by the number of available memory
466 chunks (i.e. memory size / fake size) and the number of supported
467 nodes in the kernel.
468
469 The CPUs are assigned to the nodes in a way that partially respects
470 the original machine topology (if supported by the machine).
471 Fair distribution of the CPUs is not guaranteed.
472
473config EMU_SIZE
474 hex "NUMA emulation memory chunk size"
475 default 0x10000000
476 range 0x400000 0x100000000
477 depends on NUMA_EMU
478 help
479 Select the default size by which the memory is chopped and then
480 assigned to emulated NUMA nodes.
481
482 This can be overridden by specifying
483
484 emu_size=<n>
485
486 on the kernel command line where also suffixes K, M, G, and T are
487 supported.
488
489endmenu
490
Heiko Carstens9236b4d2015-12-28 13:20:43 +0100491config SCHED_SMT
492 def_bool n
493
Heiko Carstens8d11e022010-10-29 16:50:37 +0200494config SCHED_MC
Heiko Carstens83a24e32011-12-27 11:27:09 +0100495 def_bool n
Heiko Carstens8d11e022010-10-29 16:50:37 +0200496
Heiko Carstens4cb14bc2010-08-31 10:28:18 +0200497config SCHED_BOOK
Martin Schwidefsky10ad34b2015-01-14 17:52:10 +0100498 def_bool n
499
Heiko Carstensadac0f12016-05-25 10:25:50 +0200500config SCHED_DRAWER
501 def_bool n
502
Martin Schwidefsky10ad34b2015-01-14 17:52:10 +0100503config SCHED_TOPOLOGY
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100504 def_bool y
Martin Schwidefsky10ad34b2015-01-14 17:52:10 +0100505 prompt "Topology scheduler support"
Heiko Carstens83a24e32011-12-27 11:27:09 +0100506 depends on SMP
Martin Schwidefsky10ad34b2015-01-14 17:52:10 +0100507 select SCHED_SMT
Heiko Carstens83a24e32011-12-27 11:27:09 +0100508 select SCHED_MC
Martin Schwidefsky10ad34b2015-01-14 17:52:10 +0100509 select SCHED_BOOK
Heiko Carstensadac0f12016-05-25 10:25:50 +0200510 select SCHED_DRAWER
Heiko Carstens4cb14bc2010-08-31 10:28:18 +0200511 help
Martin Schwidefsky10ad34b2015-01-14 17:52:10 +0100512 Topology scheduler support improves the CPU scheduler's decision
513 making when dealing with machines that have multi-threading,
514 multiple cores or multiple books.
Heiko Carstens4cb14bc2010-08-31 10:28:18 +0200515
Jan Glauber843c48f2012-08-27 10:55:18 +0200516source kernel/Kconfig.hz
517
Philipp Rudobdea9f62018-03-27 13:14:12 +0200518config KEXEC
519 def_bool y
520 select KEXEC_CORE
521
522config KEXEC_FILE
523 bool "kexec file based system call"
524 select KEXEC_CORE
525 select BUILD_BIN2C
526 depends on CRYPTO
527 depends on CRYPTO_SHA256
528 depends on CRYPTO_SHA256_S390
529 help
530 Enable the kexec file based system call. In contrast to the normal
531 kexec system call this system call takes file descriptors for the
532 kernel and initramfs as arguments.
533
534config ARCH_HAS_KEXEC_PURGATORY
535 def_bool y
536 depends on KEXEC_FILE
537
Harald Freudenberger4c637cd2017-03-17 10:46:31 +0100538config ARCH_RANDOM
539 def_bool y
540 prompt "s390 architectural random number generation API"
541 help
542 Enable the s390 architectural random number generation API
543 to provide random data for all consumers within the Linux
544 kernel.
545
546 When enabled the arch_random_* functions declared in linux/random.h
547 are implemented. The implementation is based on the s390 CPACF
548 instruction subfunction TRNG which provides a real true random
549 number generator.
550
551 If unsure, say Y.
552
Martin Schwidefskyd768bd82018-01-16 07:11:45 +0100553config KERNEL_NOBP
554 def_bool n
555 prompt "Enable modified branch prediction for the kernel by default"
556 help
557 If this option is selected the kernel will switch to a modified
558 branch prediction mode if the firmware interface is available.
559 The modified branch prediction mode improves the behaviour in
560 regard to speculative execution.
561
562 With the option enabled the kernel parameter "nobp=0" or "nospec"
563 can be used to run the kernel in the normal branch prediction mode.
564
565 With the option disabled the modified branch prediction mode is
566 enabled with the "nobp=1" kernel parameter.
567
568 If unsure, say N.
569
Martin Schwidefskyf19fbd52018-01-26 12:46:47 +0100570config EXPOLINE
571 def_bool n
572 prompt "Avoid speculative indirect branches in the kernel"
573 help
574 Compile the kernel with the expoline compiler options to guard
575 against kernel-to-user data leaks by avoiding speculative indirect
576 branches.
577 Requires a compiler with -mindirect-branch=thunk support for full
578 protection. The kernel may run slower.
579
580 If unsure, say N.
581
582choice
583 prompt "Expoline default"
584 depends on EXPOLINE
585 default EXPOLINE_FULL
586
587config EXPOLINE_OFF
588 bool "spectre_v2=off"
589
Martin Schwidefsky6e179d62018-03-23 13:04:49 +0100590config EXPOLINE_AUTO
Martin Schwidefskyf19fbd52018-01-26 12:46:47 +0100591 bool "spectre_v2=auto"
592
593config EXPOLINE_FULL
594 bool "spectre_v2=on"
595
596endchoice
597
Jan Glauber843c48f2012-08-27 10:55:18 +0200598endmenu
599
600menu "Memory setup"
601
602config ARCH_SPARSEMEM_ENABLE
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100603 def_bool y
Jan Glauber843c48f2012-08-27 10:55:18 +0200604 select SPARSEMEM_VMEMMAP_ENABLE
605 select SPARSEMEM_VMEMMAP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700606
Jan Glauber843c48f2012-08-27 10:55:18 +0200607config ARCH_SPARSEMEM_DEFAULT
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100608 def_bool y
Al Viroe65e1fc2006-09-12 03:04:40 -0400609
Jan Glauber843c48f2012-08-27 10:55:18 +0200610config ARCH_SELECT_MEMORY_MODEL
611 def_bool y
Heiko Carstens05445162012-05-14 10:12:41 +0200612
Jan Glauber843c48f2012-08-27 10:55:18 +0200613config ARCH_ENABLE_MEMORY_HOTPLUG
614 def_bool y if SPARSEMEM
Heiko Carstens05445162012-05-14 10:12:41 +0200615
Jan Glauber843c48f2012-08-27 10:55:18 +0200616config ARCH_ENABLE_MEMORY_HOTREMOVE
617 def_bool y
Heiko Carstens05445162012-05-14 10:12:41 +0200618
Martin Schwidefskyec66ad62014-02-12 14:16:18 +0100619config ARCH_ENABLE_SPLIT_PMD_PTLOCK
620 def_bool y
Martin Schwidefskyec66ad62014-02-12 14:16:18 +0100621
Jan Glauber843c48f2012-08-27 10:55:18 +0200622config FORCE_MAX_ZONEORDER
623 int
624 default "9"
Heiko Carstens05445162012-05-14 10:12:41 +0200625
Heiko Carstensb8402b92017-03-27 15:36:20 +0200626config MAX_PHYSMEM_BITS
627 int "Maximum size of supported physical memory in bits (42-53)"
628 range 42 53
629 default "46"
630 help
631 This option specifies the maximum supported size of physical memory
632 in bits. Supported is any size between 2^42 (4TB) and 2^53 (8PB).
633 Increasing the number of bits also increases the kernel image size.
634 By default 46 bits (64TB) are supported.
635
Linus Torvalds1da177e2005-04-16 15:20:36 -0700636config PACK_STACK
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100637 def_bool y
638 prompt "Pack kernel stack"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700639 help
640 This option enables the compiler option -mkernel-backchain if it
641 is available. If the option is available the compiler supports
642 the new stack layout which dramatically reduces the minimum stack
643 frame size. With an old compiler a non-leaf function needs a
644 minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
645 -mkernel-backchain the minimum size drops to 16 byte on 31 bit
646 and 24 byte on 64 bit.
647
648 Say Y if you are unsure.
649
Linus Torvalds1da177e2005-04-16 15:20:36 -0700650config CHECK_STACK
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100651 def_bool y
652 prompt "Detect kernel stack overflow"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700653 help
654 This option enables the compiler option -mstack-guard and
655 -mstack-size if they are available. If the compiler supports them
656 it will emit additional code to each function prolog to trigger
657 an illegal operation if the kernel stack is about to overflow.
658
659 Say N if you are unsure.
660
661config STACK_GUARD
662 int "Size of the guard area (128-1024)"
663 range 128 1024
664 depends on CHECK_STACK
665 default "256"
666 help
667 This allows you to specify the size of the guard area at the lower
668 end of the kernel stack. If the kernel stack points into the guard
669 area on function entry an illegal operation is triggered. The size
670 needs to be a power of 2. Please keep in mind that the size of an
671 interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
672 The minimum size for the stack guard should be 256 for 31 bit and
673 512 for 64 bit.
674
Jan Glauber2c190da2011-03-15 17:08:19 +0100675config WARN_DYNAMIC_STACK
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100676 def_bool n
Jan Glauber2c190da2011-03-15 17:08:19 +0100677 prompt "Emit compiler warnings for function with dynamic stack usage"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700678 help
Jan Glauber2c190da2011-03-15 17:08:19 +0100679 This option enables the compiler option -mwarn-dynamicstack. If the
680 compiler supports this options generates warnings for functions
681 that dynamically allocate stack space using alloca.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700682
683 Say N if you are unsure.
684
Jan Glauber843c48f2012-08-27 10:55:18 +0200685endmenu
Martin Schwidefsky61d48c22007-05-10 15:46:00 +0200686
Jan Glauber843c48f2012-08-27 10:55:18 +0200687menu "I/O subsystem"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700688
Linus Torvalds1da177e2005-04-16 15:20:36 -0700689config QDIO
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100690 def_tristate y
691 prompt "QDIO support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700692 ---help---
Frank Pavlic8129ee162006-01-06 00:19:20 -0800693 This driver provides the Queued Direct I/O base support for
Ursula Braunefca13b2008-04-17 07:46:19 +0200694 IBM System z.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700695
696 To compile this driver as a module, choose M here: the
697 module will be called qdio.
698
699 If unsure, say Y.
700
Jan Glauberc8717a32012-11-29 14:38:46 +0100701menuconfig PCI
702 bool "PCI support"
Jan Glauberc8717a32012-11-29 14:38:46 +0100703 select PCI_MSI
Christoph Hellwiga4ce5a42018-04-03 15:47:59 +0200704 select IOMMU_HELPER
Gerald Schaefer8128f23c2015-08-27 15:33:03 +0200705 select IOMMU_SUPPORT
Christoph Hellwigf616ab52018-05-09 06:53:49 +0200706 select NEED_DMA_MAP_STATE
Christoph Hellwig86596f02018-04-05 09:44:52 +0200707 select NEED_SG_DMA_LENGTH
Christoph Hellwiga4ce5a42018-04-03 15:47:59 +0200708
Jan Glauberc8717a32012-11-29 14:38:46 +0100709 help
710 Enable PCI support.
711
712if PCI
713
714config PCI_NR_FUNCTIONS
715 int "Maximum number of PCI functions (1-4096)"
716 range 1 4096
Sebastian Ottb18601b2017-03-27 19:09:15 +0200717 default "128"
Jan Glauberc8717a32012-11-29 14:38:46 +0100718 help
719 This allows you to specify the maximum number of PCI functions which
720 this kernel will support.
721
722source "drivers/pci/Kconfig"
Jan Glauberc8717a32012-11-29 14:38:46 +0100723
724endif # PCI
725
726config PCI_DOMAINS
727 def_bool PCI
728
729config HAS_IOMEM
730 def_bool PCI
731
Cornelia Huck9d92a7e2008-07-14 09:59:05 +0200732config CHSC_SCH
Sebastian Ottd9c11b12011-01-31 11:30:09 +0100733 def_tristate m
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100734 prompt "Support for CHSC subchannels"
Cornelia Huck9d92a7e2008-07-14 09:59:05 +0200735 help
736 This driver allows usage of CHSC subchannels. A CHSC subchannel
737 is usually present on LPAR only.
738 The driver creates a device /dev/chsc, which may be used to
739 obtain I/O configuration information about the machine and
740 to issue asynchronous chsc commands (DANGEROUS).
741 You will usually only want to use this interface on a special
742 LPAR designated for system management.
743
744 To compile this driver as a module, choose M here: the
745 module will be called chsc_sch.
746
747 If unsure, say N.
748
Sebastian Ott1d1c8f72012-08-28 16:46:26 +0200749config SCM_BUS
750 def_bool y
Sebastian Ott1d1c8f72012-08-28 16:46:26 +0200751 prompt "SCM bus driver"
752 help
753 Bus driver for Storage Class Memory.
754
Sebastian Otteadb86a2012-08-28 16:48:16 +0200755config EADM_SCH
756 def_tristate m
757 prompt "Support for EADM subchannels"
758 depends on SCM_BUS
759 help
760 This driver allows usage of EADM subchannels. EADM subchannels act
761 as a communication vehicle for SCM increments.
762
763 To compile this driver as a module, choose M here: the
764 module will be called eadm_sch.
765
Dong Jia Shi63f19342017-03-17 04:17:31 +0100766config VFIO_CCW
767 def_tristate n
768 prompt "Support for VFIO-CCW subchannels"
Dong Jia Shi84cd8fc2017-03-17 04:17:33 +0100769 depends on S390_CCW_IOMMU && VFIO_MDEV
Dong Jia Shi63f19342017-03-17 04:17:31 +0100770 help
771 This driver allows usage of I/O subchannels via VFIO-CCW.
772
773 To compile this driver as a module, choose M here: the
774 module will be called vfio_ccw.
775
Jan Glauber843c48f2012-08-27 10:55:18 +0200776endmenu
777
778menu "Dump support"
779
780config CRASH_DUMP
781 bool "kernel crash dumps"
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100782 depends on SMP
Jan Glauber843c48f2012-08-27 10:55:18 +0200783 select KEXEC
784 help
785 Generate crash dump after being started by kexec.
786 Crash dump kernels are loaded in the main kernel with kexec-tools
787 into a specially reserved region and then later executed after
788 a crash by kdump/kexec.
Jan Glauber843c48f2012-08-27 10:55:18 +0200789 Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
Michael Holzheubf28a592014-04-14 10:38:05 +0200790 This option also enables s390 zfcpdump.
791 See also <file:Documentation/s390/zfcpdump.txt>
Jan Glauber843c48f2012-08-27 10:55:18 +0200792
793endmenu
794
Jan Glauber843c48f2012-08-27 10:55:18 +0200795config SECCOMP
796 def_bool y
797 prompt "Enable seccomp to safely compute untrusted bytecode"
798 depends on PROC_FS
799 help
800 This kernel feature is useful for number crunching applications
801 that may need to compute untrusted bytecode during their
802 execution. By using pipes or other transports made available to
803 the process as file descriptors supporting the read/write
804 syscalls, it's possible to isolate those applications in
805 their own address space using seccomp. Once seccomp is
806 enabled via /proc/<pid>/seccomp, it cannot be disabled
807 and the task is only allowed to execute a few safe syscalls
808 defined by each seccomp mode.
809
810 If unsure, say Y.
811
Jan Glauber843c48f2012-08-27 10:55:18 +0200812menu "Power Management"
813
814config ARCH_HIBERNATION_POSSIBLE
Heiko Carstens5a79859a2015-02-12 13:08:27 +0100815 def_bool y
Jan Glauber843c48f2012-08-27 10:55:18 +0200816
817source "kernel/power/Kconfig"
818
819endmenu
820
Jan Glauber843c48f2012-08-27 10:55:18 +0200821config PCMCIA
822 def_bool n
823
824config CCW
825 def_bool y
826
Ursula Braunb6ef86e2018-05-22 12:42:57 +0200827config HAVE_PNETID
828 tristate
829 default (SMC || CCWGROUP)
830
Jan Glauber843c48f2012-08-27 10:55:18 +0200831menu "Virtualization"
Heiko Carstens684de392008-03-05 12:37:14 +0100832
Linus Torvalds1da177e2005-04-16 15:20:36 -0700833config PFAULT
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100834 def_bool y
835 prompt "Pseudo page fault support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700836 help
837 Select this option, if you want to use PFAULT pseudo page fault
838 handling under VM. If running native or in LPAR, this option
839 has no effect. If your VM does not support PFAULT, PAGEEX
840 pseudo page fault handling will be used.
841 Note that VM 4.2 supports PFAULT but has a bug in its
842 implementation that causes some problems.
843 Everybody who wants to run Linux under VM != VM4.2 should select
844 this option.
845
Linus Torvalds1da177e2005-04-16 15:20:36 -0700846config CMM
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100847 def_tristate n
848 prompt "Cooperative memory management"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700849 help
850 Select this option, if you want to enable the kernel interface
851 to reduce the memory size of the system. This is accomplished
852 by allocating pages of memory and put them "on hold". This only
853 makes sense for a system running under VM where the unused pages
854 will be reused by VM for other guest systems. The interface
855 allows an external monitor to balance memory of many systems.
856 Everybody who wants to run Linux under VM should select this
857 option.
858
Linus Torvalds1da177e2005-04-16 15:20:36 -0700859config CMM_IUCV
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100860 def_bool y
861 prompt "IUCV special message interface to cooperative memory management"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700862 depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
863 help
864 Select this option to enable the special message interface to
865 the cooperative memory management.
866
Linus Torvalds1da177e2005-04-16 15:20:36 -0700867config APPLDATA_BASE
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100868 def_bool n
869 prompt "Linux - VM Monitor Stream, base infrastructure"
Martin Schwidefskyc185b782008-12-25 13:39:25 +0100870 depends on PROC_FS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700871 help
872 This provides a kernel interface for creating and updating z/VM APPLDATA
873 monitor records. The monitor records are updated at certain time
874 intervals, once the timer is started.
875 Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
876 i.e. enables or disables monitoring on the Linux side.
877 A custom interval value (in seconds) can be written to
878 /proc/appldata/interval.
879
880 Defaults are 60 seconds interval and timer off.
881 The /proc entries can also be read from, showing the current settings.
882
883config APPLDATA_MEM
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100884 def_tristate m
885 prompt "Monitor memory management statistics"
Al Viro62fb2ba2006-12-13 00:34:59 -0800886 depends on APPLDATA_BASE && VM_EVENT_COUNTERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700887 help
888 This provides memory management related data to the Linux - VM Monitor
889 Stream, like paging/swapping rate, memory utilisation, etc.
890 Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
891 APPLDATA monitor record, i.e. enables or disables monitoring this record
892 on the z/VM side.
893
894 Default is disabled.
895 The /proc entry can also be read from, showing the current settings.
896
897 This can also be compiled as a module, which will be called
898 appldata_mem.o.
899
900config APPLDATA_OS
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100901 def_tristate m
902 prompt "Monitor OS statistics"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700903 depends on APPLDATA_BASE
904 help
905 This provides OS related data to the Linux - VM Monitor Stream, like
906 CPU utilisation, etc.
907 Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
908 APPLDATA monitor record, i.e. enables or disables monitoring this record
909 on the z/VM side.
910
911 Default is disabled.
912 This can also be compiled as a module, which will be called
913 appldata_os.o.
914
915config APPLDATA_NET_SUM
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100916 def_tristate m
917 prompt "Monitor overall network statistics"
Sachin Sant70193af2009-03-26 15:24:00 +0100918 depends on APPLDATA_BASE && NET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919 help
920 This provides network related data to the Linux - VM Monitor Stream,
921 currently there is only a total sum of network I/O statistics, no
922 per-interface data.
923 Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
924 APPLDATA monitor record, i.e. enables or disables monitoring this record
925 on the z/VM side.
926
927 Default is disabled.
928 This can also be compiled as a module, which will be called
929 appldata_net_sum.o.
930
Michael Holzheu24bbb1f2006-06-23 02:05:06 -0700931config S390_HYPFS_FS
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100932 def_bool y
933 prompt "s390 hypervisor file system support"
Michael Holzheu24bbb1f2006-06-23 02:05:06 -0700934 select SYS_HYPERVISOR
Michael Holzheu24bbb1f2006-06-23 02:05:06 -0700935 help
936 This is a virtual file system intended to provide accounting
937 information in an s390 hypervisor environment.
938
Jan Glauber843c48f2012-08-27 10:55:18 +0200939source "arch/s390/kvm/Kconfig"
Michael Holzheu411ed322007-04-27 16:01:49 +0200940
Carsten Ottefa587742008-03-25 18:47:44 +0100941config S390_GUEST
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +0100942 def_bool y
Kees Cook510cf5a2012-10-02 11:16:42 -0700943 prompt "s390 support for virtio devices"
Chen Gang79b6f7f2013-07-23 16:26:08 +0800944 select TTY
Christian Borntraeger80629b02011-06-22 16:24:07 +0200945 select VIRTUALIZATION
Carsten Ottefa587742008-03-25 18:47:44 +0100946 select VIRTIO
Christian Borntraegerfaeba8302008-06-20 15:24:18 +0200947 select VIRTIO_CONSOLE
Carsten Ottefa587742008-03-25 18:47:44 +0100948 help
Cornelia Huckbdd1fc22012-08-27 12:56:48 +0200949 Enabling this option adds support for virtio based paravirtual device
950 drivers on s390.
951
Christian Borntraeger20766c02008-08-29 13:30:56 +0200952 Select this option if you want to run the kernel as a guest under
Cornelia Huckbdd1fc22012-08-27 12:56:48 +0200953 the KVM hypervisor.
Heiko Carstensbcf5cef2009-06-12 10:26:26 +0200954
Linus Torvalds1da177e2005-04-16 15:20:36 -0700955endmenu