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 58347a8dc3SMartin Schwidefskyconfig S390 5961d48c2cSMartin Schwidefsky def_bool y 60ca9fc75aSHeiko Carstens select USE_GENERIC_SMP_HELPERS if SMP 615d3b56f9SMartin Schwidefsky select GENERIC_CPU_DEVICES if !SMP 62ed6bb619SHeiko Carstens select HAVE_SYSCALL_WRAPPERS 635d360a75SHeiko Carstens select HAVE_FUNCTION_TRACER 648b4488f8SHeiko Carstens select HAVE_FUNCTION_TRACE_MCOUNT_TEST 65dfd9f7abSHeiko Carstens select HAVE_FTRACE_MCOUNT_RECORD 66b25c477bSHeiko Carstens select HAVE_C_RECORDMCOUNT 6766700001SJosh Stone select HAVE_SYSCALL_TRACEPOINTS 68dfd9f7abSHeiko Carstens select HAVE_DYNAMIC_FTRACE 6988dbd203SHeiko Carstens select HAVE_FUNCTION_GRAPH_TRACER 70952974acSHeiko Carstens select HAVE_REGS_AND_STACK_ACCESS_API 7142d4b839SMathieu Desnoyers select HAVE_OPROFILE 723f550096SMathieu Desnoyers select HAVE_KPROBES 739edddaa2SAnanth N Mavinakayanahalli select HAVE_KRETPROBES 7477b455f1SChristian Borntraeger select HAVE_KVM if 64BIT 75753c4dd6SMartin Schwidefsky select HAVE_ARCH_TRACEHOOK 7698a79d6aSRusty Russell select INIT_ALL_POSSIBLE 77e360adbeSPeter Zijlstra select HAVE_IRQ_WORK 78cdd6c482SIngo Molnar select HAVE_PERF_EVENTS 79df013ffbSHuang Ying select ARCH_HAVE_NMI_SAFE_CMPXCHG 801844c9bcSMartin Schwidefsky select HAVE_KERNEL_GZIP 811844c9bcSMartin Schwidefsky select HAVE_KERNEL_BZIP2 821844c9bcSMartin Schwidefsky select HAVE_KERNEL_LZMA 83cdf56649SHeiko Carstens select HAVE_KERNEL_LZO 84d7b081acSHeiko Carstens select HAVE_KERNEL_XZ 8534b133f8SGerald Schaefer select HAVE_ARCH_MUTEX_CPU_RELAX 865373db88SJan Glauber select HAVE_ARCH_JUMP_LABEL if !MARCH_G5 8785055dd8SMartin Schwidefsky select ARCH_SAVE_PAGE_KEYS if HIBERNATION 887463449bSCatalin Marinas select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE 89ff38df37STejun Heo select HAVE_MEMBLOCK 90ff38df37STejun Heo select HAVE_MEMBLOCK_NODE_MAP 912e30db95SHeiko Carstens select HAVE_CMPXCHG_LOCAL 92ff38df37STejun Heo select ARCH_DISCARD_MEMBLOCK 933193a98dSHeiko Carstens select BUILDTIME_EXTABLE_SORT 946beb0009SThomas Gleixner select ARCH_INLINE_SPIN_TRYLOCK 956beb0009SThomas Gleixner select ARCH_INLINE_SPIN_TRYLOCK_BH 966beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK 976beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK_BH 986beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK_IRQ 996beb0009SThomas Gleixner select ARCH_INLINE_SPIN_LOCK_IRQSAVE 1006beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK 1016beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK_BH 1026beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK_IRQ 1036beb0009SThomas Gleixner select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE 1046beb0009SThomas Gleixner select ARCH_INLINE_READ_TRYLOCK 1056beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK 1066beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK_BH 1076beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK_IRQ 1086beb0009SThomas Gleixner select ARCH_INLINE_READ_LOCK_IRQSAVE 1096beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK 1106beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK_BH 1116beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK_IRQ 1126beb0009SThomas Gleixner select ARCH_INLINE_READ_UNLOCK_IRQRESTORE 1136beb0009SThomas Gleixner select ARCH_INLINE_WRITE_TRYLOCK 1146beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK 1156beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK_BH 1166beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK_IRQ 1176beb0009SThomas Gleixner select ARCH_INLINE_WRITE_LOCK_IRQSAVE 1186beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK 1196beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK_BH 1206beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK_IRQ 1216beb0009SThomas Gleixner select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE 122c1d7e01dSWill Deacon select ARCH_WANT_IPC_PARSE_VERSION 123e80e7813SThomas Gleixner select GENERIC_SMP_IDLE_THREAD 124a6527b92SAnna-Maria Gleixner select GENERIC_TIME_VSYSCALL 125a6527b92SAnna-Maria Gleixner select GENERIC_CLOCKEVENTS 126a6527b92SAnna-Maria Gleixner select KTIME_SCALAR if 32BIT 127c63cb468SHeiko Carstens select HAVE_ARCH_SECCOMP_FILTER 128*786d35d4SDavid Howells select HAVE_MOD_ARCH_SPECIFIC 129*786d35d4SDavid Howells select MODULES_USE_ELF_RELA 1301da177e4SLinus Torvalds 131fca3e357SMartin Schwidefskyconfig SCHED_OMIT_FRAME_POINTER 1326f9a3c33SMartin Schwidefsky def_bool y 133fca3e357SMartin Schwidefsky 1341da177e4SLinus Torvaldssource "init/Kconfig" 1351da177e4SLinus Torvalds 136dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer" 137dc52ddc0SMatt Helsley 1381da177e4SLinus Torvaldsmenu "Base setup" 1391da177e4SLinus Torvalds 1401da177e4SLinus Torvaldscomment "Processor type and features" 1411da177e4SLinus Torvalds 142347a8dc3SMartin Schwidefskyconfig 64BIT 1436f9a3c33SMartin Schwidefsky def_bool y 1446f9a3c33SMartin Schwidefsky prompt "64 bit kernel" 1451da177e4SLinus Torvalds help 146db81a23dSHeiko Carstens Select this option if you have an IBM z/Architecture machine 1471da177e4SLinus Torvalds and want to use the 64 bit addressing mode. 1481da177e4SLinus Torvalds 149d9f7a745SMartin Schwidefskyconfig 32BIT 1506f9a3c33SMartin Schwidefsky def_bool y if !64BIT 151d9f7a745SMartin Schwidefsky 1521da177e4SLinus Torvaldsconfig SMP 1536f9a3c33SMartin Schwidefsky def_bool y 1546f9a3c33SMartin Schwidefsky prompt "Symmetric multi-processing support" 1551da177e4SLinus Torvalds ---help--- 1561da177e4SLinus Torvalds This enables support for systems with more than one CPU. If you have 1571da177e4SLinus Torvalds a system with only one CPU, like most personal computers, say N. If 1581da177e4SLinus Torvalds you have a system with more than one CPU, say Y. 1591da177e4SLinus Torvalds 1601da177e4SLinus Torvalds If you say N here, the kernel will run on single and multiprocessor 1611da177e4SLinus Torvalds machines, but will use only one CPU of a multiprocessor machine. If 1621da177e4SLinus Torvalds you say Y here, the kernel will run on many, but not all, 1631da177e4SLinus Torvalds singleprocessor machines. On a singleprocessor machine, the kernel 1641da177e4SLinus Torvalds will run faster if you say N here. 1651da177e4SLinus Torvalds 16603502faaSAdrian Bunk See also the SMP-HOWTO available at 16703502faaSAdrian Bunk <http://www.tldp.org/docs.html#howto>. 1681da177e4SLinus Torvalds 1691da177e4SLinus Torvalds Even if you don't know what to do here, say Y. 1701da177e4SLinus Torvalds 1711da177e4SLinus Torvaldsconfig NR_CPUS 1721da177e4SLinus Torvalds int "Maximum number of CPUs (2-64)" 1731da177e4SLinus Torvalds range 2 64 1741da177e4SLinus Torvalds depends on SMP 175057c5cb3SHeiko Carstens default "32" if !64BIT 176057c5cb3SHeiko Carstens default "64" if 64BIT 1771da177e4SLinus Torvalds help 1781da177e4SLinus Torvalds This allows you to specify the maximum number of CPUs which this 1791da177e4SLinus Torvalds kernel will support. The maximum supported value is 64 and the 1801da177e4SLinus Torvalds minimum value which makes sense is 2. 1811da177e4SLinus Torvalds 1821da177e4SLinus Torvalds This is purely to save memory - each supported CPU adds 1831da177e4SLinus Torvalds approximately sixteen kilobytes to the kernel image. 1841da177e4SLinus Torvalds 1851da177e4SLinus Torvaldsconfig HOTPLUG_CPU 1866f9a3c33SMartin Schwidefsky def_bool y 1876f9a3c33SMartin Schwidefsky prompt "Support for hot-pluggable CPUs" 1881da177e4SLinus Torvalds depends on SMP 1891da177e4SLinus Torvalds select HOTPLUG 1901da177e4SLinus Torvalds help 1911da177e4SLinus Torvalds Say Y here to be able to turn CPUs off and on. CPUs 1921da177e4SLinus Torvalds can be controlled through /sys/devices/system/cpu/cpu#. 1931da177e4SLinus Torvalds Say N if you want to disable CPU hotplug. 1941da177e4SLinus Torvalds 1958d11e021SHeiko Carstensconfig SCHED_MC 19683a24e32SHeiko Carstens def_bool n 1978d11e021SHeiko Carstens 1984cb14bc8SHeiko Carstensconfig SCHED_BOOK 1996f9a3c33SMartin Schwidefsky def_bool y 2006f9a3c33SMartin Schwidefsky prompt "Book scheduler support" 20183a24e32SHeiko Carstens depends on SMP 20283a24e32SHeiko Carstens select SCHED_MC 2034cb14bc8SHeiko Carstens help 2044cb14bc8SHeiko Carstens Book scheduler support improves the CPU scheduler's decision making 2054cb14bc8SHeiko Carstens when dealing with machines that have several books. 2064cb14bc8SHeiko Carstens 2071da177e4SLinus Torvaldsconfig MATHEMU 2086f9a3c33SMartin Schwidefsky def_bool y 2096f9a3c33SMartin Schwidefsky prompt "IEEE FPU emulation" 2101da177e4SLinus Torvalds depends on MARCH_G5 2111da177e4SLinus Torvalds help 2121da177e4SLinus Torvalds This option is required for IEEE compliant floating point arithmetic 213db81a23dSHeiko Carstens on older ESA/390 machines. Say Y unless you know your machine doesn't 2141da177e4SLinus Torvalds need this. 2151da177e4SLinus Torvalds 216347a8dc3SMartin Schwidefskyconfig COMPAT 2176f9a3c33SMartin Schwidefsky def_bool y 2186f9a3c33SMartin Schwidefsky prompt "Kernel support for 31 bit emulation" 219347a8dc3SMartin Schwidefsky depends on 64BIT 2205cbeecd6SHeiko Carstens select COMPAT_BINFMT_ELF if BINFMT_ELF 22148b25c43SChris Metcalf select ARCH_WANT_OLD_COMPAT_IPC 2221da177e4SLinus Torvalds help 2231da177e4SLinus Torvalds Select this option if you want to enable your system kernel to 2241da177e4SLinus Torvalds handle system-calls from ELF binaries for 31 bit ESA. This option 2251da177e4SLinus Torvalds (and some other stuff like libraries and such) is needed for 2261da177e4SLinus Torvalds executing 31 bit applications. It is safe to say "Y". 2271da177e4SLinus Torvalds 2281da177e4SLinus Torvaldsconfig SYSVIPC_COMPAT 2296f9a3c33SMartin Schwidefsky def_bool y if COMPAT && SYSVIPC 2301da177e4SLinus Torvalds 2311d057720SDavid Howellsconfig KEYS_COMPAT 2321d057720SDavid Howells def_bool y if COMPAT && KEYS 2331d057720SDavid Howells 234e65e1fc2SAl Viroconfig AUDIT_ARCH 2356f9a3c33SMartin Schwidefsky def_bool y 236e65e1fc2SAl Viro 23705445169SHeiko Carstensconfig HAVE_MARCH_Z900_FEATURES 23805445169SHeiko Carstens def_bool n 23905445169SHeiko Carstens 24005445169SHeiko Carstensconfig HAVE_MARCH_Z990_FEATURES 24105445169SHeiko Carstens def_bool n 24205445169SHeiko Carstens select HAVE_MARCH_Z900_FEATURES 24305445169SHeiko Carstens 24405445169SHeiko Carstensconfig HAVE_MARCH_Z9_109_FEATURES 24505445169SHeiko Carstens def_bool n 24605445169SHeiko Carstens select HAVE_MARCH_Z990_FEATURES 24705445169SHeiko Carstens 24805445169SHeiko Carstensconfig HAVE_MARCH_Z10_FEATURES 24905445169SHeiko Carstens def_bool n 25005445169SHeiko Carstens select HAVE_MARCH_Z9_109_FEATURES 25105445169SHeiko Carstens 25205445169SHeiko Carstensconfig HAVE_MARCH_Z196_FEATURES 25305445169SHeiko Carstens def_bool n 25405445169SHeiko Carstens select HAVE_MARCH_Z10_FEATURES 25505445169SHeiko Carstens 2561da177e4SLinus Torvaldscomment "Code generation options" 2571da177e4SLinus Torvalds 2581da177e4SLinus Torvaldschoice 2591da177e4SLinus Torvalds prompt "Processor type" 2601da177e4SLinus Torvalds default MARCH_G5 2611da177e4SLinus Torvalds 2621da177e4SLinus Torvaldsconfig MARCH_G5 263db81a23dSHeiko Carstens bool "System/390 model G5 and G6" 264347a8dc3SMartin Schwidefsky depends on !64BIT 2651da177e4SLinus Torvalds help 2661da177e4SLinus Torvalds Select this to build a 31 bit kernel that works 267db81a23dSHeiko Carstens on all ESA/390 and z/Architecture machines. 2681da177e4SLinus Torvalds 2691da177e4SLinus Torvaldsconfig MARCH_Z900 270db81a23dSHeiko Carstens bool "IBM zSeries model z800 and z900" 27105445169SHeiko Carstens select HAVE_MARCH_Z900_FEATURES if 64BIT 2721da177e4SLinus Torvalds help 273db81a23dSHeiko Carstens Select this to enable optimizations for model z800/z900 (2064 and 274db81a23dSHeiko Carstens 2066 series). This will enable some optimizations that are not 275db81a23dSHeiko Carstens available on older ESA/390 (31 Bit) only CPUs. 2761da177e4SLinus Torvalds 2771da177e4SLinus Torvaldsconfig MARCH_Z990 278db81a23dSHeiko Carstens bool "IBM zSeries model z890 and z990" 27905445169SHeiko Carstens select HAVE_MARCH_Z990_FEATURES if 64BIT 2801da177e4SLinus Torvalds help 281db81a23dSHeiko Carstens Select this to enable optimizations for model z890/z990 (2084 and 282db81a23dSHeiko Carstens 2086 series). The kernel will be slightly faster but will not work 283db81a23dSHeiko Carstens on older machines. 2841da177e4SLinus Torvalds 2850efa4703SChristian Borntraegerconfig MARCH_Z9_109 2860efa4703SChristian Borntraeger bool "IBM System z9" 28705445169SHeiko Carstens select HAVE_MARCH_Z9_109_FEATURES if 64BIT 2880efa4703SChristian Borntraeger help 289db81a23dSHeiko Carstens Select this to enable optimizations for IBM System z9 (2094 and 290db81a23dSHeiko Carstens 2096 series). The kernel will be slightly faster but will not work 291db81a23dSHeiko Carstens on older machines. 2920efa4703SChristian Borntraeger 293e37f50e1SMartin Schwidefskyconfig MARCH_Z10 294e37f50e1SMartin Schwidefsky bool "IBM System z10" 29505445169SHeiko Carstens select HAVE_MARCH_Z10_FEATURES if 64BIT 296e37f50e1SMartin Schwidefsky help 297db81a23dSHeiko Carstens Select this to enable optimizations for IBM System z10 (2097 and 298db81a23dSHeiko Carstens 2098 series). The kernel will be slightly faster but will not work 299db81a23dSHeiko Carstens on older machines. 300e37f50e1SMartin Schwidefsky 301f861e405SHeiko Carstensconfig MARCH_Z196 3023a81b171SHeiko Carstens bool "IBM zEnterprise 114 and 196" 30305445169SHeiko Carstens select HAVE_MARCH_Z196_FEATURES if 64BIT 304f861e405SHeiko Carstens help 3053a81b171SHeiko Carstens Select this to enable optimizations for IBM zEnterprise 114 and 196 3063a81b171SHeiko Carstens (2818 and 2817 series). The kernel will be slightly faster but will 3073a81b171SHeiko Carstens not work on older machines. 308f861e405SHeiko Carstens 3091da177e4SLinus Torvaldsendchoice 3101da177e4SLinus Torvalds 3111da177e4SLinus Torvaldsconfig PACK_STACK 3126f9a3c33SMartin Schwidefsky def_bool y 3136f9a3c33SMartin Schwidefsky prompt "Pack kernel stack" 3141da177e4SLinus Torvalds help 3151da177e4SLinus Torvalds This option enables the compiler option -mkernel-backchain if it 3161da177e4SLinus Torvalds is available. If the option is available the compiler supports 3171da177e4SLinus Torvalds the new stack layout which dramatically reduces the minimum stack 3181da177e4SLinus Torvalds frame size. With an old compiler a non-leaf function needs a 3191da177e4SLinus Torvalds minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With 3201da177e4SLinus Torvalds -mkernel-backchain the minimum size drops to 16 byte on 31 bit 3211da177e4SLinus Torvalds and 24 byte on 64 bit. 3221da177e4SLinus Torvalds 3231da177e4SLinus Torvalds Say Y if you are unsure. 3241da177e4SLinus Torvalds 3251da177e4SLinus Torvaldsconfig SMALL_STACK 3266f9a3c33SMartin Schwidefsky def_bool n 3276f9a3c33SMartin Schwidefsky prompt "Use 8kb for kernel stack instead of 16kb" 3287f5a8ba6SHeiko Carstens depends on PACK_STACK && 64BIT && !LOCKDEP 3291da177e4SLinus Torvalds help 3301da177e4SLinus Torvalds If you say Y here and the compiler supports the -mkernel-backchain 3317f5a8ba6SHeiko Carstens option the kernel will use a smaller kernel stack size. The reduced 3327f5a8ba6SHeiko Carstens size is 8kb instead of 16kb. This allows to run more threads on a 3337f5a8ba6SHeiko Carstens system and reduces the pressure on the memory management for higher 3347f5a8ba6SHeiko Carstens order page allocations. 3351da177e4SLinus Torvalds 3361da177e4SLinus Torvalds Say N if you are unsure. 3371da177e4SLinus Torvalds 3381da177e4SLinus Torvaldsconfig CHECK_STACK 3396f9a3c33SMartin Schwidefsky def_bool y 3406f9a3c33SMartin Schwidefsky prompt "Detect kernel stack overflow" 3411da177e4SLinus Torvalds help 3421da177e4SLinus Torvalds This option enables the compiler option -mstack-guard and 3431da177e4SLinus Torvalds -mstack-size if they are available. If the compiler supports them 3441da177e4SLinus Torvalds it will emit additional code to each function prolog to trigger 3451da177e4SLinus Torvalds an illegal operation if the kernel stack is about to overflow. 3461da177e4SLinus Torvalds 3471da177e4SLinus Torvalds Say N if you are unsure. 3481da177e4SLinus Torvalds 3491da177e4SLinus Torvaldsconfig STACK_GUARD 3501da177e4SLinus Torvalds int "Size of the guard area (128-1024)" 3511da177e4SLinus Torvalds range 128 1024 3521da177e4SLinus Torvalds depends on CHECK_STACK 3531da177e4SLinus Torvalds default "256" 3541da177e4SLinus Torvalds help 3551da177e4SLinus Torvalds This allows you to specify the size of the guard area at the lower 3561da177e4SLinus Torvalds end of the kernel stack. If the kernel stack points into the guard 3571da177e4SLinus Torvalds area on function entry an illegal operation is triggered. The size 3581da177e4SLinus Torvalds needs to be a power of 2. Please keep in mind that the size of an 3591da177e4SLinus Torvalds interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit. 3601da177e4SLinus Torvalds The minimum size for the stack guard should be 256 for 31 bit and 3611da177e4SLinus Torvalds 512 for 64 bit. 3621da177e4SLinus Torvalds 3632c190da4SJan Glauberconfig WARN_DYNAMIC_STACK 3646f9a3c33SMartin Schwidefsky def_bool n 3652c190da4SJan Glauber prompt "Emit compiler warnings for function with dynamic stack usage" 3661da177e4SLinus Torvalds help 3672c190da4SJan Glauber This option enables the compiler option -mwarn-dynamicstack. If the 3682c190da4SJan Glauber compiler supports this options generates warnings for functions 3692c190da4SJan Glauber that dynamically allocate stack space using alloca. 3701da177e4SLinus Torvalds 3711da177e4SLinus Torvalds Say N if you are unsure. 3721da177e4SLinus Torvalds 37361d48c2cSMartin Schwidefskycomment "Kernel preemption" 37461d48c2cSMartin Schwidefsky 37561d48c2cSMartin Schwidefskysource "kernel/Kconfig.preempt" 37661d48c2cSMartin Schwidefsky 37717f34580SHeiko Carstensconfig ARCH_SPARSEMEM_ENABLE 37817f34580SHeiko Carstens def_bool y 37917f34580SHeiko Carstens select SPARSEMEM_VMEMMAP_ENABLE 38017f34580SHeiko Carstens select SPARSEMEM_VMEMMAP 381148f1678SHeiko Carstens select SPARSEMEM_STATIC if !64BIT 38217f34580SHeiko Carstens 38317f34580SHeiko Carstensconfig ARCH_SPARSEMEM_DEFAULT 38417f34580SHeiko Carstens def_bool y 38517f34580SHeiko Carstens 38697195d6bSHans-Joachim Pichtconfig ARCH_SELECT_MEMORY_MODEL 38797195d6bSHans-Joachim Picht def_bool y 38897195d6bSHans-Joachim Picht 389421c175cSHeiko Carstensconfig ARCH_ENABLE_MEMORY_HOTPLUG 3906f9a3c33SMartin Schwidefsky def_bool y if SPARSEMEM 391421c175cSHeiko Carstens 3927e9238fbSGerald Schaeferconfig ARCH_ENABLE_MEMORY_HOTREMOVE 3937e9238fbSGerald Schaefer def_bool y 3947e9238fbSGerald Schaefer 395155af2f9SHans-Joachim Pichtconfig ARCH_HIBERNATION_POSSIBLE 396155af2f9SHans-Joachim Picht def_bool y if 64BIT 397155af2f9SHans-Joachim Picht 3983f22ab27SDave Hansensource "mm/Kconfig" 3993f22ab27SDave Hansen 4001da177e4SLinus Torvaldscomment "I/O subsystem configuration" 4011da177e4SLinus Torvalds 4021da177e4SLinus Torvaldsconfig QDIO 4036f9a3c33SMartin Schwidefsky def_tristate y 4046f9a3c33SMartin Schwidefsky prompt "QDIO support" 4051da177e4SLinus Torvalds ---help--- 4068129ee16SFrank Pavlic This driver provides the Queued Direct I/O base support for 407efca13bcSUrsula Braun IBM System z. 4081da177e4SLinus Torvalds 4091da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 4101da177e4SLinus Torvalds module will be called qdio. 4111da177e4SLinus Torvalds 4121da177e4SLinus Torvalds If unsure, say Y. 4131da177e4SLinus Torvalds 4149d92a7e1SCornelia Huckconfig CHSC_SCH 415d9c11b1eSSebastian Ott def_tristate m 4166f9a3c33SMartin Schwidefsky prompt "Support for CHSC subchannels" 4179d92a7e1SCornelia Huck help 4189d92a7e1SCornelia Huck This driver allows usage of CHSC subchannels. A CHSC subchannel 4199d92a7e1SCornelia Huck is usually present on LPAR only. 4209d92a7e1SCornelia Huck The driver creates a device /dev/chsc, which may be used to 4219d92a7e1SCornelia Huck obtain I/O configuration information about the machine and 4229d92a7e1SCornelia Huck to issue asynchronous chsc commands (DANGEROUS). 4239d92a7e1SCornelia Huck You will usually only want to use this interface on a special 4249d92a7e1SCornelia Huck LPAR designated for system management. 4259d92a7e1SCornelia Huck 4269d92a7e1SCornelia Huck To compile this driver as a module, choose M here: the 4279d92a7e1SCornelia Huck module will be called chsc_sch. 4289d92a7e1SCornelia Huck 4299d92a7e1SCornelia Huck If unsure, say N. 4309d92a7e1SCornelia Huck 4311da177e4SLinus Torvaldscomment "Misc" 4321da177e4SLinus Torvalds 4331da177e4SLinus Torvaldssource "fs/Kconfig.binfmt" 4341da177e4SLinus Torvalds 435684de39bSHeiko Carstensconfig FORCE_MAX_ZONEORDER 436684de39bSHeiko Carstens int 437684de39bSHeiko Carstens default "9" 438684de39bSHeiko Carstens 4391da177e4SLinus Torvaldsconfig PFAULT 4406f9a3c33SMartin Schwidefsky def_bool y 4416f9a3c33SMartin Schwidefsky prompt "Pseudo page fault support" 4421da177e4SLinus Torvalds help 4431da177e4SLinus Torvalds Select this option, if you want to use PFAULT pseudo page fault 4441da177e4SLinus Torvalds handling under VM. If running native or in LPAR, this option 4451da177e4SLinus Torvalds has no effect. If your VM does not support PFAULT, PAGEEX 4461da177e4SLinus Torvalds pseudo page fault handling will be used. 4471da177e4SLinus Torvalds Note that VM 4.2 supports PFAULT but has a bug in its 4481da177e4SLinus Torvalds implementation that causes some problems. 4491da177e4SLinus Torvalds Everybody who wants to run Linux under VM != VM4.2 should select 4501da177e4SLinus Torvalds this option. 4511da177e4SLinus Torvalds 4521da177e4SLinus Torvaldsconfig SHARED_KERNEL 4536f9a3c33SMartin Schwidefsky def_bool y 4546f9a3c33SMartin Schwidefsky prompt "VM shared kernel support" 4551da177e4SLinus Torvalds help 4561da177e4SLinus Torvalds Select this option, if you want to share the text segment of the 4571da177e4SLinus Torvalds Linux kernel between different VM guests. This reduces memory 4581da177e4SLinus Torvalds usage with lots of guests but greatly increases kernel size. 4599c9c1761SHeiko Carstens Also if a kernel was IPL'ed from a shared segment the kexec system 4609c9c1761SHeiko Carstens call will not work. 4611da177e4SLinus Torvalds You should only select this option if you know what you are 4621da177e4SLinus Torvalds doing and want to exploit this feature. 4631da177e4SLinus Torvalds 4641da177e4SLinus Torvaldsconfig CMM 4656f9a3c33SMartin Schwidefsky def_tristate n 4666f9a3c33SMartin Schwidefsky prompt "Cooperative memory management" 4671da177e4SLinus Torvalds help 4681da177e4SLinus Torvalds Select this option, if you want to enable the kernel interface 4691da177e4SLinus Torvalds to reduce the memory size of the system. This is accomplished 4701da177e4SLinus Torvalds by allocating pages of memory and put them "on hold". This only 4711da177e4SLinus Torvalds makes sense for a system running under VM where the unused pages 4721da177e4SLinus Torvalds will be reused by VM for other guest systems. The interface 4731da177e4SLinus Torvalds allows an external monitor to balance memory of many systems. 4741da177e4SLinus Torvalds Everybody who wants to run Linux under VM should select this 4751da177e4SLinus Torvalds option. 4761da177e4SLinus Torvalds 4771da177e4SLinus Torvaldsconfig CMM_IUCV 4786f9a3c33SMartin Schwidefsky def_bool y 4796f9a3c33SMartin Schwidefsky prompt "IUCV special message interface to cooperative memory management" 4801da177e4SLinus Torvalds depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV) 4811da177e4SLinus Torvalds help 4821da177e4SLinus Torvalds Select this option to enable the special message interface to 4831da177e4SLinus Torvalds the cooperative memory management. 4841da177e4SLinus Torvalds 4851da177e4SLinus Torvaldsconfig APPLDATA_BASE 4866f9a3c33SMartin Schwidefsky def_bool n 4876f9a3c33SMartin Schwidefsky prompt "Linux - VM Monitor Stream, base infrastructure" 488c185b783SMartin Schwidefsky depends on PROC_FS 4891da177e4SLinus Torvalds help 4901da177e4SLinus Torvalds This provides a kernel interface for creating and updating z/VM APPLDATA 4911da177e4SLinus Torvalds monitor records. The monitor records are updated at certain time 4921da177e4SLinus Torvalds intervals, once the timer is started. 4931da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer, 4941da177e4SLinus Torvalds i.e. enables or disables monitoring on the Linux side. 4951da177e4SLinus Torvalds A custom interval value (in seconds) can be written to 4961da177e4SLinus Torvalds /proc/appldata/interval. 4971da177e4SLinus Torvalds 4981da177e4SLinus Torvalds Defaults are 60 seconds interval and timer off. 4991da177e4SLinus Torvalds The /proc entries can also be read from, showing the current settings. 5001da177e4SLinus Torvalds 5011da177e4SLinus Torvaldsconfig APPLDATA_MEM 5026f9a3c33SMartin Schwidefsky def_tristate m 5036f9a3c33SMartin Schwidefsky prompt "Monitor memory management statistics" 50462fb2ba3SAl Viro depends on APPLDATA_BASE && VM_EVENT_COUNTERS 5051da177e4SLinus Torvalds help 5061da177e4SLinus Torvalds This provides memory management related data to the Linux - VM Monitor 5071da177e4SLinus Torvalds Stream, like paging/swapping rate, memory utilisation, etc. 5081da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM 5091da177e4SLinus Torvalds APPLDATA monitor record, i.e. enables or disables monitoring this record 5101da177e4SLinus Torvalds on the z/VM side. 5111da177e4SLinus Torvalds 5121da177e4SLinus Torvalds Default is disabled. 5131da177e4SLinus Torvalds The /proc entry can also be read from, showing the current settings. 5141da177e4SLinus Torvalds 5151da177e4SLinus Torvalds This can also be compiled as a module, which will be called 5161da177e4SLinus Torvalds appldata_mem.o. 5171da177e4SLinus Torvalds 5181da177e4SLinus Torvaldsconfig APPLDATA_OS 5196f9a3c33SMartin Schwidefsky def_tristate m 5206f9a3c33SMartin Schwidefsky prompt "Monitor OS statistics" 5211da177e4SLinus Torvalds depends on APPLDATA_BASE 5221da177e4SLinus Torvalds help 5231da177e4SLinus Torvalds This provides OS related data to the Linux - VM Monitor Stream, like 5241da177e4SLinus Torvalds CPU utilisation, etc. 5251da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM 5261da177e4SLinus Torvalds APPLDATA monitor record, i.e. enables or disables monitoring this record 5271da177e4SLinus Torvalds on the z/VM side. 5281da177e4SLinus Torvalds 5291da177e4SLinus Torvalds Default is disabled. 5301da177e4SLinus Torvalds This can also be compiled as a module, which will be called 5311da177e4SLinus Torvalds appldata_os.o. 5321da177e4SLinus Torvalds 5331da177e4SLinus Torvaldsconfig APPLDATA_NET_SUM 5346f9a3c33SMartin Schwidefsky def_tristate m 5356f9a3c33SMartin Schwidefsky prompt "Monitor overall network statistics" 53670193af9SSachin Sant depends on APPLDATA_BASE && NET 5371da177e4SLinus Torvalds help 5381da177e4SLinus Torvalds This provides network related data to the Linux - VM Monitor Stream, 5391da177e4SLinus Torvalds currently there is only a total sum of network I/O statistics, no 5401da177e4SLinus Torvalds per-interface data. 5411da177e4SLinus Torvalds Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM 5421da177e4SLinus Torvalds APPLDATA monitor record, i.e. enables or disables monitoring this record 5431da177e4SLinus Torvalds on the z/VM side. 5441da177e4SLinus Torvalds 5451da177e4SLinus Torvalds Default is disabled. 5461da177e4SLinus Torvalds This can also be compiled as a module, which will be called 5471da177e4SLinus Torvalds appldata_net_sum.o. 5481da177e4SLinus Torvalds 54961d48c2cSMartin Schwidefskysource kernel/Kconfig.hz 55061d48c2cSMartin Schwidefsky 55124bbb1faSMichael Holzheuconfig S390_HYPFS_FS 5526f9a3c33SMartin Schwidefsky def_bool y 5536f9a3c33SMartin Schwidefsky prompt "s390 hypervisor file system support" 55424bbb1faSMichael Holzheu select SYS_HYPERVISOR 55524bbb1faSMichael Holzheu help 55624bbb1faSMichael Holzheu This is a virtual file system intended to provide accounting 55724bbb1faSMichael Holzheu information in an s390 hypervisor environment. 55824bbb1faSMichael Holzheu 559cf13f0eaSHeiko Carstensconfig KEXEC 5606f9a3c33SMartin Schwidefsky def_bool n 5616f9a3c33SMartin Schwidefsky prompt "kexec system call" 562cf13f0eaSHeiko Carstens help 563cf13f0eaSHeiko Carstens kexec is a system call that implements the ability to shutdown your 564cf13f0eaSHeiko Carstens current kernel, and to start another kernel. It is like a reboot 565cf13f0eaSHeiko Carstens but is independent of hardware/microcode support. 566cf13f0eaSHeiko Carstens 56760a0c68dSMichael Holzheuconfig CRASH_DUMP 56860a0c68dSMichael Holzheu bool "kernel crash dumps" 56954310a2dSHeiko Carstens depends on 64BIT && SMP 57096603b50SMichael Holzheu select KEXEC 57160a0c68dSMichael Holzheu help 57260a0c68dSMichael Holzheu Generate crash dump after being started by kexec. 57360a0c68dSMichael Holzheu Crash dump kernels are loaded in the main kernel with kexec-tools 57460a0c68dSMichael Holzheu into a specially reserved region and then later executed after 57560a0c68dSMichael Holzheu a crash by kdump/kexec. 57660a0c68dSMichael Holzheu For more details see Documentation/kdump/kdump.txt 57760a0c68dSMichael Holzheu 578411ed322SMichael Holzheuconfig ZFCPDUMP 5796f9a3c33SMartin Schwidefsky def_bool n 5806f9a3c33SMartin Schwidefsky prompt "zfcpdump support" 581411ed322SMichael Holzheu select SMP 582411ed322SMichael Holzheu help 583411ed322SMichael Holzheu Select this option if you want to build an zfcpdump enabled kernel. 584e403149cSDirk Hohndel Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this. 585411ed322SMichael Holzheu 586fa587743SCarsten Otteconfig S390_GUEST 5876f9a3c33SMartin Schwidefsky def_bool y 5886f9a3c33SMartin Schwidefsky prompt "s390 guest support for KVM (EXPERIMENTAL)" 589fa587743SCarsten Otte depends on 64BIT && EXPERIMENTAL 59080629b0bSChristian Borntraeger select VIRTUALIZATION 591fa587743SCarsten Otte select VIRTIO 592fa587743SCarsten Otte select VIRTIO_RING 593faeba830SChristian Borntraeger select VIRTIO_CONSOLE 594fa587743SCarsten Otte help 59520766c08SChristian Borntraeger Select this option if you want to run the kernel as a guest under 59620766c08SChristian Borntraeger the KVM hypervisor. This will add detection for KVM as well as a 59720766c08SChristian Borntraeger virtio transport. If KVM is detected, the virtio console will be 59820766c08SChristian Borntraeger the default console. 599bcf5cef7SHeiko Carstens 600bcf5cef7SHeiko Carstensconfig SECCOMP 6016f9a3c33SMartin Schwidefsky def_bool y 6026f9a3c33SMartin Schwidefsky prompt "Enable seccomp to safely compute untrusted bytecode" 603bcf5cef7SHeiko Carstens depends on PROC_FS 604bcf5cef7SHeiko Carstens help 605bcf5cef7SHeiko Carstens This kernel feature is useful for number crunching applications 606bcf5cef7SHeiko Carstens that may need to compute untrusted bytecode during their 607bcf5cef7SHeiko Carstens execution. By using pipes or other transports made available to 608bcf5cef7SHeiko Carstens the process as file descriptors supporting the read/write 609bcf5cef7SHeiko Carstens syscalls, it's possible to isolate those applications in 610bcf5cef7SHeiko Carstens their own address space using seccomp. Once seccomp is 611bcf5cef7SHeiko Carstens enabled via /proc/<pid>/seccomp, it cannot be disabled 612bcf5cef7SHeiko Carstens and the task is only allowed to execute a few safe syscalls 613bcf5cef7SHeiko Carstens defined by each seccomp mode. 614bcf5cef7SHeiko Carstens 615bcf5cef7SHeiko Carstens If unsure, say Y. 616bcf5cef7SHeiko Carstens 6171da177e4SLinus Torvaldsendmenu 6181da177e4SLinus Torvalds 619155af2f9SHans-Joachim Pichtmenu "Power Management" 620155af2f9SHans-Joachim Picht 621155af2f9SHans-Joachim Pichtsource "kernel/power/Kconfig" 622155af2f9SHans-Joachim Picht 623155af2f9SHans-Joachim Pichtendmenu 624155af2f9SHans-Joachim Picht 625d5950b43SSam Ravnborgsource "net/Kconfig" 626d5950b43SSam Ravnborg 6271da177e4SLinus Torvaldsconfig PCMCIA 62861d48c2cSMartin Schwidefsky def_bool n 6291da177e4SLinus Torvalds 63061d48c2cSMartin Schwidefskyconfig CCW 63161d48c2cSMartin Schwidefsky def_bool y 6321da177e4SLinus Torvalds 63361d48c2cSMartin Schwidefskysource "drivers/Kconfig" 6341da177e4SLinus Torvalds 6351da177e4SLinus Torvaldssource "fs/Kconfig" 6361da177e4SLinus Torvalds 6371da177e4SLinus Torvaldssource "arch/s390/Kconfig.debug" 6381da177e4SLinus Torvalds 6391da177e4SLinus Torvaldssource "security/Kconfig" 6401da177e4SLinus Torvalds 6411da177e4SLinus Torvaldssource "crypto/Kconfig" 6421da177e4SLinus Torvalds 6431da177e4SLinus Torvaldssource "lib/Kconfig" 64477b455f1SChristian Borntraeger 64577b455f1SChristian Borntraegersource "arch/s390/kvm/Kconfig" 646