]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/s390/Kconfig
zsmalloc: remove synchronize_rcu from zs_compact()
[karo-tx-linux.git] / arch / s390 / Kconfig
index eba9c1d0dab56e2dc6027aaefb2d097c71911d06..a5ced5c3c1e0fe9eced298c30fd50ff2c8168274 100644 (file)
@@ -35,7 +35,7 @@ config GENERIC_BUG_RELATIVE_POINTERS
        def_bool y
 
 config ARCH_DMA_ADDR_T_64BIT
-       def_bool 64BIT
+       def_bool y
 
 config GENERIC_LOCKBREAK
        def_bool y if SMP && PREEMPT
@@ -59,13 +59,15 @@ config PCI_QUIRKS
        def_bool n
 
 config ARCH_SUPPORTS_UPROBES
-       def_bool 64BIT
+       def_bool y
 
 config S390
        def_bool y
        select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
        select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
+       select ARCH_HAS_ELF_RANDOMIZE
        select ARCH_HAS_GCOV_PROFILE_ALL
+       select ARCH_HAS_SG_CHAIN
        select ARCH_HAVE_NMI_SAFE_CMPXCHG
        select ARCH_INLINE_READ_LOCK
        select ARCH_INLINE_READ_LOCK_BH
@@ -109,20 +111,19 @@ config S390
        select GENERIC_TIME_VSYSCALL
        select HAVE_ALIGNED_STRUCT_PAGE if SLUB
        select HAVE_ARCH_AUDITSYSCALL
-       select HAVE_ARCH_JUMP_LABEL if !MARCH_G5
+       select HAVE_ARCH_JUMP_LABEL
        select HAVE_ARCH_SECCOMP_FILTER
        select HAVE_ARCH_TRACEHOOK
-       select HAVE_ARCH_TRANSPARENT_HUGEPAGE if 64BIT
-       select HAVE_BPF_JIT if 64BIT && PACK_STACK
+       select HAVE_ARCH_TRANSPARENT_HUGEPAGE
+       select HAVE_BPF_JIT if PACK_STACK
        select HAVE_CMPXCHG_DOUBLE
        select HAVE_CMPXCHG_LOCAL
-       select HAVE_C_RECORDMCOUNT
        select HAVE_DEBUG_KMEMLEAK
-       select HAVE_DYNAMIC_FTRACE if 64BIT
-       select HAVE_DYNAMIC_FTRACE_WITH_REGS if 64BIT
+       select HAVE_DYNAMIC_FTRACE
+       select HAVE_DYNAMIC_FTRACE_WITH_REGS
        select HAVE_FTRACE_MCOUNT_RECORD
-       select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
-       select HAVE_FUNCTION_TRACER if 64BIT
+       select HAVE_FUNCTION_GRAPH_TRACER
+       select HAVE_FUNCTION_TRACER
        select HAVE_FUTEX_CMPXCHG if FUTEX
        select HAVE_KERNEL_BZIP2
        select HAVE_KERNEL_GZIP
@@ -132,7 +133,7 @@ config S390
        select HAVE_KERNEL_XZ
        select HAVE_KPROBES
        select HAVE_KRETPROBES
-       select HAVE_KVM if 64BIT
+       select HAVE_KVM
        select HAVE_LIVEPATCH
        select HAVE_MEMBLOCK
        select HAVE_MEMBLOCK_NODE_MAP
@@ -142,7 +143,6 @@ config S390
        select HAVE_PERF_EVENTS
        select HAVE_REGS_AND_STACK_ACCESS_API
        select HAVE_SYSCALL_TRACEPOINTS
-       select HAVE_UID16 if 32BIT
        select HAVE_VIRT_CPU_ACCOUNTING
        select MODULES_USE_ELF_RELA
        select NO_BOOTMEM
@@ -152,11 +152,15 @@ config S390
        select TTY
        select VIRT_CPU_ACCOUNTING
        select VIRT_TO_BUS
-       select ARCH_HAS_SG_CHAIN
 
 config SCHED_OMIT_FRAME_POINTER
        def_bool y
 
+config PGTABLE_LEVELS
+       int
+       default 4 if 64BIT
+       default 2
+
 source "init/Kconfig"
 
 source "kernel/Kconfig.freezer"
