projects/linux·commit bdfa54df

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

bdfa54df · Linus Torvalds <[email protected]> · 2015-04-14 20:51:44 -07:00

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
  ...
Commit
bdfa54dfd9eea001274dbcd622657a904fe43b81
Parents
2481bc75 · a1307bba

Merge commit. Changes below are compared with the first parent: 2481bc75.

Changes

119 files changed · +1337 −7255

FileStatusAddDelContent
arch/s390/Kbuildmodified+0−1View file
arch/s390/Kconfigmodified+21−58View file
arch/s390/Makefilemodified+1−15View file
arch/s390/boot/compressed/Makefilemodified+5−7View file
arch/s390/boot/compressed/head64.S → arch/s390/boot/compressed/head.Srenamed+0−0View file
arch/s390/boot/compressed/head31.Sdeleted+0−51View before deletion
arch/s390/boot/compressed/vmlinux.lds.Smodified+0−5View file
arch/s390/crypto/crypt_s390.hmodified+2−6View file
arch/s390/hypfs/hypfs_diag0c.cmodified+0−4View file
arch/s390/include/asm/appldata.hmodified+0−24View file
arch/s390/include/asm/atomic.hmodified+0−95View file
arch/s390/include/asm/bitops.hmodified+0−28View file
arch/s390/include/asm/cmpxchg.hmodified+1−6View file
arch/s390/include/asm/cputime.hmodified+0−26View file
arch/s390/include/asm/ctl_reg.hmodified+2−12View file
arch/s390/include/asm/elf.hmodified+0−4View file
arch/s390/include/asm/idals.hmodified+0−16View file
arch/s390/include/asm/jump_label.hmodified+2−10View file
arch/s390/include/asm/lowcore.hmodified+0−159View file
arch/s390/include/asm/mman.hmodified+1−1View file
arch/s390/include/asm/mmu_context.hmodified+0−4View file
arch/s390/include/asm/percpu.hmodified+0−4View file
arch/s390/include/asm/perf_event.hmodified+0−3View file
arch/s390/include/asm/pgalloc.hmodified+0−24View file
arch/s390/include/asm/pgtable.hmodified+5−120View file
arch/s390/include/asm/processor.hmodified+1−65View file
arch/s390/include/asm/ptrace.hmodified+0−4View file
arch/s390/include/asm/qdio.hmodified+0−10View file
arch/s390/include/asm/runtime_instr.hmodified+1−9View file
arch/s390/include/asm/rwsem.hmodified+0−81View file
arch/s390/include/asm/setup.hmodified+0−35View file
arch/s390/include/asm/sfp-util.hmodified+0−10View file
arch/s390/include/asm/sparsemem.hmodified+0−9View file
arch/s390/include/asm/switch_to.hmodified+2−19View file
arch/s390/include/asm/syscall.hmodified+1−1View file
arch/s390/include/asm/thread_info.hmodified+2−9View file
arch/s390/include/asm/tlb.hmodified+0−4View file
arch/s390/include/asm/tlbflush.hmodified+0−7View file
arch/s390/include/asm/types.hmodified+0−17View file
arch/s390/include/asm/uaccess.hmodified+1−0View file
arch/s390/include/asm/unistd.hmodified+0−8View file
arch/s390/include/asm/vdso.hmodified+0−2View file
arch/s390/kernel/Makefilemodified+8−16View file
arch/s390/kernel/asm-offsets.cmodified+0−4View file
arch/s390/kernel/base.Smodified+0−76View file
arch/s390/kernel/cache.cmodified+4−0View file
arch/s390/kernel/cpcmd.cmodified+0−10View file
arch/s390/kernel/diag.cmodified+0−15View file
arch/s390/kernel/dis.cmodified+1−47View file
arch/s390/kernel/dumpstack.cmodified+6−20View file
arch/s390/kernel/early.cmodified+0−69View file
arch/s390/kernel/entry.Smodified+549−456View file
arch/s390/kernel/entry64.Sdeleted+0−1059View before deletion
arch/s390/kernel/ftrace.cmodified+6−6View file
arch/s390/kernel/head.Smodified+0−49View file
arch/s390/kernel/head31.Sdeleted+0−106View before deletion
arch/s390/kernel/head_kdump.Smodified+0−8View file
arch/s390/kernel/ipl.cmodified+49−108View file
arch/s390/kernel/irq.cmodified+2−1View file
arch/s390/kernel/jump_label.cmodified+1−1View file
arch/s390/kernel/kprobes.cmodified+1−1View file
arch/s390/kernel/module.cmodified+0−12View file
arch/s390/kernel/nmi.cmodified+28−64View file
arch/s390/kernel/pgm_check.Smodified+8−14View file
arch/s390/kernel/process.cmodified+1−28View file
arch/s390/kernel/ptrace.cmodified+5−41View file
arch/s390/kernel/reipl.Smodified+98−35View file
arch/s390/kernel/reipl64.Sdeleted+0−155View before deletion
arch/s390/kernel/relocate_kernel.Smodified+33−30View file
arch/s390/kernel/relocate_kernel64.Sdeleted+0−121View before deletion
arch/s390/kernel/sclp.Smodified+0−10View file
arch/s390/kernel/setup.cmodified+0−72View file
arch/s390/kernel/signal.cmodified+0−10View file
arch/s390/kernel/smp.cmodified+2−34View file
arch/s390/kernel/suspend.cmodified+4−0View file
arch/s390/kernel/swsusp_asm64.S → arch/s390/kernel/swsusp.Srenamed+0−0View file
arch/s390/kernel/sys_s390.cmodified+0−49View file
arch/s390/kernel/syscalls.Smodified+358−358View file
arch/s390/kernel/topology.cmodified+1−1View file
arch/s390/kernel/traps.cmodified+3−152View file
arch/s390/kernel/uprobes.cmodified+3−1View file
arch/s390/kernel/vdso.cmodified+2−14View file
arch/s390/kernel/vmlinux.lds.Smodified+0−7View file
arch/s390/lib/Makefilemodified+1−2View file
arch/s390/lib/div64.cdeleted+0−147View before deletion
arch/s390/lib/mem64.S → arch/s390/lib/mem.Srenamed+0−0View file
arch/s390/lib/mem32.Sdeleted+0−92View before deletion
arch/s390/lib/qrnnd.Sdeleted+0−78View before deletion
arch/s390/lib/uaccess.cmodified+61−75View file
arch/s390/lib/ucmpdi2.cdeleted+0−26View before deletion
arch/s390/math-emu/Makefiledeleted+0−7View before deletion
arch/s390/math-emu/math.cdeleted+0−2255View before deletion
arch/s390/mm/dump_pagetables.cmodified+2−22View file
arch/s390/mm/extmem.cmodified+0−14View file
arch/s390/mm/fault.cmodified+0−36View file
arch/s390/mm/gup.cmodified+0−4View file
arch/s390/mm/init.cmodified+0−5View file
arch/s390/mm/maccess.cmodified+37−33View file
arch/s390/mm/mem_detect.cmodified+0−4View file
arch/s390/mm/mmap.cmodified+1−31View file
arch/s390/mm/pageattr.cmodified+1−1View file
arch/s390/mm/pgtable.cmodified+0−8View file
arch/s390/mm/vmem.cmodified+2−8View file
arch/s390/oprofile/Makefilemodified+1−1View file
arch/s390/oprofile/init.cmodified+0−11View file
arch/s390/pci/pci.cmodified+1−2View file
drivers/s390/block/dasd.cmodified+1−12View file
drivers/s390/block/dasd_diag.hmodified+0−42View file
drivers/s390/block/dasd_eckd.cmodified+0−6View file
drivers/s390/block/dasd_fba.cmodified+0−2View file
drivers/s390/char/Kconfigmodified+1−1View file
drivers/s390/char/sclp_sdias.cmodified+0−4View file
drivers/s390/char/zcore.cmodified+0−32View file
drivers/s390/cio/cio.cmodified+0−2View file
drivers/s390/cio/qdio.hmodified+0−7View file
drivers/s390/cio/qdio_setup.cmodified+0−3View file
drivers/s390/crypto/ap_bus.cmodified+2−22View file
drivers/s390/net/ctcm_mpc.cmodified+0−12View file
drivers/watchdog/diag288_wdt.cmodified+5−15View file

