Linux/linux cca9543drivers/phy/apple atc.c, drivers/phy/eswin phy-eic7700-sata.c

Merge tag 'phy-fixes-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy

Pull phy fixes from Vinod Koul:

 - Big pile of Qualcomm DP/eDP config fixes and kaanapali PHY PLL
   lock failure fix

 - Apple typec switch/mux leak fix

 - Marvell incoorect register fix for mvebu utmi phy

 - Tegra per-pad calibration fix

* tag 'phy-fixes-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
  phy: qcom: qmp-usbc: Fix out-of-bounds array access in dp swing config
  phy: apple: atc: Fix typec switch/mux leak on unbind
  phy: spacemit: Remove incorrect clk_disable() in spacemit_usb2phy_init()
  phy: eswin: Fix incorrect error check in probe()
  phy: qcom-qmp-ufs: Fix kaanapali PHY PLL lock failure after SM8650 G4 fix

    [8 lines not shown]
DeltaFile
+181-43drivers/phy/qualcomm/phy-qcom-edp.c
+26-7drivers/phy/tegra/xusb-tegra186.c
+22-5drivers/phy/apple/atc.c
+4-3drivers/phy/samsung/phy-exynos5-usbdrd.c
+2-3drivers/phy/marvell/phy-mvebu-a3700-utmi.c
+2-2drivers/phy/eswin/phy-eic7700-sata.c
+237-634 files not shown
+240-6510 files

Linux/linux e216d85Documentation/devicetree/bindings/spi fsl,spi-fsl-qspi.yaml, drivers/spi spi-qup.c spi-sprd.c

Merge tag 'spi-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi

Pull spi fixes from Mark Brown:
 "Another batch of driver fixes from Johan fixing error handling paths,
  plus another from Felix. We also have a new device ID added in the DT
  bindings for SpacemiT K3"

* tag 'spi-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  spi: dt-bindings: fsl-qspi: support SpacemiT K3
  spi: ti-qspi: fix use-after-free after DMA setup failure
  spi: sprd: fix error pointer deref after DMA setup failure
  spi: qup: fix error pointer deref after DMA setup failure
  spi: mtk-snfi: Fix resource leak in mtk_snand_read_page_cache()
  spi: ep93xx: fix error pointer deref after DMA setup failure
DeltaFile
+3-0Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml
+3-0drivers/spi/spi-qup.c
+2-1drivers/spi/spi-sprd.c
+2-0drivers/spi/spi-ep93xx.c
+1-1drivers/spi/spi-mtk-snfi.c
+1-0drivers/spi/spi-ti-qspi.c
+12-26 files

Linux/linux ddae104drivers/regulator tps65219-regulator.c Kconfig

Merge tag 'regulator-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

Pull regulator fixes from Mark Brown:
 "A couple of fixes here, one very minor Kconfig fix and a fix for a
  nasty issue with error reporting in the tps65219 driver"

* tag 'regulator-fix-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
  regulator: tps65219: fix irq_data.rdev not being assigned
  regulator: Kconfig: fix a typo in help
DeltaFile
+95-40drivers/regulator/tps65219-regulator.c
+1-1drivers/regulator/Kconfig
+96-412 files

Linux/linux 003759ddrivers/pinctrl pinctrl-amd.c, drivers/pinctrl/freescale pinctrl-imx1-core.c

Merge tag 'pinctrl-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl

Pull pin control fixes from Linus Walleij:

 - Implement the GPIO .get_direction() callback in the Mediatek driver
   to rid dmesg warnings

 - Mark the Qualcomm IPQ4019 pins used as GPIO as using the GPIO pin
   function, so there is no conflict with orthogonal muxing

 - Fix incorrect settings of the "PUPD" (pull-up-pull-down) register
   during suspend/resume in the Renesas RZG2L

 - Fix the SMT register cache to be per-bank in the Renesas RZG2L

 - Fix the QDSS track clock and control pin group names in the Qualcomm
   Eliza driver

 - Fix a deadlock in the Amlogic driver, caused by playing around in

    [21 lines not shown]