@@ -188,20 +192,17 @@ config HAVE_MARCH_ZEC12_FEATURES
        def_bool n
        select HAVE_MARCH_Z196_FEATURES
 
+config HAVE_MARCH_Z13_FEATURES
+       def_bool n
+       select HAVE_MARCH_ZEC12_FEATURES
+
 choice
        prompt "Processor type"
-       default MARCH_G5
-
-config MARCH_G5
-       bool "System/390 model G5 and G6"
-       depends on !64BIT
-       help
-         Select this to build a 31 bit kernel that works
-         on all ESA/390 and z/Architecture machines.
+       default MARCH_Z900
 
 config MARCH_Z900
        bool "IBM zSeries model z800 and z900"
-       select HAVE_MARCH_Z900_FEATURES if 64BIT
+       select HAVE_MARCH_Z900_FEATURES
        help
          Select this to enable optimizations for model z800/z900 (2064 and
          2066 series). This will enable some optimizations that are not
@@ -209,7 +210,7 @@ config MARCH_Z900
 
 config MARCH_Z990
        bool "IBM zSeries model z890 and z990"
-       select HAVE_MARCH_Z990_FEATURES if 64BIT
+       select HAVE_MARCH_Z990_FEATURES
        help
          Select this to enable optimizations for model z890/z990 (2084 and
          2086 series). The kernel will be slightly faster but will not work
@@ -217,7 +218,7 @@ config MARCH_Z990
 
 config MARCH_Z9_109
        bool "IBM System z9"
-       select HAVE_MARCH_Z9_109_FEATURES if 64BIT
+       select HAVE_MARCH_Z9_109_FEATURES
        help
          Select this to enable optimizations for IBM System z9 (2094 and
          2096 series). The kernel will be slightly faster but will not work
@@ -225,7 +226,7 @@ config MARCH_Z9_109
 
 config MARCH_Z10
        bool "IBM System z10"
-       select HAVE_MARCH_Z10_FEATURES if 64BIT
+       select HAVE_MARCH_Z10_FEATURES
        help
          Select this to enable optimizations for IBM System z10 (2097 and
          2098 series). The kernel will be slightly faster but will not work
@@ -233,7 +234,7 @@ config MARCH_Z10
 
 config MARCH_Z196
        bool "IBM zEnterprise 114 and 196"
-       select HAVE_MARCH_Z196_FEATURES if 64BIT
+       select HAVE_MARCH_Z196_FEATURES
        help
          Select this to enable optimizations for IBM zEnterprise 114 and 196
          (2818 and 2817 series). The kernel will be slightly faster but will
@@ -241,16 +242,21 @@ config MARCH_Z196
 
 config MARCH_ZEC12
        bool "IBM zBC12 and zEC12"
-       select HAVE_MARCH_ZEC12_FEATURES if 64BIT
+       select HAVE_MARCH_ZEC12_FEATURES
        help
          Select this to enable optimizations for IBM zBC12 and zEC12 (2828 and
          2827 series). The kernel will be slightly faster but will not work on
          older machines.
 
-endchoice
+config MARCH_Z13
+       bool "IBM z13"
+       select HAVE_MARCH_Z13_FEATURES
+       help
+         Select this to enable optimizations for IBM z13 (2964 series).
+         The kernel will be slightly faster but will not work on older
+         machines.
 
-config MARCH_G5_TUNE
-       def_bool TUNE_G5 || MARCH_G5 && TUNE_DEFAULT
+endchoice
 
 config MARCH_Z900_TUNE
        def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT
@@ -270,6 +276,9 @@ config MARCH_Z196_TUNE
 config MARCH_ZEC12_TUNE
        def_bool TUNE_ZEC12 || MARCH_ZEC12 && TUNE_DEFAULT
 
+config MARCH_Z13_TUNE
+       def_bool TUNE_Z13 || MARCH_Z13 && TUNE_DEFAULT
+
 choice
        prompt "Tune code generation"
        default TUNE_DEFAULT
@@ -287,9 +296,6 @@ config TUNE_DEFAULT
          Tune the generated code for the target processor for which the kernel
          will be compiled.
 
-config TUNE_G5
-       bool "System/390 model G5 and G6"
-
 config TUNE_Z900
        bool "IBM zSeries model z800 and z900"
 
@@ -308,22 +314,17 @@ config TUNE_Z196
 config TUNE_ZEC12
        bool "IBM zBC12 and zEC12"
 