Only the first 600 diff lines are shown. Download the complete patch.

arch/s390/Kbuild

View file
diff --git a/arch/s390/Kbuild b/arch/s390/Kbuild
index 647c3ec..2938934 100644
--- a/arch/s390/Kbuild
+++ b/arch/s390/Kbuild
@@ -4,6 +4,5 @@ obj-$(CONFIG_KVM) += kvm/
obj-$(CONFIG_CRYPTO_HW) += crypto/
obj-$(CONFIG_S390_HYPFS_FS) += hypfs/
obj-$(CONFIG_APPLDATA_BASE) += appldata/
-obj-$(CONFIG_MATHEMU) += math-emu/
obj-y += net/
obj-$(CONFIG_PCI) += pci/

arch/s390/Kconfig

View file
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 6321fd8..a5ced5c 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -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,7 +59,7 @@ config PCI_QUIRKS
def_bool n
config ARCH_SUPPORTS_UPROBES
- def_bool 64BIT
+ def_bool y
config S390
def_bool y
@@ -111,19 +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_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
@@ -133,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
@@ -143,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
@@ -199,18 +198,11 @@ config HAVE_MARCH_Z13_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
@@ -218,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
@@ -226,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
@@ -234,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
@@ -242,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
@@ -250,7 +242,7 @@ 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
@@ -258,7 +250,7 @@ config MARCH_ZEC12
config MARCH_Z13
bool "IBM z13"
- select HAVE_MARCH_Z13_FEATURES if 64BIT
+ 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
@@ -266,9 +258,6 @@ config MARCH_Z13
endchoice
-config MARCH_G5_TUNE
- def_bool TUNE_G5 || MARCH_G5 && TUNE_DEFAULT
-
config MARCH_Z900_TUNE
def_bool TUNE_Z900 || MARCH_Z900 && TUNE_DEFAULT
@@ -307,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"
@@ -335,18 +321,10 @@ 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
@@ -385,8 +363,7 @@ config NR_CPUS
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 512 and the
@@ -427,15 +404,6 @@ config SCHED_TOPOLOGY
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
@@ -446,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
@@ -462,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
@@ -537,7 +503,6 @@ config QDIO
menuconfig PCI
bool "PCI support"
- depends on 64BIT
select HAVE_DMA_ATTRS
select PCI_MSI
help
@@ -607,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.
@@ -629,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.
@@ -668,7 +632,7 @@ endmenu
menu "Power Management"
config ARCH_HIBERNATION_POSSIBLE
- def_bool y if 64BIT
+ def_bool y
source "kernel/power/Kconfig"
@@ -819,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