DeltaFile
+41-7drivers/pinctrl/freescale/pinctrl-imx1-core.c
+35-0drivers/pinctrl/pinctrl-amd.c
+15-8drivers/pinctrl/renesas/pinctrl-rzg2l.c
+18-0drivers/pinctrl/mediatek/pinctrl-moore.c
+4-4drivers/pinctrl/qcom/pinctrl-sm8150.c
+4-4drivers/pinctrl/qcom/pinctrl-eliza.c
+117-234 files not shown
+129-3010 files

Linux/linux 99e08dedrivers/gpio gpio-aggregator.c gpiolib-cdev.c

Merge tag 'gpio-fixes-for-v7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio fixes from Bartosz Golaszewski:

 - propagate the error code from regulator_enable() in resume path in
   gpio-pca953x

 - take the device lock when calling device_is_bound() in virtual GPIO
   drivers

 - fix software node leak in remove path in gpio-aggregator

 - fix a potential use-after-free in gpio-aggregator

 - harden the GPIO character device uAPI: check that line config
   attributes are correctly zeroed

* tag 'gpio-fixes-for-v7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
  gpio: virtuser: lock device when calling device_is_bound()

    [6 lines not shown]
DeltaFile
+11-4drivers/gpio/gpio-aggregator.c
+13-0drivers/gpio/gpiolib-cdev.c
+7-4drivers/gpio/gpio-sim.c
+6-3drivers/gpio/gpio-virtuser.c
+1-1drivers/gpio/gpio-pca953x.c
+38-125 files

Linux/linux c224072sound/core/seq seq_ump_client.c, sound/hda/common controller.c

Merge tag 'sound-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "As expected, we still continue receiving lots of small fixes.

  One major change is about HD-audio pending IRQ handling, but this
  would influence only on odd machines or slow VMs. There are a few
  other fixes for the core part, but most of them are not-too-serious
  UAF fixes, while the rest are mostly device-specific fixes and quirks.

  ALSA Core:
   - Fix for PCM silencing with bogus iov_iter
   - Fixes for past-the-end iterators in timer and seq
   - Serialization of UMP output teardown
   - Rate-limit ELD parsing errors

  HD-audio:
   - Fixes for IRQ work handling and SSID matching
   - Various Realtek quirks for HP and ASUS laptops, including LED fixes

    [38 lines not shown]
DeltaFile
+19-115sound/soc/intel/common/soc-acpi-intel-ptl-match.c
+75-31sound/hda/controllers/intel.c
+56-15sound/soc/intel/common/soc-acpi-intel-arl-match.c
+36-7sound/soc/fsl/fsl_sai.c
+7-21sound/hda/common/controller.c
+18-4sound/core/seq/seq_ump_client.c
+211-19331 files not shown
+384-25937 files

Linux/linux 3997e3bblock blk-mq.c blk-zoned.c, drivers/nvme/host pci.c

Merge tag 'block-7.1-20260522' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fixes from Jens Axboe:

 - NVMe pull request via Keith:
      - Fix memory leak for peer-to-peer addresses
      - Fix dma map leaks on resource errors

 - Another bio integrity fix, fixing a recent regression

 - Fix for an issue with the request pre-allocation and caching when IO
   is queued, where if a bio split occurred and ended up blocking, the
   list could be corrupted

* tag 'block-7.1-20260522' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  block: avoid use-after-free in disk_free_zone_resources()
  blk-mq: pop cached request if it is usable
  nvme-pci: fix dma mapping leak on data setup error
  nvme-pci: fix dma_vecs leak on p2p memory
  bio-integrity-fs: pass data iter to bio_integrity_verify()
DeltaFile
+30-4drivers/nvme/host/pci.c
+9-25block/blk-mq.c
+3-4block/blk-zoned.c
+5-1block/bio-integrity-fs.c
+47-344 files

Linux/linux dbae42cio_uring net.c io_uring.c

