Skip to content
  1. Jul 03, 2017
  2. Jul 02, 2017
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e18aca02
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "Fixlets for x86:
      
         - Prevent kexec crash when KASLR is enabled, which was caused by an
           address calculation bug
      
         - Restore the freeing of PUDs on memory hot remove
      
         - Correct a negated pointer check in the intel uncore performance
           monitoring driver
      
         - Plug a memory leak in an error exit path in the RDT code"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/intel_rdt: Fix memory leak on mount failure
        x86/boot/KASLR: Fix kexec crash due to 'virt_addr' calculation bug
        x86/boot/KASLR: Add checking for the offset of kernel virtual address randomization
        perf/x86/intel/uncore: Fix wrong box pointer check
        x86/mm/hotplug: Fix BUG_ON() after hot-remove by not freeing PUD
      e18aca02
  3. Jul 01, 2017
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a527bf61
      Linus Torvalds authored
      Pull perf fix from Thomas Gleixner:
       "The last fix for perf for this cycles:
      
         - Prevent a segfault when kernel.kptr_restrict=2 is set by avoiding a
           null pointer dereference"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf machine: Fix segfault for kernel.kptr_restrict=2
      a527bf61
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v4.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 46589d7a
      Linus Torvalds authored
      Pull pinctrl fix from Linus Walleij:
       "Brian noticed that this regression has not got a proper fix for the
        entire merge window and consequently we need to revert the offending
        commit.
      
        It's part of the RT-mainstream work, the dance goes like this, two
        steps forward, one step back.
      
        Summary:
      
         - A last fix for v4.12, an IRQ problem reported early in the merge
           window appears not to have been properly fixed, so the offending
           commit will be reverted and we will find the proper fix for v4.13.
           Hopefully"
      
      * tag 'pinctrl-v4.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        Revert "pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip"
      46589d7a
    • Linus Torvalds's avatar
      Merge tag 'gpio-v4.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · fc93274a
      Linus Torvalds authored
      Pull last minute fixes for GPIO from Linus Walleij:
      
       - Fix another ACPI problem with broken BIOSes.
      
       - Filter out the right GPIO events, making a very user-visible bug go
         away.
      
      * tag 'gpio-v4.12-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpio: acpi: Skip _AEI entries without a handler rather then aborting the scan
        gpiolib: fix filtering out unwanted events
      fc93274a
    • Linus Torvalds's avatar
      Merge tag 'trace-v4.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · c0a0c7a4
      Linus Torvalds authored
      Pull last-minute tracing fixes from Steven Rostedt:
       "Two fixes:
      
        One is for a crash when using the :mod: trace probe command into
        stack_trace_filter. This bug was introduced during the last merge
        window.
      
        The other was there forever. It's a small bug that makes it impossible
        to name a module function for kprobes when the module starts with a
        digit"
      
      * tag 'trace-v4.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing/kprobes: Allow to create probe with a module name starting with a digit
        ftrace: Fix regression with module command in stack_trace_filter
      c0a0c7a4
    • Zack Weinberg's avatar
      uapi/linux/a.out.h: don't use deprecated system-specific predefines. · fbd57629
      Zack Weinberg authored
      
      
      uapi/linux/a.out.h uses a number of predefined macros that are
      deprecated because they're in the application namespace
      (e.g. '#ifdef linux' instead of '#ifdef __linux__').
      This patch either corrects or just removes them if they are not
      applicable to Linux.
      
      The primary reason this is worth bothering to fix, considering how
      obsolete a.out binary support is, is that the GCC build process
      considers this such a severe error that it will copy the header into a
      private directory and change the macro names, which causes future
      updates to the header to be masked.  This header probably doesn't get
      updated very often anymore, but it is the _only_ uapi header that gets
      this treatment, so IMHO it is worth patching just to drive that number
      all the way to zero.
      
      Signed-off-by: default avatarZack Weinberg <zackw@panix.com>
      [hch: removed dead conditionals]
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      fbd57629
    • Jakub Kicinski's avatar
      hashtable: remove repeated phrase from a comment · dbd18777
      Jakub Kicinski authored
      
      
      "in a rcu enabled hashtable" is repeated twice in a comment.
      
      Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      dbd18777
    • Vikas Shivappa's avatar
      x86/intel_rdt: Fix memory leak on mount failure · 79298acc
      Vikas Shivappa authored
      If mount fails, the kn_info directory is not freed causing memory leak.
      
      Add the missing error handling path.
      
      Fixes: 4e978d06
      
       ("x86/intel_rdt: Add "info" files to resctrl file system")
      Signed-off-by: default avatarVikas Shivappa <vikas.shivappa@linux.intel.com>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: ravi.v.shankar@intel.com
      Cc: tony.luck@intel.com
      Cc: fenghua.yu@intel.com
      Cc: peterz@infradead.org
      Cc: vikas.shivappa@intel.com
      Cc: andi.kleen@intel.com
      Cc: stable@vger.kernel.org
      Link: http://lkml.kernel.org/r/1498503368-20173-3-git-send-email-vikas.shivappa@linux.intel.com
      79298acc
    • Linus Torvalds's avatar
      Merge tag 'powerpc-4.12-8' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · b4df2e35
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
       "Hopefully the last two powerpc fixes for 4.12.
      
        The CXL one is larger than I'd usually send at rc7, but it fixes new
        code this cycle, so better to have it working for the release. It was
        actually sent a few weeks back but got blocked in testing behind
        another fix that was causing issues.
      
        We are still tracking one crash in v4.12-rc7, but only one person has
        reproduced it and the commit identified by bisect doesn't touch any of
        the relevant code, so I think it's 50/50 whether that commit is
        actually the problem or it's some code layout / toolchain issue.
      
        Two fixes for code we merged this cycle:
      
         - cxl: Fixes for Coherent Accelerator Interface Architecture 2.0
      
         - Avoid miscompilation w/GCC 4.6.3 on 32-bit - don't inline
           copy_to/from_user()
      
        Thanks to Al Viro, Larry Finger, Christophe Lombard"
      
      * tag 'powerpc-4.12-8' of git://git.kernel.org/pub/...
      b4df2e35
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v4.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 27ab862a
      Linus Torvalds authored
      Pull IOMMU fixes from Joerg Roedel:
       "Two fixes:
      
         - A fix for AMD IOMMU interrupt remapping code when IRQs are
           forwarded directly to KVM guests
      
         - Fixed check in the recently merged code to allow tboot with
           Intel VT-d disabled"
      
      * tag 'iommu-fixes-v4.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/amd: Fix interrupt remapping when disable guest_mode
        iommu/vt-d: Correctly disable Intel IOMMU force on
      27ab862a
    • Linus Torvalds's avatar
      Merge tag 'sound-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 4adc6b93
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Two last-minute HD-audio fixes"
      
      * tag 'sound-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - Fix endless loop of codec configure
        ALSA: hda - set input_path bitmap to zero after moving it to new place
      4adc6b93
    • Linus Torvalds's avatar
      Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs · 86c3e00a
      Linus Torvalds authored
      Pull overlayfs fixes from Miklos Szeredi:
       "Fix two bugs in copy-up code. One introduced in 4.11 and one in
        4.12-rc"
      
      * 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
        ovl: don't set origin on broken lower hardlink
        ovl: copy-up: don't unlock between lookup and link
      86c3e00a
  4. Jun 30, 2017