Blame view

arch/s390/Kconfig 17.4 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
  config MMU
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
2
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3

66701b149   Christoph Lameter   [PATCH] optional ...
4
  config ZONE_DMA
69dbb2f79   Heiko Carstens   [S390] mm: add ZO...
5
  	def_bool y
66701b149   Christoph Lameter   [PATCH] optional ...
6

2b105ff9c   Ingo Molnar   [PATCH] lockdep: ...
7
  config LOCKDEP_SUPPORT
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
8
  	def_bool y
2b105ff9c   Ingo Molnar   [PATCH] lockdep: ...
9

5bdc9b447   Heiko Carstens   [PATCH] lockdep: ...
10
  config STACKTRACE_SUPPORT
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
11
  	def_bool y
5bdc9b447   Heiko Carstens   [PATCH] lockdep: ...
12

a3afe70b8   Heiko Carstens   [S390] latencytop...
13
14
  config HAVE_LATENCYTOP_SUPPORT
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
15
16
17
18
  config RWSEM_GENERIC_SPINLOCK
  	bool
  
  config RWSEM_XCHGADD_ALGORITHM
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
19
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
20

f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
21
  config ARCH_HAS_ILOG2_U32
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
22
  	def_bool n
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
23
24
  
  config ARCH_HAS_ILOG2_U64
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
25
  	def_bool n
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
26

7e33db4e2   Akinobu Mita   [PATCH] bitops: s...
27
  config GENERIC_HWEIGHT
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
28
  	def_bool y
7e33db4e2   Akinobu Mita   [PATCH] bitops: s...
29

b020632e4   Martin Schwidefsky   [S390] introduce ...
30
31
  config GENERIC_TIME_VSYSCALL
  	def_bool y
5a62b1921   Heiko Carstens   [S390] Convert s3...
32
33
  config GENERIC_CLOCKEVENTS
  	def_bool y
c0007f1a6   Heiko Carstens   [S390] Use generi...
34
  config GENERIC_BUG
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
35
  	def_bool y if BUG
c0007f1a6   Heiko Carstens   [S390] Use generi...
36

52499f402   Heiko Carstens   [S390] bug: use r...
37
38
  config GENERIC_BUG_RELATIVE_POINTERS
  	def_bool y
23db764d3   Al Viro   [PATCH] Switch s3...
39
  config NO_IOMEM
5ea817699   Al Viro   [PATCH] sort the ...
40
  	def_bool y
411f0f3ed   Heiko Carstens   Introduce CONFIG_...
41
42
  config NO_DMA
  	def_bool y
eca577ef5   FUJITA Tomonori   [S390] enable ARC...
43
44
  config ARCH_DMA_ADDR_T_64BIT
  	def_bool 64BIT
b6b40c532   Martin Schwidefsky   [S390] Define GEN...
45
  config GENERIC_LOCKBREAK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
46
  	def_bool y if SMP && PREEMPT
b6b40c532   Martin Schwidefsky   [S390] Define GEN...
47

402b08622   Carsten Otte   s390: KVM prepara...
48
  config PGSTE
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
49
  	def_bool y if KVM
402b08622   Carsten Otte   s390: KVM prepara...
50

c185b783b   Martin Schwidefsky   [S390] Remove con...
51
52
  config VIRT_CPU_ACCOUNTING
  	def_bool y
6a11f75b6   Akinobu Mita   generic debug pag...
53
54
  config ARCH_SUPPORTS_DEBUG_PAGEALLOC
  	def_bool y
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
55
  config S390
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
56
  	def_bool y
ca9fc75a6   Heiko Carstens   [S390] convert s3...
57
  	select USE_GENERIC_SMP_HELPERS if SMP
ed6bb6194   Heiko Carstens   [CVE-2009-0029] s...
58
  	select HAVE_SYSCALL_WRAPPERS
5d360a75f   Heiko Carstens   [S390] ftrace: fu...
59
  	select HAVE_FUNCTION_TRACER
8b4488f85   Heiko Carstens   [S390] ftrace: ad...
60
  	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