+config TUNE_Z13
+       bool "IBM z13"
+
 endchoice
 
 config 64BIT
        def_bool y
-       prompt "64 bit kernel"
-       help
-         Select this option if you have an IBM z/Architecture machine
-         and want to use the 64 bit addressing mode.
-
-config 32BIT
-       def_bool y if !64BIT
 
 config COMPAT
        def_bool y
        prompt "Kernel support for 31 bit emulation"
-       depends on 64BIT
        select COMPAT_BINFMT_ELF if BINFMT_ELF
        select ARCH_WANT_OLD_COMPAT_IPC
        select COMPAT_OLD_SIGACTION
@@ -359,14 +360,13 @@ config SMP
          Even if you don't know what to do here, say Y.
 
 config NR_CPUS
-       int "Maximum number of CPUs (2-256)"
-       range 2 256
+       int "Maximum number of CPUs (2-512)"
+       range 2 512
        depends on SMP
-       default "32" if !64BIT
-       default "64" if 64BIT
+       default "64"
        help
          This allows you to specify the maximum number of CPUs which this
-         kernel will support. The maximum supported value is 256 and the
+         kernel will support. The maximum supported value is 512 and the
          minimum value which makes sense is 2.
 
          This is purely to save memory - each supported CPU adds
@@ -381,29 +381,29 @@ config HOTPLUG_CPU
          can be controlled through /sys/devices/system/cpu/cpu#.
          Say N if you want to disable CPU hotplug.
 
+config SCHED_SMT
+       def_bool n
+
 config SCHED_MC
        def_bool n
 
 config SCHED_BOOK
+       def_bool n
+
+config SCHED_TOPOLOGY
        def_bool y
-       prompt "Book scheduler support"
+       prompt "Topology scheduler support"
        depends on SMP
+       select SCHED_SMT
        select SCHED_MC
+       select SCHED_BOOK
        help
-         Book scheduler support improves the CPU scheduler's decision making
-         when dealing with machines that have several books.
+         Topology scheduler support improves the CPU scheduler's decision
+         making when dealing with machines that have multi-threading,
+         multiple cores or multiple books.
 
 source kernel/Kconfig.preempt
 
-config MATHEMU
-       def_bool y
-       prompt "IEEE FPU emulation"
-       depends on MARCH_G5
-       help
-         This option is required for IEEE compliant floating point arithmetic
-         on older ESA/390 machines. Say Y unless you know your machine doesn't
-         need this.
-
 source kernel/Kconfig.hz
 
 endmenu
@@ -414,7 +414,6 @@ config ARCH_SPARSEMEM_ENABLE
        def_bool y
        select SPARSEMEM_VMEMMAP_ENABLE
        select SPARSEMEM_VMEMMAP
-       select SPARSEMEM_STATIC if !64BIT
 
 config ARCH_SPARSEMEM_DEFAULT
        def_bool y
@@ -430,7 +429,6 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE
 
 config ARCH_ENABLE_SPLIT_PMD_PTLOCK
        def_bool y
-       depends on 64BIT
 
 config FORCE_MAX_ZONEORDER
        int
@@ -505,7 +503,6 @@ config QDIO
 
 menuconfig PCI
        bool "PCI support"
-       depends on 64BIT
        select HAVE_DMA_ATTRS
        select PCI_MSI
        help
@@ -575,7 +572,6 @@ config CHSC_SCH
 
 config SCM_BUS
        def_bool y
-       depends on 64BIT
        prompt "SCM bus driver"
        help
          Bus driver for Storage Class Memory.
@@ -597,7 +593,7 @@ menu "Dump support"
 
 config CRASH_DUMP
        bool "kernel crash dumps"
-       depends on 64BIT && SMP
+       depends on SMP
        select KEXEC
        help
          Generate crash dump after being started by kexec.
@@ -636,7 +632,7 @@ endmenu
 menu "Power Management"
 
 config ARCH_HIBERNATION_POSSIBLE
-       def_bool y if 64BIT
+       def_bool y
 
 source "kernel/power/Kconfig"
 
@@ -787,7 +783,6 @@ source "arch/s390/kvm/Kconfig"
 config S390_GUEST
        def_bool y
        prompt "s390 support for virtio devices"
-       depends on 64BIT
        select TTY
        select VIRTUALIZATION
        select VIRTIO