Blame view

arch/s390/Kconfig 17.7 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
80217147a   Martin Schwidefsky   [S390] lockless g...
81
  	select HAVE_GET_USER_PAGES_FAST
34b133f8e   Gerald Schaefer   [S390] mutex: Int...
82
  	select HAVE_ARCH_MUTEX_CPU_RELAX
5373db886   Jan Glauber   jump label: Add s...
83
  	select HAVE_ARCH_JUMP_LABEL if !MARCH_G5
36409f635   Martin Schwidefsky   [S390] use generi...
84
  	select HAVE_RCU_TABLE_FREE if SMP
85055dd80   Martin Schwidefsky   PM / Hibernate: I...
85
  	select ARCH_SAVE_PAGE_KEYS if HIBERNATION
6beb00092   Thomas Gleixner   locking: Make inl...
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
  	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
114

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

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

07606309f   Martin Schwidefsky   [S390] define KTI...
133
134
  config KTIME_SCALAR
  	def_bool 32BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
135
  config SMP
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
136
137
  	def_bool y
  	prompt "Symmetric multi-processing support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
138
139
140
141
142
143
144
145
146
147
  	---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...
148
149
  	  See also the SMP-HOWTO available at
  	  <http://www.tldp.org/docs.html#howto>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
150
151
152
153
154
155
156
  
  	  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...
157
158
  	default "32" if !64BIT
  	default "64" if 64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
159
160
161
162
163
164
165
166
167
  	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...
168
169
  	def_bool y
  	prompt "Support for hot-pluggable CPUs"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
170
171
  	depends on SMP
  	select HOTPLUG
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
172
173
174
175
  	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: ...
176
177
178
179
180
181
182
183
  config SCHED_MC
  	def_bool y
  	prompt "Multi-core scheduler support"
  	depends on SMP
  	help
  	  Multi-core scheduler support improves the CPU scheduler's decision
  	  making when dealing with multi-core CPU chips at a cost of slightly
  	  increased overhead in some places.
4cb14bc8c   Heiko Carstens   topology, s390: A...
184
  config SCHED_BOOK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
185
186
  	def_bool y
  	prompt "Book scheduler support"
8d11e0218   Heiko Carstens   [S390] topology: ...
187
  	depends on SMP && SCHED_MC
4cb14bc8c   Heiko Carstens   topology, s390: A...
188
189
190
  	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
191
  config MATHEMU
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
192
193
  	def_bool y
  	prompt "IEEE FPU emulation"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
194
195
196
  	depends on MARCH_G5
  	help
  	  This option is required for IEEE compliant floating point arithmetic
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
197
  	  on older ESA/390 machines. Say Y unless you know your machine doesn't
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
198
  	  need this.
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
199
  config COMPAT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
200
201
  	def_bool y
  	prompt "Kernel support for 31 bit emulation"
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
202
  	depends on 64BIT
63506c419   Martin Schwidefsky   [S390] Introduce ...
203
  	select COMPAT_BINFMT_ELF
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
204
205
206
207
208
  	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
209
  config SYSVIPC_COMPAT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
210
  	def_bool y if COMPAT && SYSVIPC
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
211

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

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
215
216
217
218
219
220
221
  comment "Code generation options"
  
  choice
  	prompt "Processor type"
  	default MARCH_G5
  
  config MARCH_G5
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
222
  	bool "System/390 model G5 and G6"
347a8dc3b   Martin Schwidefsky   [PATCH] s390: cle...
223
  	depends on !64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
224
225
  	help
  	  Select this to build a 31 bit kernel that works
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
226
  	  on all ESA/390 and z/Architecture machines.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
227
228
  
  config MARCH_Z900
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
229
  	bool "IBM zSeries model z800 and z900"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
230
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
231
232
233
  	  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
234
235
  
  config MARCH_Z990
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
236
  	bool "IBM zSeries model z890 and z990"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
237
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
238
239
240
  	  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
241

0efa47036   Christian Borntraeger   [S390] config opt...
242
243
244
  config MARCH_Z9_109
  	bool "IBM System z9"
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
245
246
247
  	  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...
248

e37f50e18   Martin Schwidefsky   [S390] Add proces...
249
250
251
  config MARCH_Z10
  	bool "IBM System z10"
  	help
db81a23d8   Heiko Carstens   [S390] Kconfig: a...
252
253
254
  	  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...
255

f861e4057   Heiko Carstens   [S390] Add config...
256
  config MARCH_Z196
3a81b1714   Heiko Carstens   [S390] Add suppor...
257
  	bool "IBM zEnterprise 114 and 196"
