Kconfig 8.06 KB
Newer Older
1 2
#
# For a description of the syntax of this configuration file,
3
# see Documentation/kbuild/kconfig-language.txt.
4
#
5 6 7 8 9

config MMU
	bool
	default y

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
config RWSEM_GENERIC_SPINLOCK
	bool

config RWSEM_XCHGADD_ALGORITHM
	bool
	default y

config GENERIC_BUST_SPINLOCK
	bool

mainmenu "Linux Kernel Configuration"

config ARCH_S390
	bool
	default y

26 27 28 29
config UID16
	bool
	default y
	depends on ARCH_S390X = 'n'
30

31
source "init/Kconfig"
32 33 34 35 36

menu "Base setup"

comment "Processor type and features"

37 38 39 40 41 42 43 44 45 46 47
config ARCH_S390X
	bool "64 bit kernel"
	help
	  Select this option if you have a 64 bit IBM zSeries machine
	  and want to use the 64 bit addressing mode.

config ARCH_S390_31
	bool
	depends on ARCH_S390X = 'n'
	default y

48 49 50 51 52 53 54 55 56 57 58 59 60 61
config SMP
	bool "Symmetric multi-processing support"
	---help---
	  This enables support for systems with more than one CPU. If you have
	  a system with only one CPU, like most personal computers, say N. If
	  you have a system with more than one CPU, say Y.

	  If you say N here, the kernel will run on single and multiprocessor
	  machines, but will use only one CPU of a multiprocessor machine. If
	  you say Y here, the kernel will run on many, but not all,
	  singleprocessor machines. On a singleprocessor machine, the kernel
	  will run faster if you say N here.

	  See also the <file:Documentation/smp.tex>,
62
	  <file:Documentation/smp.txt> and the SMP-HOWTO available at
63
	  <http://www.tldp.org/docs.html#howto>.
64

65
	  Even if you don't know what to do here, say Y.
66 67 68

config NR_CPUS
	int "Maximum number of CPUs (2-32)"
69
	depends on SMP && ARCH_S390X = 'n'
70
	default "32"
71 72 73 74 75 76 77
	help
	  This allows you to specify the maximum number of CPUs which this
	  kernel will support.  The maximum supported value is 32 and the
	  minimum value which makes sense is 2.

	  This is purely to save memory - each supported CPU adds
	  approximately eight kilobytes to the kernel image.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
	
config NR_CPUS
	int "Maximum number of CPUs (2-64)"
	depends on SMP && ARCH_S390X
	default "64"
	help
	  This allows you to specify the maximum number of CPUs which this
	  kernel will support.  The maximum supported value is 64 and the
	  minimum value which makes sense is 2.

	  This is purely to save memory - each supported CPU adds
	  approximately sixteen kilobytes to the kernel image.

config MATHEMU
	bool "IEEE FPU emulation"
	depends on ARCH_S390X = n
	help
	  This option is required for IEEE compliant floating point arithmetic
	  on older S/390 machines. Say Y unless you know your machine doesn't 
	  need this.

config S390_SUPPORT
	bool "Kernel support for 31 bit emulation"
	depends on ARCH_S390X
	help
	  Select this option if you want to enable your system kernel to
	  handle system-calls from ELF binaries for 31 bit ESA.  This option
	  (and some other stuff like libraries and such) is needed for
	  executing 31 bit applications.  It is safe to say "Y".

config COMPAT
	bool
	depends on S390_SUPPORT
	default y

config BINFMT_ELF32
	tristate "Kernel support for 31 bit ELF binaries"
	depends on S390_SUPPORT
	help
	  This allows you to run 32-bit Linux/ELF binaries on your zSeries
	  in 64 bit mode. Everybody wants this; say Y.
119 120 121 122 123 124

comment "I/O subsystem configuration"

config MACHCHK_WARNING
	bool "Process warning machine checks"
	help
125
	  Select this option if you want the machine check handler on IBM S/390 or
126 127 128 129 130 131 132 133 134 135 136 137 138 139
	  zSeries to process warning machine checks (e.g. on power failures). 
	  If unsure, say "Y".

config QDIO
	tristate "QDIO support"
	---help---
	  This driver provides the Queued Direct I/O base support for the
	  IBM S/390 (G5 and G6) and eServer zSeries (z800 and z900).

	  For details please refer to the documentation provided by IBM at
	  <http://www10.software.ibm.com/developerworks/opensource/linux390>

	  This driver is also available as a module ( = code which can be
	  inserted in and removed from the running kernel whenever you want).
140
	  The module will be called qdio. If you want to compile it as a
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
	  module, say M here and read <file:Documentation/modules.txt>.

	  If unsure, say Y.

