1. 11 Feb, 2022 14 commits
    • Linus Torvalds's avatar
      Merge tag 'gfs2-v5.16-rc3-fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 8ce964b5
      Linus Torvalds authored
      Pull gfs2 fixes from Andreas Gruenbacher:
      
       - Revert debug commit that causes unexpected data corruption
      
       - Fix muti-block reservation regression
      
      * tag 'gfs2-v5.16-rc3-fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: Fix gfs2_release for non-writers regression
        Revert "gfs2: check context in gfs2_glock_put"
      8ce964b5
    • Linus Torvalds's avatar
      Merge tag 'block-5.17-2022-02-11' of git://git.kernel.dk/linux-block · cf26a236
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request
            - nvme-tcp: fix bogus request completion when failing to send AER
              (Sagi Grimberg)
            - add the missing nvme_complete_req tracepoint for batched
              completion (Bean Huo)
      
       - Revert of the loop async autoclear issue that has continued to plague
         us this release. A few patchsets exists to improve this, but they are
         too invasive to be considered at this point (Tetsuo)
      
      * tag 'block-5.17-2022-02-11' of git://git.kernel.dk/linux-block:
        loop: revert "make autoclear operation asynchronous"
        nvme-tcp: fix bogus request completion when failing to send AER
        nvme: add nvme_complete_req tracepoint for batched completion
      cf26a236
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.17-2022-02-11' of git://git.kernel.dk/linux-block · 199b7f84
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Fix a false-positive warning from an older gcc (Alviro)
      
       - Allow oom killer invocations from io_uring_setup (Shakeel)
      
      * tag 'io_uring-5.17-2022-02-11' of git://git.kernel.dk/linux-block:
        mm: io_uring: allow oom-killer from io_uring_setup
        io_uring: Clean up a false-positive warning from GCC 9.3.0
      199b7f84
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 0b9df436
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - use sleeping variants of GPIO accessors where needed
         in gpio-aggregator
      
       - never return kernel's internal error codes to user-space
         in gpiolib core
      
       - use the correct register for reading output values in
         gpio-sifive
      
       - fix line hogging in gpio-sim
      
      * tag 'gpio-fixes-for-v5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: sim: fix hogs with custom chip labels
        gpio: sifive: use the correct register to read output values
        gpiolib: Never return internal error codes to user space
        gpio: aggregator: Fix calling into sleeping GPIO controllers
      0b9df436
    • Linus Torvalds's avatar
      Merge tag 'ata-5.17-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · 284fce04
      Linus Torvalds authored
      Pull ata fixes from Damien Le Moal:
       "A couple of additional fixes for 5.17-rc4:
      
         - Fix compilation warnings in the sata_fsl driver (powerpc) (me)
      
         - Disable TRIM commands on M88V29 devices as these commands are
           failing despite the device reporting it supports TRIM (Zoltan)"
      
      * tag 'ata-5.17-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata:
        ata: libata-core: Disable TRIM on M88V29
        ata: sata_fsl: fix sscanf() and sysfs_emit() format strings
      284fce04
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-02-11' of git://anongit.freedesktop.org/drm/drm · c3ee3a9e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular fixes pull, mostly i915 and amd fixes, along with a
        maintainers update for fbdev core.
      
        Otherwise just some build fixes and vc4 HDMI fixes.
      
        fbdev:
         - MAINTAINERS: add Daniel as fbdev core module maintainer
         - build warning fix
         - implicit type cast fix
      
        panel:
         - simple: Fix assignments from panel_dpi_probe()
      
        privacy-screen:
         - fix docs warning
      
        i915:
         - non-x86 build fix
         - ttm error propogation fix
         - drrs on hsw/ivb disabled
         - BIOS readout fixes
         - missing stackdepot oops fix
      
        amd:
         - DCN 3.1 display fixes
         - GC 10.3.1 harvest fix
         - Page flip irq fix
         - hwmon label fix
         - DCN 2.0 display fix
      
        rockchip:
         - fix HDMI error cleanup
         - fix RK3399 VOP register fields
      
        vc4:
         - HDMI fixes
         - remove redundant code"
      
      * tag 'drm-fixes-2022-02-11' of git://anongit.freedesktop.org/drm/drm: (25 commits)
        drm/amdgpu/display: change pipe policy for DCN 2.0
        drm/amd/pm: fix hwmon node of power1_label create issue
        drm/amd/display: keep eDP Vdd on when eDP stream is already enabled
        drm/amd/display: fix yellow carp wm clamping
        drm/amd/display: Cap pflip irqs per max otg number
        drm/amdgpu: add utcl2_harvest to gc 10.3.1
        display/amd: decrease message verbosity about watermarks table failure
        drm/rockchip: vop: Correct RK3399 VOP register fields
        drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
        MAINTAINERS: Add entry for fbdev core
        fbcon: Avoid 'cap' set but not used warning
        drm/privacy-screen: Fix sphinx warning
        drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL
        drm/i915: Populate pipe dbuf slices more accurately during readout
        drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
        drm/i915: Fix header test for !CONFIG_X86
        drm/i915/ttm: Return some errors instead of trying memcpy move
        drm/i915: Disable DRRS on IVB/HSW port != A
        drm/i915: Fix oops due to missing stack depot
        drm/vc4: crtc: Fix redundant variable assignment
        ...
      c3ee3a9e
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 32f6c5d0
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
      
       - Fixes to the RTLA tooling
      
       - A fix to a tp_printk overriding tp_printk_stop_on_boot on the
         command line
      
      * tag 'trace-v5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix tp_printk option related with tp_printk_stop_on_boot
        MAINTAINERS: Add RTLA entry
        rtla: Fix segmentation fault when failing to enable -t
        rtla/trace: Error message fixup
        rtla/utils: Fix session duration parsing
        rtla: Follow kernel version
      32f6c5d0
    • Bob Peterson's avatar
      gfs2: Fix gfs2_release for non-writers regression · d3add1a9
      Bob Peterson authored
      When a file is opened for writing, the vfs code (do_dentry_open)
      calls get_write_access for the inode, thus incrementing the inode's write
      count. That writer normally then creates a multi-block reservation for
      the inode (i_res) that can be re-used by other writers, which speeds up
      writes for applications that stupidly loop on open/write/close.
      When the writes are all done, the multi-block reservation should be
      deleted when the file is closed by the last "writer."
      
      Commit 0ec9b9ea broke that concept when it moved the call to
      gfs2_rs_delete before the check for FMODE_WRITE.  Non-writers have no
      business removing the multi-block reservations of writers. In fact, if
      someone opens and closes the file for RO while a writer has a
      multi-block reservation, the RO closer will delete the reservation
      midway through the write, and this results in:
      
      kernel BUG at fs/gfs2/rgrp.c:677! (or thereabouts) which is:
      BUG_ON(rs->rs_requested); from function gfs2_rs_deltree.
      
      This patch moves the check back inside the check for FMODE_WRITE.
      
      Fixes: 0ec9b9ea ("gfs2: Check for active reservation in gfs2_release")
      Cc: stable@vger.kernel.org # v5.12+
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      d3add1a9
    • Andreas Gruenbacher's avatar
      Revert "gfs2: check context in gfs2_glock_put" · 356b8103
      Andreas Gruenbacher authored
      It turns out that the might_sleep() call that commit 660a6126 adds
      is triggering occasional data corruption in testing.  We're not sure
      about the root cause yet, but since this commit was added as a debugging
      aid only, revert it for now.
      
      This reverts commit 660a6126.
      
      Fixes: 660a6126 ("gfs2: check context in gfs2_glock_put")
      Cc: stable@vger.kernel.org # v5.16+
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      356b8103
    • Tetsuo Handa's avatar
      loop: revert "make autoclear operation asynchronous" · bf23747e
      Tetsuo Handa authored
      The kernel test robot is reporting that xfstest which does
      
        umount ext2 on xfs
        umount xfs
      
      sequence started failing, for commit 322c4293 ("loop: make
      autoclear operation asynchronous") removed a guarantee that fput() of
      backing file is processed before lo_release() from close() returns to
      user mode.
      
      And syzbot is reporting that deferring destroy_workqueue() from
      __loop_clr_fd() to a WQ context did not help [1]. Revert that commit.
      
      Link: https://syzkaller.appspot.com/bug?extid=831661966588c802aae9 [1]
      Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
      Acked-by: default avatarJan Kara <jack@suse.cz>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Reported-by: default avatarsyzbot <syzbot+831661966588c802aae9@syzkaller.appspotmail.com>
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Link: https://lore.kernel.org/r/20220211071554.3424-1-penguin-kernel@I-love.SAKURA.ne.jpSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      bf23747e
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-5.17-2022-02-09' of... · 95e875bd
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-5.17-2022-02-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      
      amd-drm-fixes-5.17-2022-02-09:
      
      amdgpu:
      - DCN 3.1 display fixes
      - GC 10.3.1 harvest fix
      - Page flip irq fix
      - hwmon label fix
      - DCN 2.0 display fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220210041137.5926-1-alexander.deucher@amd.com
      95e875bd
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2022-02-10' of... · 78306438
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2022-02-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Build fix for non-x86 platforms after remap_io_mmapping changes. (Lucas De Marchi)
      - Correctly propagate errors during object migration blits. (Thomas Hellström)
      - Disable DRRS support on HSW/IVB where it is not implemented yet. (Ville Syrjälä)
      - Correct pipe dbuf BIOS configuration during readout. (Ville Syrjälä)
      - Properly sanitise BIOS buf configuration on ADL-P+ for !join_mbus cases. (Ville Syrjälä)
      - Fix oops due to missing stack depot. (Ville Syrjälä)
      - Workaround broken BIOS DBUF configuration on TGL/RKL. (Ville Syrjälä)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YgTuYAtpaV3XAGmx@tursulin-mobl2
      78306438
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2022-02-10' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · df2bb4dc
      Dave Airlie authored
       * drm/panel: simple: Fix assignments from panel_dpi_probe()
       * drm/privacy-screen: Cleanups
       * drm/rockchip: Fix HDMI error cleanup; Fix RK3399 VOP register fields
       * drm/vc4: HDMI fixes; Cleanups
       * fbdev: Add fbdev core module with Daniel as maintainer; Cleanups
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/YgTf1Zsflzq3JSFo@linux-uq9g
      df2bb4dc
    • Linus Torvalds's avatar
      Merge tag 'net-5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · f1baf68e
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from netfilter and can.
      
      Current release - new code bugs:
      
         - sparx5: fix get_stat64 out-of-bound access and crash
      
         - smc: fix netdev ref tracker misuse
      
        Previous releases - regressions:
      
         - eth: ixgbevf: require large buffers for build_skb on 82599VF, avoid
           overflows
      
         - eth: ocelot: fix all IP traffic getting trapped to CPU with PTP
           over IP
      
         - bonding: fix rare link activation misses in 802.3ad mode
      
        Previous releases - always broken:
      
         - tcp: fix tcp sock mem accounting in zero-copy corner cases
      
         - remove the cached dst when uncloning an skb dst and its metadata,
           since we only have one ref it'd lead to an UaF
      
         - netfilter:
            - conntrack: don't refresh sctp entries in closed state
            - conntrack: re-init state for retransmitted syn-ack, avoid
              connection establishment getting stuck with strange stacks
            - ctnetlink: disable helper autoassign, avoid it getting lost
            - nft_payload: don't allow transport header access for fragments
      
         - dsa: fix use of devres for mdio throughout drivers
      
         - eth: amd-xgbe: disable interrupts during pci removal
      
         - eth: dpaa2-eth: unregister netdev before disconnecting the PHY
      
         - eth: ice: fix IPIP and SIT TSO offload"
      
      * tag 'net-5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (53 commits)
        net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
        net: mscc: ocelot: fix mutex lock error during ethtool stats read
        ice: Avoid RTNL lock when re-creating auxiliary device
        ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
        ice: fix IPIP and SIT TSO offload
        ice: fix an error code in ice_cfg_phy_fec()
        net: mpls: Fix GCC 12 warning
        dpaa2-eth: unregister the netdev before disconnecting from the PHY
        skbuff: cleanup double word in comment
        net: macb: Align the dma and coherent dma masks
        mptcp: netlink: process IPv6 addrs in creating listening sockets
        selftests: mptcp: add missing join check
        net: usb: qmi_wwan: Add support for Dell DW5829e
        vlan: move dev_put into vlan_dev_uninit
        vlan: introduce vlan_dev_free_egress_priority
        ax25: fix UAF bugs of net_device caused by rebinding operation
        net: dsa: fix panic when DSA master device unbinds on shutdown
        net: amd-xgbe: disable interrupts during pci removal
        tipc: rate limit warning for received illegal binding update
        net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
        ...
      f1baf68e
  2. 10 Feb, 2022 21 commits
  3. 09 Feb, 2022 5 commits