Merge tag 'io_uring-7.1-20260522' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:

 - Fix for an issue with IORING_OP_NOP and using injection results

 - Fix for an issue in IORING_OP_WAITID, where the info state was
   assumed cleared by the lower level syscall handler, but for some
   cases it is not. Just clear the data upfront, so that non-initialized
   data isn't copied back to userspace

 - Fix for a lockdep reported issue, where IORING_OP_BIND enters file
   create and hence hits mnt_want_write(), which creates a three part
   lockdep cycle between the super lock, io_uring's uring_lock, and the
   cred mutex

 - Fix a regression introduced in this cycle with how linked timeouts
   are deleted


    [9 lines not shown]
DeltaFile
+25-1io_uring/net.c
+4-5io_uring/io_uring.c
+2-2io_uring/nop.c
+3-1io_uring/timeout.c
+1-0io_uring/waitid.c
+35-95 files

Linux/linux 558c3ecfs/smb/client cifs_spnego.c netlink.c

Merge tag 'v7.1-rc5-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:
 - Fix missing lock
 - Fix dentry in use after unmounting
 - cifs.upcall security fix
 - require CAP_NET_ADMIN for swn netlink
 - change allocation in DUP_CTX_STR to GFP_KERNEL
 - minor smbdirect debug fix
 - handle_read_data() folio fix

* tag 'v7.1-rc5-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  smb: client: change allocation requirements in DUP_CTX_STR macro
  smb: client: require net admin for CIFS SWN netlink
  smb: smbdirect: divide, not multiply, milliseconds by 1000
  cifs: Fix busy dentry used after unmounting
  smb: client: use data_len for SMB2 READ encrypted folioq copy
  smb: client: reject userspace cifs.spnego descriptions
  smb: client: protect tc_count increment in smb2_find_smb_sess_tcon_unlocked()
DeltaFile
+16-0fs/smb/client/cifs_spnego.c
+5-1fs/smb/client/netlink.c
+2-2fs/smb/client/smb2ops.c
+1-1fs/smb/client/fs_context.c
+2-0fs/smb/client/cifsfs.c
+2-0fs/smb/client/smb2transport.c
+28-41 files not shown
+29-57 files

Linux/linux 632360efs/zonefs super.c

Merge tag 'zonefs-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs

Pull zonefs fix from Damien Le Moal:

 - Avoid potential overflow when converting a zonefs file number string
   to an inode number (from Johannes)

* tag 'zonefs-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
  zonefs: handle integer overflow in zonefs_fname_to_fno
DeltaFile
+5-1fs/zonefs/super.c
+5-11 files

Linux/linux 45255eaDocumentation/admin-guide/pm amd-pstate.rst intel_pstate.rst, drivers/cpufreq amd-pstate-ut.c amd-pstate.c

Merge tag 'pm-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fixes from Rafael Wysocki:
 "These fix maximum frequency computation in the intel_pstate driver for
  two processor models, update its documentation and fix issues related
  to the dynamic EPP support (added during the current development
  cycle) in the amd-pstate driver:

   - Fix maximum frequency computation in the intel_pstate driver for
     Raptor Lake-E and Bartlett Lake that are SMP platforms derived from
     hybrid ones (Rafael Wysocki, Henry Tseng)

   - Fix the description of asymmetric packing with SMT in the
     intel_pstate driver documentation (Ricardo Neri)

   - Fix multiple amd-pstate driver issues related to dynamic EPP
     support added recently, including making it opt-in only (K Prateek
     Nayak, Mario Limonciello)"


    [11 lines not shown]
DeltaFile
+29-7drivers/cpufreq/amd-pstate-ut.c
+18-9drivers/cpufreq/amd-pstate.c
+0-12drivers/cpufreq/Kconfig.x86
+5-6Documentation/admin-guide/pm/amd-pstate.rst
+6-5Documentation/admin-guide/pm/intel_pstate.rst
+2-1drivers/cpufreq/intel_pstate.c
+60-406 files

Linux/linux 28222dcdrivers/acpi battery.c

Merge tag 'acpi-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI support fix from Rafael Wysocki:
 "Unbreak system wakeup on critical battery status in the ACPI battery
  driver inadvertently broken during the 7.0 development cycle"

