aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-14 23:51:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-14 23:51:44 -0400
commitbdfa54dfd9eea001274dbcd622657a904fe43b81 (patch)
treeab251ab359e519656d7061bbe8db4c7ab355404b /arch/s390/Kconfig
parent2481bc75283ea10e75d5fb1a8b42af363fc4b45c (diff)
parenta1307bba1adcc9b338511180fa94a54b4c3f534b (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 updates from Martin Schwidefsky: "The major change in this merge is the removal of the support for 31-bit kernels. Naturally 31-bit user space will continue to work via the compat layer. And then some cleanup, some improvements and bug fixes" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (23 commits) s390/smp: wait until secondaries are active & online s390/hibernate: fix save and restore of kernel text section s390/cacheinfo: add missing facility check s390/syscalls: simplify syscall_get_arch() s390/irq: enforce correct irqclass_sub_desc array size s390: remove "64" suffix from mem64.S and swsusp_asm64.S s390/ipl: cleanup macro usage s390/ipl: cleanup shutdown_action attributes s390/ipl: cleanup bin attr usage s390/uprobes: fix address space annotation s390: add missing arch_release_task_struct() declaration s390: make couple of functions and variables static s390/maccess: improve s390_kernel_write() s390/maccess: remove potentially broken probe_kernel_write() s390/watchdog: support for KVM hypervisors and delete pr_info messages s390/watchdog: enable KEEPALIVE for /dev/watchdog s390/dasd: remove setting of scheduler from driver s390/traps: panic() instead of die() on translation exception s390: remove test_facility(2) (== z/Architecture mode active) checks s390/cmpxchg: simplify cmpxchg_double ...
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig79
1 files changed, 21 insertions, 58 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 6321fd8bf813..a5ced5c3c1e0 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -35,7 +35,7 @@ config GENERIC_BUG_RELATIVE_POINTERS
35 def_bool y 35 def_bool y
36 36
37config ARCH_DMA_ADDR_T_64BIT 37config ARCH_DMA_ADDR_T_64BIT
38 def_bool 64BIT 38 def_bool y
39 39
40config GENERIC_LOCKBREAK 40config GENERIC_LOCKBREAK
41 def_bool y if SMP && PREEMPT 41 def_bool y if SMP && PREEMPT
@@ -59,7 +59,7 @@ config PCI_QUIRKS
59 def_bool n 59 def_bool n
60 60
61config ARCH_SUPPORTS_UPROBES 61config ARCH_SUPPORTS_UPROBES
62 def_bool 64BIT 62 def_bool y
63 63
64config S390 64config S390
65 def_bool y 65 def_bool y
@@ -111,19 +111,19 @@ config S390
111 select GENERIC_TIME_VSYSCALL 111 select GENERIC_TIME_VSYSCALL
112 select HAVE_ALIGNED_STRUCT_PAGE if SLUB 112 select HAVE_ALIGNED_STRUCT_PAGE if SLUB
113 select HAVE_ARCH_AUDITSYSCALL 113 select HAVE_ARCH_AUDITSYSCALL
114 select HAVE_ARCH_JUMP_LABEL if !MARCH_G5 114 select HAVE_ARCH_JUMP_LABEL
115 select HAVE_ARCH_SECCOMP_FILTER 115 select HAVE_ARCH_SECCOMP_FILTER
116 select HAVE_ARCH_TRACEHOOK 116 select HAVE_ARCH_TRACEHOOK
117 select HAVE_ARCH_TRANSPARENT_HUGEPAGE if 64BIT 117 select HAVE_ARCH_TRANSPARENT_HUGEPAGE
118 select HAVE_BPF_JIT if 64BIT && PACK_STACK 118 select HAVE_BPF_JIT if PACK_STACK
119 select HAVE_CMPXCHG_DOUBLE 119 select HAVE_CMPXCHG_DOUBLE
120 select HAVE_CMPXCHG_LOCAL 120 select HAVE_CMPXCHG_LOCAL
121 select HAVE_DEBUG_KMEMLEAK 121 select HAVE_DEBUG_KMEMLEAK
122 select HAVE_DYNAMIC_FTRACE if 64BIT 122 select HAVE_DYNAMIC_FTRACE
123 select HAVE_DYNAMIC_FTRACE_WITH_REGS if 64BIT 123 select HAVE_DYNAMIC_FTRACE_WITH_REGS
124 select HAVE_FTRACE_MCOUNT_RECORD 124 select HAVE_FTRACE_MCOUNT_RECORD
125 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT 125 select HAVE_FUNCTION_GRAPH_TRACER
126 select HAVE_FUNCTION_TRACER if 64BIT 126 select HAVE_FUNCTION_TRACER
127 select HAVE_FUTEX_CMPXCHG if FUTEX 127 select HAVE_FUTEX_CMPXCHG if FUTEX
128 select HAVE_KERNEL_BZIP2 128 select HAVE_KERNEL_BZIP2
129 select HAVE_KERNEL_GZIP 129 select HAVE_KERNEL_GZIP
@@ -133,7 +133,7 @@ config S390
133 select HAVE_KERNEL_XZ 133 select HAVE_KERNEL_XZ
134 select HAVE_KPROBES 134 select HAVE_KPROBES
135 select HAVE_KRETPROBES 135 select HAVE_KRETPROBES
136 select HAVE_KVM if 64BIT 136 select HAVE_KVM
137 select HAVE_LIVEPATCH 137 select HAVE_LIVEPATCH
138 select HAVE_MEMBLOCK 138 select HAVE_MEMBLOCK
139 select HAVE_MEMBLOCK_NODE_MAP 139 select HAVE_MEMBLOCK_NODE_MAP
@@ -143,7 +143,6 @@ config S390
143 select HAVE_PERF_EVENTS 143 select HAVE_PERF_EVENTS
144 select HAVE_REGS_AND_STACK_ACCESS_API 144 select HAVE_REGS_AND_STACK_ACCESS_API
145 select HAVE_SYSCALL_TRACEPOINTS 145 select HAVE_SYSCALL_TRACEPOINTS
146 select HAVE_UID16 if 32BIT
147 select HAVE_VIRT_CPU_ACCOUNTING 146 select HAVE_VIRT_CPU_ACCOUNTING
148 select MODULES_USE_ELF_RELA 147 select MODULES_USE_ELF_RELA
149 select NO_BOOTMEM 148 select NO_BOOTMEM
@@ -199,18 +198,11 @@ config HAVE_MARCH_Z13_FEATURES
199 198
200choice 199choice
201 prompt "Processor type" 200 prompt "Processor type"
202 default MARCH_G5 201 default MARCH_Z900
203
204config MARCH_G5
205 bool "System/390 model G5 and G6"
206 depends on !64BIT
207 help
208 Select this to build a 31 bit kernel that works
209 on all ESA/390 and z/Architecture machines.
210 202
211config MARCH_Z900 203config MARCH_Z900
212 bool "IBM zSeries model z800 and z900" 204 bool "IBM zSeries model z800 and z900"
213 select HAVE_MARCH_Z900_FEATURES if 64BIT 205 select HAVE_MARCH_Z900_FEATURES
214 help 206 help
215 Select this to enable optimizations for model z800/z900 (2064 and 207 Select this to enable optimizations for model z800/z900 (2064 and
216 2066 series). This will enable some optimizations that are not 208 2066 series). This will enable some optimizations that are not
@@ -218,7 +210,7 @@ config MARCH_Z900
218 210
219config MARCH_Z990 211config MARCH_Z990
220 bool "IBM zSeries model z890 and z990" 212 bool "IBM zSeries model z890 and z990"
221 select HAVE_MARCH_Z990_FEATURES if 64BIT 213 select HAVE_MARCH_Z990_FEATURES
222 help 214 help
223 Select this to enable optimizations for model z890/z990 (2084 and 215 Select this to enable optimizations for model z890/z990 (2084 and
224 2086 series). The kernel will be slightly faster but will not work 216 2086 series). The kernel will be slightly faster but will not work
@@ -226,7 +218,7 @@ config MARCH_Z990
226 218
227config MARCH_Z9_109 219config MARCH_Z9_109
228 bool "IBM System z9" 220 bool "IBM System z9"
229 select HAVE_MARCH_Z9_109_FEATURES if 64BIT 221 select HAVE_MARCH_Z9_109_FEATURES
230 help 222 help
231 Select this to enable optimizations for IBM System z9 (2094 and 223 Select this to enable optimizations for IBM System z9 (2094 and
232 2096 series). The kernel will be slightly faster but will not work 224 2096 series). The kernel will be slightly faster but will not work
@@ -234,7 +226,7 @@ config MARCH_Z9_109
234 226
235config MARCH_Z10 227config MARCH_Z10
236 bool "IBM System z10" 228 bool "IBM System z10"
237 select HAVE_MARCH_Z10_FEATURES if 64BIT 229 select HAVE_MARCH_Z10_FEATURES
238 help 230 help
239 Select this to enable optimizations for IBM System z10 (2097 and 231 Select this to enable optimizations for IBM System z10 (2097 and
240 2098 series). The kernel will be slightly faster but will not work 232 2098 series). The kernel will be slightly faster but will not work
@@ -242,7 +234,7 @@ config MARCH_Z10
242 234
243config MARCH_Z196 235config MARCH_Z196
244 bool "IBM zEnterprise 114 and 196" 236 bool "IBM zEnterprise 114 and 196"
245 select HAVE_MARCH_Z196_FEATURES if 64BIT 237 select HAVE_MARCH_Z196_FEATURES
246 help 238 help
247 Select this to enable optimizations for IBM zEnterprise 114 and 196 239 Select this to enable optimizations for IBM zEnterprise 114 and 196
248 (2818 and 2817 series). The kernel will be slightly faster but will 240 (2818 and 2817 series). The kernel will be slightly faster but will
@@ -250,7 +242,7 @@ config MARCH_Z196
250 242
251config MARCH_ZEC12 243config MARCH_ZEC12
252 bool "IBM zBC12 and zEC12" 244 bool "IBM zBC12 and zEC12"
253 select HAVE_MARCH_ZEC12_FEATURES if 64BIT 245 select HAVE_MARCH_ZEC12_FEATURES
254 help 246 help
255 Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and 247 Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
256 2827 series). The kernel will be slightly faster but will not work on 248 2827 series). The kernel will be slightly faster but will not work on
@@ -258,7 +250,7 @@ config MARCH_ZEC12
258 250
259config MARCH_Z13 251config MARCH_Z13
260 bool "IBM z13" 252 bool "IBM z13"
261 select HAVE_MARCH_Z13_FEATURES if 64BIT 253 select HAVE_MARCH_Z13_FEATURES
262 help 254 help
263 Select this to enable optimizations for IBM z13 (2964 series). 255 Select this to enable optimizations for IBM z13 (2964 series).
264 The kernel will be slightly faster but will not work on older 256 The kernel will be slightly faster but will not work on older
@@ -266,9 +258,6 @@ config MARCH_Z13
266 258
267endchoice 259endchoice
268 260
269config MARCH_G5_TUNE
270 def_bool TUNE_G5 || MARCH_G5 && TUNE_DEFAULT
271
272config MARCH_Z900_TUNE 261config MARCH_Z900_TUNE
273 def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT 262 def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT
274 263
@@ -307,9 +296,6 @@ config TUNE_DEFAULT
307 Tune the generated code for the target processor for which the kernel 296 Tune the generated code for the target processor for which the kernel
308 will be compiled. 297 will be compiled.
309 298
310config TUNE_G5
311 bool "System/390 model G5 and G6"
312
313config TUNE_Z900 299config TUNE_Z900
314 bool "IBM zSeries model z800 and z900" 300 bool "IBM zSeries model z800 and z900"
315 301
@@ -335,18 +321,10 @@ endchoice
335 321
336config 64BIT 322config 64BIT
337 def_bool y 323 def_bool y
338 prompt "64 bit kernel"
339 help
340 Select this option if you have an IBM z/Architecture machine
341 and want to use the 64 bit addressing mode.
342
343config 32BIT
344 def_bool y if !64BIT
345 324
346config COMPAT 325config COMPAT
347 def_bool y 326 def_bool y
348 prompt "Kernel support for 31 bit emulation" 327 prompt "Kernel support for 31 bit emulation"
349 depends on 64BIT
350 select COMPAT_BINFMT_ELF if BINFMT_ELF 328 select COMPAT_BINFMT_ELF if BINFMT_ELF
351 select ARCH_WANT_OLD_COMPAT_IPC 329 select ARCH_WANT_OLD_COMPAT_IPC
352 select COMPAT_OLD_SIGACTION 330 select COMPAT_OLD_SIGACTION
@@ -385,8 +363,7 @@ config NR_CPUS
385 int "Maximum number of CPUs (2-512)" 363 int "Maximum number of CPUs (2-512)"
386 range 2 512 364 range 2 512
387 depends on SMP 365 depends on SMP
388 default "32" if !64BIT 366 default "64"
389 default "64" if 64BIT
390 help 367 help
391 This allows you to specify the maximum number of CPUs which this 368 This allows you to specify the maximum number of CPUs which this
392 kernel will support. The maximum supported value is 512 and the 369 kernel will support. The maximum supported value is 512 and the
@@ -427,15 +404,6 @@ config SCHED_TOPOLOGY
427 404
428source kernel/Kconfig.preempt 405source kernel/Kconfig.preempt
429 406
430config MATHEMU
431 def_bool y
432 prompt "IEEE FPU emulation"
433 depends on MARCH_G5
434 help
435 This option is required for IEEE compliant floating point arithmetic
436 on older ESA/390 machines. Say Y unless you know your machine doesn't
437 need this.
438
439source kernel/Kconfig.hz 407source kernel/Kconfig.hz
440 408
441endmenu 409endmenu
@@ -446,7 +414,6 @@ config ARCH_SPARSEMEM_ENABLE
446 def_bool y 414 def_bool y
447 select SPARSEMEM_VMEMMAP_ENABLE 415 select SPARSEMEM_VMEMMAP_ENABLE
448 select SPARSEMEM_VMEMMAP 416 select SPARSEMEM_VMEMMAP
449 select SPARSEMEM_STATIC if !64BIT
450 417
451config ARCH_SPARSEMEM_DEFAULT 418config ARCH_SPARSEMEM_DEFAULT
452 def_bool y 419 def_bool y
@@ -462,7 +429,6 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE
462 429
463config ARCH_ENABLE_SPLIT_PMD_PTLOCK 430config ARCH_ENABLE_SPLIT_PMD_PTLOCK
464 def_bool y 431 def_bool y
465 depends on 64BIT
466 432
467config FORCE_MAX_ZONEORDER 433config FORCE_MAX_ZONEORDER
468 int 434 int
@@ -537,7 +503,6 @@ config QDIO
537 503
538menuconfig PCI 504menuconfig PCI
539 bool "PCI support" 505 bool "PCI support"
540 depends on 64BIT
541 select HAVE_DMA_ATTRS 506 select HAVE_DMA_ATTRS
542 select PCI_MSI 507 select PCI_MSI
543 help 508 help
@@ -607,7 +572,6 @@ config CHSC_SCH
607 572
608config SCM_BUS 573config SCM_BUS
609 def_bool y 574 def_bool y
610 depends on 64BIT
611 prompt "SCM bus driver" 575 prompt "SCM bus driver"
612 help 576 help
613 Bus driver for Storage Class Memory. 577 Bus driver for Storage Class Memory.
@@ -629,7 +593,7 @@ menu "Dump support"
629 593
630config CRASH_DUMP 594config CRASH_DUMP
631 bool "kernel crash dumps" 595 bool "kernel crash dumps"
632 depends on 64BIT && SMP 596 depends on SMP
633 select KEXEC 597 select KEXEC
634 help 598 help
635 Generate crash dump after being started by kexec. 599 Generate crash dump after being started by kexec.
@@ -668,7 +632,7 @@ endmenu
668menu "Power Management" 632menu "Power Management"
669 633
670config ARCH_HIBERNATION_POSSIBLE 634config ARCH_HIBERNATION_POSSIBLE
671 def_bool y if 64BIT 635 def_bool y
672 636
673source "kernel/power/Kconfig" 637source "kernel/power/Kconfig"
674 638
@@ -819,7 +783,6 @@ source "arch/s390/kvm/Kconfig"
819config S390_GUEST 783config S390_GUEST
820 def_bool y 784 def_bool y
821 prompt "s390 support for virtio devices" 785 prompt "s390 support for virtio devices"
822 depends on 64BIT
823 select TTY 786 select TTY
824 select VIRTUALIZATION 787 select VIRTUALIZATION
825 select VIRTIO 788 select VIRTIO