dfd9f7abc   Heiko Carstens   [S390] ftrace: ad...
61
  	select HAVE_FTRACE_MCOUNT_RECORD
b25c477b3   Heiko Carstens   [S390] ftrace: se...
62
  	select HAVE_C_RECORDMCOUNT
667000011   Josh Stone   tracing: Rename F...
63
  	select HAVE_SYSCALL_TRACEPOINTS
dfd9f7abc   Heiko Carstens   [S390] ftrace: ad...
64
  	select HAVE_DYNAMIC_FTRACE
88dbd2037   Heiko Carstens   [S390] ftrace: ad...
65
  	select HAVE_FUNCTION_GRAPH_TRACER
952974ac6   Heiko Carstens   s390: Add pt_regs...
66
  	select HAVE_REGS_AND_STACK_ACCESS_API
42d4b839c   Mathieu Desnoyers   Add HAVE_OPROFILE
67
  	select HAVE_OPROFILE
3f550096d   Mathieu Desnoyers   Add HAVE_KPROBES
68
  	select HAVE_KPROBES
9edddaa20   Ananth N Mavinakayanahalli   Kprobes: indicate...
69
  	select HAVE_KRETPROBES
77b455f1b   Christian Borntraeger   KVM: s390: add kv...
70
  	select HAVE_KVM if 64BIT
753c4dd6a   Martin Schwidefsky   [S390] ptrace cha...
71
  	select HAVE_ARCH_TRACEHOOK
98a79d6a5   Rusty Russell   cpumask: centrali...
72
  	select INIT_ALL_POSSIBLE
e360adbe2   Peter Zijlstra   irq_work: Add gen...
73
  	select HAVE_IRQ_WORK
cdd6c482c   Ingo Molnar   perf: Do the big ...
74
  	select HAVE_PERF_EVENTS
df013ffb8   Huang Ying   Add Kconfig optio...
75
  	select ARCH_HAVE_NMI_SAFE_CMPXCHG
1844c9bc0   Martin Schwidefsky   [S390] add suppor...
76
77
78
  	select HAVE_KERNEL_GZIP
  	select HAVE_KERNEL_BZIP2
  	select HAVE_KERNEL_LZMA
cdf566498   Heiko Carstens   [S390] Add suppor...
79
  	select HAVE_KERNEL_LZO
d7b081ac0   Heiko Carstens   [S390] support XZ...
80
  	select HAVE_KERNEL_XZ
34b133f8e   Gerald Schaefer   [S390] mutex: Int...
81
  	select HAVE_ARCH_MUTEX_CPU_RELAX
5373db886   Jan Glauber   jump label: Add s...
82
  	select HAVE_ARCH_JUMP_LABEL if !MARCH_G5
36409f635   Martin Schwidefsky   [S390] use generi...
83
  	select HAVE_RCU_TABLE_FREE if SMP
85055dd80   Martin Schwidefsky   PM / Hibernate: I...
84
  	select ARCH_SAVE_PAGE_KEYS if HIBERNATION
ff38df377   Tejun Heo   s390: Use HAVE_ME...
85
86
87
  	select HAVE_MEMBLOCK
  	select HAVE_MEMBLOCK_NODE_MAP
  	select ARCH_DISCARD_MEMBLOCK