* tag 'acpi-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  ACPI: battery: Fix system wakeup on critical battery status
DeltaFile
+3-1drivers/acpi/battery.c
+3-11 files

Linux/linux f698276block blk-zoned.c

block: avoid use-after-free in disk_free_zone_resources()

The function disk_update_zone_resources() may call
disk_free_zone_resources() in case of error, and following this,
blk_revalidate_disk_zones() will again calls disk_free_zone_resources() if
disk_update_zone_resources() failed. If a zone worker thread is being used
(which is the default for a rotational media zoned device),
disk_free_zone_resources() will try to stop the zone worker thread twice
because disk->zone_wplugs_worker is not reset to NULL when the worker
thread is stopped the first time.

In disk_free_zone_resources(), fix this by correctly clearing
disk->zone_wplugs_worker to NULL when the worker thread is stopped.

And while at it, since disk_free_zone_resources() is always called after a
failed call to disk_update_zone_resources(), remove the unnecessary call
to disk_free_zone_resources() in disk_update_zone_resources().

Fixes: 1365b6904fd0 ("block: allow submitting all zone writes from a single context")

    [4 lines not shown]
DeltaFile
+3-4block/blk-zoned.c
+3-41 files

Linux/linux ef7f594arch/arm64/include/asm tlb.h insn.h

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Catalin Marinas:

 - Handle probe on hinted conditional branch instructions.

   BC.cond instructions can be simulated in the same way as B.cond
   instructions, so extend the decode mask for B.cond to cover BC.cond

 - Flush the walk cache when unsharing PMD tables. Recent changes to
   huge_pmd_unshare() introduced mmu_gather::unshared_tables but the
   arm64 code was still treating the TLB flushing as only targeting leaf
   entries (TLBI VALE1IS).

   Fix it by using non-leaf-only instructions (TLBI VAE1IS) when
   tlb->unshared_tables is set

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: tlb: Flush walk cache when unsharing PMD tables
  arm64: probes: Handle probes on hinted conditional branch instructions
DeltaFile
+2-1arch/arm64/include/asm/tlb.h
+1-1arch/arm64/include/asm/insn.h
+3-22 files

Linux/linux cbadb98arch/s390/kernel perf_pai.c topology.c, drivers/s390/cio chsc_sch.c chsc.c

Merge tag 's390-7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

Pull s390 fixes from Alexander Gordeev:

 - Fix PAI NNPA mismatch between counting and recording, where sampling
   reports twice the value

 - Fix loss of PAI counter increments during recording on systems with
   many CPUs under heavy load, while counting is not affected

 - On some supported machines, CHSC cannot access memory outside the DMA
   zone, causing CHSC command failures. Restore GFP_DMA flag when
   allocating memory for CHSC control blocks

 - Align the numbering scheme for higher-level topology structures like
   socket, book, drawer with other hardware identifiers e.g. in sysfs,
   procfs and tools like lscpu

* tag 's390-7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:

    [4 lines not shown]
DeltaFile
+21-10arch/s390/kernel/perf_pai.c
+10-10drivers/s390/cio/chsc_sch.c
+7-3arch/s390/kernel/topology.c
+2-2drivers/s390/cio/chsc.c
+1-1drivers/s390/cio/scm.c
+41-265 files

Linux/linux 46de408mm slab_common.c slub.c

Merge tag 'slab-for-7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab

Pull slab fix from Vlastimil Babka:

 - Stable fix for a missing cpus_read_lock in one of the cpu sheaves
   flushing paths (Qing Wang)

* tag 'slab-for-7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
  mm/slub: hold cpus_read_lock around flush_rcu_sheaves_on_cache()
DeltaFile
+2-0mm/slab_common.c
+1-0mm/slub.c
+3-02 files

Linux/linux 1c04dcdkernel/dma debug.c direct.c

Merge tag 'dma-mapping-7.1-2026-05-22' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux

Pull dma-mapping fixes from Marek Szyprowski:
 "Two minor updates for the DMA-mapping code, mainly fixing some rare
  corner cases (Petr Tesarik, Jianpeng Chang)"

