Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 03:51:44 +0000 (20:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 03:51:44 +0000 (20:51 -0700)
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
  ...

1  2 
arch/s390/Kconfig
arch/s390/include/asm/elf.h
arch/s390/include/asm/jump_label.h
arch/s390/kernel/asm-offsets.c
arch/s390/mm/mmap.c
arch/s390/pci/pci.c

index 6321fd8bf813b4cadde000dffa98d5269309a621,1de26e1c48ac350cae32265840401328151ca527..a5ced5c3c1e0fe9eced298c30fd50ff2c8168274
@@@ -133,8 -132,7 +133,8 @@@ config S39
        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
        select HAVE_MEMBLOCK_PHYS_MAP
Simple merge
Simple merge
index 8dc4db10d1608e81eafad41e5f87d1c92af7bbf5,6e94edd903183da63bc58770b2ba3940aa27ee59..f35058da8eafd53b678405b5ac6466ff707a3c2f
@@@ -166,12 -166,8 +166,9 @@@ int main(void
        DEFINE(__LC_FPREGS_SAVE_AREA, offsetof(struct _lowcore, floating_pt_save_area));
        DEFINE(__LC_GPREGS_SAVE_AREA, offsetof(struct _lowcore, gpregs_save_area));
        DEFINE(__LC_CREGS_SAVE_AREA, offsetof(struct _lowcore, cregs_save_area));
- #ifdef CONFIG_32BIT
-       DEFINE(SAVE_AREA_BASE, offsetof(struct _lowcore, extended_save_area_addr));
- #else /* CONFIG_32BIT */
        DEFINE(__LC_DATA_EXC_CODE, offsetof(struct _lowcore, data_exc_code));
        DEFINE(__LC_MCCK_FAIL_STOR_ADDR, offsetof(struct _lowcore, failing_storage_address));
 +      DEFINE(__LC_VX_SAVE_AREA_ADDR, offsetof(struct _lowcore, vector_save_area_addr));
        DEFINE(__LC_EXT_PARAMS2, offsetof(struct _lowcore, ext_params2));
        DEFINE(SAVE_AREA_BASE, offsetof(struct _lowcore, floating_pt_save_area));
        DEFINE(__LC_PASTE, offsetof(struct _lowcore, paste));
index bb3367c5cb0b41472fb93fc9c8b1d06891feea40,b68af0564a423cf757d9b3c5f2522520c7c306b1..6e552af08c76a61027c023f7305133ee1b4efe02
@@@ -177,34 -179,17 +177,6 @@@ arch_get_unmapped_area_topdown(struct f
        return addr;
  }
  
- #ifndef CONFIG_64BIT
- /*
-  * This function, called very early during the creation of a new
-  * process VM image, sets up which VM layout function to use:
-  */
- void arch_pick_mmap_layout(struct mm_struct *mm)
 -unsigned long randomize_et_dyn(void)
--{
-       unsigned long random_factor = 0UL;
-       if (current->flags & PF_RANDOMIZE)
-               random_factor = arch_mmap_rnd();
 -      unsigned long base;
--
-       /*
-        * Fall back to the standard layout if the personality
-        * bit is set, or if the expected stack growth is unlimited:
-        */
-       if (mmap_is_legacy()) {
-               mm->mmap_base = mmap_base_legacy(random_factor);
-               mm->get_unmapped_area = arch_get_unmapped_area;
-       } else {
-               mm->mmap_base = mmap_base(random_factor);
-               mm->get_unmapped_area = arch_get_unmapped_area_topdown;
-       }
 -      base = STACK_TOP / 3 * 2;
 -      if (!is_32bit_task())
 -              /* Align to 4GB */
 -              base &= ~((1UL << 32) - 1);
 -      return base + mmap_rnd();
--}
- #else
--
  int s390_mmap_check(unsigned long addr, unsigned long len, unsigned long flags)
  {
        if (is_compat_task() || (TASK_SIZE >= (1UL << 53)))
Simple merge