1. 25 Feb, 2022 5 commits
    • Xin Xiong's avatar
      NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() · b7f114ed
      Xin Xiong authored
      [You don't often get email from xiongx18@fudan.edu.cn. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.]
      
      The reference counting issue happens in two error paths in the
      function _nfs42_proc_copy_notify(). In both error paths, the function
      simply returns the error code and forgets to balance the refcount of
      object `ctx`, bumped by get_nfs_open_context() earlier, which may
      cause refcount leaks.
      
      Fix it by balancing refcount of the `ctx` object before the function
      returns in both error paths.
      Signed-off-by: default avatarXin Xiong <xiongx18@fudan.edu.cn>
      Signed-off-by: default avatarXiyu Yang <xiyuyang19@fudan.edu.cn>
      Signed-off-by: default avatarXin Tan <tanxin.ctf@gmail.com>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
      b7f114ed
    • Matthew Wilcox (Oracle)'s avatar
      Convert NFS from readpages to readahead · 8786fde8
      Matthew Wilcox (Oracle) authored
      NFS is one of the last two users of the deprecated ->readpages aop.
      This conversion looks straightforward, but I have only compile-tested
      it.
      Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
      8786fde8
    • Tom Rix's avatar
      NFS: simplify check for freeing cn_resp · 98c27f27
      Tom Rix authored
      nfs42_files_from_same_server() is called to check if freeing
      cn_resp is required, just do the free.
      Signed-off-by: default avatarTom Rix <trix@redhat.com>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
      98c27f27
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 53ab78cd
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A couple driver fixes in the clk subsystem
      
         - Fix a hang due to bad clk parent in the Ingenic jz4725b driver
      
         - Fix SD controllers on Qualcomm MSM8994 SoCs by removing clks that
           shouldn't be touched"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: jz4725b: fix mmc0 clock gating
        clk: qcom: gcc-msm8994: Remove NoC clocks
      53ab78cd
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-02-25' of git://anongit.freedesktop.org/drm/drm · 5ee3d001
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular drm fixes pull, i915, amdgpu and tegra mostly, all pretty
        small.
      
        core:
         - edid: Always set RGB444
      
        tegra:
         - tegra186 suspend/resume fixes
         - syncpoint wait fix
         - build warning fix
         - eDP on older devices fix
      
        amdgpu:
         - Display FP fix
         - PCO powergating fix
         - RDNA2 OEM SKU stability fixes
         - Display PSR fix
         - PCI ASPM fix
         - Display link encoder fix for TEST_COMMIT
         - Raven2 suspend/resume fix
         - Fix a regression in virtual display support
         - GPUVM eviction fix
      
        i915:
         - Fix QGV handling on ADL-P+
         - Fix bw atomic check when switching between SAGV vs. no SAGV
         - Disconnect PHYs left connected by BIOS on disabled ports
         - Fix SAVG to no SAGV transitions on TGL+
         - Print PHY name properly on calibration error (DG2)
      
        imx:
         - dcss: Select GEM CMA helpers
      
        radeon:
         - Fix some variables's type
      
        vc4:
         - Fix codec cleanup
         - Fix PM reference counting"
      
      * tag 'drm-fixes-2022-02-25' of git://anongit.freedesktop.org/drm/drm: (24 commits)
        drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
        drm/amdgpu: bypass tiling flag check in virtual display case (v2)
        Revert "drm/amdgpu: add modifiers in amdgpu_vkms_plane_init()"
        drm/amdgpu: do not enable asic reset for raven2
        drm/amd/display: Fix stream->link_enc unassigned during stream removal
        drm/amd: Check if ASPM is enabled from PCIe subsystem
        drm/edid: Always set RGB444
        drm/tegra: dpaux: Populate AUX bus
        drm/radeon: fix variable type
        drm/amd/display: For vblank_disable_immediate, check PSR is really used
        drm/amd/pm: fix some OEM SKU specific stability issues
        drm/amdgpu: disable MMHUB PG for Picasso
        drm/amd/display: Protect update_bw_bounding_box FPU code.
        drm/i915/dg2: Print PHY name properly on calibration error
        drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
        drm/i915: Correctly populate use_sagv_wm for all pipes
        drm/i915: Disconnect PHYs left connected by BIOS on disabled ports
        drm/i915: Widen the QGV point mask
        drm/imx/dcss: i.MX8MQ DCSS select DRM_GEM_CMA_HELPER
        drm/vc4: crtc: Fix runtime_pm reference counting
        ...
      5ee3d001
  2. 24 Feb, 2022 35 commits