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