]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Feb 2017 18:20:04 +0000 (10:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Feb 2017 18:20:04 +0000 (10:20 -0800)
Pull s390 updates from Martin Schwidefsky:

 - New entropy generation for the pseudo random number generator.

 - Early boot printk output via sclp to help debug crashes on boot. This
   needs to be enabled with a kernel parameter.

 - Add proper no-execute support with a bit in the page table entry.

 - Bug fixes and cleanups.

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (65 commits)
  s390/syscall: fix single stepped system calls
  s390/zcrypt: make ap_bus explicitly non-modular
  s390/zcrypt: Removed unneeded debug feature directory creation.
  s390: add missing "do {} while (0)" loop constructs to multiline macros
  s390/mm: add cond_resched call to kernel page table dumper
  s390: get rid of MACHINE_HAS_PFMF and MACHINE_HAS_HPAGE
  s390/mm: make memory_block_size_bytes available for !MEMORY_HOTPLUG
  s390: replace ACCESS_ONCE with READ_ONCE
  s390: Audit and remove any remaining unnecessary uses of module.h
  s390: mm: Audit and remove any unnecessary uses of module.h
  s390: kernel: Audit and remove any unnecessary uses of module.h
  s390/kdump: Use "LINUX" ELF note name instead of "CORE"
  s390: add no-execute support
  s390: report new vector facilities
  s390: use correct input data address for setup_randomness
  s390/sclp: get rid of common response code handling
  s390/sclp: don't add new lines to each printed string
  s390/sclp: make early sclp code readable
  s390/sclp: disable early sclp code as soon as the base sclp driver is active
  s390/sclp: move early printk code to drivers
  ...

1  2 
Documentation/admin-guide/kernel-parameters.txt
arch/s390/Kconfig.debug
arch/s390/include/asm/processor.h
arch/s390/kernel/idle.c
arch/s390/kvm/kvm-s390.c
arch/s390/mm/pgtable.c
arch/s390/net/bpf_jit_comp.c
drivers/s390/virtio/virtio_ccw.c

index 57f8ea9c49e32714bced886a1348a5e38728a77d,32b3e3bfd0227ad691b60da467a74b06cbd2e848..ba5f878a295c3295016e636b09d69ed4a14ec16c
@@@ -17,4 -17,11 +17,7 @@@ config S390_PTDUM
          kernel.
          If in doubt, say "N"
  
 -config DEBUG_SET_MODULE_RONX
 -      def_bool y
 -      depends on MODULES
 -
+ config EARLY_PRINTK
+       def_bool y
  endmenu
Simple merge
index d3bf69ef42cff9d00fcd30c89fc0c10ee88037bc,8e5ef334bee5bfb652a03c7cb220de8954f2d835..fb07a70820af42cc624f34d8de7f8b85ba959463
@@@ -93,11 -93,10 +93,11 @@@ u64 arch_cpu_idle_time(int cpu
        do {
                now = get_tod_clock();
                seq = read_seqcount_begin(&idle->seqcount);
-               idle_enter = ACCESS_ONCE(idle->clock_idle_enter);
-               idle_exit = ACCESS_ONCE(idle->clock_idle_exit);
+               idle_enter = READ_ONCE(idle->clock_idle_enter);
+               idle_exit = READ_ONCE(idle->clock_idle_exit);
        } while (read_seqcount_retry(&idle->seqcount, seq));
 -      return idle_enter ? ((idle_exit ?: now) - idle_enter) : 0;
 +
 +      return cputime_to_nsecs(idle_enter ? ((idle_exit ?: now) - idle_enter) : 0);
  }
  
  void arch_cpu_idle_enter(void)
Simple merge
Simple merge
index b49c52a020871d2717f676f0de1b96e9ed155276,b3b0af86b84ee9909f7fc0ef2c714a92e7e1a141..4ecf6d68750914e75c5ffab3c0dc2e5d8b9ef2f8
@@@ -1323,14 -1331,11 +1323,11 @@@ struct bpf_prog *bpf_int_jit_compile(st
        }
        if (bpf_jit_enable > 1) {
                bpf_jit_dump(fp->len, jit.size, pass, jit.prg_buf);
-               if (jit.prg_buf)
-                       print_fn_code(jit.prg_buf, jit.size_prg);
-       }
-       if (jit.prg_buf) {
-               bpf_jit_binary_lock_ro(header);
-               fp->bpf_func = (void *) jit.prg_buf;
-               fp->jited = 1;
+               print_fn_code(jit.prg_buf, jit.size_prg);
        }
 -      set_memory_ro((unsigned long)header, header->pages);
++      bpf_jit_binary_lock_ro(header);
+       fp->bpf_func = (void *) jit.prg_buf;
+       fp->jited = 1;
  free_addrs:
        kfree(jit.addrs);
  out:
Simple merge