1. 27 Jan, 2022 23 commits
  2. 26 Jan, 2022 11 commits
  3. 25 Jan, 2022 6 commits
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.17-1' of git://git.linux-nfs.org/projects/anna/linux-nfs · 0280e3c5
      Linus Torvalds authored
      Pull NFS client updates from Anna Schumaker:
       "New Features:
      
         - Basic handling for case insensitive filesystems
      
         - Initial support for fs_locations and server trunking
      
        Bugfixes and Cleanups:
      
         - Cleanups to how the "struct cred *" is handled for the
           nfs_access_entry
      
         - Ensure the server has an up to date ctimes before hardlinking or
           renaming
      
         - Update 'blocks used' after writeback, fallocate, and clone
      
         - nfs_atomic_open() fixes
      
         - Improvements to sunrpc tracing
      
         - Various null check & indenting related cleanups
      
         - Some improvements to the sunrpc sysfs code:
            - Use default_groups in kobj_type
            - Fix some potential races and reference leaks
      
         - A few tracepoint cleanups in xprtrdma"
      
      [ This should have gone in during the merge window, but didn't. The
        original pull request - sent during the merge window - had gotten
        marked as spam and discarded due missing DKIM headers in the email
        from Anna.   - Linus ]
      
      * tag 'nfs-for-5.17-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (35 commits)
        SUNRPC: Don't dereference xprt->snd_task if it's a cookie
        xprtrdma: Remove definitions of RPCDBG_FACILITY
        xprtrdma: Remove final dprintk call sites from xprtrdma
        sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
        net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
        NFSv4.1 test and add 4.1 trunking transport
        SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
        NFSv4 handle port presence in fs_location server string
        NFSv4 expose nfs_parse_server_name function
        NFSv4.1 query for fs_location attr on a new file system
        NFSv4 store server support for fs_location attribute
        NFSv4 remove zero number of fs_locations entries error check
        NFSv4: nfs_atomic_open() can race when looking up a non-regular file
        NFSv4: Handle case where the lookup of a directory fails
        NFSv42: Fallocate and clone should also request 'blocks used'
        NFSv4: Allow writebacks to request 'blocks used'
        SUNRPC: use default_groups in kobj_type
        NFS: use default_groups in kobj_type
        NFS: Fix the verifier for case sensitive filesystem in nfs_atomic_open()
        NFS: Add a helper to remove case-insensitive aliases
        ...
      0280e3c5
    • Tvrtko Ursulin's avatar
      drm/i915: Flush TLBs before releasing backing store · 7938d615
      Tvrtko Ursulin authored
      We need to flush TLBs before releasing backing store otherwise userspace
      is able to encounter stale entries if a) it is not declaring access to
      certain buffers and b) it races with the backing store release from a
      such undeclared execution already executing on the GPU in parallel.
      
      The approach taken is to mark any buffer objects which were ever bound
      to the GPU and to trigger a serialized TLB flush when their backing
      store is released.
      
      Alternatively the flushing could be done on VMA unbind, at which point
      we would be able to ascertain whether there is potential a parallel GPU
      execution (which could race), but essentially it boils down to paying
      the cost of TLB flushes potentially needlessly at VMA unbind time (when
      the backing store is not known to be going away so not needed for
      safety), versus potentially needlessly at backing store relase time
      (since we at that point cannot tell whether there is anything executing
      on the GPU which uses that object).
      
      Thereforce simplicity of implementation has been chosen for now with
      scope to benchmark and refine later as required.
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reported-by: default avatarSushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Acked-by: default avatarDave Airlie <airlied@redhat.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Jon Bloomfield <jon.bloomfield@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7938d615
    • Thomas Bogendoerfer's avatar
      amd: declance: use eth_hw_addr_set() · 8bdd2494
      Thomas Bogendoerfer authored
      Copy scattered mac address octets into an array then eth_hw_addr_set().
      
      Fixes: adeef3e3 ("net: constify netdev->dev_addr")
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Link: https://lore.kernel.org/r/20220125144007.64407-1-tsbogend@alpha.franken.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      8bdd2494
    • Linus Torvalds's avatar
      Merge tag 'for-5.17-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 49d766f3
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "Several fixes for defragmentation that got broken in 5.16 after
        refactoring and added subpage support. The observed bugs are excessive
        IO or uninterruptible ioctl.
      
        All stable material"
      
      * tag 'for-5.17-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: update writeback index when starting defrag
        btrfs: add back missing dirty page rate limiting to defrag
        btrfs: fix deadlock when reserving space during defrag
        btrfs: defrag: properly update range->start for autodefrag
        btrfs: defrag: fix wrong number of defragged sectors
        btrfs: allow defrag to be interruptible
        btrfs: fix too long loop when defragging a 1 byte file
      49d766f3
    • Yufeng Mo's avatar
      net: hns3: handle empty unknown interrupt for VF · 2f61353c
      Yufeng Mo authored
      Since some interrupt states may be cleared by hardware, the driver
      may receive an empty interrupt. Currently, the VF driver directly
      disables the vector0 interrupt in this case. As a result, the VF
      is unavailable. Therefore, the vector0 interrupt should be enabled
      in this case.
      
      Fixes: b90fcc5b ("net: hns3: add reset handling for VF when doing Core/Global/IMP reset")
      Signed-off-by: default avatarYufeng Mo <moyufeng@huawei.com>
      Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2f61353c
    • Jakub Kicinski's avatar
      net: fec_mpc52xx: don't discard const from netdev->dev_addr · 74afa306
      Jakub Kicinski authored
      Recent changes made netdev->dev_addr const, and it's passed
      directly to mpc52xx_fec_set_paddr().
      
      Similar problem exists on the probe patch, the driver needs
      to call eth_hw_addr_set().
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Fixes: adeef3e3 ("net: constify netdev->dev_addr")
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      74afa306