f861e4057   Heiko Carstens   [S390] Add config...
258
  	help
3a81b1714   Heiko Carstens   [S390] Add suppor...
259
260
261
  	  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...
262

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
263
264
265
  endchoice
  
  config PACK_STACK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
266
267
  	def_bool y
  	prompt "Pack kernel stack"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
268
269
270
271
272
273
274
275
276
277
278
279
  	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...
280
281
  	def_bool n
  	prompt "Use 8kb for kernel stack instead of 16kb"
7f5a8ba6b   Heiko Carstens   [S390] No more 4k...
282
  	depends on PACK_STACK && 64BIT && !LOCKDEP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
283
284
  	help
  	  If you say Y here and the compiler supports the -mkernel-backchain
7f5a8ba6b   Heiko Carstens   [S390] No more 4k...
285
286
287
288
  	  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
289
290
  
  	  Say N if you are unsure.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
291
  config CHECK_STACK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
292
293
  	def_bool y
  	prompt "Detect kernel stack overflow"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
  	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...
315
  config WARN_DYNAMIC_STACK
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
316
  	def_bool n
2c190da47   Jan Glauber   [S390] remove red...
317
  	prompt "Emit compiler warnings for function with dynamic stack usage"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
318
  	help
2c190da47   Jan Glauber   [S390] remove red...
319
320
321
  	  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
322
323
  
  	  Say N if you are unsure.
39b742f95   Heiko Carstens   [S390] Use add_ac...
324
325
  config ARCH_POPULATES_NODE_MAP
  	def_bool y
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
326
327
328
  comment "Kernel preemption"
  
  source "kernel/Kconfig.preempt"
17f345808   Heiko Carstens   [S390] Convert to...
329
330
331
332
  config ARCH_SPARSEMEM_ENABLE
  	def_bool y
  	select SPARSEMEM_VMEMMAP_ENABLE
  	select SPARSEMEM_VMEMMAP
148f1678f   Heiko Carstens   [S390] sparsemem:...
333
  	select SPARSEMEM_STATIC if !64BIT
17f345808   Heiko Carstens   [S390] Convert to...
334
335
336
  
  config ARCH_SPARSEMEM_DEFAULT
  	def_bool y
97195d6b4   Hans-Joachim Picht   [S390] fix sparse...
337
  config ARCH_SELECT_MEMORY_MODEL
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
338
  	def_bool y
97195d6b4   Hans-Joachim Picht   [S390] fix sparse...
339

421c175c4   Heiko Carstens   [S390] Add suppor...
340
  config ARCH_ENABLE_MEMORY_HOTPLUG
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
341
  	def_bool y if SPARSEMEM
421c175c4   Heiko Carstens   [S390] Add suppor...
342

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

3f22ab276   Dave Hansen   [PATCH] make each...
348
  source "mm/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
349
  comment "I/O subsystem configuration"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
350
  config QDIO
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
351
352
  	def_tristate y
  	prompt "QDIO support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
353
  	---help---
8129ee164   Frank Pavlic   [PATCH] s390: qdi...
354
  	  This driver provides the Queued Direct I/O base support for
efca13bc7   Ursula Braun   [S390] qdio: remo...
355
  	  IBM System z.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
356
357
358
359
360
  
  	  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...
361
  config CHSC_SCH
d9c11b1e8   Sebastian Ott   [S390] reset defa...
362
  	def_tristate m
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
363
  	prompt "Support for CHSC subchannels"
9d92a7e1b   Cornelia Huck   [S390] cio: Add c...
364
365
366
367
368
369
370
371
372
373
374
375
376
  	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
377
  comment "Misc"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
378
  config IPL
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
379
380
  	def_bool y
  	prompt "Builtin IPL record support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
381
382
383
384
385
386
387
388
389
  	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...
390
  	default IPL_VM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
  	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...
406
407
408
  config FORCE_MAX_ZONEORDER
  	int
  	default "9"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
409
  config PFAULT
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
410
411
  	def_bool y
  	prompt "Pseudo page fault support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
412
413
414
415
416
417
418
419
420
421
422
  	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...
423
424
  	def_bool y
  	prompt "VM shared kernel support"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
425
426
427
428
  	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...
429
430
  	  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
431
432
433
434
  	  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...
435
436
  	def_tristate n
  	prompt "Cooperative memory management"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
437
438
439
440
441
442
443
444
445
  	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
446
  config CMM_IUCV
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
447
448
  	def_bool y
  	prompt "IUCV special message interface to cooperative memory management"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
449
450
451
452
  	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