6beb00092   Thomas Gleixner   locking: Make inl...
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
  	select ARCH_INLINE_SPIN_TRYLOCK
  	select ARCH_INLINE_SPIN_TRYLOCK_BH
  	select ARCH_INLINE_SPIN_LOCK
  	select ARCH_INLINE_SPIN_LOCK_BH
  	select ARCH_INLINE_SPIN_LOCK_IRQ
  	select ARCH_INLINE_SPIN_LOCK_IRQSAVE
  	select ARCH_INLINE_SPIN_UNLOCK
  	select ARCH_INLINE_SPIN_UNLOCK_BH
  	select ARCH_INLINE_SPIN_UNLOCK_IRQ
  	select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
  	select ARCH_INLINE_READ_TRYLOCK
  	select ARCH_INLINE_READ_LOCK
  	select ARCH_INLINE_READ_LOCK_BH
  	select ARCH_INLINE_READ_LOCK_IRQ
  	select ARCH_INLINE_READ_LOCK_IRQSAVE
  	select ARCH_INLINE_READ_UNLOCK
  	select ARCH_INLINE_READ_UNLOCK_BH
  	select ARCH_INLINE_READ_UNLOCK_IRQ
  	select ARCH_INLINE_READ_UNLOCK_IRQRESTORE
  	select ARCH_INLINE_WRITE_TRYLOCK
  	select ARCH_INLINE_WRITE_LOCK
  	select ARCH_INLINE_WRITE_LOCK_BH
  	select ARCH_INLINE_WRITE_LOCK_IRQ
  	select ARCH_INLINE_WRITE_LOCK_IRQSAVE
  	select ARCH_INLINE_WRITE_UNLOCK
  	select ARCH_INLINE_WRITE_UNLOCK_BH
  	select ARCH_INLINE_WRITE_UNLOCK_IRQ
  	select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
116

fca3e357d   Martin Schwidefsky   [S390] set SCHED_...
117
  config SCHED_OMIT_FRAME_POINTER
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
118
  	def_bool y
fca3e357d   Martin Schwidefsky   [S390] set SCHED_...
119

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
120
  source "init/Kconfig"
dc52ddc0e   Matt Helsley   container freezer...
121
  source "kernel/Kconfig.freezer"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
122
123
124
  menu "Base setup"
  
  comment "Processor type and features"
5a62b1921   Heiko Carstens   [S390] Convert s3...
125
  source "kernel/time/Kconfig"
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
126
  config 64BIT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
127
128
  	def_bool y
  	prompt "64 bit kernel"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
129
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
130
  	  Select this option if you have an IBM z/Architecture machine
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
131
  	  and want to use the 64 bit addressing mode.
d9f7a745d   Martin Schwidefsky   [S390] __div64_32...
132
  config 32BIT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
133
  	def_bool y if !64BIT
d9f7a745d   Martin Schwidefsky   [S390] __div64_32...
134

07606309f   Martin Schwidefsky   [S390] define KTI...
135
136
  config KTIME_SCALAR
  	def_bool 32BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
137
  config SMP
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
138
139
  	def_bool y
  	prompt "Symmetric multi-processing support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
140
141
142
143
144
145
146
147
148
149
  	---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.
03502faa2   Adrian Bunk   remove Documentat...
150
151
  	  See also the SMP-HOWTO available at
  	  <http://www.tldp.org/docs.html#howto>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
152
153
154
155
156
157
158
  
  	  Even if you don't know what to do here, say Y.
  
  config NR_CPUS
  	int "Maximum number of CPUs (2-64)"
  	range 2 64
  	depends on SMP
057c5cb35   Heiko Carstens   [S390] Let NR_CPU...
159
160
  	default "32" if !64BIT
  	default "64" if 64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
161
162
163
164
165
166
167
168
169
  	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 HOTPLUG_CPU
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
170
171
  	def_bool y
  	prompt "Support for hot-pluggable CPUs"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
172
173
  	depends on SMP
  	select HOTPLUG
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
174
175
176
177
  	help
  	  Say Y here to be able to turn CPUs off and on. CPUs
  	  can be controlled through /sys/devices/system/cpu/cpu#.
  	  Say N if you want to disable CPU hotplug.
8d11e0218   Heiko Carstens   [S390] topology: ...
178
  config SCHED_MC
83a24e329   Heiko Carstens   [S390] topology: ...
179
  	def_bool n
8d11e0218   Heiko Carstens   [S390] topology: ...
180

4cb14bc8c   Heiko Carstens   topology, s390: A...
181
  config SCHED_BOOK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
182
183
  	def_bool y
  	prompt "Book scheduler support"
83a24e329   Heiko Carstens   [S390] topology: ...
184
185
  	depends on SMP
  	select SCHED_MC
