1. 26 Nov, 2021 13 commits
    • Linus Torvalds's avatar
      Merge tag 'fuse-fixes-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · 925c9437
      Linus Torvalds authored
      Pull fuse fix from Miklos Szeredi:
       "Fix a regression caused by a bugfix in the previous release. The
        symptom is a VM_BUG_ON triggered from splice to the fuse device.
      
        Unfortunately the original bugfix was already backported to a number
        of stable releases, so this fix-fix will need to be backported as
        well"
      
      * tag 'fuse-fixes-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: release pipe buf after last use
      925c9437
    • Linus Torvalds's avatar
      Merge tag 'for-5.16-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 7e635452
      Linus Torvalds authored
      Pull btrfs fix from David Sterba:
       "One more fix to the lzo code, a missing put_page causing memory leaks
        when some error branches are taken"
      
      * tag 'for-5.16-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: fix the memory leak caused in lzo_compress_pages()
      7e635452
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 1bff7d7e
      Linus Torvalds authored
      Pull char/misc driver fix from Greg KH:
       "Here is a single binder driver fix for 5.16-rc3.
      
        It resolves a problem reported in the set of binder fixes that went
        into 5.16-rc1. It has been in linux-next for a while with no reported
        problems"
      
      * tag 'char-misc-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        binder: fix test regression due to sender_euid change
      1bff7d7e
    • Linus Torvalds's avatar
      Merge tag 'staging-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 70337441
      Linus Torvalds authored
      Pull staging fixes from Greg KH:
       "Here are some small staging driver fixes and one driver removal for
        5.16-rc3.
      
        The fixes resolve a number of small issues found in 5.16-rc1, nothing
        huge at all. The driver removal was due to a platform being removed in
        5.16-rc1, but this driver was forgotten about. It wasn't being built
        anymore so it's safe to delete.
      
        All have been in linux-next for a while with no reported problems"
      
      * tag 'staging-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
        staging: greybus: Add missing rwsem around snd_ctl_remove() calls
        staging: Remove Netlogic XLP network driver
        staging: r8188eu: fix a memory leak in rtw_wx_read32()
        staging: r8188eu: use GFP_ATOMIC under spinlock
        staging: r8188eu: Use kzalloc() with GFP_ATOMIC in atomic context
        staging/fbtft: Fix backlight
        staging: r8188eu: Fix breakage introduced when 5G code was removed
      70337441
    • Linus Torvalds's avatar
      Merge tag 'usb-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · ba2cacc1
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are a number of small USB fixes for reported problems for
        5.16-rc3
      
        They include:
      
         - typec driver fixes
      
         - new usb-serial driver ids
      
         - usb hub enumeration issues that were much reported
      
         - gadget driver fixes
      
         - dwc3 driver fix
      
         - chipidea driver fixe
      
        All of these have been in linux-next with no reported problems"
      
      * tag 'usb-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: option: add Fibocom FM101-GL variants
        usb: typec: tipd: Fix initialization sequence for cd321x
        usb: typec: tipd: Fix typo in cd321x_switch_power_state
        usb: hub: Fix locking issues with address0_mutex
        USB: serial: pl2303: fix GC type detection
        USB: serial: option: add Telit LE910S1 0x9200 composition
        usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference in probe
        usb: hub: Fix usb enumeration issue due to address0 race
        usb: typec: fusb302: Fix masking of comparator and bc_lvl interrupts
        usb: dwc3: leave default DMA for PCI devices
        usb: dwc2: hcd_queue: Fix use of floating point literal
        usb: dwc3: gadget: Fix null pointer exception
        usb: gadget: udc-xilinx: Fix an error handling path in 'xudc_probe()'
        usb: xhci: tegra: Check padctrl interrupt presence in device tree
        usb: dwc2: gadget: Fix ISOC flow for elapsed frames
        usb: dwc3: gadget: Check for L1/L2/U3 for Start Transfer
        usb: dwc3: gadget: Ignore NoStream after End Transfer
        usb: dwc3: core: Revise GHWPARAMS9 offset
      ba2cacc1
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · d3e64792
      Linus Torvalds authored
      Pull MMC host fixes from Ulf Hansson:
      
       - mmc_spi: Add SPI IDs to silence warning
      
       - sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
      
       - sdhci-esdhc-imx: Disable broken CMDQ for imx8qm/imx8qxp/imx8mm
      
      * tag 'mmc-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: spi: Add device-tree SPI IDs
        mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
        mmc: sdhci-esdhc-imx: disable CMDQ support
      d3e64792
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 80d75202
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "I2C has an interrupt storm fix for the i801, better timeout handling
        for the new virtio driver, and some documentation fixes this time"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        docs: i2c: smbus-protocol: mention the repeated start condition
        i2c: virtio: disable timeout handling
        i2c: i801: Fix interrupt storm from SMB_ALERT signal
        i2c: i801: Restore INTREN on unload
        dt-bindings: i2c: imx-lpi2c: Fix i.MX 8QM compatible matching
      80d75202
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.16c-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 6b54698a
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
      
       - Kconfig fix to make it possible to control building of the privcmd
         driver
      
       - three fixes for issues identified by the kernel test robot
      
       - a five-patch series to simplify timeout handling for Xen PV driver
         initialization
      
       - two patches to fix error paths in xenstore/xenbus driver
         initialization
      
      * tag 'for-linus-5.16c-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: make HYPERVISOR_set_debugreg() always_inline
        xen: make HYPERVISOR_get_debugreg() always_inline
        xen: detect uninitialized xenbus in xenbus_init
        xen: flag xen_snd_front to be not essential for system boot
        xen: flag pvcalls-front to be not essential for system boot
        xen: flag hvc_xen to be not essential for system boot
        xen: flag xen_drm_front to be not essential for system boot
        xen: add "not_essential" flag to struct xenbus_driver
        xen/pvh: add missing prototype to header
        xen: don't continue xenstore initialization in case of errors
        xen/privcmd: make option visible in Kconfig
      6b54698a
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · f17fb26d
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "Three arm64 fixes.
      
        The main one is a fix to the way in which we evaluate the macro
        arguments to our uaccess routines, which we _think_ might be the root
        cause behind some unkillable tasks we've seen in the Android arm64 CI
        farm (testing is ongoing). In any case, it's worth fixing.
      
        Other than that, we've toned down an over-zealous VM_BUG_ON() and
        fixed ftrace stack unwinding in a bunch of cases.
      
        Summary:
      
         - Evaluate uaccess macro arguments outside of the critical section
      
         - Tighten up VM_BUG_ON() in pmd_populate_kernel() to avoid false positive
      
         - Fix ftrace stack unwinding using HAVE_FUNCTION_GRAPH_RET_ADDR_PTR"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: uaccess: avoid blocking within critical sections
        arm64: mm: Fix VM_BUG_ON(mm != &init_mm) for trans_pgd
        arm64: ftrace: use HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
      f17fb26d
    • Qu Wenruo's avatar
      btrfs: fix the memory leak caused in lzo_compress_pages() · daf87e95
      Qu Wenruo authored
      [BUG]
      Fstests generic/027 is pretty easy to trigger a slow but steady memory
      leak if run with "-o compress=lzo" mount option.
      
      Normally one single run of generic/027 is enough to eat up at least 4G ram.
      
      [CAUSE]
      In commit d4088803 ("btrfs: subpage: make lzo_compress_pages()
      compatible") we changed how @page_in is released.
      
      But that refactoring makes @page_in only released after all pages being
      compressed.
      
      This leaves error path not releasing @page_in. And by "error path"
      things like incompressible data will also be treated as an error
      (-E2BIG).
      
      Thus it can cause a memory leak if even nothing wrong happened.
      
      [FIX]
      Add check under @out label to release @page_in when needed, so when we
      hit any error, the input page is properly released.
      Reported-by: default avatarJosef Bacik <josef@toxicpanda.com>
      Fixes: d4088803 ("btrfs: subpage: make lzo_compress_pages() compatible")
      Reviewed-and-tested-by: default avatarJosef Bacik <josef@toxicpanda.com>
      Signed-off-by: default avatarQu Wenruo <wqu@suse.com>
      Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
      Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
      daf87e95
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2021-11-26' of git://anongit.freedesktop.org/drm/drm · a4849f60
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "No idea if turkey comes before pull request processing, but here's the
        regular week's fixes. A bunch for amdgpu, nouveau adds support for a
        new GPU (like a PCI ID addition), and a scattering of fixes across
        i915/hyperv/aspeed/vc4.
      
        Specifics:
      
        amdgpu:
         - SRIOV fixes
         - dma-buf double free fix
         - Display fixes for GPU resets
         - Fix DSC powergating regression
         - GPU TSC fixes
         - Interrupt handler overflow fixes
         - Endian fix in IP discovery table handling
         - Aldebaran ASPM fix
         - Fix overclocking regression on older asics
         - Backlight/ACPI fix
      
        amdkfd:
         - SVM fixes
         - VMA removal race fix
      
        hyperv:
         - removal fix
      
        aspeed:
         - vga_pw sysfs file fix
      
        vc4:
         - error checking fix
      
        nouveau:
         - support GA106
         - fix a few error checks
      
        i915:
         - fix wakeref handling around PXP suspend"
      
      * tag 'drm-fixes-2021-11-26' of git://anongit.freedesktop.org/drm/drm: (25 commits)
        drm/amd/display: update bios scratch when setting backlight
        drm/amdgpu/pm: fix powerplay OD interface
        drm/amdgpu: Skip ASPM programming on aldebaran
        drm/amdgpu: fix byteorder error in amdgpu discovery
        drm/amdgpu: enable Navi retry fault wptr overflow
        drm/amdgpu: enable Navi 48-bit IH timestamp counter
        drm/amdkfd: simplify drain retry fault
        drm/amdkfd: handle VMA remove race
        drm/amdkfd: process exit and retry fault race
        drm/amdgpu: IH process reset count when restart
        drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
        drm/amdgpu/gfx10: add wraparound gpu counter check for APUs as well
        drm/amdgpu: move kfd post_reset out of reset_sriov function
        drm/amd/display: Fixed DSC would not PG after removing DSC stream
        drm/amd/display: Reset link encoder assignments for GPU reset
        drm/amd/display: Set plane update flags for all planes in reset
        drm/amd/display: Fix DPIA outbox timeout after GPU reset
        drm/amdgpu: Fix double free of dmabuf
        drm/amdgpu: Fix MMIO HDP flush on SRIOV
        drm/i915/gt: Hold RPM wakelock during PXP suspend
        ...
      a4849f60
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2021-11-24' of... · fc026c8b
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2021-11-24' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      Fix wakeref handling of PXP suspend.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YZ65bsPOK+6JLv0d@intel.com
      fc026c8b
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2021-11-25' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 7798a736
      Dave Airlie authored
      One removal fix for hyperv, one fix in aspeed for the vga_pw sysfs file
      content, one error-checking fix for vc4 and two fixes for nouveau, one
      to support a new device and another one to properly check for errors.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <maxime@cerno.tech>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211125101819.ynu7zgbs7yfwedri@houat
      7798a736
  2. 25 Nov, 2021 18 commits
  3. 24 Nov, 2021 9 commits