453
  config APPLDATA_BASE
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
454
455
  	def_bool n
  	prompt "Linux - VM Monitor Stream, base infrastructure"
c185b783b   Martin Schwidefsky   [S390] Remove con...
456
  	depends on PROC_FS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
457
458
459
460
461
462
463
464
465
466
467
468
469
  	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...
470
471
  	def_tristate m
  	prompt "Monitor memory management statistics"
62fb2ba3d   Al Viro   [PATCH] appldata_...
472
  	depends on APPLDATA_BASE && VM_EVENT_COUNTERS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
473
474
475
476
477
478
479
480
481
482
483
484
485
486
  	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...
487
488
  	def_tristate m
  	prompt "Monitor OS statistics"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
489
490
491
492
493
494
495
496
497
498
499
500
501
  	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...
502
503
  	def_tristate m
  	prompt "Monitor overall network statistics"
70193af91   Sachin Sant   [S390] Fix applda...
504
  	depends on APPLDATA_BASE && NET
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
505
506
507
508
509
510
511
512
513
514
515
  	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...
516
  source kernel/Kconfig.hz
24bbb1faf   Michael Holzheu   [PATCH] s390_hypf...
517
  config S390_HYPFS_FS
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
518
519
  	def_bool y
  	prompt "s390 hypervisor file system support"
24bbb1faf   Michael Holzheu   [PATCH] s390_hypf...
520
  	select SYS_HYPERVISOR
24bbb1faf   Michael Holzheu   [PATCH] s390_hypf...
521
522
523
  	help
  	  This is a virtual file system intended to provide accounting
  	  information in an s390 hypervisor environment.
cf13f0eaf   Heiko Carstens   [PATCH] kexec: s3...
524
  config KEXEC
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
525
526
  	def_bool n
  	prompt "kexec system call"
cf13f0eaf   Heiko Carstens   [PATCH] kexec: s3...
527
528
529
530
  	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...
531
532
533
  config CRASH_DUMP
  	bool "kernel crash dumps"
  	depends on 64BIT
96603b505   Michael Holzheu   [S390] Kconfig: S...
534
  	select KEXEC
60a0c68df   Michael Holzheu   [S390] kdump back...
535
536
537
538
539
540
  	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...
541
  config ZFCPDUMP
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
542
543
  	def_bool n
  	prompt "zfcpdump support"
411ed3225   Michael Holzheu   [S390] zfcpdump s...
544
  	select SMP
411ed3225   Michael Holzheu   [S390] zfcpdump s...
545
546
  	help
  	  Select this option if you want to build an zfcpdump enabled kernel.
e403149c9   Dirk Hohndel   Kbuild/doc: fix l...
547
  	  Refer to <file:Documentation/s390/zfcpdump.txt> for more details on this.
411ed3225   Michael Holzheu   [S390] zfcpdump s...
548

fa5877439   Carsten Otte   s390: KVM guest: ...
549
  config S390_GUEST
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
550
551
  	def_bool y
  	prompt "s390 guest support for KVM (EXPERIMENTAL)"
fa5877439   Carsten Otte   s390: KVM guest: ...
552
  	depends on 64BIT && EXPERIMENTAL
80629b0b0   Christian Borntraeger   [S390] kvm-s390: ...
553
  	select VIRTUALIZATION
fa5877439   Carsten Otte   s390: KVM guest: ...
554
555
  	select VIRTIO
  	select VIRTIO_RING
faeba830b   Christian Borntraeger   s390: use virtio_...
556
  	select VIRTIO_CONSOLE
fa5877439   Carsten Otte   s390: KVM guest: ...
557
  	help
20766c083   Christian Borntraeger   KVM: s390: change...
558
559
560
561
  	  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...
562
563
  
  config SECCOMP
6f9a3c330   Martin Schwidefsky   [S390] cleanup s3...
564
565
  	def_bool y
  	prompt "Enable seccomp to safely compute untrusted bytecode"
bcf5cef7d   Heiko Carstens   [S390] secure com...
566
  	depends on PROC_FS
bcf5cef7d   Heiko Carstens   [S390] secure com...
567
568
569
570
571
572
573
574
575
576
577
578
  	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
579
  endmenu
155af2f95   Hans-Joachim Picht   [S390] s390: hibe...
580
581
582
583
584
  menu "Power Management"
  
  source "kernel/power/Kconfig"
  
  endmenu
d5950b435   Sam Ravnborg   [NET]: add a top-...
585
  source "net/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
586
  config PCMCIA
61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
587
  	def_bool n
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
588

61d48c2c3   Martin Schwidefsky   [S390] Kconfig: u...
589
590
  config CCW
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
591

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