4cb14bc8c   Heiko Carstens   topology, s390: A...
186
187
188
  	help
  	  Book scheduler support improves the CPU scheduler's decision making
  	  when dealing with machines that have several books.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
189
  config MATHEMU
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
190
191
  	def_bool y
  	prompt "IEEE FPU emulation"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
192
193
194
  	depends on MARCH_G5
  	help
  	  This option is required for IEEE compliant floating point arithmetic
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
195
  	  on older ESA/390 machines. Say Y unless you know your machine doesn't
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
196
  	  need this.
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
197
  config COMPAT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
198
199
  	def_bool y
  	prompt "Kernel support for 31 bit emulation"
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
200
  	depends on 64BIT
63506c419   Martin Schwidefsky   [S390] Introduce ...
201
  	select COMPAT_BINFMT_ELF
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
202
203
204
205
206
  	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".
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
207
  config SYSVIPC_COMPAT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
208
  	def_bool y if COMPAT && SYSVIPC
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
209

e65e1fc2d   Al Viro   [PATCH] syscall c...
210
  config AUDIT_ARCH
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
211
  	def_bool y
e65e1fc2d   Al Viro   [PATCH] syscall c...
212

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
213
214
215
216
217
218
219
  comment "Code generation options"
  
  choice
  	prompt "Processor type"
  	default MARCH_G5
  
  config MARCH_G5
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
220
  	bool "System/390 model G5 and G6"
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
221
  	depends on !64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
222
223
  	help
  	  Select this to build a 31 bit kernel that works
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
224
  	  on all ESA/390 and z/Architecture machines.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
225
226
  
  config MARCH_Z900
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
227
  	bool "IBM zSeries model z800 and z900"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
228
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
229
230
231
  	  Select this to enable optimizations for model z800/z900 (2064 and
  	  2066 series). This will enable some optimizations that are not
  	  available on older ESA/390 (31 Bit) only CPUs.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
232
233
  
  config MARCH_Z990
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
234
  	bool "IBM zSeries model z890 and z990"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
235
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
236
237
238
  	  Select this to enable optimizations for model z890/z990 (2084 and
  	  2086 series). The kernel will be slightly faster but will not work
  	  on older machines.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
239

0efa47036   Christian Borntraeger   [S390] config opt...
240
241
242
  config MARCH_Z9_109
  	bool "IBM System z9"
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
243
244
245
  	  Select this to enable optimizations for IBM System z9 (2094 and
  	  2096 series). The kernel will be slightly faster but will not work
  	  on older machines.
0efa47036   Christian Borntraeger   [S390] config opt...
246

e37f50e18   Martin Schwidefsky   [S390] Add proces...
247
248
249
  config MARCH_Z10
  	bool "IBM System z10"
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
250
251
252
  	  Select this to enable optimizations for IBM System z10 (2097 and
  	  2098 series). The kernel will be slightly faster but will not work
  	  on older machines.
e37f50e18   Martin Schwidefsky   [S390] Add proces...
253

f861e4057   Heiko Carstens   [S390] Add config...
254
  config MARCH_Z196
3a81b1714   Heiko Carstens   [S390] Add suppor...
255
  	bool "IBM zEnterprise 114 and 196"
f861e4057   Heiko Carstens   [S390] Add config...
256
  	help
3a81b1714   Heiko Carstens   [S390] Add suppor...
257
258
259
  	  Select this to enable optimizations for IBM zEnterprise 114 and 196
  	  (2818 and 2817 series). The kernel will be slightly faster but will
  	  not work on older machines.
f861e4057   Heiko Carstens   [S390] Add config...
260

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
261
262
263
  endchoice
  
  config PACK_STACK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
264
265
  	def_bool y
  	prompt "Pack kernel stack"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
