Skip to content
  1. Jul 27, 2021
  2. Jul 26, 2021
    • 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
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 12e9bd16
      Linus Torvalds authored
      Pull timer fixes from Thomas Gleixner:
       "A small set of timer related fixes:
      
         - Plug a race between rearm and process tick in the posix CPU timers
           code
      
         - Make the optimization to avoid recalculation of the next timer
           interrupt work correctly when there are no timers pending"
      
      * tag 'timers-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        timers: Fix get_next_timer_interrupt() with no timers pending
        posix-cpu-timers: Fix rearm racing against process tick
      12e9bd16
    • Linus Torvalds's avatar
      Merge tag 'locking-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d1b17825
      Linus Torvalds authored
      Pull x86 jump label fix from Thomas Gleixner:
       "A single fix for jump labels to prevent the compiler from agressive
        un-inlining which results in a section mismatch"
      
      * tag 'locking-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        jump_labels: Mark __jump_label_transform() as __always_inlined to work around aggressive compiler un-inlining
      d1b17825
    • Linus Torvalds's avatar
      Merge tag 'efi-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e049597e
      Linus Torvalds authored
      Pull EFI fixes from Thomas Gleixner:
       "A set of EFI fixes:
      
         - Prevent memblock and I/O reserved resources to get out of sync when
           EFI memreserve is in use.
      
         - Don't claim a non-existing table is invalid
      
         - Don't warn when firmware memory is already reserved correctly"
      
      * tag 'efi-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        efi/mokvar: Reserve the table only if it is in boot services data
        efi/libstub: Fix the efi_load_initrd function description
        firmware/efi: Tell memblock about EFI iomem reservations
        efi/tpm: Differentiate missing and invalid final event log table.
      e049597e