* tag 'dma-mapping-7.1-2026-05-22' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux:
  dma-mapping: move dma_map_resource() sanity check into debug code
  dma-direct: fix use of max_pfn
DeltaFile
+8-1kernel/dma/debug.c
+2-2kernel/dma/direct.c
+0-4kernel/dma/mapping.c
+10-73 files

Linux/linux 2388400kernel/trace tracing_map.c trace_events_hist.c

Merge tag 'trace-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing fixes from Steven Rostedt:

 - Avoid NULL return from hist_field_name()

   The function hist_field_name() is directly passed to a strcat() which
   does not handle "NULL" characters. Return a zero length string when
   size is greater than the limit.

   This is used only to output already created histograms and no field
   currently is greater than the limit. But it should still not return
   NULL.

 - Do not call map->ops->elt_free() on allocation failure

   When elt_alloc() fails, it should not call the map->ops->elt_free()
   function if it exists, as that function may not be able to handle the
   free on allocation failures. The ->elt_free() should only be called

    [5 lines not shown]
DeltaFile
+13-4kernel/trace/tracing_map.c
+2-4kernel/trace/trace_events_hist.c
+15-82 files

Linux/linux c2ff476arch/arm64/include/asm tlb.h

arm64: tlb: Flush walk cache when unsharing PMD tables

When huge_pmd_unshare() is called to unshare a PMD table, the
tlb_unshare_pmd_ptdesc() function sets tlb->unshared_tables=true
but the aarch64 tlb_flush() only checked tlb->freed_tables to
determine whether to use TLBF_NONE (vae1is, invalidates walk
cache) or TLBF_NOWALKCACHE (vale1is, leaf-only).

This caused the stale PMD page table entry to remain in the walk cache
after unshare, potentially leading to incorrect page table walks.

Fix by including unshared_tables in the check, so that when
unsharing tables, TLBF_NONE is used and the walk cache is properly
invalidated.

Here is the detailed distinction between vae1is and vale1is:

| Instruction Combination  | Actual Invalidation Scope                         |
| ------------------------ | --------------------------------------------------|

    [9 lines not shown]
DeltaFile
+2-1arch/arm64/include/asm/tlb.h
+2-11 files

Linux/linux 2519003drivers/gpu/drm/amd/amdgpu amdgpu_userq_fence.c, drivers/iommu iommu.c

Merge tag 'asoc-fix-v7.1-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Fixes for v7.1

A bigger batch of fixes than usual due to -next not happeing last week,
this is mostly stuff for laptops - a lot of quirks and small fixes,
mainly for x86 and SoundWire.  Nothing too big or exciting individually,
just two week's worth.
DeltaFile
+255-129drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c
+284-57fs/smb/server/vfs_cache.c
+220-88kernel/sched/ext.c
+217-88drivers/iommu/iommu.c
+140-156drivers/platform/x86/lenovo/wmi-other.c
+121-148drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
+1,237-666850 files not shown
+12,204-6,100856 files

Linux/linux 6779b50. MAINTAINERS, drivers/pci/controller pcie-brcmstb.c

Merge tag 'pci-v7.1-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci

Pull PCI fixes from Bjorn Helgaas:

 - Remove obsolete PCIe maintainer addresses (Florian Eckert, Hans
   Zhang)

 - Restore a brcmstb link speed assignment that was inadvertently
   removed, reducing bcm2712 performance (Florian Fainelli)

* tag 'pci-v7.1-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
  PCI: brcmstb: Assign pcie->gen from of_pci_get_max_link_speed()
  MAINTAINERS: Remove Jianjun Wang as PCIe mediatek maintainer
  MAINTAINERS: Remove Chuanhua Lei as PCIe intel-gw maintainer
DeltaFile
+1-3MAINTAINERS
+3-1drivers/pci/controller/pcie-brcmstb.c
+4-42 files

Linux/linux 68993ceDocumentation/networking/device_drivers/ethernet/3com 3c509.rst, drivers/net/dsa mt7530.c

