Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Nov 26, 2021
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 5367cf1c
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These fix a NULL pointer dereference in the CPPC library code and a
        locking issue related to printing the names of ACPI device nodes in
        the device properties framework.
      
        Specifics:
      
         - Fix NULL pointer dereference in the CPPC library code occuring on
           hybrid systems without CPPC support (Rafael Wysocki).
      
         - Avoid attempts to acquire a semaphore with interrupts off when
           printing the names of ACPI device nodes and clean up code on top of
           that fix (Sakari Ailus)"
      
      * tag 'acpi-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: CPPC: Add NULL pointer check to cppc_get_perf()
        ACPI: Make acpi_node_get_parent() local
        ACPI: Get acpi_device's parent from the parent field
      5367cf1c
    • Linus Torvalds's avatar
      Merge tag 'pm-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0ce629b1
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These address three issues in the intel_pstate driver and fix two
        problems related to hibernation.
      
        Specifics:
      
         - Make intel_pstate work correctly on Ice Lake server systems with
           out-of-band performance control enabled (Adamos Ttofari).
      
         - Fix EPP handling in intel_pstate during CPU offline and online in
           the active mode (Rafael Wysocki).
      
         - Make intel_pstate support ITMT on asymmetric systems with
           overclocking enabled (Srinivas Pandruvada).
      
         - Fix hibernation image saving when using the user space interface
           based on the snapshot special device file (Evan Green).
      
         - Make the hibernation code release the snapshot block device using
           the same mode that was used when acquiring it (Thomas Zeitlhofer)"
      
      * tag 'pm-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: hibernate: Fix snapshot partial write ...
      0ce629b1
    • 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
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-properties' · 2e13e5ae
      Rafael J. Wysocki authored
      Merge fix and cleanup related to the management of ACPI device
      properties for 5.16-rc3.
      
      * acpi-properties:
        ACPI: Make acpi_node_get_parent() local
        ACPI: Get acpi_device's parent from the parent field
      2e13e5ae
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-sleep' · 7803516d
      Rafael J. Wysocki authored
      Merge hibernation-related fixes for 5.16-rc3.
      
      * pm-sleep:
        PM: hibernate: Fix snapshot partial write lengths
        PM: hibernate: use correct mode for swsusp_close()
      7803516d
    • 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 h...
      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
  2. Nov 25, 2021
  3. Nov 24, 2021