arch/s390/Makefile

View file
diff --git a/arch/s390/Makefile b/arch/s390/Makefile
index acb6859..667b1bc 100644
--- a/arch/s390/Makefile
+++ b/arch/s390/Makefile
@@ -13,15 +13,6 @@
# Copyright (C) 1994 by Linus Torvalds
#
-ifndef CONFIG_64BIT
-LD_BFD := elf32-s390
-LDFLAGS := -m elf_s390
-KBUILD_CFLAGS += -m31
-KBUILD_AFLAGS += -m31
-UTS_MACHINE := s390
-STACK_SIZE := 8192
-CHECKFLAGS += -D__s390__ -msize-long
-else
LD_BFD := elf64-s390
LDFLAGS := -m elf64_s390
KBUILD_AFLAGS_MODULE += -fPIC
@@ -31,11 +22,9 @@ KBUILD_AFLAGS += -m64
UTS_MACHINE := s390x
STACK_SIZE := 16384
CHECKFLAGS += -D__s390__ -D__s390x__
-endif
export LD_BFD
-mflags-$(CONFIG_MARCH_G5) := -march=g5
mflags-$(CONFIG_MARCH_Z900) := -march=z900
mflags-$(CONFIG_MARCH_Z990) := -march=z990
mflags-$(CONFIG_MARCH_Z9_109) := -march=z9-109
@@ -47,7 +36,6 @@ mflags-$(CONFIG_MARCH_Z13) := -march=z13
aflags-y += $(mflags-y)
cflags-y += $(mflags-y)
-cflags-$(CONFIG_MARCH_G5_TUNE) += -mtune=g5
cflags-$(CONFIG_MARCH_Z900_TUNE) += -mtune=z900
cflags-$(CONFIG_MARCH_Z990_TUNE) += -mtune=z990
cflags-$(CONFIG_MARCH_Z9_109_TUNE) += -mtune=z9-109
@@ -104,7 +92,7 @@ KBUILD_AFLAGS += $(aflags-y)
OBJCOPYFLAGS := -O binary
head-y := arch/s390/kernel/head.o
-head-y += arch/s390/kernel/$(if $(CONFIG_64BIT),head64.o,head31.o)
+head-y += arch/s390/kernel/head64.o
# See arch/s390/Kbuild for content of core part of the kernel
core-y += arch/s390/
@@ -129,9 +117,7 @@ zfcpdump:
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
vdso_install:
-ifeq ($(CONFIG_64BIT),y)
$(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso64 $@
-endif
$(Q)$(MAKE) $(build)=arch/$(ARCH)/kernel/vdso32 $@
archclean:

arch/s390/boot/compressed/Makefile

View file
diff --git a/arch/s390/boot/compressed/Makefile b/arch/s390/boot/compressed/Makefile
index f90d1fc..d478811 100644
--- a/arch/s390/boot/compressed/Makefile
+++ b/arch/s390/boot/compressed/Makefile
@@ -4,13 +4,11 @@
# create a compressed vmlinux image from the original vmlinux
#
-BITS := $(if $(CONFIG_64BIT),64,31)
-
targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
-targets += misc.o piggy.o sizes.h head$(BITS).o
+targets += misc.o piggy.o sizes.h head.o
-KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2
+KBUILD_CFLAGS := -m64 -D__KERNEL__ $(LINUX_INCLUDE) -O2
KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks
KBUILD_CFLAGS += $(call cc-option,-mpacked-stack)
@@ -19,7 +17,7 @@ KBUILD_CFLAGS += $(call cc-option,-ffreestanding)
GCOV_PROFILE := n
OBJECTS := $(addprefix $(objtree)/arch/s390/kernel/, head.o sclp.o ebcdic.o)
-OBJECTS += $(obj)/head$(BITS).o $(obj)/misc.o $(obj)/piggy.o
+OBJECTS += $(obj)/head.o $(obj)/misc.o $(obj)/piggy.o
LDFLAGS_vmlinux := --oformat $(LD_BFD) -e startup -T
$(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS)
@@ -34,8 +32,8 @@ quiet_cmd_sizes = GEN $@
$(obj)/sizes.h: vmlinux
$(call if_changed,sizes)
-AFLAGS_head$(BITS).o += -I$(obj)
-$(obj)/head$(BITS).o: $(obj)/sizes.h
+AFLAGS_head.o += -I$(obj)
+$(obj)/head.o: $(obj)/sizes.h
CFLAGS_misc.o += -I$(obj)
$(obj)/misc.o: $(obj)/sizes.h

arch/s390/boot/compressed/head.S

View file
diff --git a/arch/s390/boot/compressed/head64.S b/arch/s390/boot/compressed/head.S
similarity index 100%
rename from arch/s390/boot/compressed/head64.S
rename to arch/s390/boot/compressed/head.S

arch/s390/boot/compressed/head31.S

View before deletion
diff --git a/arch/s390/boot/compressed/head31.S b/arch/s390/boot/compressed/head31.S
deleted file mode 100644
index e8c9e18..0000000
--- a/arch/s390/boot/compressed/head31.S
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Startup glue code to uncompress the kernel
- *
- * Copyright IBM Corp. 2010
- *
- * Author(s): Martin Schwidefsky <[email protected]>
- */
-
-#include <linux/init.h>
-#include <linux/linkage.h>
-#include <asm/asm-offsets.h>
-#include <asm/thread_info.h>
-#include <asm/page.h>
-#include "sizes.h"
-
-__HEAD
-ENTRY(startup_continue)
- basr %r13,0 # get base
-.LPG1:
- # setup stack
- l %r15,.Lstack-.LPG1(%r13)
- ahi %r15,-96
- l %r1,.Ldecompress-.LPG1(%r13)
- basr %r14,%r1
- # setup registers for memory mover & branch to target
- lr %r4,%r2
- l %r2,.Loffset-.LPG1(%r13)
- la %r4,0(%r2,%r4)
- l %r3,.Lmvsize-.LPG1(%r13)
- lr %r5,%r3
- # move the memory mover someplace safe
- la %r1,0x200
- mvc 0(mover_end-mover,%r1),mover-.LPG1(%r13)
- # decompress image is started at 0x11000
- lr %r6,%r2
- br %r1
-mover:
- mvcle %r2,%r4,0
- jo mover
- br %r6
-mover_end:
-
- .align 8
-.Lstack:
- .long 0x8000 + (1<<(PAGE_SHIFT+THREAD_ORDER))
-.Ldecompress:
- .long decompress_kernel
-.Loffset:
- .long 0x11000
-.Lmvsize:
- .long SZ__bss_start

arch/s390/boot/compressed/vmlinux.lds.S

View file
diff --git a/arch/s390/boot/compressed/vmlinux.lds.S b/arch/s390/boot/compressed/vmlinux.lds.S
index 8e1fb82..747735f 100644
--- a/arch/s390/boot/compressed/vmlinux.lds.S
+++ b/arch/s390/boot/compressed/vmlinux.lds.S
@@ -1,12 +1,7 @@
#include <asm-generic/vmlinux.lds.h>
-#ifdef CONFIG_64BIT
OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
OUTPUT_ARCH(s390:64-bit)
-#else
-OUTPUT_FORMAT("elf32-s390", "elf32-s390", "elf32-s390")
-OUTPUT_ARCH(s390:31-bit)
-#endif
ENTRY(startup)

arch/s390/crypto/crypt_s390.h

View file
diff --git a/arch/s390/crypto/crypt_s390.h b/arch/s390/crypto/crypt_s390.h
index 6c5cc6d..ba3b2ae 100644
--- a/arch/s390/crypto/crypt_s390.h
+++ b/arch/s390/crypto/crypt_s390.h
@@ -369,14 +369,10 @@ static inline int crypt_s390_func_available(int func,
if (facility_mask & CRYPT_S390_MSA && !test_facility(17))
return 0;
-
- if (facility_mask & CRYPT_S390_MSA3 &&
- (!test_facility(2) || !test_facility(76)))
+ if (facility_mask & CRYPT_S390_MSA3 && !test_facility(76))
return 0;
- if (facility_mask & CRYPT_S390_MSA4 &&
- (!test_facility(2) || !test_facility(77)))
+ if (facility_mask & CRYPT_S390_MSA4 && !test_facility(77))
return 0;
-
switch (func & CRYPT_S390_OP_MASK) {
case CRYPT_S390_KM:
ret = crypt_s390_km(KM_QUERY, &status, NULL, NULL, 0);

arch/s390/hypfs/hypfs_diag0c.c

View file
diff --git a/arch/s390/hypfs/hypfs_diag0c.c b/arch/s390/hypfs/hypfs_diag0c.c
index d4c0d37..24c747a 100644
--- a/arch/s390/hypfs/hypfs_diag0c.c
+++ b/arch/s390/hypfs/hypfs_diag0c.c
@@ -19,13 +19,9 @@
static void diag0c(struct hypfs_diag0c_entry *entry)
{
asm volatile (
-#ifdef CONFIG_64BIT
" sam31\n"
" diag %0,%0,0x0c\n"
" sam64\n"
-#else
- " diag %0,%0,0x0c\n"
-#endif
: /* no output register */
: "a" (entry)
: "memory");

arch/s390/include/asm/appldata.h

View file
diff --git a/arch/s390/include/asm/appldata.h b/arch/s390/include/asm/appldata.h
index 32a7059..16887c5 100644
--- a/arch/s390/include/asm/appldata.h
+++ b/arch/s390/include/asm/appldata.h
@@ -9,28 +9,6 @@
#include <asm/io.h>
-#ifndef CONFIG_64BIT
-
-#define APPLDATA_START_INTERVAL_REC 0x00 /* Function codes for */
-#define APPLDATA_STOP_REC 0x01 /* DIAG 0xDC */
-#define APPLDATA_GEN_EVENT_REC 0x02
-#define APPLDATA_START_CONFIG_REC 0x03
-
-/*
- * Parameter list for DIAGNOSE X'DC'
- */
-struct appldata_parameter_list {
- u16 diag; /* The DIAGNOSE code X'00DC' */
- u8 function; /* The function code for the DIAGNOSE */
- u8 parlist_length; /* Length of the parameter list */
- u32 product_id_addr; /* Address of the 16-byte product ID */
- u16 reserved;
- u16 buffer_length; /* Length of the application data buffer */
- u32 buffer_addr; /* Address of the application data buffer */
-} __attribute__ ((packed));
-
-#else /* CONFIG_64BIT */
-
#define APPLDATA_START_INTERVAL_REC 0x80
#define APPLDATA_STOP_REC 0x81
#define APPLDATA_GEN_EVENT_REC 0x82
@@ -51,8 +29,6 @@ struct appldata_parameter_list {
u64 buffer_addr;
} __attribute__ ((packed));
-#endif /* CONFIG_64BIT */
-
struct appldata_product_id {
char prod_nr[7]; /* product number */
u16 prod_fn; /* product function */

arch/s390/include/asm/atomic.h

View file
diff --git a/arch/s390/include/asm/atomic.h b/arch/s390/include/asm/atomic.h
index fa934fe..adbe380 100644
--- a/arch/s390/include/asm/atomic.h
+++ b/arch/s390/include/asm/atomic.h
@@ -160,8 +160,6 @@ static inline int __atomic_add_unless(atomic_t *v, int a, int u)
#define ATOMIC64_INIT(i) { (i) }
-#ifdef CONFIG_64BIT
-
#define __ATOMIC64_NO_BARRIER "\n"
#ifdef CONFIG_HAVE_MARCH_Z196_FEATURES
@@ -274,99 +272,6 @@ static inline long long atomic64_cmpxchg(atomic64_t *v,
#undef __ATOMIC64_LOOP
-#else /* CONFIG_64BIT */
-
-typedef struct {
- long long counter;
-} atomic64_t;
-
-static inline long long atomic64_read(const atomic64_t *v)
-{
- register_pair rp;
-
- asm volatile(
- " lm %0,%N0,%1"
- : "=&d" (rp) : "Q" (v->counter) );
- return rp.pair;
-}
-
-static inline void atomic64_set(atomic64_t *v, long long i)
-{
- register_pair rp = {.pair = i};
-
- asm volatile(
- " stm %1,%N1,%0"
- : "=Q" (v->counter) : "d" (rp) );
-}
-
-static inline long long atomic64_xchg(atomic64_t *v, long long new)
-{
- register_pair rp_new = {.pair = new};
- register_pair rp_old;
-
- asm volatile(
- " lm %0,%N0,%1\n"
- "0: cds %0,%2,%1\n"
- " jl 0b\n"
- : "=&d" (rp_old), "+Q" (v->counter)
- : "d" (rp_new)
- : "cc");
- return rp_old.pair;
-}
-
-static inline long long atomic64_cmpxchg(atomic64_t *v,
- long long old, long long new)
-{
- register_pair rp_old = {.pair = old};
- register_pair rp_new = {.pair = new};
-
- asm volatile(
- " cds %0,%2,%1"
- : "+&d" (rp_old), "+Q" (v->counter)
- : "d" (rp_new)

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/bitops.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/cmpxchg.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/cputime.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/ctl_reg.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/elf.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/idals.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/jump_label.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/lowcore.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/mman.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/mmu_context.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/percpu.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/perf_event.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/pgalloc.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/pgtable.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/processor.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/ptrace.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/qdio.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/runtime_instr.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/rwsem.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/setup.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/sfp-util.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/sparsemem.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/switch_to.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/syscall.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/thread_info.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/tlb.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/tlbflush.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/types.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/uaccess.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/unistd.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/include/asm/vdso.h

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/Makefile

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/asm-offsets.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/base.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/cache.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/cpcmd.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/diag.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/dis.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/dumpstack.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/early.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/entry.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/entry64.S

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/kernel/ftrace.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/head.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/head31.S

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/kernel/head_kdump.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/ipl.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/irq.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/jump_label.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/kprobes.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/module.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/nmi.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/pgm_check.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/process.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/ptrace.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/reipl.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/reipl64.S

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/kernel/relocate_kernel.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/relocate_kernel64.S

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/kernel/sclp.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/signal.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/smp.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/suspend.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/swsusp.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/sys_s390.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/syscalls.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/topology.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/traps.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/uprobes.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/vdso.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/kernel/vmlinux.lds.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/lib/Makefile

View file

This diff is incomplete. Download the complete patch.

arch/s390/lib/div64.c

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/lib/mem.S

View file

This diff is incomplete. Download the complete patch.

arch/s390/lib/mem32.S

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/lib/qrnnd.S

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/lib/uaccess.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/lib/ucmpdi2.c

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/math-emu/Makefile

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/math-emu/math.c

View before deletion

This diff is incomplete. Download the complete patch.

arch/s390/mm/dump_pagetables.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/extmem.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/fault.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/gup.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/init.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/maccess.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/mem_detect.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/mmap.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/pageattr.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/pgtable.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/mm/vmem.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/oprofile/Makefile

View file

This diff is incomplete. Download the complete patch.

arch/s390/oprofile/init.c

View file

This diff is incomplete. Download the complete patch.

arch/s390/pci/pci.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/block/dasd.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/block/dasd_diag.h

View file

This diff is incomplete. Download the complete patch.

drivers/s390/block/dasd_eckd.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/block/dasd_fba.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/char/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/s390/char/sclp_sdias.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/char/zcore.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/cio/cio.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/cio/qdio.h

View file

This diff is incomplete. Download the complete patch.

drivers/s390/cio/qdio_setup.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/crypto/ap_bus.c

View file

This diff is incomplete. Download the complete patch.

drivers/s390/net/ctcm_mpc.c

View file

This diff is incomplete. Download the complete patch.

drivers/watchdog/diag288_wdt.c

View file

This diff is incomplete. Download the complete patch.