Merge tag 'net-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Pull networking fixes from Jakub Kicinski:
 "Including fixes from Bluetooth, wireless and netfilter.

  Craziness continues with no end in sight. Even discounting the driver
  revert this is a pretty huge PR for standards of the previous era. I'd
  speculate - we haven't seen the worst of it, yet. Good news, I guess,
  is that so far we haven't seen many (any?) cases of "AI reported a
  bug, we fixed it and a real user regressed".

  Current release - fix to a fix:

   - Bluetooth: btmtk: accept too short WMT FUNC_CTRL events

   - vsock/virtio: relax the recently added memory limit a little

  Current release - regressions:


    [53 lines not shown]
DeltaFile
+1,543-0drivers/net/ethernet/3com/3c509.c
+249-0Documentation/networking/device_drivers/ethernet/3com/3c509.rst
+122-65net/netfilter/ipvs/ip_vs_ctl.c
+67-93net/rxrpc/rxgk.c
+93-67drivers/net/dsa/mt7530.c
+112-19drivers/net/wireless/ath/ath11k/wmi.c
+2,186-244181 files not shown
+4,452-1,287187 files

Linux/linux 6d3b267drivers/block rbd.c

Merge tag 'ceph-for-7.1-rc5' of https://github.com/ceph/ceph-client

Pull ceph fix from Ilya Dryomov:
 "A fix for an 'rbd unmap' race condition which popped up on a
  production setup where many RBD devices are frequently mapped and
  unmapped, marked for stable"

* tag 'ceph-for-7.1-rc5' of https://github.com/ceph/ceph-client:
  rbd: eliminate a race in lock_dwork draining on unmap
DeltaFile
+8-12drivers/block/rbd.c
+8-121 files

Linux/linux 7acfa2carch/alpha/include/asm Kbuild, arch/arm64/include/asm ring_buffer.h

Merge tag 'trace-ringbuffer-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull ring-buffer fixes from Steven Rostedt:

 - Fix reporting MISSED EVENTS in trace iterator

   When the "trace" file is read with tracing enabled, if the writer
   were to pass the iterator reader, it resets, sets a "missed_events"
   flag and continues. The tracing output checks for missed events and
   if there are some, it prints out "[LOST EVENTS]" to let the user know
   events were dropped.

   But the clearing of the missed_events happened when the tracing
   system queried the ring buffer iterator about missed events. This was
   premature as the ring buffer is per CPU, and the tracing code reads
   all the CPU buffers and checks for missed events when it is read. If
   the CPU iterator that had missed events isn't printed next, the
   output for the LOST EVENTS is lost.


    [37 lines not shown]
DeltaFile
+25-5kernel/trace/ring_buffer.c
+13-0include/asm-generic/ring_buffer.h
+10-0arch/arm64/include/asm/ring_buffer.h
+2-2kernel/trace/simple_ring_buffer.c
+2-1kernel/trace/Makefile
+1-0arch/alpha/include/asm/Kbuild
+53-819 files not shown
+72-825 files

Linux/linux 27cd2ddDocumentation/devicetree/bindings/spi fsl,spi-fsl-qspi.yaml

spi: dt-bindings: fsl-qspi: support SpacemiT K3

Add the SpacemiT K3 QSPI compatible to the fsl-qspi binding.

K3 and K1 use the same QSPI controller, so document the K3 compatible
with "spacemit,k1-qspi" as fallback.

Signed-off-by: Cody Kang <cody.kang.hk at outlook.com>
Signed-off-by: Zhengyu He <hezhy472013 at gmail.com>
Acked-by: Conor Dooley <conor.dooley at microchip.com>
Link: https://patch.msgid.link/20260521-k3-pico-itx-qspi-v2-for-next-20260521-v2-1-52bce26e5fd8@gmail.com
Signed-off-by: Mark Brown <broonie at kernel.org>
DeltaFile
+3-0Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml
+3-01 files

Linux/linux dc278e9block blk-mq.c

blk-mq: pop cached request if it is usable

When submitting a bio to blk-mq, if the task should sleep after peeking
a cached request, but before it pops it, the plug flushes and calls
blk_mq_free_plug_rqs, freeing the cached_rqs. This creates a
use-after-free bug. Fix this by popping the cached request before any
possible blocking calls if it is suitable for use.