266
267
268
269
270
271
272
273
274
275
276
277
  	help
  	  This option enables the compiler option -mkernel-backchain if it
  	  is available. If the option is available the compiler supports
  	  the new stack layout which dramatically reduces the minimum stack
  	  frame size. With an old compiler a non-leaf function needs a
  	  minimum of 96 bytes on 31 bit and 160 bytes on 64 bit. With
  	  -mkernel-backchain the minimum size drops to 16 byte on 31 bit
  	  and 24 byte on 64 bit.
  
  	  Say Y if you are unsure.
  
  config SMALL_STACK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
278
279
  	def_bool n
  	prompt "Use 8kb for kernel stack instead of 16kb"
7f5a8ba6b   Heiko Carstens   [S390] No more 4k...
280
  	depends on PACK_STACK && 64BIT && !LOCKDEP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
281
282
  	help
  	  If you say Y here and the compiler supports the -mkernel-backchain
7f5a8ba6b   Heiko Carstens   [S390] No more 4k...
283
284
285
286
  	  option the kernel will use a smaller kernel stack size. The reduced
  	  size is 8kb instead of 16kb. This allows to run more threads on a
  	  system and reduces the pressure on the memory management for higher
  	  order page allocations.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
287
288
  
  	  Say N if you are unsure.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
289
  config CHECK_STACK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
290
291
  	def_bool y
  	prompt "Detect kernel stack overflow"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
  	help
  	  This option enables the compiler option -mstack-guard and
  	  -mstack-size if they are available. If the compiler supports them
  	  it will emit additional code to each function prolog to trigger
  	  an illegal operation if the kernel stack is about to overflow.
  
  	  Say N if you are unsure.
  
  config STACK_GUARD
  	int "Size of the guard area (128-1024)"
  	range 128 1024
  	depends on CHECK_STACK
  	default "256"
  	help
  	  This allows you to specify the size of the guard area at the lower
  	  end of the kernel stack. If the kernel stack points into the guard
  	  area on function entry an illegal operation is triggered. The size
  	  needs to be a power of 2. Please keep in mind that the size of an
  	  interrupt frame is 184 bytes for 31 bit and 328 bytes on 64 bit.
  	  The minimum size for the stack guard should be 256 for 31 bit and
  	  512 for 64 bit.
2c190da47   Jan Glauber   [S390] remove red...
313
  config WARN_DYNAMIC_STACK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
314
  	def_bool n
2c190da47   Jan Glauber   [S390] remove red...
315
  	prompt "Emit compiler warnings for function with dynamic stack usage"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
316
  	help
2c190da47   Jan Glauber   [S390] remove red...
317
318
319
  	  This option enables the compiler option -mwarn-dynamicstack. If the
  	  compiler supports this options generates warnings for functions
  	  that dynamically allocate stack space using alloca.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
320
321
  
  	  Say N if you are unsure.
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
322
323
324
  comment "Kernel preemption"
  
  source "kernel/Kconfig.preempt"
17f345808   Heiko Carstens   [S390] Convert to...
325
326
327
328
  config ARCH_SPARSEMEM_ENABLE
  	def_bool y
  	select SPARSEMEM_VMEMMAP_ENABLE
  	select SPARSEMEM_VMEMMAP
148f1678f   Heiko Carstens   [S390] sparsemem:...
329
  	select SPARSEMEM_STATIC if !64BIT
17f345808   Heiko Carstens   [S390] Convert to...
330
331
332
  
  config ARCH_SPARSEMEM_DEFAULT
  	def_bool y
97195d6b4   Hans-Joachim Picht   [S390] fix sparse...
333
  config ARCH_SELECT_MEMORY_MODEL
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
334
  	def_bool y
97195d6b4   Hans-Joachim Picht   [S390] fix sparse...
335

421c175c4   Heiko Carstens   [S390] Add suppor...
336
  config ARCH_ENABLE_MEMORY_HOTPLUG
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
337
  	def_bool y if SPARSEMEM
421c175c4   Heiko Carstens   [S390] Add suppor...
338

7e9238fbc   Gerald Schaefer   [S390] Add suppor...
339
340
  config ARCH_ENABLE_MEMORY_HOTREMOVE
  	def_bool y