config QDIO_PERF_STATS
	bool "Performance statistics in /proc"
	depends on QDIO
	help
	  Say Y here to get performance statistics in /proc/qdio_perf

	  If unsure, say N.

comment "Misc"

config PREEMPT
	bool "Preemptible Kernel"
157 158 159 160 161 162 163 164
	help
	  This option reduces the latency of the kernel when reacting to
	  real-time or interactive events by allowing a low priority process to
	  be preempted even if it is in kernel mode executing a system call.
	  This allows applications to run more reliably even when the system is
	  under load.

	  Say N if you are unsure.
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183

config IPL
	bool "Builtin IPL record support"
	help
	  If you want to use the produced kernel to IPL directly from a
	  device, you have to merge a bootsector specific to the device
	  into the first bytes of the kernel. You will have to select the
	  IPL device.

choice
	prompt "IPL method generated into head.S"
	depends on IPL
	default IPL_TAPE
	help
	  Select "tape" if you want to IPL the image from a Tape.

	  Select "vm_reader" if you are running under VM/ESA and want
	  to IPL the image from the emulated card reader.

184 185 186
config IPL_TAPE
	bool "tape"

187 188 189 190 191 192 193 194 195
config IPL_VM
	bool "vm_reader"

endchoice

config KCORE_ELF
	bool
	default y

196
source "fs/Kconfig.binfmt"
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227

config PROCESS_DEBUG
	bool "Show crashed user process info"
	help
	  Say Y to print all process fault locations to the console.  This is
	  a debugging option; you probably do not want to set it unless you
	  are an S390 port maintainer.

config PFAULT
	bool "Pseudo page fault support"
	help
	  Select this option, if you want to use PFAULT pseudo page fault
	  handling under VM. If running native or in LPAR, this option
	  has no effect. If your VM does not support PFAULT, PAGEEX
	  pseudo page fault handling will be used.
	  Note that VM 4.2 supports PFAULT but has a bug in its
	  implementation that causes some problems.
	  Everybody who wants to run Linux under VM != VM4.2 should select
	  this option.

config SHARED_KERNEL
	bool "VM shared kernel support"
	help
	  Select this option, if you want to share the text segment of the
	  Linux kernel between different VM guests. This reduces memory
	  usage with lots of guests but greatly increases kernel size.
	  You should only select this option if you know what you are
	  doing and want to exploit this feature.

endmenu

228 229 230
config PCMCIA
	bool
	default n
231

232 233
source "drivers/base/Kconfig"

234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
menu "SCSI support"

config SCSI
	tristate "SCSI support"

source "drivers/scsi/Kconfig"

endmenu

source "drivers/s390/Kconfig"

source "net/Kconfig"

source "fs/Kconfig"


menu "Kernel hacking"

Martin Schwidefsky's avatar
Martin Schwidefsky committed
252 253 254 255 256 257
config DEBUG_KERNEL
	bool "Kernel debugging"
	help
	  Say Y here if you are developing drivers or trying to debug and
	  identify kernel problems.

258 259
config MAGIC_SYSRQ
	bool "Magic SysRq key"
Martin Schwidefsky's avatar
Martin Schwidefsky committed
260
	depends on DEBUG_KERNEL
261 262 263 264 265 266 267 268 269 270 271
	help
	  If you say Y here, you will have some control over the system even
	  if the system crashes for example during kernel debugging (e.g., you
	  will be able to flush the buffer cache to disk, reboot the system
	  immediately or dump some status information). This is accomplished
	  by pressing various keys while holding SysRq (Alt+PrintScreen). It
	  also works on a serial console (on PC hardware at least), if you
	  send a BREAK and then within 5 seconds a command keypress. The
	  keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
	  unless you really know what this hack does.

Martin Schwidefsky's avatar
Martin Schwidefsky committed
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
config DEBUG_SLAB
	bool "Debug memory allocations"
	depends on DEBUG_KERNEL
	help
	  Say Y here to have the kernel do limited verification on memory
	  allocation as well as poisoning memory on free to catch use of freed
	  memory.

config KALLSYMS
	bool "Load all symbols for debugging/kksymoops"
	depends on DEBUG_KERNEL
	help
	  Say Y here to let the kernel print out symbolic crash information and
	  symbolic stack backtraces. This increases the size of the kernel
	  somewhat, as all symbols have to be loaded into the kernel image.

config DEBUG_SPINLOCK_SLEEP
	bool "Sleep-inside-spinlock checking"
	help
	  If you say Y here, various routines which may sleep will become very
	  noisy if they are called with a spinlock held.	

294 295 296 297 298 299 300 301
endmenu

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"