Skip to content
  1. Jun 04, 2020
    • Eric Whitney's avatar
      ext4: clean up GET_BLOCKS_PRE_IO error handling · 779e2651
      Eric Whitney authored
      
      
      If the call to ext4_split_convert_extents() fails in the
      EXT4_GET_BLOCKS_PRE_IO case within ext4_ext_handle_unwritten_extents(),
      error out through the exit point at function end rather than jumping
      through an intermediate point.  Fix the error handling in the event
      ext4_split_convert_extents() returns 0, which it shouldn't do when
      splitting an existing extent.  The current code returns the passed in
      value of allocated (which is likely non-zero) while failing to set
      m_flags, m_pblk, and m_len.
      
      Signed-off-by: default avatarEric Whitney <enwlinux@gmail.com>
      Link: https://lore.kernel.org/r/20200430185320.23001-4-enwlinux@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      779e2651
    • Eric Whitney's avatar
      ext4: remove redundant GET_BLOCKS_CONVERT code · bee6cf00
      Eric Whitney authored
      
      
      Remove the redundant code assigning values to ext4_map_blocks components
      in ext4_ext_handle_unwritten_extents() for the EXT4_GET_BLOCKS_CONVERT
      case, using the code at the function exit instead.  Clean up and reorder
      that code to eliminate more redundancy and improve readability.
      
      Signed-off-by: default avatarEric Whitney <enwlinux@gmail.com>
      Link: https://lore.kernel.org/r/20200430185320.23001-3-enwlinux@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      bee6cf00
    • Eric Whitney's avatar
      ext4: remove dead GET_BLOCKS_ZERO code · ee802f86
      Eric Whitney authored
      
      
      There's no call to ext4_map_blocks() in the current ext4 code with a
      flags argument that combines EXT4_GET_BLOCKS_CONVERT and
      EXT4_GET_BLOCKS_ZERO.  Remove the code that corresponds to this case
      from ext4_ext_handle_unwritten_extents().
      
      Signed-off-by: default avatarEric Whitney <enwlinux@gmail.com>
      Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
      Link: https://lore.kernel.org/r/20200430185320.23001-2-enwlinux@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      ee802f86
    • Harshad Shirwadkar's avatar
      ext4: don't ignore return values from ext4_ext_dirty() · b60ca334
      Harshad Shirwadkar authored
      
      
      Don't ignore return values from ext4_ext_dirty, since the errors
      indicate valid failures below Ext4.  In all of the other instances of
      ext4_ext_dirty calls, the error return value is handled in some
      way. This patch makes those remaining couple of places to handle
      ext4_ext_dirty errors as well. In case of ext4_split_extent_at(), the
      ignorance of return value is intentional. The reason is that we are
      already in error path and there isn't much we can do if ext4_ext_dirty
      returns error. This patch adds a comment for that case explaining why
      we ignore the return value.
      
      In the longer run, we probably should
      make sure that errors from other mark_dirty routines are handled as
      well.
      
      Ran gce-xfstests smoke tests and verified that there were no
      regressions.
      
      Signed-off-by: default avatarHarshad Shirwadkar <harshadshirwadkar@gmail.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20200427013438.219117-2-harshadshirwadkar@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      b60ca334
    • Harshad Shirwadkar's avatar
      ext4: handle ext4_mark_inode_dirty errors · 4209ae12
      Harshad Shirwadkar authored
      
      
      ext4_mark_inode_dirty() can fail for real reasons. Ignoring its return
      value may lead ext4 to ignore real failures that would result in
      corruption / crashes. Harden ext4_mark_inode_dirty error paths to fail
      as soon as possible and return errors to the caller whenever
      appropriate.
      
      One of the possible scnearios when this bug could affected is that
      while creating a new inode, its directory entry gets added
      successfully but while writing the inode itself mark_inode_dirty
      returns error which is ignored. This would result in inconsistency
      that the directory entry points to a non-existent inode.
      
      Ran gce-xfstests smoke tests and verified that there were no
      regressions.
      
      Signed-off-by: default avatarHarshad Shirwadkar <harshadshirwadkar@gmail.com>
      Link: https://lore.kernel.org/r/20200427013438.219117-1-harshadshirwadkar@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      4209ae12
    • Jeffle Xu's avatar
      ext4: fix error pointer dereference · 8418897f
      Jeffle Xu authored
      Don't pass error pointers to brelse().
      
      commit 7159a986 ("ext4: fix some error pointer dereferences") has fixed
      some cases, fix the remaining one case.
      
      Once ext4_xattr_block_find()->ext4_sb_bread() failed, error pointer is
      stored in @bs->bh, which will be passed to brelse() in the cleanup
      routine of ext4_xattr_set_handle(). This will then cause a NULL panic
      crash in __brelse().
      
      BUG: unable to handle kernel NULL pointer dereference at 000000000000005b
      RIP: 0010:__brelse+0x1b/0x50
      Call Trace:
       ext4_xattr_set_handle+0x163/0x5d0
       ext4_xattr_set+0x95/0x110
       __vfs_setxattr+0x6b/0x80
       __vfs_setxattr_noperm+0x68/0x1b0
       vfs_setxattr+0xa0/0xb0
       setxattr+0x12c/0x1a0
       path_setxattr+0x8d/0xc0
       __x64_sys_setxattr+0x27/0x30
       do_syscall_64+0x60/0x250
       entry_SYSCALL_64_after_hwframe+0x49/0xbe
      
      In this case, @bs->bh stores '-EIO' actually.
      
      Fixes: fb265c9c
      
       ("ext4: add ext4_sb_bread() to disambiguate ENOMEM cases")
      Signed-off-by: default avatarJeffle Xu <jefflexu@linux.alibaba.com>
      Reviewed-by: default avatarJoseph Qi <joseph.qi@linux.alibaba.com>
      Cc: stable@kernel.org # 2.6.19
      Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/1587628004-95123-1-git-send-email-jefflexu@linux.alibaba.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      8418897f
    • Jan Kara's avatar
      ext4: Avoid freeing inodes on dirty list · ceff86fd
      Jan Kara authored
      
      
      When we are evicting inode with journalled data, we may race with
      transaction commit in the following way:
      
      CPU0					CPU1
      jbd2_journal_commit_transaction()	evict(inode)
      					  inode_io_list_del()
      					  inode_wait_for_writeback()
        process BJ_Forget list
          __jbd2_journal_insert_checkpoint()
          __jbd2_journal_refile_buffer()
            __jbd2_journal_unfile_buffer()
              if (test_clear_buffer_jbddirty(bh))
                mark_buffer_dirty(bh)
      	    __mark_inode_dirty(inode)
      					  ext4_evict_inode(inode)
      					    frees the inode
      
      This results in use-after-free issues in the writeback code (or
      the assertion added in the previous commit triggering).
      
      Fix the problem by removing inode from writeback lists once all the page
      cache is evicted and so inode cannot be added to writeback lists again.
      
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20200421085445.5731-4-jack@suse.cz
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      ceff86fd
    • Jan Kara's avatar
      writeback: Export inode_io_list_del() · 4301efa4
      Jan Kara authored
      
      
      Ext4 needs to remove inode from writeback lists after it is out of
      visibility of its journalling machinery (which can still dirty the
      inode). Export inode_io_list_del() for it.
      
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20200421085445.5731-3-jack@suse.cz
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      4301efa4
    • Xiyu Yang's avatar
      ext4: fix buffer_head refcnt leak when ext4_iget() fails · 3bbd0ef2
      Xiyu Yang authored
      
      
      ext4_orphan_get() invokes ext4_read_inode_bitmap(), which returns a
      reference of the specified buffer_head object to "bitmap_bh" with
      increased refcnt.
      
      When ext4_orphan_get() returns, local variable "bitmap_bh" becomes
      invalid, so the refcount should be decreased to keep refcount balanced.
      
      The reference counting issue happens in one exception handling path of
      ext4_orphan_get(). When ext4_iget() fails, the function forgets to
      decrease the refcnt increased by ext4_read_inode_bitmap(), causing a
      refcnt leak.
      
      Fix this issue by calling brelse() when ext4_iget() fails.
      
      Signed-off-by: default avatarXiyu Yang <xiyuyang19@fudan.edu.cn>
      Signed-off-by: default avatarXin Tan <tanxin.ctf@gmail.com>
      Cc: stable@kernel.org
      Link: https://lore.kernel.org/r/1587618568-13418-1-git-send-email-xiyuyang19@fudan.edu.cn
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      3bbd0ef2
    • Harshad Shirwadkar's avatar
      ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max · c36a71b4
      Harshad Shirwadkar authored
      
      
      If eh->eh_max is 0, EXT_MAX_EXTENT/INDEX would evaluate to unsigned
      (-1) resulting in illegal memory accesses. Although there is no
      consistent repro, we see that generic/019 sometimes crashes because of
      this bug.
      
      Ran gce-xfstests smoke and verified that there were no regressions.
      
      Signed-off-by: default avatarHarshad Shirwadkar <harshadshirwadkar@gmail.com>
      Link: https://lore.kernel.org/r/20200421023959.20879-2-harshadshirwadkar@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      Cc: stable@kernel.org
      c36a71b4
    • Jason Yan's avatar
      ext4: remove unnecessary comparisons to bool · 39c0ae16
      Jason Yan authored
      
      
      Fix the following coccicheck warning:
      
      fs/ext4/extents_status.c:1057:5-28: WARNING: Comparison to bool
      fs/ext4/inode.c:2314:18-24: WARNING: Comparison to bool
      
      Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
      Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
      Link: https://lore.kernel.org/r/20200420042918.19459-1-yanaijie@huawei.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      39c0ae16
    • Eric Whitney's avatar
      ext4: translate a few more map flags to strings in tracepoints · 493e83aa
      Eric Whitney authored
      
      
      As new ext4_map_blocks() flags have been added, not all have gotten flag
      bit to string translations to make tracepoint output more readable.
      Fix that, and go one step further by adding a translation for the
      EXT4_EX_NOCACHE flag as well.  The EXT4_EX_FORCE_CACHE flag can never
      be set in a tracepoint in the current code, so there's no need to
      bother with a translation for it right now.
      
      Signed-off-by: default avatarEric Whitney <enwlinux@gmail.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20200415203140.30349-3-enwlinux@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      493e83aa
    • Eric Whitney's avatar
      ext4: remove EXT4_GET_BLOCKS_KEEP_SIZE flag · 9e52484c
      Eric Whitney authored
      The eofblocks code was removed in the 5.7 release by "ext4: remove
      EOFBLOCKS_FL and associated code" (4337ecd1
      
      ).  The ext4_map_blocks()
      flag used to trigger it can now be removed as well.
      
      Signed-off-by: default avatarEric Whitney <enwlinux@gmail.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20200415203140.30349-2-enwlinux@gmail.com
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      9e52484c
    • Carlos Guerrero Álvarez's avatar
      ext4: fix a style issue in fs/ext4/acl.c · 6b6aeffc
      Carlos Guerrero Álvarez authored
      
      
      Fixed an if statement where braces were not needed.
      
      Link: https://lore.kernel.org/r/20200416141456.1089-1-carlosteniswarrior@gmail.com
      Signed-off-by: default avatarCarlos Guerrero Álvarez <carlosteniswarrior@gmail.com>
      Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
      6b6aeffc
  2. May 14, 2020
  3. May 07, 2020
  4. May 04, 2020
    • Linus Torvalds's avatar
      Linux 5.7-rc4 · 0e698dfa
      Linus Torvalds authored
      0e698dfa
    • Linus Torvalds's avatar
      Merge tag 'for-5.7-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 262f7a6b
      Linus Torvalds authored
      Pull more btrfs fixes from David Sterba:
       "A few more stability fixes, minor build warning fixes and git url
        fixup:
      
         - fix partial loss of prealloc extent past i_size after fsync
      
         - fix potential deadlock due to wrong transaction handle passing via
           journal_info
      
         - fix gcc 4.8 struct intialization warning
      
         - update git URL in MAINTAINERS entry"
      
      * tag 'for-5.7-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        MAINTAINERS: btrfs: fix git repo URL
        btrfs: fix gcc-4.8 build warning for struct initializer
        btrfs: transaction: Avoid deadlock due to bad initialization timing of fs_info::journal_info
        btrfs: fix partial loss of prealloc extent past i_size after fsync
      262f7a6b
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · ea915933
      Linus Torvalds authored
      Pull IOMMU fixes from Joerg Roedel:
      
       - Fix a memory leak when dev_iommu gets freed and a sub-pointer does
         not
      
       - Build dependency fixes for Mediatek, spapr_tce, and Intel IOMMU
         driver
      
       - Export iommu_group_get_for_dev() only for GPLed modules
      
       - Fix AMD IOMMU interrupt remapping when x2apic is enabled
      
       - Fix error path in the QCOM IOMMU driver probe function
      
      * tag 'iommu-fixes-v5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/qcom: Fix local_base status check
        iommu: Properly export iommu_group_get_for_dev()
        iommu/vt-d: Use right Kconfig option name
        iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system
        iommu: spapr_tce: Disable compile testing to fix build on book3s_32 config
        iommu/mediatek: Fix MTK_IOMMU dependencies
        iommu: Fix the memory leak in dev_iommu_free()
      ea915933
    • Eric Biggers's avatar
      MAINTAINERS: btrfs: fix git repo URL · eb91db63
      Eric Biggers authored
      
      
      The git repo listed for btrfs hasn't been updated in over a year.
      List the current one instead.
      
      Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
      Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
      Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
      eb91db63
  5. May 03, 2020
    • Linus Torvalds's avatar
      Merge tag 'pm-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 743f0573
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
      
       - prevent the intel_pstate driver from printing excessive diagnostic
         messages in some cases (Chris Wilson)
      
       - make the hibernation restore kernel freeze kernel threads as well as
         user space tasks (Dexuan Cui)
      
       - fix the ACPI device PM disagnostic messages to include the correct
         power state name (Kai-Heng Feng).
      
      * tag 'pm-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: ACPI: Output correct message on target power state
        PM: hibernate: Freeze kernel threads in software_resume()
        cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once
      743f0573
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpufreq' and 'pm-sleep' · a5383996
      Rafael J. Wysocki authored
      * pm-cpufreq:
        cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once
      
      * pm-sleep:
        PM: hibernate: Freeze kernel threads in software_resume()
      a5383996
    • Linus Torvalds's avatar
      Merge tag 'iomap-5.7-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · f66ed1eb
      Linus Torvalds authored
      Pull iomap fix from Darrick Wong:
       "Hoist the check for an unrepresentable FIBMAP return value into
        ioctl_fibmap.
      
        The internal kernel function can handle 64-bit values (and is needed
        to fix a regression on ext4 + jbd2). It is only the userspace ioctl
        that is so old that it cannot deal"
      
      * tag 'iomap-5.7-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        fibmap: Warn and return an error in case of block > INT_MAX
      f66ed1eb
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.7-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 29a47f45
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
       "Highlights include:
      
        Stable fixes:
         - fix handling of backchannel binding in BIND_CONN_TO_SESSION
      
        Bugfixes:
         - Fix a credential use-after-free issue in pnfs_roc()
         - Fix potential posix_acl refcnt leak in nfs3_set_acl
         - defer slow parts of rpc_free_client() to a workqueue
         - Fix an Oopsable race in __nfs_list_for_each_server()
         - Fix trace point use-after-free race
         - Regression: the RDMA client no longer responds to server disconnect
           requests
         - Fix return values of xdr_stream_encode_item_{present, absent}
         - _pnfs_return_layout() must always wait for layoutreturn completion
      
        Cleanups:
         - Remove unreachable error conditions"
      
      * tag 'nfs-for-5.7-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: Fix a race in __nfs_list_for_each_server()
        NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION
        SUNRPC: defer slow parts of rpc_free_client() to a workqueue.
        NFSv4: Remove unreachable error condition due to rpc_run_task()
        SUNRPC: Remove unreachable error condition
        xprtrdma: Fix use of xdr_stream_encode_item_{present, absent}
        xprtrdma: Fix trace point use-after-free race
        xprtrdma: Restore wake-up-all to rpcrdma_cm_event_handler()
        nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
        NFS/pnfs: Fix a credential use-after-free issue in pnfs_roc()
        NFS/pnfs: Ensure that _pnfs_return_layout() waits for layoutreturn completion
      29a47f45
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix-5.7-rc4' of git://git.infradead.org/users/vkoul/slave-dma · ed6889db
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
       "Core:
         - Documentation typo fixes
         - fix the channel indexes
         - dmatest: fixes for process hang and iterations
      
        Drivers:
         - hisilicon: build error fix without PCI_MSI
         - ti-k3: deadlock fix
         - uniphier-xdmac: fix for reg region
         - pch: fix data race
         - tegra: fix clock state"
      
      * tag 'dmaengine-fix-5.7-rc4' of git://git.infradead.org/users/vkoul/slave-dma:
        dmaengine: dmatest: Fix process hang when reading 'wait' parameter
        dmaengine: dmatest: Fix iteration non-stop logic
        dmaengine: tegra-apb: Ensure that clock is enabled during of DMA synchronization
        dmaengine: fix channel index enumeration
        dmaengine: mmp_tdma: Reset channel error on release
        dmaengine: mmp_tdma: Do not ignore slave config validation errors
        dmaengine: pch_dma.c: Avoid data race between probe and irq handler
        dt-bindings: dma: uniphier-xdmac: switch to single reg region
        include/linux/dmaengine: Typos fixes in API documentation
        dmaengine: xilinx_dma: Add missing check for empty list
        dmaengine: ti: k3-psil: fix deadlock on error path
        dmaengine: hisilicon: Fix build error without PCI_MSI
      ed6889db
  6. May 02, 2020
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.7-rc4' of git://github.com/awilliam/linux-vfio · 690e2aba
      Linus Torvalds authored
      Pull VFIO fixes from Alex Williamson:
      
       - copy_*_user validity check for new vfio_dma_rw interface (Yan Zhao)
      
       - Fix a potential math overflow (Yan Zhao)
      
       - Use follow_pfn() for calculating PFNMAPs (Sean Christopherson)
      
      * tag 'vfio-v5.7-rc4' of git://github.com/awilliam/linux-vfio:
        vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
        vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
        vfio: checking of validity of user vaddr in vfio_dma_rw
      690e2aba
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 42eb62d4
      Linus Torvalds authored
      Pull arm64 fix from Catalin Marinas:
       "Add -fasynchronous-unwind-tables to the vDSO CFLAGS"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: vdso: Add -fasynchronous-unwind-tables to cflags
      42eb62d4
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.7-2020-05-01' of git://git.kernel.dk/linux-block · cf018530
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Fix for statx not grabbing the file table, making AT_EMPTY_PATH fail
      
       - Cover a few cases where async poll can handle retry, eliminating the
         need for an async thread
      
       - fallback request busy/free fix (Bijan)
      
       - syzbot reported SQPOLL thread exit fix for non-preempt (Xiaoguang)
      
       - Fix extra put of req for sync_file_range (Pavel)
      
       - Always punt splice async. We'll improve this for 5.8, but wanted to
         eliminate the inode mutex lock from the non-blocking path for 5.7
         (Pavel)
      
      * tag 'io_uring-5.7-2020-05-01' of git://git.kernel.dk/linux-block:
        io_uring: punt splice async because of inode mutex
        io_uring: check non-sync defer_list carefully
        io_uring: fix extra put in sync_file_range()
        io_uring: use cond_resched() in io_ring_ctx_wait_and_kill()
        io_uring: use proper references for fallback_req locking
        io_uring: only force async punt if poll based retry can't handle it
        io_uring: enable poll retry for any file with ->read_iter / ->write_iter
        io_uring: statx must grab the file table for valid fd
      cf018530
    • Linus Torvalds's avatar
      Merge tag 'block-5.7-2020-05-01' of git://git.kernel.dk/linux-block · 052c467c
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A few fixes for this release:
      
         - NVMe pull request from Christoph, with a single fix for a double
           free in the namespace error handling.
      
         - Kill the bd_openers check in blk_drop_partitions(), fixing a
           regression in this merge window (Christoph)"
      
      * tag 'block-5.7-2020-05-01' of git://git.kernel.dk/linux-block:
        block: remove the bd_openers checks in blk_drop_partitions
        nvme: prevent double free in nvme_alloc_ns() error handling
      052c467c
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current-fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · ab386c46
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Three driver bugfixes, and two reverts because the original patches
        revealed underlying problems which the Tegra guys are now working on"
      
      * 'i2c/for-current-fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: aspeed: Avoid i2c interrupt status clear race condition.
        i2c: amd-mp2-pci: Fix Oops in amd_mp2_pci_init() error handling
        Revert "i2c: tegra: Better handle case where CPU0 is busy for a long time"
        Revert "i2c: tegra: Synchronize DMA before termination"
        i2c: iproc: generate stop event for slave writes
      ab386c46
    • Linus Torvalds's avatar
      Merge tag 'sound-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · c5364190
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Just a collection of small fixes around this time:
      
         - One more try for fixing PCM OSS regression
      
         - HD-audio: a new quirk for Lenovo, the improved driver blacklisting,
           a lock fix in the minor error path, and a fix for the possible race
           at monitor notifiaction
      
         - USB-audio: a quirk ID fix, a fix for POD HD500 workaround"
      
      * tag 'sound-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: usb-audio: Correct a typo of NuPrime DAC-10 USB ID
        ALSA: opti9xx: shut up gcc-10 range warning
        ALSA: hda/hdmi: fix without unlocked before return
        ALSA: hda/hdmi: fix race in monitor detection during probe
        ALSA: hda/realtek - Two front mics on a Lenovo ThinkCenter
        ALSA: line6: Fix POD HD500 audio playback
        ALSA: pcm: oss: Place the plugin buffer overflow checks correctly (for 5.7)
        ALSA: pcm: oss: Place the plugin buffer overflow checks correctly...
      c5364190
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-05-01' of git://anongit.freedesktop.org/drm/drm · 477bfeb9
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular scheduled fixes for graphics. Nothing to extreme bunch of
        amdgpu fixes, i915 and qxl fixes, along with some misc ones.
      
        All seems to be progressing normally.
      
        core:
         - EDID off by one DTD fix
         - DP mst write return code fix
      
        dma-buf:
         - fix SET_NAME ioctl uapi
         - doc fixes
      
        amdgpu:
         - Fix a green screen on resume issue
         - PM fixes for SR-IOV SDMA fix for navi
         - Renoir display fixes
         - Cursor and pageflip stuttering fixes
         - Misc additional display fixes
         - (uapi) Add additional DCC tiling flags for navi1x
      
        i915:
         - Fix selftest refcnt leak (Xiyu)
         - Fix gem vma lock (Chris)
         - Fix gt's i915_request.timeline acquire by checking if cacheline is
           valid (Chris)
         - Fix IRQ postinistall fault masks (Matt)
      
        qxl:
         - use after gree fix
         - fix lost kunmap
         - release leak fix
      
        virtio:
         - context destruction fix"
      
      * tag 'drm-fixes-2020-05-01' of git://anongit.freedesktop.org/drm/drm: (26 commits)
        dma-buf: fix documentation build warnings
        drm/qxl: qxl_release use after free
        drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper()
        drm/i915: Use proper fault mask in interrupt postinstall too
        drm/amd/display: Use cursor locking to prevent flip delays
        drm/amd/display: Update downspread percent to match spreadsheet for DCN2.1
        drm/amd/display: Defer cursor update around VUPDATE for all ASIC
        drm/amd/display: fix rn soc bb update
        drm/amd/display: check if REFCLK_CNTL register is present
        drm/amdgpu: bump version for invalidate L2 before SDMA IBs
        drm/amdgpu: invalidate L2 before SDMA IBs (v2)
        drm/amdgpu: add tiling flags from Mesa
        drm/amd/powerplay: avoid using pm_en before it is initialized revised
        Revert "drm/amd/powerplay: avoid using pm_en before it is initialized"
        drm/qxl: qxl_release leak in qxl_hw_surface_alloc()
        drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
        drm/virtio: only destroy created contexts
        drm/dp_mst: Fix drm_dp_send_dpcd_write() return code
        drm/i915/gt: Check cacheline is valid before acquiring
        drm/i915/gem: Hold obj->vma.lock over for_each_ggtt_vma()
        ...
      477bfeb9
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · cebcff3a
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Four minor fixes: three in drivers and one in the core.
      
        The core one allows an additional state change that fixes a regression
        introduced by an update to the aacraid driver in the previous merge
        window"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: target/iblock: fix WRITE SAME zeroing
        scsi: qla2xxx: check UNLOADING before posting async work
        scsi: qla2xxx: set UNLOADING before waiting for session deletion
        scsi: core: Allow the state change from SDEV_QUIESCE to SDEV_BLOCK
      cebcff3a
  7. May 01, 2020