155af2f95   Hans-Joachim Picht   [S390] s390: hibe...
341
  config ARCH_HIBERNATION_POSSIBLE
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
342
  	def_bool y if 64BIT
155af2f95   Hans-Joachim Picht   [S390] s390: hibe...
343

3f22ab276   Dave Hansen   [PATCH] make each...
344
  source "mm/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
345
  comment "I/O subsystem configuration"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
346
  config QDIO
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
347
348
  	def_tristate y
  	prompt "QDIO support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
349
  	---help---
8129ee164   Frank Pavlic   [PATCH] s390: qdi...
350
  	  This driver provides the Queued Direct I/O base support for
efca13bc7   Ursula Braun   [S390] qdio: remo...
351
  	  IBM System z.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
352
353
354
355
356
  
  	  To compile this driver as a module, choose M here: the
  	  module will be called qdio.
  
  	  If unsure, say Y.
9d92a7e1b   Cornelia Huck   [S390] cio: Add c...
357
  config CHSC_SCH
d9c11b1e8   Sebastian Ott   [S390] reset defa...
358
  	def_tristate m
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
359
  	prompt "Support for CHSC subchannels"
9d92a7e1b   Cornelia Huck   [S390] cio: Add c...
360
361
362
363
364
365
366
367
368
369
370
371
372
  	help
  	  This driver allows usage of CHSC subchannels. A CHSC subchannel
  	  is usually present on LPAR only.
  	  The driver creates a device /dev/chsc, which may be used to
  	  obtain I/O configuration information about the machine and
  	  to issue asynchronous chsc commands (DANGEROUS).
  	  You will usually only want to use this interface on a special
  	  LPAR designated for system management.
  
  	  To compile this driver as a module, choose M here: the
  	  module will be called chsc_sch.
  
  	  If unsure, say N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
373
  comment "Misc"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
374
  config IPL
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
375
376
  	def_bool y
  	prompt "Builtin IPL record support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
377
378
379
380
381
382
383
384
385
  	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
46e7951f9   Heiko Carstens   [S390] Change def...
386
  	default IPL_VM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
  	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.
  
  config IPL_TAPE
  	bool "tape"
  
  config IPL_VM
  	bool "vm_reader"
  
  endchoice
  
  source "fs/Kconfig.binfmt"
684de39bd   Heiko Carstens   [S390] Fix IPL fr...
402
403
404
  config FORCE_MAX_ZONEORDER
  	int
  	default "9"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
405
  config PFAULT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
406
407
  	def_bool y
  	prompt "Pseudo page fault support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
408
409
410
411
412
413
414
415
416
417
418
  	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
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
419
420
  	def_bool y
  	prompt "VM shared kernel support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
421
422
423
424
  	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.
9c9c17613   Heiko Carstens   [S390] nss: disab...
425
426
  	  Also if a kernel was IPL'ed from a shared segment the kexec system
  	  call will not work.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
427
428
429
430
  	  You should only select this option if you know what you are
  	  doing and want to exploit this feature.
  
  config CMM
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
431
432
  	def_tristate n
  	prompt "Cooperative memory management"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
433
434
435
436
437
438
439
440
441
  	help
  	  Select this option, if you want to enable the kernel interface
  	  to reduce the memory size of the system. This is accomplished
  	  by allocating pages of memory and put them "on hold". This only
  	  makes sense for a system running under VM where the unused pages
  	  will be reused by VM for other guest systems. The interface
  	  allows an external monitor to balance memory of many systems.
  	  Everybody who wants to run Linux under VM should select this
  	  option.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
442
  config CMM_IUCV
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
443
444
  	def_bool y
  	prompt "IUCV special message interface to cooperative memory management"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
445
446
447
448
  	depends on CMM && (SMSGIUCV=y || CMM=SMSGIUCV)
  	help
  	  Select this option to enable the special message interface to
  	  the cooperative memory management.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
449
  config APPLDATA_BASE
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
450
451
  	def_bool n
  	prompt "Linux - VM Monitor Stream, base infrastructure"
