1. 27 Jul, 2021 37 commits
  2. 25 Jul, 2021 3 commits
    • Linus Torvalds's avatar
      Linux 5.14-rc3 · ff117646
      Linus Torvalds authored
      ff117646
    • Linus Torvalds's avatar
      smpboot: fix duplicate and misplaced inlining directive · a1833a54
      Linus Torvalds authored
      gcc doesn't care, but clang quite reasonably pointed out that the recent
      commit e9ba16e6 ("smpboot: Mark idle_init() as __always_inlined to
      work around aggressive compiler un-inlining") did some really odd
      things:
      
          kernel/smpboot.c:50:20: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
          static inline void __always_inline idle_init(unsigned int cpu)
                             ^
      
      which not only has that duplicate inlining specifier, but the new
      __always_inline was put in the wrong place of the function definition.
      
      We put the storage class specifiers (ie things like "static" and
      "extern") first, and the type information after that.  And while the
      compiler may not care, we put the inline specifier before the types.
      
      So it should be just
      
          static __always_inline void idle_init(unsigned int cpu)
      
      instead.
      
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a1833a54
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 3c0ce149
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix guest to host memory corruption in H_RTAS due to missing nargs
         check.
      
       - Fix guest triggerable host crashes due to bad handling of nested
         guest TM state.
      
       - Fix possible crashes due to incorrect reference counting in
         kvm_arch_vcpu_ioctl().
      
       - Two commits fixing some regressions in KVM transactional memory
         handling introduced by the recent rework of the KVM code.
      
      Thanks to Nicholas Piggin, Alexey Kardashevskiy, and Michael Neuling.
      
      * tag 'powerpc-5.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
        KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
        KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
        KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
        KVM: PPC: Book3S HV P9: Fix guest TM support
      3c0ce149