@@ -217,7 +217,7 @@ config COMPAT
217217 def_bool y
218218 prompt "Kernel support for 31 bit emulation"
219219 depends on 64BIT
220- select COMPAT_BINFMT_ELF
220+ select COMPAT_BINFMT_ELF if BINFMT_ELF
221221 select ARCH_WANT_OLD_COMPAT_IPC
222222 help
223223 Select this option if you want to enable your system kernel to
@@ -234,6 +234,25 @@ config KEYS_COMPAT
234234config AUDIT_ARCH
235235 def_bool y
236236
237+ config HAVE_MARCH_Z900_FEATURES
238+ def_bool n
239+
240+ config HAVE_MARCH_Z990_FEATURES
241+ def_bool n
242+ select HAVE_MARCH_Z900_FEATURES
243+
244+ config HAVE_MARCH_Z9_109_FEATURES
245+ def_bool n
246+ select HAVE_MARCH_Z990_FEATURES
247+
248+ config HAVE_MARCH_Z10_FEATURES
249+ def_bool n
250+ select HAVE_MARCH_Z9_109_FEATURES
251+
252+ config HAVE_MARCH_Z196_FEATURES
253+ def_bool n
254+ select HAVE_MARCH_Z10_FEATURES
255+
237256comment "Code generation options"
238257
239258choice
@@ -249,34 +268,39 @@ config MARCH_G5
249268
250269config MARCH_Z900
251270 bool "IBM zSeries model z800 and z900"
271+ select HAVE_MARCH_Z900_FEATURES if 64BIT
252272 help
253273 Select this to enable optimizations for model z800/z900 (2064 and
254274 2066 series). This will enable some optimizations that are not
255275 available on older ESA/390 (31 Bit) only CPUs.
256276
257277config MARCH_Z990
258278 bool "IBM zSeries model z890 and z990"
279+ select HAVE_MARCH_Z990_FEATURES if 64BIT
259280 help
260281 Select this to enable optimizations for model z890/z990 (2084 and
261282 2086 series). The kernel will be slightly faster but will not work
262283 on older machines.
263284
264285config MARCH_Z9_109
265286 bool "IBM System z9"
287+ select HAVE_MARCH_Z9_109_FEATURES if 64BIT
266288 help
267289 Select this to enable optimizations for IBM System z9 (2094 and
268290 2096 series). The kernel will be slightly faster but will not work
269291 on older machines.
270292
271293config MARCH_Z10
272294 bool "IBM System z10"
295+ select HAVE_MARCH_Z10_FEATURES if 64BIT
273296 help
274297 Select this to enable optimizations for IBM System z10 (2097 and
275298 2098 series). The kernel will be slightly faster but will not work
276299 on older machines.
277300
278301config MARCH_Z196
279302 bool "IBM zEnterprise 114 and 196"
303+ select HAVE_MARCH_Z196_FEATURES if 64BIT
280304 help
281305 Select this to enable optimizations for IBM zEnterprise 114 and 196
282306 (2818 and 2817 series). The kernel will be slightly faster but will
@@ -406,33 +430,6 @@ config CHSC_SCH
406430
407431comment "Misc"
408432
409- config IPL
410- def_bool y
411- prompt "Builtin IPL record support"
412- help
413- If you want to use the produced kernel to IPL directly from a
414- device, you have to merge a bootsector specific to the device
415- into the first bytes of the kernel. You will have to select the
416- IPL device.
417-
418- choice
419- prompt "IPL method generated into head.S"
420- depends on IPL
421- default IPL_VM
422- help
423- Select "tape" if you want to IPL the image from a Tape.
424-
425- Select "vm_reader" if you are running under VM/ESA and want
426- to IPL the image from the emulated card reader.
427-
428- config IPL_TAPE
429- bool "tape"
430-
431- config IPL_VM
432- bool "vm_reader"
433-
434- endchoice
435-
436433source "fs/Kconfig.binfmt"
437434
438435config FORCE_MAX_ZONEORDER
@@ -569,7 +566,7 @@ config KEXEC
569566
570567config CRASH_DUMP
571568 bool "kernel crash dumps"
572- depends on 64BIT
569+ depends on 64BIT && SMP
573570 select KEXEC
574571 help
575572 Generate crash dump after being started by kexec.
0 commit comments