1. 12 Jul, 2019 37 commits
  2. 11 Jul, 2019 3 commits
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 753c8d9b
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A collection of assorted fixes:
      
         - Fix for the pinned cr0/4 fallout which escaped all testing efforts
           because the kvm-intel module was never loaded when the kernel was
           compiled with CONFIG_PARAVIRT=n. The cr0/4 accessors are moved out
           of line and static key is now solely used in the core code and
           therefore can stay in the RO after init section. So the kvm-intel
           and other modules do not longer reference the (read only) static
           key which the module loader tried to update.
      
         - Prevent an infinite loop in arch_stack_walk_user() by breaking out
           of the loop once the return address is detected to be 0.
      
         - Prevent the int3_emulate_call() selftest from corrupting the stack
           when KASAN is enabled. KASASN clobbers more registers than covered
           by the emulated call implementation. Convert the int3_magic()
           selftest to a ASM function so the compiler cannot KASANify it.
      
         - Unbreak the build with old GCC versions and with the Gold linker by
           reverting the 'Move of _etext to the actual end of .text'. In both
           cases the build fails with 'Invalid absolute R_X86_64_32S
           relocation: _etext'
      
         - Initialize the context lock for init_mm, which was never an issue
           until the alternatives code started to use a temporary mm for
           patching.
      
         - Fix a build warning vs. the LOWMEM_PAGES constant where clang
           complains rightfully about a signed integer overflow in the shift
           operation by converting the operand to an ULL.
      
         - Adjust the misnamed ENDPROC() of common_spurious in the 32bit entry
           code"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/stacktrace: Prevent infinite loop in arch_stack_walk_user()
        x86/asm: Move native_write_cr0/4() out of line
        x86/pgtable/32: Fix LOWMEM_PAGES constant
        x86/alternatives: Fix int3_emulate_call() selftest stack corruption
        x86/entry/32: Fix ENDPROC of common_spurious
        Revert "x86/build: Move _etext to actual end of .text"
        x86/ldt: Initialize the context lock for init_mm
      753c8d9b
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d7fe42a6
      Linus Torvalds authored
      Pull timer fixes from Thomas Gleixner:
       "Two small fixes from the timer departement:
      
         - Prevent the compiler from converting the nanoseconds adjustment
           loop in the VDSO update function to a division (__udivdi3) by using
           the __iter_div_u64_rem() inline function which exists to prevent
           exactly that problem.
      
         - Fix the wrong argument order of the GENMASK macro in the NPCM timer
           driver"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        timekeeping/vsyscall: Use __iter_div_u64_rem()
        clocksource/drivers/npcm: Fix misuse of GENMASK macro
      d7fe42a6
    • Linus Torvalds's avatar
      Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 02150fab
      Linus Torvalds authored
      Pull stacktrace fix from Thomas Gleixner:
       "Fix yet another instance of kernel thread check which ignores that
        kernel threads can call use_mm()"
      
      * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        stacktrace: Use PF_KTHREAD to check for kernel threads
      02150fab