Merge branch 'core/irq_work' of git://git.kernel.org/pub/scm/linux/kernel/git/frederi...
[~shefty/rdma-dev.git] / arch / s390 / Kconfig
index 0816ff01f40c25a334dfe9757f0721885ba2dcde..c15ba7d1be643d9251079bba0d984a11f7d3d425 100644 (file)
@@ -34,12 +34,6 @@ config GENERIC_BUG
 config GENERIC_BUG_RELATIVE_POINTERS
        def_bool y
 
-config NO_IOMEM
-       def_bool y
-
-config NO_DMA
-       def_bool y
-
 config ARCH_DMA_ADDR_T_64BIT
        def_bool 64BIT
 
@@ -58,6 +52,12 @@ config KEXEC
 config AUDIT_ARCH
        def_bool y
 
+config NO_IOPORT
+       def_bool y
+
+config PCI_QUIRKS
+       def_bool n
+
 config S390
        def_bool y
        select USE_GENERIC_SMP_HELPERS if SMP
@@ -95,6 +95,7 @@ config S390
        select HAVE_MEMBLOCK_NODE_MAP
        select HAVE_CMPXCHG_LOCAL
        select HAVE_CMPXCHG_DOUBLE
+       select HAVE_ALIGNED_STRUCT_PAGE if SLUB
        select HAVE_VIRT_CPU_ACCOUNTING
        select VIRT_CPU_ACCOUNTING
        select ARCH_DISCARD_MEMBLOCK
@@ -135,9 +136,9 @@ config S390
        select GENERIC_CLOCKEVENTS
        select KTIME_SCALAR if 32BIT
        select HAVE_ARCH_SECCOMP_FILTER
-       select GENERIC_KERNEL_THREAD
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
+       select CLONE_BACKWARDS2
 
 config SCHED_OMIT_FRAME_POINTER
        def_bool y
@@ -167,6 +168,10 @@ config HAVE_MARCH_Z196_FEATURES
        def_bool n
        select HAVE_MARCH_Z10_FEATURES
 
+config HAVE_MARCH_ZEC12_FEATURES
+       def_bool n
+       select HAVE_MARCH_Z196_FEATURES
+
 choice
        prompt "Processor type"
        default MARCH_G5
@@ -218,6 +223,13 @@ config MARCH_Z196
          (2818 and 2817 series). The kernel will be slightly faster but will
          not work on older machines.
 
+config MARCH_ZEC12
+       bool "IBM zEC12"
+       select HAVE_MARCH_ZEC12_FEATURES if 64BIT
+       help
+         Select this to enable optimizations for IBM zEC12 (2827 series). The
+         kernel will be slightly faster but will not work on older machines.
+
 endchoice
 
 config 64BIT
@@ -422,6 +434,53 @@ config QDIO
 
          If unsure, say Y.
 
+menuconfig PCI
+       bool "PCI support"
+       default n
+       depends on 64BIT
+       select ARCH_SUPPORTS_MSI
+       select PCI_MSI
+       help
+         Enable PCI support.
+
+if PCI
+
+config PCI_NR_FUNCTIONS
+       int "Maximum number of PCI functions (1-4096)"
+       range 1 4096
+       default "64"
+       help
+         This allows you to specify the maximum number of PCI functions which
+         this kernel will support.
+
+source "drivers/pci/Kconfig"
+source "drivers/pci/pcie/Kconfig"
+source "drivers/pci/hotplug/Kconfig"
+
+endif  # PCI
+
+config PCI_DOMAINS
+       def_bool PCI
+
+config HAS_IOMEM
+       def_bool PCI
+
+config IOMMU_HELPER
+       def_bool PCI
+
+config HAS_DMA
+       def_bool PCI
+       select HAVE_DMA_API_DEBUG
+
+config NEED_SG_DMA_LENGTH
+       def_bool PCI
+
+config HAVE_DMA_ATTRS
+       def_bool PCI
+
+config NEED_DMA_MAP_STATE
+       def_bool PCI
+
 config CHSC_SCH
        def_tristate m
        prompt "Support for CHSC subchannels"