1. 05 Apr, 2022 2 commits
    • Pawan Gupta's avatar
      x86/pm: Save the MSR validity status at context setup · 73924ec4
      Pawan Gupta authored
      The mechanism to save/restore MSRs during S3 suspend/resume checks for
      the MSR validity during suspend, and only restores the MSR if its a
      valid MSR.  This is not optimal, as an invalid MSR will unnecessarily
      throw an exception for every suspend cycle.  The more invalid MSRs,
      higher the impact will be.
      
      Check and save the MSR validity at setup.  This ensures that only valid
      MSRs that are guaranteed to not throw an exception will be attempted
      during suspend.
      
      Fixes: 7a9c2dd0 ("x86/pm: Introduce quirk framework to save/restore extra MSR registers around suspend/resume")
      Suggested-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
      Signed-off-by: default avatarPawan Gupta <pawan.kumar.gupta@linux.intel.com>
      Reviewed-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
      Acked-by: default avatarBorislav Petkov <bp@suse.de>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      73924ec4
    • Linus Torvalds's avatar
      Merge tag 'for-5.18-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · ce4c854e
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
      
       - prevent deleting subvolume with active swapfile
      
       - fix qgroup reserve limit calculation overflow
      
       - remove device count in superblock and its item in one transaction so
         they cant't get out of sync
      
       - skip defragmenting an isolated sector, this could cause some extra IO
      
       - unify handling of mtime/permissions in hole punch with fallocate
      
       - zoned mode fixes:
           - remove assert checking for only single mode, we have the
             DUP mode implemented
           - fix potential lockdep warning while traversing devices
             when checking for zone activation
      
      * tag 'for-5.18-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: prevent subvol with swapfile from being deleted
        btrfs: do not warn for free space inode in cow_file_range
        btrfs: avoid defragging extents whose next extents are not targets
        btrfs: fix fallocate to use file_modified to update permissions consistently
        btrfs: remove device item and update super block in the same transaction
        btrfs: fix qgroup reserve overflow the qgroup limit
        btrfs: zoned: remove left over ASSERT checking for single profile
        btrfs: zoned: traverse devices under chunk_mutex in btrfs_can_activate_zone
      ce4c854e
  2. 03 Apr, 2022 8 commits
  3. 02 Apr, 2022 30 commits