Popping this request first holds a queue reference, so avoid any
serialization races with queue freezes and can safely proceed with
dispatching that request to the driver. This potentially increases a
timing window from when a driver wants to freeze its queue to when
requests stop being dispatched. That scenario is off the fast path
though, and drivers need to appropriately handle requests during a
freeze request anyway.

The downside is the popped element needs to be individually freed when
we performed a bio plug merge. The cached request would have had to be
freed later anyway, but this patch does it inline with building the plug

    [7 lines not shown]
DeltaFile
+9-25block/blk-mq.c
+9-251 files

Linux/linux 09e8f9asound/soc/codecs pcm512x.c

ASoC: codecs: pcm512x: fix null-ptr dereference in pcm512x_overclock_xxx_put()

In the pcm512x chipset driver, pcm512x_overclock_xxx_put() is defined as
a general mixer kcontrol instead of a DAPM kcontrol, so struct
snd_soc_dapm_context must not be accessed via
snd_soc_dapm_kcontrol_to_dapm().

This causes a NULL pointer dereference, so it must be modified to use
snd_soc_component_to_dapm().

Cc: stable at kernel.org
Closes: https://github.com/raspberrypi/linux/issues/7242
Fixes: 02dbbb7e982a ("ASoC: codecs: pcm512x: convert to snd_soc_dapm_xxx()")
Signed-off-by: Jeongjun Park <aha310510 at gmail.com>
Link: https://patch.msgid.link/20260521113712.227438-1-aha310510@gmail.com
Signed-off-by: Mark Brown <broonie at kernel.org>
DeltaFile
+3-3sound/soc/codecs/pcm512x.c
+3-31 files

Linux/linux 45cf24dsound/soc/intel/common soc-acpi-intel-ptl-match.c

ASoC: Intel: soc-acpi-intel-ptl-match: Remove unnecessary cs42l43 match

For PTL onwards Cirrus are intending to rely on function topologies,
rather than using a match table for each system type. Remove this
unnecessary match table entry. Having the match entries can
mean that systems match when they should use function topologies
instead, resulting in incorrect audio configurations. Although,
admittedly this is not too likely with this 6x amp configuration
as those are quite rare, but best to follow best practice.

Signed-off-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Link: https://patch.msgid.link/20260520163631.3300102-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie at kernel.org>
DeltaFile
+0-118sound/soc/intel/common/soc-acpi-intel-ptl-match.c
+0-1181 files

Linux/linux e0fb794sound/soc/intel/common soc-acpi-intel-sdca-quirks.c soc-acpi-intel-ptl-match.c

ASoC: soc-acpi-intel-ptl-match: Make Chrome matches conditional

For PTL onwards Cirrus are intending to rely on function
topologies, rather than using a match table for each system
type. Chrome systems tend to have custom magic in the topology
and thus need to load a specific file. This causes problems as
these system can have the same layout as generic laptops causing
the match to apply to other laptops. Add a DMI quirk that forces
these matches to only apply to specific devices.

Signed-off-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Link: https://patch.msgid.link/20260520163631.3300102-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie at kernel.org>
DeltaFile
+16-0sound/soc/intel/common/soc-acpi-intel-sdca-quirks.c
+1-0sound/soc/intel/common/soc-acpi-intel-ptl-match.c
+1-0sound/soc/intel/common/soc-acpi-intel-sdca-quirks.h
+18-03 files

Linux/linux 2b8305fsound/soc/intel/common soc-acpi-intel-nvl-match.c

ASoC: Intel: soc-acpi: Add entry for sof_es8336 in NVL match table.

Adding ES83x6 I2S codec support for NVL platforms and entry in match table.

Signed-off-by: Balamurugan C <balamurugan.c at intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood at intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao at linux.intel.com>
Link: https://patch.msgid.link/20260520061143.2024963-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie at kernel.org>
DeltaFile
+13-0sound/soc/intel/common/soc-acpi-intel-nvl-match.c
+13-01 files