c185b783b   Martin Schwidefsky   [S390] Remove con...
452
  	depends on PROC_FS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
453
454
455
456
457
458
459
460
461
462
463
464
465
  	help
  	  This provides a kernel interface for creating and updating z/VM APPLDATA
  	  monitor records. The monitor records are updated at certain time
  	  intervals, once the timer is started.
  	  Writing 1 or 0 to /proc/appldata/timer starts(1) or stops(0) the timer,
  	  i.e. enables or disables monitoring on the Linux side.
  	  A custom interval value (in seconds) can be written to
  	  /proc/appldata/interval.
  
  	  Defaults are 60 seconds interval and timer off.
  	  The /proc entries can also be read from, showing the current settings.
  
  config APPLDATA_MEM
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
466
467
  	def_tristate m
  	prompt "Monitor memory management statistics"
62fb2ba3d   Al Viro   [PATCH] appldata_...
468
  	depends on APPLDATA_BASE && VM_EVENT_COUNTERS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
469
470
471
472
473
474
475
476
477
478
479
480
481
482
  	help
  	  This provides memory management related data to the Linux - VM Monitor
  	  Stream, like paging/swapping rate, memory utilisation, etc.
  	  Writing 1 or 0 to /proc/appldata/memory creates(1) or removes(0) a z/VM
  	  APPLDATA monitor record, i.e. enables or disables monitoring this record
  	  on the z/VM side.
  
  	  Default is disabled.
  	  The /proc entry can also be read from, showing the current settings.
  
  	  This can also be compiled as a module, which will be called
  	  appldata_mem.o.
  
  config APPLDATA_OS
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
483
484
  	def_tristate m
  	prompt "Monitor OS statistics"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
485
486
487
488
489
490
491
492
493
494
495
496
497
  	depends on APPLDATA_BASE
  	help
  	  This provides OS related data to the Linux - VM Monitor Stream, like
  	  CPU utilisation, etc.
  	  Writing 1 or 0 to /proc/appldata/os creates(1) or removes(0) a z/VM
  	  APPLDATA monitor record, i.e. enables or disables monitoring this record
  	  on the z/VM side.
  
  	  Default is disabled.
  	  This can also be compiled as a module, which will be called
  	  appldata_os.o.
  
  config APPLDATA_NET_SUM
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
498
499
  	def_tristate m
  	prompt "Monitor overall network statistics"
70193af91   Sachin Sant   [S390] Fix applda...
500
  	depends on APPLDATA_BASE && NET
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
501
502
503
504
505
506
507
508
509
510
511
  	help
  	  This provides network related data to the Linux - VM Monitor Stream,
  	  currently there is only a total sum of network I/O statistics, no
  	  per-interface data.
  	  Writing 1 or 0 to /proc/appldata/net_sum creates(1) or removes(0) a z/VM
  	  APPLDATA monitor record, i.e. enables or disables monitoring this record
  	  on the z/VM side.
  
  	  Default is disabled.
  	  This can also be compiled as a module, which will be called
  	  appldata_net_sum.o.
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
512
  source kernel/Kconfig.hz
24bbb1faf   Michael Holzheu   [PATCH] s390_hypf...
513
  config S390_HYPFS_FS
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
514
515
  	def_bool y
  	prompt "s390 hypervisor file system support"
24bbb1faf   Michael Holzheu   [PATCH] s390_hypf...
516
  	select SYS_HYPERVISOR
24bbb1faf   Michael Holzheu   [PATCH] s390_hypf...
517
518
519
  	help
  	  This is a virtual file system intended to provide accounting
  	  information in an s390 hypervisor environment.
cf13f0eaf   Heiko Carstens   [PATCH] kexec: s3...
520
  config KEXEC
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
521
522
  	def_bool n
  	prompt "kexec system call"
cf13f0eaf   Heiko Carstens   [PATCH] kexec: s3...
523
524
525
526
  	help
  	  kexec is a system call that implements the ability to shutdown your
  	  current kernel, and to start another kernel.  It is like a reboot
  	  but is independent of hardware/microcode support.
