11da177e4SLinus Torvaldsconfig MMU 261d48c2cSMartin Schwidefsky def_bool y 31da177e4SLinus Torvalds 466701b14SChristoph Lameterconfig ZONE_DMA 569dbb2f7SHeiko Carstens def_bool y 666701b14SChristoph Lameter 72b105ff9SIngo Molnarconfig LOCKDEP_SUPPORT 861d48c2cSMartin Schwidefsky def_bool y 92b105ff9SIngo Molnar 105bdc9b44SHeiko Carstensconfig STACKTRACE_SUPPORT 1161d48c2cSMartin Schwidefsky def_bool y 125bdc9b44SHeiko Carstens 13a3afe70bSHeiko Carstensconfig HAVE_LATENCYTOP_SUPPORT 14a3afe70bSHeiko Carstens def_bool y 15a3afe70bSHeiko Carstens 161da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK 171da177e4SLinus Torvalds bool 181da177e4SLinus Torvalds 191da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM 2061d48c2cSMartin Schwidefsky def_bool y 211da177e4SLinus Torvalds 22f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32 236f9a3c33SMartin Schwidefsky def_bool n 24f0d1b0b3SDavid Howells 25f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64 266f9a3c33SMartin Schwidefsky def_bool n 27f0d1b0b3SDavid Howells 287e33db4eSAkinobu Mitaconfig GENERIC_HWEIGHT 2961d48c2cSMartin Schwidefsky def_bool y 307e33db4eSAkinobu Mita 31c0007f1aSHeiko Carstensconfig GENERIC_BUG 326f9a3c33SMartin Schwidefsky def_bool y if BUG 33c0007f1aSHeiko Carstens 3452499f40SHeiko Carstensconfig GENERIC_BUG_RELATIVE_POINTERS 3552499f40SHeiko Carstens def_bool y 3652499f40SHeiko Carstens 3723db764dSAl Viroconfig NO_IOMEM 385ea81769SAl Viro def_bool y 395ea81769SAl Viro 40411f0f3eSHeiko Carstensconfig NO_DMA 41411f0f3eSHeiko Carstens def_bool y 42411f0f3eSHeiko Carstens 43eca577efSFUJITA Tomonoriconfig ARCH_DMA_ADDR_T_64BIT 44eca577efSFUJITA Tomonori def_bool 64BIT 45eca577efSFUJITA Tomonori 46b6b40c53SMartin Schwidefskyconfig GENERIC_LOCKBREAK 476f9a3c33SMartin Schwidefsky def_bool y if SMP && PREEMPT 48b6b40c53SMartin Schwidefsky 49402b0862SCarsten Otteconfig PGSTE 506f9a3c33SMartin Schwidefsky def_bool y if KVM 51402b0862SCarsten Otte 52c185b783SMartin Schwidefskyconfig VIRT_CPU_ACCOUNTING 53c185b783SMartin Schwidefsky def_bool y 54c185b783SMartin Schwidefsky 556a11f75bSAkinobu Mitaconfig ARCH_SUPPORTS_DEBUG_PAGEALLOC 566a11f75bSAkinobu Mita def_bool y 576a11f75bSAkinobu Mita 58*843c48fdSJan Glauberconfig KEXEC 59*843c48fdSJan Glauber def_bool y 60*843c48fdSJan Glauber 61*843c48fdSJan Glauberconfig AUDIT_ARCH 62*843c48fdSJan Glauber def_bool y 63*843c48fdSJan Glauber 64347a8dc3SMartin Schwidefskyconfig S390 6561d48c2cSMartin Schwidefsky def_bool y 66ca9fc75aSHeiko Carstens select USE_GENERIC_SMP_HELPERS if SMP 675d3b56f9SMartin Schwidefsky select GENERIC_CPU_DEVICES if !SMP 68ed6bb619SHeiko Carstens select HAVE_SYSCALL_WRAPPERS 695d360a75SHeiko Carstens select HAVE_FUNCTION_TRACER 708b4488f8SHeiko Carstens select HAVE_FUNCTION_TRACE_MCOUNT_TEST 71dfd9f7abSHeiko Carstens select HAVE_FTRACE_MCOUNT_RECORD 72b25c477bSHeiko Carstens select HAVE_C_RECORDMCOUNT 7366700001SJosh Stone select HAVE_SYSCALL_TRACEPOINTS 74dfd9f7abSHeiko Carstens select HAVE_DYNAMIC_FTRACE 7588dbd203SHeiko Carstens select HAVE_FUNCTION_GRAPH_TRACER 76952974acSHeiko Carstens select HAVE_REGS_AND_STACK_ACCESS_API 7742d4b839SMathieu Desnoyers select HAVE_OPROFILE 783f550096SMathieu Desnoyers select HAVE_KPROBES 799edddaa2SAnanth N Mavinakayanahalli select HAVE_KRETPROBES 8077b455f1SChristian Borntraeger select HAVE_KVM if 64BIT 81753c4dd6SMartin Schwidefsky select HAVE_ARCH_TRACEHOOK 8298a79d6aSRusty Russell select INIT_ALL_POSSIBLE 83e360adbeSPeter Zijlstra select HAVE_IRQ_WORK 84cdd6c482SIngo Molnar select HAVE_PERF_EVENTS 85df013ffbSHuang Ying select ARCH_HAVE_NMI_SAFE_CMPXCHG 861844c9bcSMartin Schwidefsky select HAVE_KERNEL_GZIP 871844c9bcSMartin Schwidefsky select HAVE_KERNEL_BZIP2 881844c9bcSMartin Schwidefsky select HAVE_KERNEL_LZMA 89cdf56649SHeiko Carstens select HAVE_KERNEL_LZO 90d7b081acSHeiko Carstens select HAVE_KERNEL_XZ 9134b133f8SGerald Schaefer select HAVE_ARCH_MUTEX_CPU_RELAX 925373db88SJan Glauber select HAVE_ARCH_JUMP_LABEL if !MARCH_G5 93c10302efSMartin Schwidefsky select HAVE_BPF_JIT if 64BIT && PACK_STACK 9485055dd8SMartin Schwidefsky select ARCH_SAVE_PAGE_KEYS if HIBERNATION 957463449bSCatalin Marinas select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE 96ff38df37STejun Heo select HAVE_MEMBLOCK 97ff38df37STejun Heo select HAVE_MEMBLOCK_NODE_MAP 982e30db95SHeiko Carstens select HAVE_CMPXCHG_LOCAL 99ff38df37STejun Heo select ARCH_DISCARD_MEMBLOCK 1003193a98dSHeiko Carstens select BUILDTIME_EXTABLE_SORT 1016beb0009SThomas Gleixner select ARCH_INLINE_SPIN_TRYLOCK 1026beb0009SThomas Gleixner select ARCH_INLINE_SPIN_TRYLOCK_BH 1036beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK 1046beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK_BH 1056beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK_IRQ 1066beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK_IRQSAVE 1076beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK 1086beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK_BH 1096beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK_IRQ 1106beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE 1116beb0009SThomas Gleixner select ARCH_INLINE_READ_TRYLOCK 1126beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK 1136beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK_BH 1146beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK_IRQ 1156beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK_IRQSAVE 1166beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK 1176beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK_BH 1186beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK_IRQ 1196beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK_IRQRESTORE 1206beb0009SThomas Gleixner select ARCH_INLINE_WRITE_TRYLOCK 1216beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK 1226beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK_BH 1236beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK_IRQ 1246beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK_IRQSAVE 1256beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK 1266beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK_BH 1276beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK_IRQ 1286beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE 129c1d7e01dSWill Deacon select ARCH_WANT_IPC_PARSE_VERSION 130e80e7813SThomas Gleixner select GENERIC_SMP_IDLE_THREAD 131a6527b92SAnna-Maria Gleixner select GENERIC_TIME_VSYSCALL 132a6527b92SAnna-Maria Gleixner select GENERIC_CLOCKEVENTS 133a6527b92SAnna-Maria Gleixner select KTIME_SCALAR if 32BIT 134c63cb468SHeiko Carstens select HAVE_ARCH_SECCOMP_FILTER 1351da177e4SLinus Torvalds 136fca3e357SMartin Schwidefskyconfig SCHED_OMIT_FRAME_POINTER 1376f9a3c33SMartin Schwidefsky def_bool y 138fca3e357SMartin Schwidefsky 1391da177e4SLinus Torvaldssource "init/Kconfig" 1401da177e4SLinus Torvalds 141dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer" 142dc52ddc0SMatt Helsley 143*843c48fdSJan Glaubermenu "Processor type and features" 1441da177e4SLinus Torvalds 145*843c48fdSJan Glauberconfig HAVE_MARCH_Z900_FEATURES 146*843c48fdSJan Glauber def_bool n 147*843c48fdSJan Glauber 148*843c48fdSJan Glauberconfig HAVE_MARCH_Z990_FEATURES 149*843c48fdSJan Glauber def_bool n 150*843c48fdSJan Glauber select HAVE_MARCH_Z900_FEATURES 151*843c48fdSJan Glauber 152*843c48fdSJan Glauberconfig HAVE_MARCH_Z9_109_FEATURES 153*843c48fdSJan Glauber def_bool n 154*843c48fdSJan Glauber select HAVE_MARCH_Z990_FEATURES 155*843c48fdSJan Glauber 156*843c48fdSJan Glauberconfig HAVE_MARCH_Z10_FEATURES 157*843c48fdSJan Glauber def_bool n 158*843c48fdSJan Glauber select HAVE_MARCH_Z9_109_FEATURES 159*843c48fdSJan Glauber 160*843c48fdSJan Glauberconfig HAVE_MARCH_Z196_FEATURES 161*843c48fdSJan Glauber def_bool n 162*843c48fdSJan Glauber select HAVE_MARCH_Z10_FEATURES 163*843c48fdSJan Glauber 164*843c48fdSJan Glauberchoice 165*843c48fdSJan Glauber prompt "Processor type" 166*843c48fdSJan Glauber default MARCH_G5 167*843c48fdSJan Glauber 168*843c48fdSJan Glauberconfig MARCH_G5 169*843c48fdSJan Glauber bool "System/390 model G5 and G6" 170*843c48fdSJan Glauber depends on !64BIT 171*843c48fdSJan Glauber help 172*843c48fdSJan Glauber Select this to build a 31 bit kernel that works 173*843c48fdSJan Glauber on all ESA/390 and z/Architecture machines. 174*843c48fdSJan Glauber 175*843c48fdSJan Glauberconfig MARCH_Z900 176*843c48fdSJan Glauber bool "IBM zSeries model z800 and z900" 177*843c48fdSJan Glauber select HAVE_MARCH_Z900_FEATURES if 64BIT 178*843c48fdSJan Glauber help 179*843c48fdSJan Glauber Select this to enable optimizations for model z800/z900 (2064 and 180*843c48fdSJan Glauber 2066 series). This will enable some optimizations that are not 181*843c48fdSJan Glauber available on older ESA/390 (31 Bit) only CPUs. 182*843c48fdSJan Glauber 183*843c48fdSJan Glauberconfig MARCH_Z990 184*843c48fdSJan Glauber bool "IBM zSeries model z890 and z990" 185*843c48fdSJan Glauber select HAVE_MARCH_Z990_FEATURES if 64BIT 186*843c48fdSJan Glauber help 187*843c48fdSJan Glauber Select this to enable optimizations for model z890/z990 (2084 and 188*843c48fdSJan Glauber 2086 series). The kernel will be slightly faster but will not work 189*843c48fdSJan Glauber on older machines. 190*843c48fdSJan Glauber 191*843c48fdSJan Glauberconfig MARCH_Z9_109 192*843c48fdSJan Glauber bool "IBM System z9" 193*843c48fdSJan Glauber select HAVE_MARCH_Z9_109_FEATURES if 64BIT 194*843c48fdSJan Glauber help 195*843c48fdSJan Glauber Select this to enable optimizations for IBM System z9 (2094 and 196*843c48fdSJan Glauber 2096 series). The kernel will be slightly faster but will not work 197*843c48fdSJan Glauber on older machines. 198*843c48fdSJan Glauber 199*843c48fdSJan Glauberconfig MARCH_Z10 200*843c48fdSJan Glauber bool "IBM System z10" 201*843c48fdSJan Glauber select HAVE_MARCH_Z10_FEATURES if 64BIT 202*843c48fdSJan Glauber help 203*843c48fdSJan Glauber Select this to enable optimizations for IBM System z10 (2097 and 204*843c48fdSJan Glauber 2098 series). The kernel will be slightly faster but will not work 205*843c48fdSJan Glauber on older machines. 206*843c48fdSJan Glauber 207*843c48fdSJan Glauberconfig MARCH_Z196 208*843c48fdSJan Glauber bool "IBM zEnterprise 114 and 196" 209*843c48fdSJan Glauber select HAVE_MARCH_Z196_FEATURES if 64BIT 210*843c48fdSJan Glauber help 211*843c48fdSJan Glauber Select this to enable optimizations for IBM zEnterprise 114 and 196 212*843c48fdSJan Glauber (2818 and 2817 series). The kernel will be slightly faster but will 213*843c48fdSJan Glauber not work on older machines. 214*843c48fdSJan Glauber 215*843c48fdSJan Glauberendchoice 2161da177e4SLinus Torvalds 217347a8dc3SMartin Schwidefskyconfig 64BIT 2186f9a3c33SMartin Schwidefsky def_bool y 2196f9a3c33SMartin Schwidefsky prompt "64 bit kernel" 2201da177e4SLinus Torvalds help 221db81a23dSHeiko Carstens Select this option if you have an IBM z/Architecture machine 2221da177e4SLinus Torvalds and want to use the 64 bit addressing mode. 2231da177e4SLinus Torvalds 224d9f7a745SMartin Schwidefskyconfig 32BIT 2256f9a3c33SMartin Schwidefsky def_bool y if !64BIT 226d9f7a745SMartin Schwidefsky 227*843c48fdSJan Glauberconfig COMPAT 228*843c48fdSJan Glauber def_bool y 229*843c48fdSJan Glauber prompt "Kernel support for 31 bit emulation" 230*843c48fdSJan Glauber depends on 64BIT 231*843c48fdSJan Glauber select COMPAT_BINFMT_ELF if BINFMT_ELF 232*843c48fdSJan Glauber select ARCH_WANT_OLD_COMPAT_IPC 233*843c48fdSJan Glauber help 234*843c48fdSJan Glauber Select this option if you want to enable your system kernel to 235*843c48fdSJan Glauber handle system-calls from ELF binaries for 31 bit ESA. This option 236*843c48fdSJan Glauber (and some other stuff like libraries and such) is needed for 237*843c48fdSJan Glauber executing 31 bit applications. It is safe to say "Y". 238*843c48fdSJan Glauber 239*843c48fdSJan Glauberconfig SYSVIPC_COMPAT 240*843c48fdSJan Glauber def_bool y if COMPAT && SYSVIPC 241*843c48fdSJan Glauber 242*843c48fdSJan Glauberconfig KEYS_COMPAT 243*843c48fdSJan Glauber def_bool y if COMPAT && KEYS 244*843c48fdSJan Glauber 2451da177e4SLinus Torvaldsconfig SMP 2466f9a3c33SMartin Schwidefsky def_bool y 2476f9a3c33SMartin Schwidefsky prompt "Symmetric multi-processing support" 2481da177e4SLinus Torvalds ---help--- 2491da177e4SLinus Torvalds This enables support for systems with more than one CPU. If you have 2501da177e4SLinus Torvalds a system with only one CPU, like most personal computers, say N. If 2511da177e4SLinus Torvalds you have a system with more than one CPU, say Y. 2521da177e4SLinus Torvalds 2531da177e4SLinus Torvalds If you say N here, the kernel will run on single and multiprocessor 2541da177e4SLinus Torvalds machines, but will use only one CPU of a multiprocessor machine. If 2551da177e4SLinus Torvalds you say Y here, the kernel will run on many, but not all, 2561da177e4SLinus Torvalds singleprocessor machines. On a singleprocessor machine, the kernel 2571da177e4SLinus Torvalds will run faster if you say N here. 2581da177e4SLinus Torvalds 25903502faaSAdrian Bunk See also the SMP-HOWTO available at 26003502faaSAdrian Bunk <http://www.tldp.org/docs.html#howto>. 2611da177e4SLinus Torvalds 2621da177e4SLinus Torvalds Even if you don't know what to do here, say Y. 2631da177e4SLinus Torvalds 2641da177e4SLinus Torvaldsconfig NR_CPUS 2651da177e4SLinus Torvalds int "Maximum number of CPUs (2-64)" 2661da177e4SLinus Torvalds range 2 64 2671da177e4SLinus Torvalds depends on SMP 268057c5cb3SHeiko Carstens default "32" if !64BIT 269057c5cb3SHeiko Carstens default "64" if 64BIT 2701da177e4SLinus Torvalds help 2711da177e4SLinus Torvalds This allows you to specify the maximum number of CPUs which this 2721da177e4SLinus Torvalds kernel will support. The maximum supported value is 64 and the 2731da177e4SLinus Torvalds minimum value which makes sense is 2. 2741da177e4SLinus Torvalds 2751da177e4SLinus Torvalds This is purely to save memory - each supported CPU adds 2761da177e4SLinus Torvalds approximately sixteen kilobytes to the kernel image. 2771da177e4SLinus Torvalds 2781da177e4SLinus Torvaldsconfig HOTPLUG_CPU 2796f9a3c33SMartin Schwidefsky def_bool y 2806f9a3c33SMartin Schwidefsky prompt "Support for hot-pluggable CPUs" 2811da177e4SLinus Torvalds depends on SMP 2821da177e4SLinus Torvalds select HOTPLUG 2831da177e4SLinus Torvalds help 2841da177e4SLinus Torvalds Say Y here to be able to turn CPUs off and on. CPUs 2851da177e4SLinus Torvalds can be controlled through /sys/devices/system/cpu/cpu#. 2861da177e4SLinus Torvalds Say N if you want to disable CPU hotplug. 2871da177e4SLinus Torvalds 2888d11e021SHeiko Carstensconfig SCHED_MC 28983a24e32SHeiko Carstens def_bool n 2908d11e021SHeiko Carstens 2914cb14bc8SHeiko Carstensconfig SCHED_BOOK 2926f9a3c33SMartin Schwidefsky def_bool y 2936f9a3c33SMartin Schwidefsky prompt "Book scheduler support" 29483a24e32SHeiko Carstens depends on SMP 29583a24e32SHeiko Carstens select SCHED_MC 2964cb14bc8SHeiko Carstens help 2974cb14bc8SHeiko Carstens Book scheduler support improves the CPU scheduler's decision making 2984cb14bc8SHeiko Carstens when dealing with machines that have several books. 2994cb14bc8SHeiko Carstens 300*843c48fdSJan Glaubersource kernel/Kconfig.preempt 301*843c48fdSJan Glauber 3021da177e4SLinus Torvaldsconfig MATHEMU 3036f9a3c33SMartin Schwidefsky def_bool y 3046f9a3c33SMartin Schwidefsky prompt "IEEE FPU emulation" 3051da177e4SLinus Torvalds depends on MARCH_G5 3061da177e4SLinus Torvalds help 3071da177e4SLinus Torvalds This option is required for IEEE compliant floating point arithmetic 308db81a23dSHeiko Carstens on older ESA/390 machines. Say Y unless you know your machine doesn't 3091da177e4SLinus Torvalds need this. 3101da177e4SLinus Torvalds 311*843c48fdSJan Glaubersource kernel/Kconfig.hz 312*843c48fdSJan Glauber 313*843c48fdSJan Glauberendmenu 314*843c48fdSJan Glauber 315*843c48fdSJan Glaubermenu "Memory setup" 316*843c48fdSJan Glauber 317*843c48fdSJan Glauberconfig ARCH_SPARSEMEM_ENABLE 3186f9a3c33SMartin Schwidefsky def_bool y 319*843c48fdSJan Glauber select SPARSEMEM_VMEMMAP_ENABLE 320*843c48fdSJan Glauber select SPARSEMEM_VMEMMAP 321*843c48fdSJan Glauber select SPARSEMEM_STATIC if !64BIT 3221da177e4SLinus Torvalds 323*843c48fdSJan Glauberconfig ARCH_SPARSEMEM_DEFAULT 3246f9a3c33SMartin Schwidefsky def_bool y 325e65e1fc2SAl Viro 326*843c48fdSJan Glauberconfig ARCH_SELECT_MEMORY_MODEL 327*843c48fdSJan Glauber def_bool y 32805445169SHeiko Carstens 329*843c48fdSJan Glauberconfig ARCH_ENABLE_MEMORY_HOTPLUG 330*843c48fdSJan Glauber def_bool y if SPARSEMEM 33105445169SHeiko Carstens 332*843c48fdSJan Glauberconfig ARCH_ENABLE_MEMORY_HOTREMOVE 333*843c48fdSJan Glauber def_bool y 33405445169SHeiko Carstens 335*843c48fdSJan Glauberconfig FORCE_MAX_ZONEORDER 336*843c48fdSJan Glauber int 337*843c48fdSJan Glauber default "9" 33805445169SHeiko Carstens 339*843c48fdSJan Glaubersource "mm/Kconfig" 3401da177e4SLinus Torvalds 3411da177e4SLinus Torvaldsconfig PACK_STACK 3426f9a3c33SMartin Schwidefsky def_bool y 3436f9a3c33SMartin Schwidefsky prompt "Pack kernel stack" 3441da177e4SLinus Torvalds help 3451da177e4SLinus Torvalds This option enables the compiler option -mkernel-backchain if it 3461da177e4SLinus Torvalds is available. If the option is available the compiler supports 3471da177e4SLinus Torvalds the new stack layout which dramatically reduces the minimum stack 3481da177e4SLinus Torvalds frame size. With an old compiler a non-leaf function needs a 3491da177e4SLinus Torvalds minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With 3501da177e4SLinus Torvalds -mkernel-backchain the minimum size drops to 16 byte on 31 bit 3511da177e4SLinus Torvalds and 24 byte on 64 bit. 3521da177e4SLinus Torvalds 3531da177e4SLinus Torvalds Say Y if you are unsure. 3541da177e4SLinus Torvalds 3551da177e4SLinus Torvaldsconfig SMALL_STACK 3566f9a3c33SMartin Schwidefsky def_bool n 3576f9a3c33SMartin Schwidefsky prompt "Use 8kb for kernel stack instead of 16kb" 3587f5a8ba6SHeiko Carstens depends on PACK_STACK && 64BIT && !LOCKDEP 3591da177e4SLinus Torvalds help 3601da177e4SLinus Torvalds If you say Y here and the compiler supports the -mkernel-backchain 3617f5a8ba6SHeiko Carstens option the kernel will use a smaller kernel stack size. The reduced 3627f5a8ba6SHeiko Carstens size is 8kb instead of 16kb. This allows to run more threads on a 3637f5a8ba6SHeiko Carstens system and reduces the pressure on the memory management for higher 3647f5a8ba6SHeiko Carstens order page allocations. 3651da177e4SLinus Torvalds 3661da177e4SLinus Torvalds Say N if you are unsure. 3671da177e4SLinus Torvalds 3681da177e4SLinus Torvaldsconfig CHECK_STACK 3696f9a3c33SMartin Schwidefsky def_bool y 3706f9a3c33SMartin Schwidefsky prompt "Detect kernel stack overflow" 3711da177e4SLinus Torvalds help 3721da177e4SLinus Torvalds This option enables the compiler option -mstack-guard and 3731da177e4SLinus Torvalds -mstack-size if they are available. If the compiler supports them 3741da177e4SLinus Torvalds it will emit additional code to each function prolog to trigger 3751da177e4SLinus Torvalds an illegal operation if the kernel stack is about to overflow. 3761da177e4SLinus Torvalds 3771da177e4SLinus Torvalds Say N if you are unsure. 3781da177e4SLinus Torvalds 3791da177e4SLinus Torvaldsconfig STACK_GUARD 3801da177e4SLinus Torvalds int "Size of the guard area (128-1024)" 3811da177e4SLinus Torvalds range 128 1024 3821da177e4SLinus Torvalds depends on CHECK_STACK 3831da177e4SLinus Torvalds default "256" 3841da177e4SLinus Torvalds help 3851da177e4SLinus Torvalds This allows you to specify the size of the guard area at the lower 3861da177e4SLinus Torvalds end of the kernel stack. If the kernel stack points into the guard 3871da177e4SLinus Torvalds area on function entry an illegal operation is triggered. The size 3881da177e4SLinus Torvalds needs to be a power of 2. Please keep in mind that the size of an 3891da177e4SLinus Torvalds interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit. 3901da177e4SLinus Torvalds The minimum size for the stack guard should be 256 for 31 bit and 3911da177e4SLinus Torvalds 512 for 64 bit. 3921da177e4SLinus Torvalds 3932c190da4SJan Glauberconfig WARN_DYNAMIC_STACK 3946f9a3c33SMartin Schwidefsky def_bool n 3952c190da4SJan Glauber prompt "Emit compiler warnings for function with dynamic stack usage" 3961da177e4SLinus Torvalds help 3972c190da4SJan Glauber This option enables the compiler option -mwarn-dynamicstack. If the 3982c190da4SJan Glauber compiler supports this options generates warnings for functions 3992c190da4SJan Glauber that dynamically allocate stack space using alloca. 4001da177e4SLinus Torvalds 4011da177e4SLinus Torvalds Say N if you are unsure. 4021da177e4SLinus Torvalds 403*843c48fdSJan Glauberendmenu 40461d48c2cSMartin Schwidefsky 405*843c48fdSJan Glaubermenu "I/O subsystem" 4061da177e4SLinus Torvalds 4071da177e4SLinus Torvaldsconfig QDIO 4086f9a3c33SMartin Schwidefsky def_tristate y 4096f9a3c33SMartin Schwidefsky prompt "QDIO support" 4101da177e4SLinus Torvalds ---help--- 4118129ee16SFrank Pavlic This driver provides the Queued Direct I/O base support for 412efca13bcSUrsula Braun IBM System z. 4131da177e4SLinus Torvalds 4141da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 4151da177e4SLinus Torvalds module will be called qdio. 4161da177e4SLinus Torvalds 4171da177e4SLinus Torvalds If unsure, say Y. 4181da177e4SLinus Torvalds 4199d92a7e1SCornelia Huckconfig CHSC_SCH 420d9c11b1eSSebastian Ott def_tristate m 4216f9a3c33SMartin Schwidefsky prompt "Support for CHSC subchannels" 4229d92a7e1SCornelia Huck help 4239d92a7e1SCornelia Huck This driver allows usage of CHSC subchannels. A CHSC subchannel 4249d92a7e1SCornelia Huck is usually present on LPAR only. 4259d92a7e1SCornelia Huck The driver creates a device /dev/chsc, which may be used to 4269d92a7e1SCornelia Huck obtain I/O configuration information about the machine and 4279d92a7e1SCornelia Huck to issue asynchronous chsc commands (DANGEROUS). 4289d92a7e1SCornelia Huck You will usually only want to use this interface on a special 4299d92a7e1SCornelia Huck LPAR designated for system management. 4309d92a7e1SCornelia Huck 4319d92a7e1SCornelia Huck To compile this driver as a module, choose M here: the 4329d92a7e1SCornelia Huck module will be called chsc_sch. 4339d92a7e1SCornelia Huck 4349d92a7e1SCornelia Huck If unsure, say N. 4359d92a7e1SCornelia Huck 436*843c48fdSJan Glauberendmenu 437*843c48fdSJan Glauber 438*843c48fdSJan Glaubermenu "Dump support" 439*843c48fdSJan Glauber 440*843c48fdSJan Glauberconfig CRASH_DUMP 441*843c48fdSJan Glauber bool "kernel crash dumps" 442*843c48fdSJan Glauber depends on 64BIT && SMP 443*843c48fdSJan Glauber select KEXEC 444*843c48fdSJan Glauber help 445*843c48fdSJan Glauber Generate crash dump after being started by kexec. 446*843c48fdSJan Glauber Crash dump kernels are loaded in the main kernel with kexec-tools 447*843c48fdSJan Glauber into a specially reserved region and then later executed after 448*843c48fdSJan Glauber a crash by kdump/kexec. 449*843c48fdSJan Glauber For more details see Documentation/kdump/kdump.txt 450*843c48fdSJan Glauber 451*843c48fdSJan Glauberconfig ZFCPDUMP 452*843c48fdSJan Glauber def_bool n 453*843c48fdSJan Glauber prompt "zfcpdump support" 454*843c48fdSJan Glauber select SMP 455*843c48fdSJan Glauber help 456*843c48fdSJan Glauber Select this option if you want to build an zfcpdump enabled kernel. 457*843c48fdSJan Glauber Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this. 458*843c48fdSJan Glauber 459*843c48fdSJan Glauberendmenu 460*843c48fdSJan Glauber 461*843c48fdSJan Glaubermenu "Executable file formats / Emulations" 4621da177e4SLinus Torvalds 4631da177e4SLinus Torvaldssource "fs/Kconfig.binfmt" 4641da177e4SLinus Torvalds 465*843c48fdSJan Glauberconfig SECCOMP 466*843c48fdSJan Glauber def_bool y 467*843c48fdSJan Glauber prompt "Enable seccomp to safely compute untrusted bytecode" 468*843c48fdSJan Glauber depends on PROC_FS 469*843c48fdSJan Glauber help 470*843c48fdSJan Glauber This kernel feature is useful for number crunching applications 471*843c48fdSJan Glauber that may need to compute untrusted bytecode during their 472*843c48fdSJan Glauber execution. By using pipes or other transports made available to 473*843c48fdSJan Glauber the process as file descriptors supporting the read/write 474*843c48fdSJan Glauber syscalls, it's possible to isolate those applications in 475*843c48fdSJan Glauber their own address space using seccomp. Once seccomp is 476*843c48fdSJan Glauber enabled via /proc/<pid>/seccomp, it cannot be disabled 477*843c48fdSJan Glauber and the task is only allowed to execute a few safe syscalls 478*843c48fdSJan Glauber defined by each seccomp mode. 479*843c48fdSJan Glauber 480*843c48fdSJan Glauber If unsure, say Y. 481*843c48fdSJan Glauber 482*843c48fdSJan Glauberendmenu 483*843c48fdSJan Glauber 484*843c48fdSJan Glaubermenu "Power Management" 485*843c48fdSJan Glauber 486*843c48fdSJan Glauberconfig ARCH_HIBERNATION_POSSIBLE 487*843c48fdSJan Glauber def_bool y if 64BIT 488*843c48fdSJan Glauber 489*843c48fdSJan Glaubersource "kernel/power/Kconfig" 490*843c48fdSJan Glauber 491*843c48fdSJan Glauberendmenu 492*843c48fdSJan Glauber 493*843c48fdSJan Glaubersource "net/Kconfig" 494*843c48fdSJan Glauber 495*843c48fdSJan Glauberconfig PCMCIA 496*843c48fdSJan Glauber def_bool n 497*843c48fdSJan Glauber 498*843c48fdSJan Glauberconfig CCW 499*843c48fdSJan Glauber def_bool y 500*843c48fdSJan Glauber 501*843c48fdSJan Glaubersource "drivers/Kconfig" 502*843c48fdSJan Glauber 503*843c48fdSJan Glaubersource "fs/Kconfig" 504*843c48fdSJan Glauber 505*843c48fdSJan Glaubersource "arch/s390/Kconfig.debug" 506*843c48fdSJan Glauber 507*843c48fdSJan Glaubersource "security/Kconfig" 508*843c48fdSJan Glauber 509*843c48fdSJan Glaubersource "crypto/Kconfig" 510*843c48fdSJan Glauber 511*843c48fdSJan Glaubersource "lib/Kconfig" 512*843c48fdSJan Glauber 513*843c48fdSJan Glaubermenu "Virtualization" 514684de39bSHeiko Carstens 5151da177e4SLinus Torvaldsconfig PFAULT 5166f9a3c33SMartin Schwidefsky def_bool y 5176f9a3c33SMartin Schwidefsky prompt "Pseudo page fault support" 5181da177e4SLinus Torvalds help 5191da177e4SLinus Torvalds Select this option, if you want to use PFAULT pseudo page fault 5201da177e4SLinus Torvalds handling under VM. If running native or in LPAR, this option 5211da177e4SLinus Torvalds has no effect. If your VM does not support PFAULT, PAGEEX 5221da177e4SLinus Torvalds pseudo page fault handling will be used. 5231da177e4SLinus Torvalds Note that VM 4.2 supports PFAULT but has a bug in its 5241da177e4SLinus Torvalds implementation that causes some problems. 5251da177e4SLinus Torvalds Everybody who wants to run Linux under VM != VM4.2 should select 5261da177e4SLinus Torvalds this option. 5271da177e4SLinus Torvalds 5281da177e4SLinus Torvaldsconfig SHARED_KERNEL 5296f9a3c33SMartin Schwidefsky def_bool y 5306f9a3c33SMartin Schwidefsky prompt "VM shared kernel support" 5311da177e4SLinus Torvalds help 5321da177e4SLinus Torvalds Select this option, if you want to share the text segment of the 5331da177e4SLinus Torvalds Linux kernel between different VM guests. This reduces memory 5341da177e4SLinus Torvalds usage with lots of guests but greatly increases kernel size. 5359c9c1761SHeiko Carstens Also if a kernel was IPL'ed from a shared segment the kexec system 5369c9c1761SHeiko Carstens call will not work. 5371da177e4SLinus Torvalds You should only select this option if you know what you are 5381da177e4SLinus Torvalds doing and want to exploit this feature. 5391da177e4SLinus Torvalds 5401da177e4SLinus Torvaldsconfig CMM 5416f9a3c33SMartin Schwidefsky def_tristate n 5426f9a3c33SMartin Schwidefsky prompt "Cooperative memory management" 5431da177e4SLinus Torvalds help 5441da177e4SLinus Torvalds Select this option, if you want to enable the kernel interface 5451da177e4SLinus Torvalds to reduce the memory size of the system. This is accomplished 5461da177e4SLinus Torvalds by allocating pages of memory and put them "on hold". This only 5471da177e4SLinus Torvalds makes sense for a system running under VM where the unused pages 5481da177e4SLinus Torvalds will be reused by VM for other guest systems. The interface 5491da177e4SLinus Torvalds allows an external monitor to balance memory of many systems. 5501da177e4SLinus Torvalds Everybody who wants to run Linux under VM should select this 5511da177e4SLinus Torvalds option. 5521da177e4SLinus Torvalds 5531da177e4SLinus Torvaldsconfig CMM_IUCV 5546f9a3c33SMartin Schwidefsky def_bool y 5556f9a3c33SMartin Schwidefsky prompt "IUCV special message interface to cooperative memory management" 5561da177e4SLinus Torvalds depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV) 5571da177e4SLinus Torvalds help 5581da177e4SLinus Torvalds Select this option to enable the special message interface to 5591da177e4SLinus Torvalds the cooperative memory management. 5601da177e4SLinus Torvalds 5611da177e4SLinus Torvaldsconfig APPLDATA_BASE 5626f9a3c33SMartin Schwidefsky def_bool n 5636f9a3c33SMartin Schwidefsky prompt "Linux - VM Monitor Stream, base infrastructure" 564c185b783SMartin Schwidefsky depends on PROC_FS 5651da177e4SLinus Torvalds help 5661da177e4SLinus Torvalds This provides a kernel interface for creating and updating z/VM APPLDATA 5671da177e4SLinus Torvalds monitor records. The monitor records are updated at certain time 5681da177e4SLinus Torvalds intervals, once the timer is started. 5691da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer, 5701da177e4SLinus Torvalds i.e. enables or disables monitoring on the Linux side. 5711da177e4SLinus Torvalds A custom interval value (in seconds) can be written to 5721da177e4SLinus Torvalds /proc/appldata/interval. 5731da177e4SLinus Torvalds 5741da177e4SLinus Torvalds Defaults are 60 seconds interval and timer off. 5751da177e4SLinus Torvalds The /proc entries can also be read from, showing the current settings. 5761da177e4SLinus Torvalds 5771da177e4SLinus Torvaldsconfig APPLDATA_MEM 5786f9a3c33SMartin Schwidefsky def_tristate m 5796f9a3c33SMartin Schwidefsky prompt "Monitor memory management statistics" 58062fb2ba3SAl Viro depends on APPLDATA_BASE && VM_EVENT_COUNTERS 5811da177e4SLinus Torvalds help 5821da177e4SLinus Torvalds This provides memory management related data to the Linux - VM Monitor 5831da177e4SLinus Torvalds Stream, like paging/swapping rate, memory utilisation, etc. 5841da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM 5851da177e4SLinus Torvalds APPLDATA monitor record, i.e. enables or disables monitoring this record 5861da177e4SLinus Torvalds on the z/VM side. 5871da177e4SLinus Torvalds 5881da177e4SLinus Torvalds Default is disabled. 5891da177e4SLinus Torvalds The /proc entry can also be read from, showing the current settings. 5901da177e4SLinus Torvalds 5911da177e4SLinus Torvalds This can also be compiled as a module, which will be called 5921da177e4SLinus Torvalds appldata_mem.o. 5931da177e4SLinus Torvalds 5941da177e4SLinus Torvaldsconfig APPLDATA_OS 5956f9a3c33SMartin Schwidefsky def_tristate m 5966f9a3c33SMartin Schwidefsky prompt "Monitor OS statistics" 5971da177e4SLinus Torvalds depends on APPLDATA_BASE 5981da177e4SLinus Torvalds help 5991da177e4SLinus Torvalds This provides OS related data to the Linux - VM Monitor Stream, like 6001da177e4SLinus Torvalds CPU utilisation, etc. 6011da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM 6021da177e4SLinus Torvalds APPLDATA monitor record, i.e. enables or disables monitoring this record 6031da177e4SLinus Torvalds on the z/VM side. 6041da177e4SLinus Torvalds 6051da177e4SLinus Torvalds Default is disabled. 6061da177e4SLinus Torvalds This can also be compiled as a module, which will be called 6071da177e4SLinus Torvalds appldata_os.o. 6081da177e4SLinus Torvalds 6091da177e4SLinus Torvaldsconfig APPLDATA_NET_SUM 6106f9a3c33SMartin Schwidefsky def_tristate m 6116f9a3c33SMartin Schwidefsky prompt "Monitor overall network statistics" 61270193af9SSachin Sant depends on APPLDATA_BASE && NET 6131da177e4SLinus Torvalds help 6141da177e4SLinus Torvalds This provides network related data to the Linux - VM Monitor Stream, 6151da177e4SLinus Torvalds currently there is only a total sum of network I/O statistics, no 6161da177e4SLinus Torvalds per-interface data. 6171da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM 6181da177e4SLinus Torvalds APPLDATA monitor record, i.e. enables or disables monitoring this record 6191da177e4SLinus Torvalds on the z/VM side. 6201da177e4SLinus Torvalds 6211da177e4SLinus Torvalds Default is disabled. 6221da177e4SLinus Torvalds This can also be compiled as a module, which will be called 6231da177e4SLinus Torvalds appldata_net_sum.o. 6241da177e4SLinus Torvalds 62524bbb1faSMichael Holzheuconfig S390_HYPFS_FS 6266f9a3c33SMartin Schwidefsky def_bool y 6276f9a3c33SMartin Schwidefsky prompt "s390 hypervisor file system support" 62824bbb1faSMichael Holzheu select SYS_HYPERVISOR 62924bbb1faSMichael Holzheu help 63024bbb1faSMichael Holzheu This is a virtual file system intended to provide accounting 63124bbb1faSMichael Holzheu information in an s390 hypervisor environment. 63224bbb1faSMichael Holzheu 633*843c48fdSJan Glaubersource "arch/s390/kvm/Kconfig" 634411ed322SMichael Holzheu 635fa587743SCarsten Otteconfig S390_GUEST 6366f9a3c33SMartin Schwidefsky def_bool y 6376f9a3c33SMartin Schwidefsky prompt "s390 guest support for KVM (EXPERIMENTAL)" 638fa587743SCarsten Otte depends on 64BIT && EXPERIMENTAL 63980629b0bSChristian Borntraeger select VIRTUALIZATION 640fa587743SCarsten Otte select VIRTIO 641fa587743SCarsten Otte select VIRTIO_RING 642faeba830SChristian Borntraeger select VIRTIO_CONSOLE 643fa587743SCarsten Otte help 64420766c08SChristian Borntraeger Select this option if you want to run the kernel as a guest under 64520766c08SChristian Borntraeger the KVM hypervisor. This will add detection for KVM as well as a 64620766c08SChristian Borntraeger virtio transport. If KVM is detected, the virtio console will be 64720766c08SChristian Borntraeger the default console. 648bcf5cef7SHeiko Carstens 6491da177e4SLinus Torvaldsendmenu 650