| .. | .. |
|---|
| 14 | 14 | config STACKTRACE_SUPPORT |
|---|
| 15 | 15 | def_bool y |
|---|
| 16 | 16 | |
|---|
| 17 | | -config RWSEM_GENERIC_SPINLOCK |
|---|
| 18 | | - bool |
|---|
| 19 | | - |
|---|
| 20 | | -config RWSEM_XCHGADD_ALGORITHM |
|---|
| 21 | | - def_bool y |
|---|
| 22 | | - |
|---|
| 23 | 17 | config ARCH_HAS_ILOG2_U32 |
|---|
| 24 | 18 | def_bool n |
|---|
| 25 | 19 | |
|---|
| .. | .. |
|---|
| 36 | 30 | def_bool y |
|---|
| 37 | 31 | |
|---|
| 38 | 32 | config GENERIC_LOCKBREAK |
|---|
| 39 | | - def_bool y if SMP && PREEMPT |
|---|
| 33 | + def_bool y if PREEMPTION |
|---|
| 40 | 34 | |
|---|
| 41 | 35 | config PGSTE |
|---|
| 42 | 36 | def_bool y if KVM |
|---|
| .. | .. |
|---|
| 56 | 50 | config ARCH_SUPPORTS_UPROBES |
|---|
| 57 | 51 | def_bool y |
|---|
| 58 | 52 | |
|---|
| 53 | +config KASAN_SHADOW_OFFSET |
|---|
| 54 | + hex |
|---|
| 55 | + depends on KASAN |
|---|
| 56 | + default 0x18000000000000 if KASAN_S390_4_LEVEL_PAGING |
|---|
| 57 | + default 0x30000000000 |
|---|
| 58 | + |
|---|
| 59 | 59 | config S390 |
|---|
| 60 | 60 | def_bool y |
|---|
| 61 | 61 | select ARCH_BINFMT_ELF_STATE |
|---|
| 62 | + select ARCH_HAS_DEBUG_VM_PGTABLE |
|---|
| 63 | + select ARCH_HAS_DEBUG_WX |
|---|
| 62 | 64 | select ARCH_HAS_DEVMEM_IS_ALLOWED |
|---|
| 63 | 65 | select ARCH_HAS_ELF_RANDOMIZE |
|---|
| 64 | 66 | select ARCH_HAS_FORTIFY_SOURCE |
|---|
| 65 | 67 | select ARCH_HAS_GCOV_PROFILE_ALL |
|---|
| 66 | | - select ARCH_HAS_GIGANTIC_PAGE if (MEMORY_ISOLATION && COMPACTION) || CMA |
|---|
| 68 | + select ARCH_HAS_GIGANTIC_PAGE |
|---|
| 67 | 69 | select ARCH_HAS_KCOV |
|---|
| 70 | + select ARCH_HAS_MEM_ENCRYPT |
|---|
| 68 | 71 | select ARCH_HAS_PTE_SPECIAL |
|---|
| 69 | 72 | select ARCH_HAS_SET_MEMORY |
|---|
| 70 | | - select ARCH_HAS_SG_CHAIN |
|---|
| 71 | 73 | select ARCH_HAS_STRICT_KERNEL_RWX |
|---|
| 72 | 74 | select ARCH_HAS_STRICT_MODULE_RWX |
|---|
| 75 | + select ARCH_HAS_SYSCALL_WRAPPER |
|---|
| 73 | 76 | select ARCH_HAS_UBSAN_SANITIZE_ALL |
|---|
| 77 | + select ARCH_HAS_VDSO_DATA |
|---|
| 74 | 78 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
|---|
| 75 | 79 | select ARCH_INLINE_READ_LOCK |
|---|
| 76 | 80 | select ARCH_INLINE_READ_LOCK_BH |
|---|
| .. | .. |
|---|
| 100 | 104 | select ARCH_INLINE_WRITE_UNLOCK_BH |
|---|
| 101 | 105 | select ARCH_INLINE_WRITE_UNLOCK_IRQ |
|---|
| 102 | 106 | select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE |
|---|
| 103 | | - select ARCH_SAVE_PAGE_KEYS if HIBERNATION |
|---|
| 107 | + select ARCH_STACKWALK |
|---|
| 104 | 108 | select ARCH_SUPPORTS_ATOMIC_RMW |
|---|
| 105 | 109 | select ARCH_SUPPORTS_NUMA_BALANCING |
|---|
| 106 | 110 | select ARCH_USE_BUILTIN_BSWAP |
|---|
| 107 | 111 | select ARCH_USE_CMPXCHG_LOCKREF |
|---|
| 108 | 112 | select ARCH_WANTS_DYNAMIC_TASK_STRUCT |
|---|
| 113 | + select ARCH_WANT_DEFAULT_BPF_JIT |
|---|
| 109 | 114 | select ARCH_WANT_IPC_PARSE_VERSION |
|---|
| 110 | | - select BUILDTIME_EXTABLE_SORT |
|---|
| 115 | + select BUILDTIME_TABLE_SORT |
|---|
| 111 | 116 | select CLONE_BACKWARDS2 |
|---|
| 117 | + select DMA_OPS if PCI |
|---|
| 112 | 118 | select DYNAMIC_FTRACE if FUNCTION_TRACER |
|---|
| 113 | 119 | select GENERIC_CLOCKEVENTS |
|---|
| 114 | 120 | select GENERIC_CPU_AUTOPROBE |
|---|
| 115 | | - select GENERIC_CPU_DEVICES if !SMP |
|---|
| 116 | 121 | select GENERIC_CPU_VULNERABILITIES |
|---|
| 117 | 122 | select GENERIC_FIND_FIRST_BIT |
|---|
| 123 | + select GENERIC_GETTIMEOFDAY |
|---|
| 124 | + select GENERIC_PTDUMP |
|---|
| 118 | 125 | select GENERIC_SMP_IDLE_THREAD |
|---|
| 119 | 126 | select GENERIC_TIME_VSYSCALL |
|---|
| 120 | 127 | select HAVE_ALIGNED_STRUCT_PAGE if SLUB |
|---|
| 121 | 128 | select HAVE_ARCH_AUDITSYSCALL |
|---|
| 122 | 129 | select HAVE_ARCH_JUMP_LABEL |
|---|
| 130 | + select HAVE_ARCH_JUMP_LABEL_RELATIVE |
|---|
| 131 | + select HAVE_ARCH_KASAN |
|---|
| 132 | + select HAVE_ARCH_KASAN_VMALLOC |
|---|
| 123 | 133 | select CPU_NO_EFFICIENT_FFS if !HAVE_MARCH_Z9_109_FEATURES |
|---|
| 124 | 134 | select HAVE_ARCH_SECCOMP_FILTER |
|---|
| 125 | 135 | select HAVE_ARCH_SOFT_DIRTY |
|---|
| 126 | 136 | select HAVE_ARCH_TRACEHOOK |
|---|
| 127 | 137 | select HAVE_ARCH_TRANSPARENT_HUGEPAGE |
|---|
| 138 | + select HAVE_ARCH_VMAP_STACK |
|---|
| 139 | + select HAVE_ASM_MODVERSIONS |
|---|
| 128 | 140 | select HAVE_EBPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES |
|---|
| 129 | 141 | select HAVE_CMPXCHG_DOUBLE |
|---|
| 130 | 142 | select HAVE_CMPXCHG_LOCAL |
|---|
| 131 | | - select HAVE_COPY_THREAD_TLS |
|---|
| 132 | 143 | select HAVE_DEBUG_KMEMLEAK |
|---|
| 133 | 144 | select HAVE_DMA_CONTIGUOUS |
|---|
| 134 | | - select DMA_DIRECT_OPS |
|---|
| 135 | 145 | select HAVE_DYNAMIC_FTRACE |
|---|
| 136 | 146 | select HAVE_DYNAMIC_FTRACE_WITH_REGS |
|---|
| 147 | + select HAVE_FAST_GUP |
|---|
| 137 | 148 | select HAVE_EFFICIENT_UNALIGNED_ACCESS |
|---|
| 138 | 149 | select HAVE_FENTRY |
|---|
| 139 | 150 | select HAVE_FTRACE_MCOUNT_RECORD |
|---|
| 151 | + select HAVE_FUNCTION_ERROR_INJECTION |
|---|
| 140 | 152 | select HAVE_FUNCTION_GRAPH_TRACER |
|---|
| 141 | 153 | select HAVE_FUNCTION_TRACER |
|---|
| 142 | 154 | select HAVE_FUTEX_CMPXCHG if FUTEX |
|---|
| 143 | 155 | select HAVE_GCC_PLUGINS |
|---|
| 156 | + select HAVE_GENERIC_VDSO |
|---|
| 157 | + select HAVE_IOREMAP_PROT if PCI |
|---|
| 158 | + select HAVE_IRQ_EXIT_ON_IRQ_STACK |
|---|
| 144 | 159 | select HAVE_KERNEL_BZIP2 |
|---|
| 145 | 160 | select HAVE_KERNEL_GZIP |
|---|
| 146 | 161 | select HAVE_KERNEL_LZ4 |
|---|
| .. | .. |
|---|
| 149 | 164 | select HAVE_KERNEL_UNCOMPRESSED |
|---|
| 150 | 165 | select HAVE_KERNEL_XZ |
|---|
| 151 | 166 | select HAVE_KPROBES |
|---|
| 167 | + select HAVE_KPROBES_ON_FTRACE |
|---|
| 152 | 168 | select HAVE_KRETPROBES |
|---|
| 153 | 169 | select HAVE_KVM |
|---|
| 154 | 170 | select HAVE_LIVEPATCH |
|---|
| 155 | 171 | select HAVE_PERF_REGS |
|---|
| 156 | 172 | select HAVE_PERF_USER_STACK_DUMP |
|---|
| 157 | | - select HAVE_MEMBLOCK |
|---|
| 158 | | - select HAVE_MEMBLOCK_NODE_MAP |
|---|
| 159 | 173 | select HAVE_MEMBLOCK_PHYS_MAP |
|---|
| 174 | + select MMU_GATHER_NO_GATHER |
|---|
| 160 | 175 | select HAVE_MOD_ARCH_SPECIFIC |
|---|
| 161 | 176 | select HAVE_NOP_MCOUNT |
|---|
| 162 | 177 | select HAVE_OPROFILE |
|---|
| 178 | + select HAVE_PCI |
|---|
| 163 | 179 | select HAVE_PERF_EVENTS |
|---|
| 180 | + select MMU_GATHER_RCU_TABLE_FREE |
|---|
| 164 | 181 | select HAVE_REGS_AND_STACK_ACCESS_API |
|---|
| 182 | + select HAVE_RELIABLE_STACKTRACE |
|---|
| 165 | 183 | select HAVE_RSEQ |
|---|
| 166 | 184 | select HAVE_SYSCALL_TRACEPOINTS |
|---|
| 167 | 185 | select HAVE_VIRT_CPU_ACCOUNTING |
|---|
| 186 | + select IOMMU_HELPER if PCI |
|---|
| 187 | + select IOMMU_SUPPORT if PCI |
|---|
| 168 | 188 | select MODULES_USE_ELF_RELA |
|---|
| 169 | | - select NO_BOOTMEM |
|---|
| 189 | + select NEED_DMA_MAP_STATE if PCI |
|---|
| 190 | + select NEED_SG_DMA_LENGTH if PCI |
|---|
| 170 | 191 | select OLD_SIGACTION |
|---|
| 171 | 192 | select OLD_SIGSUSPEND3 |
|---|
| 193 | + select PCI_DOMAINS if PCI |
|---|
| 194 | + select PCI_MSI if PCI |
|---|
| 195 | + select PCI_MSI_ARCH_FALLBACKS if PCI_MSI |
|---|
| 196 | + select SET_FS |
|---|
| 172 | 197 | select SPARSE_IRQ |
|---|
| 173 | 198 | select SYSCTL_EXCEPTION_TRACE |
|---|
| 174 | 199 | select THREAD_INFO_IN_TASK |
|---|
| 175 | 200 | select TTY |
|---|
| 176 | 201 | select VIRT_CPU_ACCOUNTING |
|---|
| 177 | 202 | select ARCH_HAS_SCALED_CPUTIME |
|---|
| 178 | | - select VIRT_TO_BUS |
|---|
| 179 | 203 | select HAVE_NMI |
|---|
| 204 | + select ARCH_HAS_FORCE_DMA_UNENCRYPTED |
|---|
| 205 | + select SWIOTLB |
|---|
| 206 | + select GENERIC_ALLOCATOR |
|---|
| 207 | + imply IMA_SECURE_AND_OR_TRUSTED_BOOT |
|---|
| 180 | 208 | |
|---|
| 181 | 209 | |
|---|
| 182 | 210 | config SCHED_OMIT_FRAME_POINTER |
|---|
| .. | .. |
|---|
| 221 | 249 | def_bool n |
|---|
| 222 | 250 | select HAVE_MARCH_Z13_FEATURES |
|---|
| 223 | 251 | |
|---|
| 252 | +config HAVE_MARCH_Z15_FEATURES |
|---|
| 253 | + def_bool n |
|---|
| 254 | + select HAVE_MARCH_Z14_FEATURES |
|---|
| 255 | + |
|---|
| 224 | 256 | choice |
|---|
| 225 | 257 | prompt "Processor type" |
|---|
| 226 | 258 | default MARCH_Z196 |
|---|
| .. | .. |
|---|
| 228 | 260 | config MARCH_Z900 |
|---|
| 229 | 261 | bool "IBM zSeries model z800 and z900" |
|---|
| 230 | 262 | select HAVE_MARCH_Z900_FEATURES |
|---|
| 263 | + depends on $(cc-option,-march=z900) |
|---|
| 231 | 264 | help |
|---|
| 232 | 265 | Select this to enable optimizations for model z800/z900 (2064 and |
|---|
| 233 | 266 | 2066 series). This will enable some optimizations that are not |
|---|
| .. | .. |
|---|
| 236 | 269 | config MARCH_Z990 |
|---|
| 237 | 270 | bool "IBM zSeries model z890 and z990" |
|---|
| 238 | 271 | select HAVE_MARCH_Z990_FEATURES |
|---|
| 272 | + depends on $(cc-option,-march=z990) |
|---|
| 239 | 273 | help |
|---|
| 240 | 274 | Select this to enable optimizations for model z890/z990 (2084 and |
|---|
| 241 | 275 | 2086 series). The kernel will be slightly faster but will not work |
|---|
| .. | .. |
|---|
| 244 | 278 | config MARCH_Z9_109 |
|---|
| 245 | 279 | bool "IBM System z9" |
|---|
| 246 | 280 | select HAVE_MARCH_Z9_109_FEATURES |
|---|
| 281 | + depends on $(cc-option,-march=z9-109) |
|---|
| 247 | 282 | help |
|---|
| 248 | 283 | Select this to enable optimizations for IBM System z9 (2094 and |
|---|
| 249 | 284 | 2096 series). The kernel will be slightly faster but will not work |
|---|
| .. | .. |
|---|
| 252 | 287 | config MARCH_Z10 |
|---|
| 253 | 288 | bool "IBM System z10" |
|---|
| 254 | 289 | select HAVE_MARCH_Z10_FEATURES |
|---|
| 290 | + depends on $(cc-option,-march=z10) |
|---|
| 255 | 291 | help |
|---|
| 256 | 292 | Select this to enable optimizations for IBM System z10 (2097 and |
|---|
| 257 | 293 | 2098 series). The kernel will be slightly faster but will not work |
|---|
| .. | .. |
|---|
| 260 | 296 | config MARCH_Z196 |
|---|
| 261 | 297 | bool "IBM zEnterprise 114 and 196" |
|---|
| 262 | 298 | select HAVE_MARCH_Z196_FEATURES |
|---|
| 299 | + depends on $(cc-option,-march=z196) |
|---|
| 263 | 300 | help |
|---|
| 264 | 301 | Select this to enable optimizations for IBM zEnterprise 114 and 196 |
|---|
| 265 | 302 | (2818 and 2817 series). The kernel will be slightly faster but will |
|---|
| .. | .. |
|---|
| 268 | 305 | config MARCH_ZEC12 |
|---|
| 269 | 306 | bool "IBM zBC12 and zEC12" |
|---|
| 270 | 307 | select HAVE_MARCH_ZEC12_FEATURES |
|---|
| 308 | + depends on $(cc-option,-march=zEC12) |
|---|
| 271 | 309 | help |
|---|
| 272 | 310 | Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and |
|---|
| 273 | 311 | 2827 series). The kernel will be slightly faster but will not work on |
|---|
| .. | .. |
|---|
| 276 | 314 | config MARCH_Z13 |
|---|
| 277 | 315 | bool "IBM z13s and z13" |
|---|
| 278 | 316 | select HAVE_MARCH_Z13_FEATURES |
|---|
| 317 | + depends on $(cc-option,-march=z13) |
|---|
| 279 | 318 | help |
|---|
| 280 | 319 | Select this to enable optimizations for IBM z13s and z13 (2965 and |
|---|
| 281 | 320 | 2964 series). The kernel will be slightly faster but will not work on |
|---|
| .. | .. |
|---|
| 284 | 323 | config MARCH_Z14 |
|---|
| 285 | 324 | bool "IBM z14 ZR1 and z14" |
|---|
| 286 | 325 | select HAVE_MARCH_Z14_FEATURES |
|---|
| 326 | + depends on $(cc-option,-march=z14) |
|---|
| 287 | 327 | help |
|---|
| 288 | 328 | Select this to enable optimizations for IBM z14 ZR1 and z14 (3907 |
|---|
| 289 | 329 | and 3906 series). The kernel will be slightly faster but will not |
|---|
| 330 | + work on older machines. |
|---|
| 331 | + |
|---|
| 332 | +config MARCH_Z15 |
|---|
| 333 | + bool "IBM z15" |
|---|
| 334 | + select HAVE_MARCH_Z15_FEATURES |
|---|
| 335 | + depends on $(cc-option,-march=z15) |
|---|
| 336 | + help |
|---|
| 337 | + Select this to enable optimizations for IBM z15 (8562 |
|---|
| 338 | + and 8561 series). The kernel will be slightly faster but will not |
|---|
| 290 | 339 | work on older machines. |
|---|
| 291 | 340 | |
|---|
| 292 | 341 | endchoice |
|---|
| .. | .. |
|---|
| 315 | 364 | config MARCH_Z14_TUNE |
|---|
| 316 | 365 | def_bool TUNE_Z14 || MARCH_Z14 && TUNE_DEFAULT |
|---|
| 317 | 366 | |
|---|
| 367 | +config MARCH_Z15_TUNE |
|---|
| 368 | + def_bool TUNE_Z15 || MARCH_Z15 && TUNE_DEFAULT |
|---|
| 369 | + |
|---|
| 318 | 370 | choice |
|---|
| 319 | 371 | prompt "Tune code generation" |
|---|
| 320 | 372 | default TUNE_DEFAULT |
|---|
| .. | .. |
|---|
| 334 | 386 | |
|---|
| 335 | 387 | config TUNE_Z900 |
|---|
| 336 | 388 | bool "IBM zSeries model z800 and z900" |
|---|
| 389 | + depends on $(cc-option,-mtune=z900) |
|---|
| 337 | 390 | |
|---|
| 338 | 391 | config TUNE_Z990 |
|---|
| 339 | 392 | bool "IBM zSeries model z890 and z990" |
|---|
| 393 | + depends on $(cc-option,-mtune=z990) |
|---|
| 340 | 394 | |
|---|
| 341 | 395 | config TUNE_Z9_109 |
|---|
| 342 | 396 | bool "IBM System z9" |
|---|
| 397 | + depends on $(cc-option,-mtune=z9-109) |
|---|
| 343 | 398 | |
|---|
| 344 | 399 | config TUNE_Z10 |
|---|
| 345 | 400 | bool "IBM System z10" |
|---|
| 401 | + depends on $(cc-option,-mtune=z10) |
|---|
| 346 | 402 | |
|---|
| 347 | 403 | config TUNE_Z196 |
|---|
| 348 | 404 | bool "IBM zEnterprise 114 and 196" |
|---|
| 405 | + depends on $(cc-option,-mtune=z196) |
|---|
| 349 | 406 | |
|---|
| 350 | 407 | config TUNE_ZEC12 |
|---|
| 351 | 408 | bool "IBM zBC12 and zEC12" |
|---|
| 409 | + depends on $(cc-option,-mtune=zEC12) |
|---|
| 352 | 410 | |
|---|
| 353 | 411 | config TUNE_Z13 |
|---|
| 354 | | - bool "IBM z13" |
|---|
| 412 | + bool "IBM z13s and z13" |
|---|
| 413 | + depends on $(cc-option,-mtune=z13) |
|---|
| 355 | 414 | |
|---|
| 356 | 415 | config TUNE_Z14 |
|---|
| 357 | | - bool "IBM z14" |
|---|
| 416 | + bool "IBM z14 ZR1 and z14" |
|---|
| 417 | + depends on $(cc-option,-mtune=z14) |
|---|
| 418 | + |
|---|
| 419 | +config TUNE_Z15 |
|---|
| 420 | + bool "IBM z15" |
|---|
| 421 | + depends on $(cc-option,-mtune=z15) |
|---|
| 358 | 422 | |
|---|
| 359 | 423 | endchoice |
|---|
| 360 | 424 | |
|---|
| .. | .. |
|---|
| 367 | 431 | select COMPAT_BINFMT_ELF if BINFMT_ELF |
|---|
| 368 | 432 | select ARCH_WANT_OLD_COMPAT_IPC |
|---|
| 369 | 433 | select COMPAT_OLD_SIGACTION |
|---|
| 434 | + select HAVE_UID16 |
|---|
| 370 | 435 | depends on MULTIUSER |
|---|
| 371 | 436 | help |
|---|
| 372 | 437 | Select this option if you want to enable your system kernel to |
|---|
| .. | .. |
|---|
| 379 | 444 | |
|---|
| 380 | 445 | config SMP |
|---|
| 381 | 446 | def_bool y |
|---|
| 382 | | - prompt "Symmetric multi-processing support" |
|---|
| 383 | | - ---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 | | - |
|---|
| 388 | | - If you say N here, the kernel will run on uni- and multiprocessor |
|---|
| 389 | | - 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, |
|---|
| 391 | | - uniprocessor machines. On a uniprocessor machine, the kernel |
|---|
| 392 | | - will run faster if you say N here. |
|---|
| 393 | | - |
|---|
| 394 | | - See also the SMP-HOWTO available at |
|---|
| 395 | | - <http://www.tldp.org/docs.html#howto>. |
|---|
| 396 | | - |
|---|
| 397 | | - Even if you don't know what to do here, say Y. |
|---|
| 398 | 447 | |
|---|
| 399 | 448 | config NR_CPUS |
|---|
| 400 | 449 | int "Maximum number of CPUs (2-512)" |
|---|
| 401 | 450 | range 2 512 |
|---|
| 402 | | - depends on SMP |
|---|
| 403 | 451 | default "64" |
|---|
| 404 | 452 | help |
|---|
| 405 | 453 | This allows you to specify the maximum number of CPUs which this |
|---|
| .. | .. |
|---|
| 411 | 459 | |
|---|
| 412 | 460 | config HOTPLUG_CPU |
|---|
| 413 | 461 | def_bool y |
|---|
| 414 | | - prompt "Support for hot-pluggable CPUs" |
|---|
| 415 | | - depends on SMP |
|---|
| 416 | | - 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 | | - |
|---|
| 421 | | -# 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! |
|---|
| 426 | | -config NODES_SPAN_OTHER_NODES |
|---|
| 427 | | - def_bool NUMA |
|---|
| 428 | 462 | |
|---|
| 429 | 463 | config NUMA |
|---|
| 430 | 464 | bool "NUMA support" |
|---|
| 431 | | - depends on SMP && SCHED_TOPOLOGY |
|---|
| 465 | + depends on SCHED_TOPOLOGY |
|---|
| 432 | 466 | default n |
|---|
| 433 | 467 | help |
|---|
| 434 | 468 | Enable NUMA support |
|---|
| 435 | 469 | |
|---|
| 436 | 470 | This option adds NUMA support to the kernel. |
|---|
| 437 | 471 | |
|---|
| 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 | | - |
|---|
| 445 | 472 | config 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 | | - |
|---|
| 454 | | -menu "Select NUMA modes" |
|---|
| 455 | | - depends on NUMA |
|---|
| 456 | | - |
|---|
| 457 | | -config 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 | | - |
|---|
| 473 | | -config 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 | | - |
|---|
| 489 | | -endmenu |
|---|
| 473 | + int |
|---|
| 474 | + depends on NEED_MULTIPLE_NODES |
|---|
| 475 | + default "1" |
|---|
| 490 | 476 | |
|---|
| 491 | 477 | config SCHED_SMT |
|---|
| 492 | 478 | def_bool n |
|---|
| .. | .. |
|---|
| 503 | 489 | config SCHED_TOPOLOGY |
|---|
| 504 | 490 | def_bool y |
|---|
| 505 | 491 | prompt "Topology scheduler support" |
|---|
| 506 | | - depends on SMP |
|---|
| 507 | 492 | select SCHED_SMT |
|---|
| 508 | 493 | select SCHED_MC |
|---|
| 509 | 494 | select SCHED_BOOK |
|---|
| .. | .. |
|---|
| 513 | 498 | making when dealing with machines that have multi-threading, |
|---|
| 514 | 499 | multiple cores or multiple books. |
|---|
| 515 | 500 | |
|---|
| 516 | | -source kernel/Kconfig.hz |
|---|
| 501 | +source "kernel/Kconfig.hz" |
|---|
| 517 | 502 | |
|---|
| 518 | 503 | config KEXEC |
|---|
| 519 | 504 | def_bool y |
|---|
| .. | .. |
|---|
| 522 | 507 | config KEXEC_FILE |
|---|
| 523 | 508 | bool "kexec file based system call" |
|---|
| 524 | 509 | select KEXEC_CORE |
|---|
| 525 | | - select BUILD_BIN2C |
|---|
| 526 | 510 | depends on CRYPTO |
|---|
| 527 | 511 | depends on CRYPTO_SHA256 |
|---|
| 528 | 512 | depends on CRYPTO_SHA256_S390 |
|---|
| .. | .. |
|---|
| 534 | 518 | config ARCH_HAS_KEXEC_PURGATORY |
|---|
| 535 | 519 | def_bool y |
|---|
| 536 | 520 | depends on KEXEC_FILE |
|---|
| 521 | + |
|---|
| 522 | +config KEXEC_SIG |
|---|
| 523 | + bool "Verify kernel signature during kexec_file_load() syscall" |
|---|
| 524 | + depends on KEXEC_FILE && MODULE_SIG_FORMAT |
|---|
| 525 | + help |
|---|
| 526 | + This option makes kernel signature verification mandatory for |
|---|
| 527 | + the kexec_file_load() syscall. |
|---|
| 528 | + |
|---|
| 529 | + In addition to that option, you need to enable signature |
|---|
| 530 | + verification for the corresponding kernel image type being |
|---|
| 531 | + loaded in order for this to work. |
|---|
| 537 | 532 | |
|---|
| 538 | 533 | config ARCH_RANDOM |
|---|
| 539 | 534 | def_bool y |
|---|
| .. | .. |
|---|
| 595 | 590 | |
|---|
| 596 | 591 | endchoice |
|---|
| 597 | 592 | |
|---|
| 593 | +config RELOCATABLE |
|---|
| 594 | + bool "Build a relocatable kernel" |
|---|
| 595 | + select MODULE_REL_CRCS if MODVERSIONS |
|---|
| 596 | + default y |
|---|
| 597 | + help |
|---|
| 598 | + This builds a kernel image that retains relocation information |
|---|
| 599 | + so it can be loaded at an arbitrary address. |
|---|
| 600 | + The kernel is linked as a position-independent executable (PIE) |
|---|
| 601 | + and contains dynamic relocations which are processed early in the |
|---|
| 602 | + bootup process. |
|---|
| 603 | + The relocations make the kernel image about 15% larger (compressed |
|---|
| 604 | + 10%), but are discarded at runtime. |
|---|
| 605 | + |
|---|
| 606 | +config RANDOMIZE_BASE |
|---|
| 607 | + bool "Randomize the address of the kernel image (KASLR)" |
|---|
| 608 | + depends on RELOCATABLE |
|---|
| 609 | + default y |
|---|
| 610 | + help |
|---|
| 611 | + In support of Kernel Address Space Layout Randomization (KASLR), |
|---|
| 612 | + this randomizes the address at which the kernel image is loaded, |
|---|
| 613 | + as a security feature that deters exploit attempts relying on |
|---|
| 614 | + knowledge of the location of kernel internals. |
|---|
| 615 | + |
|---|
| 598 | 616 | endmenu |
|---|
| 599 | 617 | |
|---|
| 600 | 618 | menu "Memory setup" |
|---|
| .. | .. |
|---|
| 607 | 625 | config ARCH_SPARSEMEM_DEFAULT |
|---|
| 608 | 626 | def_bool y |
|---|
| 609 | 627 | |
|---|
| 610 | | -config ARCH_SELECT_MEMORY_MODEL |
|---|
| 611 | | - def_bool y |
|---|
| 612 | | - |
|---|
| 613 | 628 | config ARCH_ENABLE_MEMORY_HOTPLUG |
|---|
| 614 | 629 | def_bool y if SPARSEMEM |
|---|
| 615 | 630 | |
|---|
| .. | .. |
|---|
| 618 | 633 | |
|---|
| 619 | 634 | config ARCH_ENABLE_SPLIT_PMD_PTLOCK |
|---|
| 620 | 635 | def_bool y |
|---|
| 621 | | - |
|---|
| 622 | | -config FORCE_MAX_ZONEORDER |
|---|
| 623 | | - int |
|---|
| 624 | | - default "9" |
|---|
| 625 | 636 | |
|---|
| 626 | 637 | config MAX_PHYSMEM_BITS |
|---|
| 627 | 638 | int "Maximum size of supported physical memory in bits (42-53)" |
|---|
| .. | .. |
|---|
| 649 | 660 | |
|---|
| 650 | 661 | config CHECK_STACK |
|---|
| 651 | 662 | def_bool y |
|---|
| 663 | + depends on !VMAP_STACK |
|---|
| 652 | 664 | prompt "Detect kernel stack overflow" |
|---|
| 653 | 665 | help |
|---|
| 654 | 666 | This option enables the compiler option -mstack-guard and |
|---|
| .. | .. |
|---|
| 689 | 701 | config QDIO |
|---|
| 690 | 702 | def_tristate y |
|---|
| 691 | 703 | prompt "QDIO support" |
|---|
| 692 | | - ---help--- |
|---|
| 704 | + help |
|---|
| 693 | 705 | This driver provides the Queued Direct I/O base support for |
|---|
| 694 | 706 | IBM System z. |
|---|
| 695 | 707 | |
|---|
| .. | .. |
|---|
| 697 | 709 | module will be called qdio. |
|---|
| 698 | 710 | |
|---|
| 699 | 711 | If unsure, say Y. |
|---|
| 700 | | - |
|---|
| 701 | | -menuconfig PCI |
|---|
| 702 | | - bool "PCI support" |
|---|
| 703 | | - select PCI_MSI |
|---|
| 704 | | - select IOMMU_HELPER |
|---|
| 705 | | - select IOMMU_SUPPORT |
|---|
| 706 | | - select NEED_DMA_MAP_STATE |
|---|
| 707 | | - select NEED_SG_DMA_LENGTH |
|---|
| 708 | | - |
|---|
| 709 | | - help |
|---|
| 710 | | - Enable PCI support. |
|---|
| 711 | 712 | |
|---|
| 712 | 713 | if PCI |
|---|
| 713 | 714 | |
|---|
| .. | .. |
|---|
| 719 | 720 | This allows you to specify the maximum number of PCI functions which |
|---|
| 720 | 721 | this kernel will support. |
|---|
| 721 | 722 | |
|---|
| 722 | | -source "drivers/pci/Kconfig" |
|---|
| 723 | | - |
|---|
| 724 | | -endif # PCI |
|---|
| 725 | | - |
|---|
| 726 | | -config PCI_DOMAINS |
|---|
| 727 | | - def_bool PCI |
|---|
| 723 | +endif # PCI |
|---|
| 728 | 724 | |
|---|
| 729 | 725 | config HAS_IOMEM |
|---|
| 730 | 726 | def_bool PCI |
|---|
| .. | .. |
|---|
| 773 | 769 | To compile this driver as a module, choose M here: the |
|---|
| 774 | 770 | module will be called vfio_ccw. |
|---|
| 775 | 771 | |
|---|
| 772 | +config VFIO_AP |
|---|
| 773 | + def_tristate n |
|---|
| 774 | + prompt "VFIO support for AP devices" |
|---|
| 775 | + depends on S390_AP_IOMMU && VFIO_MDEV_DEVICE && KVM |
|---|
| 776 | + depends on ZCRYPT |
|---|
| 777 | + help |
|---|
| 778 | + This driver grants access to Adjunct Processor (AP) devices |
|---|
| 779 | + via the VFIO mediated device interface. |
|---|
| 780 | + |
|---|
| 781 | + To compile this driver as a module, choose M here: the module |
|---|
| 782 | + will be called vfio_ap. |
|---|
| 783 | + |
|---|
| 776 | 784 | endmenu |
|---|
| 777 | 785 | |
|---|
| 778 | 786 | menu "Dump support" |
|---|
| 779 | 787 | |
|---|
| 780 | 788 | config CRASH_DUMP |
|---|
| 781 | 789 | bool "kernel crash dumps" |
|---|
| 782 | | - depends on SMP |
|---|
| 783 | 790 | select KEXEC |
|---|
| 784 | 791 | help |
|---|
| 785 | 792 | Generate crash dump after being started by kexec. |
|---|
| 786 | 793 | Crash dump kernels are loaded in the main kernel with kexec-tools |
|---|
| 787 | 794 | into a specially reserved region and then later executed after |
|---|
| 788 | 795 | a crash by kdump/kexec. |
|---|
| 789 | | - Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this. |
|---|
| 796 | + Refer to <file:Documentation/s390/zfcpdump.rst> for more details on this. |
|---|
| 790 | 797 | This option also enables s390 zfcpdump. |
|---|
| 791 | | - See also <file:Documentation/s390/zfcpdump.txt> |
|---|
| 798 | + See also <file:Documentation/s390/zfcpdump.rst> |
|---|
| 792 | 799 | |
|---|
| 793 | 800 | endmenu |
|---|
| 794 | | - |
|---|
| 795 | | -config 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 | | - |
|---|
| 812 | | -menu "Power Management" |
|---|
| 813 | | - |
|---|
| 814 | | -config ARCH_HIBERNATION_POSSIBLE |
|---|
| 815 | | - def_bool y |
|---|
| 816 | | - |
|---|
| 817 | | -source "kernel/power/Kconfig" |
|---|
| 818 | | - |
|---|
| 819 | | -endmenu |
|---|
| 820 | | - |
|---|
| 821 | | -config PCMCIA |
|---|
| 822 | | - def_bool n |
|---|
| 823 | 801 | |
|---|
| 824 | 802 | config CCW |
|---|
| 825 | 803 | def_bool y |
|---|
| .. | .. |
|---|
| 829 | 807 | default (SMC || CCWGROUP) |
|---|
| 830 | 808 | |
|---|
| 831 | 809 | menu "Virtualization" |
|---|
| 810 | + |
|---|
| 811 | +config PROTECTED_VIRTUALIZATION_GUEST |
|---|
| 812 | + def_bool n |
|---|
| 813 | + prompt "Protected virtualization guest support" |
|---|
| 814 | + select ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS |
|---|
| 815 | + help |
|---|
| 816 | + Select this option, if you want to be able to run this |
|---|
| 817 | + kernel as a protected virtualization KVM guest. |
|---|
| 818 | + Protected virtualization capable machines have a mini hypervisor |
|---|
| 819 | + located at machine level (an ultravisor). With help of the |
|---|
| 820 | + Ultravisor, KVM will be able to run "protected" VMs, special |
|---|
| 821 | + VMs whose memory and management data are unavailable to KVM. |
|---|
| 832 | 822 | |
|---|
| 833 | 823 | config PFAULT |
|---|
| 834 | 824 | def_bool y |
|---|
| .. | .. |
|---|
| 944 | 934 | select TTY |
|---|
| 945 | 935 | select VIRTUALIZATION |
|---|
| 946 | 936 | select VIRTIO |
|---|
| 947 | | - select VIRTIO_CONSOLE |
|---|
| 948 | 937 | help |
|---|
| 949 | 938 | Enabling this option adds support for virtio based paravirtual device |
|---|
| 950 | 939 | drivers on s390. |
|---|
| .. | .. |
|---|
| 953 | 942 | the KVM hypervisor. |
|---|
| 954 | 943 | |
|---|
| 955 | 944 | endmenu |
|---|
| 945 | + |
|---|
| 946 | +menu "Selftests" |
|---|
| 947 | + |
|---|
| 948 | +config S390_UNWIND_SELFTEST |
|---|
| 949 | + def_tristate n |
|---|
| 950 | + prompt "Test unwind functions" |
|---|
| 951 | + help |
|---|
| 952 | + This option enables s390 specific stack unwinder testing kernel |
|---|
| 953 | + module. This option is not useful for distributions or general |
|---|
| 954 | + kernels, but only for kernel developers working on architecture code. |
|---|
| 955 | + |
|---|
| 956 | + Say N if you are unsure. |
|---|
| 957 | + |
|---|
| 958 | +endmenu |
|---|