60a0c68df   Michael Holzheu   [S390] kdump back...
527
528
529
  config CRASH_DUMP
  	bool "kernel crash dumps"
  	depends on 64BIT
96603b505   Michael Holzheu   [S390] Kconfig: S...
530
  	select KEXEC
60a0c68df   Michael Holzheu   [S390] kdump back...
531
532
533
534
535
536
  	help
  	  Generate crash dump after being started by kexec.
  	  Crash dump kernels are loaded in the main kernel with kexec-tools
  	  into a specially reserved region and then later executed after
  	  a crash by kdump/kexec.
  	  For more details see Documentation/kdump/kdump.txt
411ed3225   Michael Holzheu   [S390] zfcpdump s...
537
  config ZFCPDUMP
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
538
539
  	def_bool n
  	prompt "zfcpdump support"
411ed3225   Michael Holzheu   [S390] zfcpdump s...
540
  	select SMP
411ed3225   Michael Holzheu   [S390] zfcpdump s...
541
542
  	help
  	  Select this option if you want to build an zfcpdump enabled kernel.
e403149c9   Dirk Hohndel   Kbuild/doc: fix l...
543
  	  Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
411ed3225   Michael Holzheu   [S390] zfcpdump s...
544

fa5877439   Carsten Otte   s390: KVM guest: ...
545
  config S390_GUEST
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
546
547
  	def_bool y
  	prompt "s390 guest support for KVM (EXPERIMENTAL)"
fa5877439   Carsten Otte   s390: KVM guest: ...
548
  	depends on 64BIT && EXPERIMENTAL
80629b0b0   Christian Borntraeger   [S390] kvm-s390: ...
549
  	select VIRTUALIZATION
fa5877439   Carsten Otte   s390: KVM guest: ...
550
551
  	select VIRTIO
  	select VIRTIO_RING
faeba830b   Christian Borntraeger   s390: use virtio_...
552
  	select VIRTIO_CONSOLE
fa5877439   Carsten Otte   s390: KVM guest: ...
553
  	help
20766c083   Christian Borntraeger   KVM: s390: change...
554
555
556
557
  	  Select this option if you want to run the kernel as a guest under
  	  the KVM hypervisor. This will add detection for KVM as well  as a
  	  virtio transport. If KVM is detected, the virtio console will be
  	  the default console.
bcf5cef7d   Heiko Carstens   [S390] secure com...
558
559
  
  config SECCOMP
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
560
561
  	def_bool y
  	prompt "Enable seccomp to safely compute untrusted bytecode"
bcf5cef7d   Heiko Carstens   [S390] secure com...
562
  	depends on PROC_FS
bcf5cef7d   Heiko Carstens   [S390] secure com...
563
564
565
566
567
568
569
570
571
572
573
574
  	help
  	  This kernel feature is useful for number crunching applications
  	  that may need to compute untrusted bytecode during their
  	  execution. By using pipes or other transports made available to
  	  the process as file descriptors supporting the read/write
  	  syscalls, it's possible to isolate those applications in
  	  their own address space using seccomp. Once seccomp is
  	  enabled via /proc/<pid>/seccomp, it cannot be disabled
  	  and the task is only allowed to execute a few safe syscalls
  	  defined by each seccomp mode.
  
  	  If unsure, say Y.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
575
  endmenu
155af2f95   Hans-Joachim Picht   [S390] s390: hibe...
576
577
578
579
580
  menu "Power Management"
  
  source "kernel/power/Kconfig"
  
  endmenu
d5950b435   Sam Ravnborg   [NET]: add a top-...
581
  source "net/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
582
  config PCMCIA
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
583
  	def_bool n
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
584

61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
585
586
  config CCW
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
587

61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
588
  source "drivers/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
589
590
  
  source "fs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
591
592
593
594
595
596
597
  source "arch/s390/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"
77b455f1b   Christian Borntraeger   KVM: s390: add kv...
598
599
  
  source "arch/s390/kvm/Kconfig"