Linux/linux 4f069ab — drivers/scsi/lpfc lpfc_els.c, drivers/scsi/mpt3sas mpt3sas_scsih.c

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

Pull SCSI fixes from James Bottomley:
 "Bug fixes, mostly in drivers. The only core change is to add service
  action in to the SCSI ioctl to support ATA depopulation.

  The largest driver fix is in ufs (decouple device lifecycle from
  devres) and the next largest is in the target code (compare all six
  ISID bytes identifying nexus) in the persistent reservation path"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: mpt3sas: Validate data_out size before SMP link-reset check
  scsi: ufs-mediatek: Restore the M-PHY power state when va09 disable fails
  scsi: ufs-mediatek: Use devm_regulator_get() for the va09 regulator
  scsi: target: core: Compare all six ISID bytes when identifying a nexus
  scsi: target: core: Disable protection processing for zero-block transfers
  scsi: target: iscsi: Run the Time2Retain handler in process context
  scsi: mpt3sas: Fix out-of-bounds cpu_msix_table read on CPU hotplug
  scsi: pm8001: Offset hardware queue index for MSI-X pre-vector

    [10 lines not shown]
DeltaFile
+44-40drivers/ufs/core/ufs-rpmb.c
+42-4drivers/target/target_core_pr.c
+23-6drivers/scsi/lpfc/lpfc_els.c
+21-5drivers/scsi/mpt3sas/mpt3sas_scsih.c
+20-1drivers/ufs/host/ufs-mediatek.c
+16-4drivers/target/iscsi/iscsi_target_erl0.c
+166-6021 files not shown
+304-10027 files

Linux/linux 3dbdc13 — block bio-integrity.c ioctl.c, tools/testing/selftests/ublk Makefile

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

Pull block fixes from Jens Axboe:

 - Fix discard splitting for non-power-of-two granularities, as dm-thin
   otherwise never saw a complete block and left the mapping allocated

 - Reject a zero-length BLKSECDISCARD range, which otherwise invalidated
   the entire page cache of the device

 - Bounce user PI buffers for writes when the integrity profile remaps
   reference tags, as the remap otherwise wrote to pages the caller only
   mapped for reading

 - ublk selftests build fix

* tag 'block-7.4-20261127' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  block: bounce user PI when writes may remap reference tags
  block: fix BLKSECDISCARD zero-length range causing page cache invalidation

    [2 lines not shown]
DeltaFile
+14-14block/blk-lib.c
+5-8block/ioctl.c
+5-0block/bio-integrity.c
+2-1tools/testing/selftests/ublk/Makefile
+26-234 files

Linux/linux 946d9ed — drivers/spi spi-geni-qcom.c

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

Pull spi fix from Mark Brown:
 "One Qualcomm specific driver fix that fixes issues reproduced on
  actual hardware that could cause data corruption with some client
  drivers that use an unusual bits per word configuration"

* tag 'spi-fix-v7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  spi: geni-qcom: Fix sub-byte transfer packing and length calculation
DeltaFile
+34-47drivers/spi/spi-geni-qcom.c
+34-471 files

Linux/linux 088c272 — fs/smb/client smb2ops.c cifs_unicode.c

Merge tag 'cifs-fixes-7.4-rc5' of https://git.manguebit.org/linux

Pull smb client fixes from Paulo Alcantara:

 - Fix cifs_sb->prepath being overwritten with UTF-8 bytes when a DFS
   link is reconnected on a mount with a non-utf8 iocharset, which made
   lookups fail with -ENOENT

 - Fix the DFS target node name being copied into the UNC and prepath
   in the cache charset on mount, which made the mount fail with
   -ENOENT on non-utf8 iocharset mounts

 - Fix a use-after-free of the server in smb2_reconnect_server(), which
   unlocked reconnect_mutex after dropping the session reference on the
   terminate path

 - Fix file name conversion on big-endian systems, where the temporary
   UTF-16 buffers were not in CPU byte order


    [9 lines not shown]
DeltaFile
+29-3fs/smb/client/dfs.c
+31-0fs/smb/client/dfs_cache.c
+4-3fs/smb/client/smb2transport.c
+4-3fs/smb/client/smb2pdu.c
+3-3fs/smb/client/cifs_unicode.c
+3-2fs/smb/client/smb2ops.c
+74-146 files not shown
+85-2112 files

Linux/linux f93eb7c — arch/x86/platform/efi efi.c, drivers/firmware/efi efi.c efi-pstore.c

Merge tag 'efi-fixes-for-v7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi

Pull EFI fixes from Ard Biesheuvel:

 - Mark some EFI config table types as unusable after kexec on x86

 - Revert a module parameter hack in efi-pstore

 - Use the right memory attributes for MMIO runtime regions on RISC-V

 - Fix a memory corruption issue when calling the Apple properties
   protocol from the x86 EFI stub

 - Other non-critical build and runtime fixes

* tag 'efi-fixes-for-v7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
  efi: pstore: Make pstore_disable parameter read-only again
  efi/libstub: loongarch: Provide 64-bit integer shift helpers for 32-bit
  efi: Statically initialize efivar_ops_nh

    [10 lines not shown]
DeltaFile
+6-33drivers/firmware/efi/efi-pstore.c
+34-0arch/x86/platform/efi/efi.c
+7-11drivers/firmware/efi/efi.c
+5-3drivers/firmware/efi/libstub/efistub.h
+4-3drivers/firmware/efi/libstub/Makefile
+3-3drivers/firmware/efi/libstub/x86-stub.c
+59-539 files not shown
+72-6515 files

Linux/linux e0768fa — Documentation/devicetree/bindings/watchdog arm,sp805.yaml, drivers/watchdog watchdog_dev.c sp805_wdt.c

Merge tag 'watchdog-for-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull watchdog fixes from Guenter Roeck:

 - core: return 0 from watchdog_get_timeleft() when neither WDOG_ACTIVE
   nor WDOG_HW_RUNNING is set instead of calling ->get_timeleft(),
   avoiding hardware accesses on stopped watchdogs (such as external
   aborts in omap_wdt via sysfs timeleft or WDIOC_GETTIMELEFT)

 - intel_oc_wdt: add noirq suspend/resume callbacks to stop a running,
   unlocked watchdog during system sleep (including firmware-started
   watchdogs) so it does not reset the machine in suspend-to-idle, and
   restore the configured timeout and restart it on resume

 - sp805: keep the clock prepared from probe and call clk_enable() in
   the atomic restart handler so reboot still works after the watchdog
   has been stopped and its clock disabled

 - dt-bindings: reference /schemas/arm/primecell.yaml# in arm,sp805.yaml

    [7 lines not shown]
DeltaFile
+52-0drivers/watchdog/intel_oc_wdt.c
+14-3drivers/watchdog/sp805_wdt.c
+3-0drivers/watchdog/watchdog_dev.c
+1-0Documentation/devicetree/bindings/watchdog/arm,sp805.yaml
+70-34 files

Linux/linux bb13fcd — Documentation/ABI/stable sysfs-driver-dma-idxd, drivers/dma/idxd cdev.c

Merge tag 'dmaengine-fix-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine

Pull dmaengine fixes from Vinod Koul:

 - A bunch of error handling leak fixes in stm, rcar drivers

 - Minor number handling fix in idxd driver

 - ABI version fix in documentation for idxd

* tag 'dmaengine-fix-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine:
  dmaengine: rcar-dmac: Remove redundant dev_err()/dev_err_probe()
  dmaengine: rcar-dmac: Add missing dma_descriptor_unmap()
  dmaengine: rcar-dmac: Fix PM usage counter imbalance
  Documentation: ABI: sysfs-driver-dma-idxd: Fix the kernel version 6.20.0
  dmaengine: idxd: Free the minor number when cdev setup fails
  dmaengine: stm32-mdma: Fix runtime PM reference leak in pm_suspend
DeltaFile
+4-5drivers/dma/sh/rcar-dmac.c
+1-1Documentation/ABI/stable/sysfs-driver-dma-idxd
+1-0drivers/dma/stm32/stm32-mdma.c
+1-0drivers/dma/idxd/cdev.c
+7-64 files

Linux/linux fa65df6 — drivers/phy/freescale phy-fsl-samsung-hdmi.c, drivers/phy/qualcomm phy-qcom-qmp-pcie.c

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

Pull phy fixes from Vinod Koul:

 - A bunch of error handling fixes for ingenic, ti, rockchip etc drivers

 - Revert of skipping phy reset in Qualcomm pcie driver and revert of
   freescale hdmi default rate due to reported regressions

* tag 'phy-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
  phy: rockchip: inno-hdmi: Fix potential stale clock provider
  phy: rockchip: snps-pcie3: Raise the SRAM init timeout
  phy: Revert "phy: freescale: fsl-samsung-hdmi: initialize default rate"
  phy: freescale: phy-fsl-imx8-mipi-dphy: Fix hs_zero underflow
  phy: phy-bcm-ns2-usbdrd: cancel extcon work on unbind to avoid use-after-free
  phy: PHY_GOOGLE_USB should depend on ARCH_GOOGLE
  phy: exynos5-usbdrd: Use dynamic phy_cfg size to prevent OOB access
  phy: rockchip: naneng-combphy: Fix overwritten PLL SSC control bit
  Revert "phy: qcom: qmp-pcie: Skip PHY reset if already up"

    [6 lines not shown]
DeltaFile
+47-16drivers/phy/ti/phy-ti-pipe3.c
+15-44drivers/phy/freescale/phy-fsl-samsung-hdmi.c
+10-21drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
+15-2drivers/phy/samsung/phy-exynos5-usbdrd.c
+6-3drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
+1-7drivers/phy/rockchip/phy-rockchip-inno-hdmi.c
+94-936 files not shown
+105-10112 files

Linux/linux 81403a0 — drivers/soundwire qcom.c

Merge tag 'soundwire-7.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire

Pull soundwire fix from Vinod Koul:
 "A single qualcomm driver fix to disable the interrupt before
  clock gating"

* tag 'soundwire-7.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
  soundwire: qcom: disable the interrupt before gating the clock
DeltaFile
+2-0drivers/soundwire/qcom.c
+2-01 files

Linux/linux 4aa6ef1 — Documentation/devicetree/bindings/watchdog arm,sp805.yaml

dt-bindings: watchdog: arm,sp805: reference the PrimeCell binding

Unlike the other PrimeCell bindings, the binding ends in
unevaluatedProperties: false without referencing
/schemas/arm/primecell.yaml#, so arm,primecell-periphid is not an
evaluated property on an arm,sp805 node. Two nodes in the tree carry
that property regardless -- watchdog at a2c000 in hisi-x5hd2.dtsi and
watchdog at 8000 in mps2.dtsi.

`make CHECK_DTBS=y`:

  watchdog at a2c000 (arm,sp805): Unevaluated properties are not allowed
  ('arm,primecell-periphid' was unexpected)

Add the reference so the property becomes evaluable; both nodes then
validate.

Fixes: 73d3e43f9813 ("dt-bindings: watchdog: sp-805: Convert to Json-schema")
Cc: stable at vger.kernel.org

    [5 lines not shown]
DeltaFile
+1-0Documentation/devicetree/bindings/watchdog/arm,sp805.yaml
+1-01 files

Linux/linux 348d255 — block bio-integrity.c

block: bounce user PI when writes may remap reference tags

On an io_uring O_DIRECT write, bio_integrity_map_user() can attach the
caller's protection information (PI) buffer directly to the bio. The
block layer pins the pages for reading, but reference-tag remapping can
write to those same pages.

A caller with write access to a block device whose integrity profile
enables reference-tag remapping can therefore modify a page it can
only map for reading. In testing, remapping changed a tag in the page
cache of a read-only file. With a PI buffer backed by the shared zero
page, the kernel faulted during remapping.

Use the existing bounce-buffer path for REQ_OP_WRITE when the queue's
integrity profile has BLK_INTEGRITY_REF_TAG set. This copies the PI
buffer into kernel memory before remapping, so the caller's buffer
retains its original reference tags.

I found this issue during a source review assisted by an LLM.

    [10 lines not shown]
DeltaFile
+5-0block/bio-integrity.c
+5-01 files

Linux/linux 7cd8495 — io_uring timeout.c openclose.c

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

Pull io_uring fixes from Jens Axboe:
 "io_uring fixes for this week - bigger than I'd like at this point, but
  that's mostly looking at the commit count. The fixes are all pretty
  small and isolated. This contains:

   - Don't charge the whole folio offset to the skb truesize for managed
     frags, as a registered buffer backed by huge pages otherwise looked
     like a full socket long before any real memory was used.

   - recvmsg retry fixes: don't copy msg_name again on a retry, and
     restore the cmsg buffer before a retry.

   - Clear REQ_F_BL_NO_RECYCLE when the buffers it was set for are put,
     fixing a NULL pointer dereference in bundle receive with
     MSG_WAITALL.

   - Free the ring from an RCU work, fixing a use-after-free of the ctx

    [33 lines not shown]
DeltaFile
+21-6io_uring/net.c
+19-5io_uring/io_uring.c
+8-10io_uring/cancel.c
+8-0io_uring/bpf-ops.c
+4-1io_uring/timeout.c
+4-1io_uring/openclose.c
+64-235 files not shown
+76-2411 files

Linux/linux ad5b48d — Documentation/hwmon yogafan.rst, drivers/hwmon cgbc-hwmon.c aquacomputer_d5next.c

Merge tag 'hwmon-for-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

 - Fix a v7.4-rc2 regression in aquacomputer_d5next that rejected
   single-collection Aquaero sensor interfaces during probe by only
   checking collection[1].type when maxcollection > 1.

 - Fix peak value tracking for IEEE-754 half-precision chips
   (LT7170/LT7171) in pmbus/ltc2978: compare binary16 values as
   sign-magnitude integers instead of decoding them as LINEAR11, and use
   -infinity/+infinity for peak initialization and reset values.

 - Fix ACPI fan paths for the Lenovo Yoga Pro 7 14IAH10 in yogafan by
   using the dual-fan FA1S/FA2S configuration instead of the nonexistent
   FANS path, and update the driver documentation table to match.

 - Add the missing platform:cgbc-hwmon module alias to cgbc-hwmon so the
   driver autoloads when built as a module.

    [6 lines not shown]
DeltaFile
+52-14drivers/hwmon/pmbus/ltc2978.c
+1-7drivers/hwmon/yogafan.c
+3-2drivers/hwmon/aquacomputer_d5next.c
+2-1Documentation/hwmon/yogafan.rst
+1-0drivers/hwmon/cgbc-hwmon.c
+59-245 files

Linux/linux aea1c2e — block ioctl.c

block: fix BLKSECDISCARD zero-length range causing page cache invalidation

Commit 697ba0b6ec4a ("block: fix integer overflow in BLKSECDISCARD") fixed
the start+len overflow via check_add_overflow() but did not handle the
start=0, len=0 case. There, start + len = 0, so end = 0 passes all checks,
and truncate_bdev_range()->truncate_inode_pages_range() is then called with
lend=UINT64_MAX, whitch is the "truncate to the end of file" sentinel, so
the entire page cache is invalidated.

Fix this by replacing the validation with blk_validate_byte_range(), which
already rejects a zero-length range and is what BLKDISCARD uses. This also
switches the alignment check from a hardcoded 512 to
bdev_logical_block_size().

Fixes: 0bd1ed4860d0 ("block: pass inclusive 'lend' parameter to truncate_inode_pages_range")
Signed-off-by: Zizhi Wo <wozizhi at huawei.com>
Reviewed-by: Yu Kuai <yukuai at fygo.io>
Reviewed-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Bart Van Assche <bvanassche at acm.org>

    [2 lines not shown]
DeltaFile
+5-8block/ioctl.c
+5-81 files

Linux/linux d9667b1 — tools/testing/selftests/ublk Makefile

selftests/ublk: use the configured kernel UAPI headers

With generated headers in an output directory, the hardcoded source-tree
include path falls through to distribution headers. New ublk flags and
structure members, including UBLK_F_IO_DESC_SIZE, are then missing.

Use KHDR_INCLUDES to consume the headers from the kernel under test, and
add the headers target as an order-only prerequisite of the ublk
programs, as nolibc-test does, so that a standalone build installs them
first. Baseline builds fail on the missing definitions; GCC 14 and Clang
21 builds succeed with the output-directory headers and target liburing
development files available.

Fixes: e371b9d3368c ("selftests: ublk: kublk: fix include path")
Signed-off-by: Sasha Levin <sashal at kernel.org>
Reviewed-by: Ming Lei <tom.leiming at gmail.com>
Link: https://patch.msgid.link/20261126231706.1303486-1-sashal@kernel.org
Signed-off-by: Jens Axboe <axboe at kernel.dk>
DeltaFile
+2-1tools/testing/selftests/ublk/Makefile
+2-11 files

Linux/linux c639ac6 — drivers/gpu/drm/amd/amdgpu amdgpu_bios.c gfx_v9_0.c, drivers/gpu/drm/amd/amdkfd kfd_process.c

Merge tag 'drm-fixes-2026-11-28' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Weekly fixes, amdgpu and msm leading the charge, with a bunch of i915
  display fixes and then some misc driver fixes. There is one pci fix in
  here that is acked. Don't think anything major stands out.

   pci:
   - Cache firmware secondary bus number

  core:
   - panic: Restore kmsg screen fix
   - ttm: Don't leak LRU list on shutdown

  dma-buf:
   - dma-fence: Prevent misordering for error checks

  xe:
   - hwmon: Unregister hwmon before the device is unplugged

    [87 lines not shown]
DeltaFile
+47-95drivers/gpu/drm/v3d/v3d_submit.c
+70-30drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+52-6drivers/gpu/drm/amd/amdkfd/kfd_process.c
+15-27drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
+29-13drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
+14-26drivers/gpu/drm/radeon/radeon_bios.c
+227-19798 files not shown
+772-427104 files

Linux/linux d3a5ea8 — arch/x86/net bpf_jit_comp.c, kernel/bpf core.c btf.c

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

Pull bpf fixes from Alexei Starovoitov:
 "Small fixes for various bugs all over bpf. The main themes:

   - fix verifier bugs that let unsafe progs load

   - require CAP_PERFMON in places where CAP_BPF alone leaked kernel
     addresses

   - fix x86 JIT crash with FineIBT, split locks from arena atomics and
     unreliable stack traces

   - fix arm64 JIT crash in bpf_throw() with shadow call stack

   - fix leaks of uninitialized memory in skb, XDP, sk_msg and sockaddr
     helpers

   - add missing NULL checks and speculation barriers

    [73 lines not shown]
DeltaFile
+92-25kernel/bpf/verifier.c
+47-39kernel/bpf/helpers.c
+42-11arch/x86/net/bpf_jit_comp.c
+46-6kernel/bpf/btf.c
+40-10kernel/bpf/core.c
+33-13net/core/filter.c
+300-10427 files not shown
+606-17533 files

Linux/linux f6ce3d0 — block blk-lib.c

block: fix discard alignment for non-power-of-two granularities

bio_discard_limit() uses round_up() and round_down(), which require a
power-of-two alignment. However, discard_granularity need not be a power
of two. For example, dm-thin supports data block sizes that are arbitrary
multiples of 64 KiB and advertises the block size as its granularity.

With a 192 KiB granularity, discarding one complete block at offset
384 KiB is split into 128 KiB and 64 KiB bios. Neither covers a complete
thin block, so dm-thin ignores both and the mapping remains allocated.

Use div_u64_rem() to find the starting sector's remainder without
modifying the sector. Round the maximum bio size down with rounddown()
and subtract the remainder so that the next bio starts on a granularity
boundary. This handles non-power-of-two granularities and avoids a small
initial bio when a large discard starts at an unaligned sector.

When discard is unsupported or disabled, discard_granularity can be zero.
Return BIO_MAX_SECTORS in that case so the existing bio submission checks

    [12 lines not shown]
DeltaFile
+14-14block/blk-lib.c
+14-141 files

Linux/linux 673af17 — include/linux user_events.h, kernel fork.c

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

Pull tracing fixes from Steven Rostedt:

 - Fix user events on fork allocation failure

   User events are created by user tasks to be able to be traced within
   the kernel tracing facility. On fork, the duplication of user events
   can fail. If this happens the state of the event becomes stale, miss
   updates and produce undefined results.

   As user events are part of the set up of the program that uses them,
   fail a fork if the user event allocation fails for the new child.
   This only affects programs that set up user events for themselves.

 - Fix a remote event alignemnt offset output

   The trace events for remote buffers does not take into account
   alignment constraints, and produces incorrect field offsets that

    [57 lines not shown]
DeltaFile
+10-8kernel/trace/trace.h
+9-8kernel/trace/trace_recursion_record.c
+7-9include/linux/user_events.h
+2-10kernel/trace/trace_events_filter.c
+5-3kernel/trace/trace_events_user.c
+6-2kernel/fork.c
+39-407 files not shown
+57-4713 files

Linux/linux e2b2ab0 — drivers/firmware/efi efi-pstore.c

Merge efi-pstore revert into efi/urgent
DeltaFile
+6-33drivers/firmware/efi/efi-pstore.c
+6-331 files

Linux/linux 3285c9d — drivers/firmware/efi efi-pstore.c

efi: pstore: Make pstore_disable parameter read-only again

Commit a28655c330ab ("efi: pstore: Allow dynamic initialization based on
module parameter") wired up a kernel_param_ops::set callback for
pstore_disable that invokes efivars_pstore_init() directly.

Because parse_args() runs before module initialization (and before
mm_core_init() during early boot when built-in), calling
efivars_pstore_init() from the parameter setter is fundamentally broken:

 - Loading efi-pstore as a module with pstore_disable=N initializes and
   registers efi_pstore_info during parse_args(), and then runs
   efivars_pstore_init() a second time from do_init_module(), leaking
   the first buffer, failing pstore_register() with -EBUSY, and zeroing
   efi_pstore_info.buf/bufsize while leaving efi_pstore_info registered
   with pstore.
 - If load_module() fails after parse_args() (e.g., due to a subsequent
   unknown parameter), the module is freed without calling module_exit,
   leaving pstore with a dangling backend pointer.

    [13 lines not shown]
DeltaFile
+6-33drivers/firmware/efi/efi-pstore.c
+6-331 files

Linux/linux e1dc9c4 — drivers/gpu/drm/msm msm_gpu.h, drivers/gpu/drm/msm/adreno a8xx_preempt.c adreno_gpu.c

Merge tag 'drm-msm-fixes-2026-10-27' of https://gitlab.freedesktop.org/drm/msm into drm-fixes

Fixes for v7.4-rc4:

GPU:
- Fix GMEM_BASE on gen8
- VM_BIND parameter validation and related fixes
- Reset preemption records across suspend
- Fix missing CLX request
- Fix lock leak
- Add missing AQE fw for x2-90
- Fix 1/2b alpha filtering precision on gen8
- Fix priority inversion caused by commit 38f922a563aa ("drm/sched:
  Reverse run-queue priority enumeration")
- Fix missing preempt_record_size on glymur/mahua

Signed-off-by: Dave Airlie <airlied at redhat.com>
From: Rob Clark <rob.clark at oss.qualcomm.com>
Link: https://patch.msgid.link/CACSVV03hO_QBSuk9ueAKve0PF5wkXYY0FXWBq1c3mvP374Ggcg@mail.gmail.com
DeltaFile
+21-16drivers/gpu/drm/msm/adreno/a6xx_preempt.c
+24-7drivers/gpu/drm/msm/adreno/a6xx_gmu.c
+10-14drivers/gpu/drm/msm/msm_gpu.h
+9-6drivers/gpu/drm/msm/adreno/a8xx_catalog.c
+7-5drivers/gpu/drm/msm/adreno/adreno_gpu.c
+8-3drivers/gpu/drm/msm/adreno/a8xx_preempt.c
+79-5110 files not shown
+101-6016 files

Linux/linux 76a0a6d — kernel/trace ring_buffer.c

ring-buffer: Add missing cnt increment for remote ring buffers

The ring_buffer_per_cpu::cnt member tracks modifications to the ring
buffer links. It was introduced for rb_check_pages() to avoid locking
the ring buffer for the entire duration of the check. The reader page
swap function for remote ring buffers does not update it. If a
concurrent rb_check_pages() recorded a page as head before dropping the
reader lock, it misses the list update and loops indefinitely. Add the
missing increment.

Cc: stable at vger.kernel.org
Fixes: fbd1743ecba1 ("ring-buffer: Add non-consuming read for ring-buffer remotes")
Reported-by: Sashiko <sashiko-bot at kernel.org>
Link: https://patch.msgid.link/20261117151520.3972146-1-vdonnefort@google.com
Signed-off-by: Vincent Donnefort <vdonnefort at google.com>
[ rebased to v7.4-rc4 as there were conflicts ]
Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
DeltaFile
+1-0kernel/trace/ring_buffer.c
+1-01 files

Linux/linux 9a3415a — drivers/gpu/drm drm_panic_helper.c, drivers/gpu/drm/ast Kconfig ast_mm.c

Merge tag 'drm-misc-fixes-2026-11-27' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes

Short summary of fixes pull:

ast:
- Allow disabling Write-Combine if CONFIG_RT=y

core:
- panic: Restore kmsg screen fix
- ttm: Don't leak LRU list on shutdown

dma-buf:
- dma-fence: Prevent misordering for error checks

gud:
- Fix potential divide-by-zero bug

imagination:
- Fix the value of ROGUE_COMPUTE_FLAG_PREVENT_ALL_OVERLAP

    [11 lines not shown]
DeltaFile
+47-95drivers/gpu/drm/v3d/v3d_submit.c
+24-16drivers/gpu/drm/v3d/v3d_sched.c
+11-4include/linux/dma-fence.h
+13-0drivers/gpu/drm/ast/ast_mm.c
+8-2drivers/gpu/drm/drm_panic_helper.c
+9-0drivers/gpu/drm/ast/Kconfig
+112-1176 files not shown
+119-12712 files

Linux/linux f458506 — drivers/thermal thermal_sysfs.c

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

Pull thermal control fix from Rafael Wysocki:
 "Address a possible NULL pointer dereference in the thermal
  sysfs interface by adding thermal zone locking to some show/store
  callbacks (Yu Zhang)"

* tag 'thermal-7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  thermal: sysfs: take the zone lock in the tzp attribute handlers
DeltaFile
+8-0drivers/thermal/thermal_sysfs.c
+8-01 files

Linux/linux 2cf42c4 — drivers/cpufreq intel_pstate.c

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

Pull power management fixes from Rafael Wysocki:
 "These fix two issues in the intel_pstate driver including one recent
  regression:

   - Prevent intel_pstate from triggering lockdep splats during system
     resume due to suspicious ordering of locks that is a consequence of
     a recent cpufreq core update (Rafael Wysocki)

   - Make intel_pstate refresh cpuinfo.max_freq when a CPU goes online
     to avoid using a stale value of it (Hugo Sales)"

* tag 'pm-7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  cpufreq: intel_pstate: Use dedicated lock in set_power_ctl_ee_state()
  cpufreq: intel_pstate: Refresh cpuinfo.max_freq when a CPU goes online
DeltaFile
+42-10drivers/cpufreq/intel_pstate.c
+42-101 files

Linux/linux 8c86114 — drivers/iommu vsi-iommu.c, drivers/iommu/amd iommu.c

Merge tag 'iommu-fixes-v7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux

Pull iommu fixes from Joerg Roedel:
 "AMD IOMMU:

   - Fix DMA failures on AMD Cezanne by flushing CPU cache lines for
     IOMMU v2 page tables

  VeriSilicon IOMMU:

   - Keep runtime PM callbacks available without CONFIG_PM_SLEEP, fixing
     an SError on the RK3588 AV1 decoder. Avoid sleeping in hard IRQ
     context, balance runtime PM references during TLB invalidation, and
     flush the TLB on resume

   - Fix domain-switch locking and out-of-bounds access when attaching
     or resuming an identity domain. Drop the unsupported disable write
     on suspend and unprepare clocks if IRQ lookup fails during probe


    [17 lines not shown]
DeltaFile
+39-28drivers/iommu/vsi-iommu.c
+28-6drivers/iommu/hyperv/hv-iommu-guest.c
+16-0drivers/iommu/amd/iommu.c
+83-343 files

Linux/linux 16a4afe — sound/core sound_oss.c timer.c, sound/hda/codecs/realtek alc269.c

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

Pull sound fixes from Takashi Iwai:
 "A collection of various small fixes across the sound subsystem. Mostly
  the device-specific quirks and driver fixes as usual, along with a few
  race and deadlock fixes in ALSA core and ASoC drivers:

  ALSA core:
   - Fix potential ABBA deadlock at snd_pcm_action_nonatomic()
   - Prevent hw_params/hw_refine changes during PCM buffer access
   - Simplify PCM buffer access gate with auto-cleanup helpers
   - Fix deadlock regression at OSS device unregistration
   - Refine slave hw_params after setting format in PCM OSS
   - Protect slave timer instance flags with the timer lock

  HD-audio:
   - Fix unbalanced display power reference on delayed probe failure
   - Fix NULL pointer dereference on unbind in TAS2781 SPI driver
   - Revert for regression on Higole F9B due to generic SSID conflict

    [44 lines not shown]
DeltaFile
+74-51sound/core/pcm_native.c
+66-0sound/soc/tegra/tegra210_admaif.c
+43-7sound/core/timer.c
+18-17sound/core/sound_oss.c
+28-5sound/hda/codecs/realtek/alc269.c
+19-11sound/soc/fsl/fsl_asrc_m2m.c
+248-9121 files not shown
+443-11827 files

Linux/linux 6cce17f — Documentation/driver-api vme.rst, drivers/staging/vme_user vme_user.c vme_fake.c

Merge tag 'staging-7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging

Pull staging driver removal from Greg KH:
 "Here is a single staging driver patch that removes the vme_user
  driver.

  There is no more users of it and the LLMs are falling all over
  themselves attempting to find all of the "security bugs" in this
  driver, despite no one ever actually use it. So just remove it to
  keep from wasting everyone's time.

  This removal has been in linux-next for quite a while with no
  reported issues"

* tag 'staging-7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
  staging: vme_user: delete driver
DeltaFile
+0-2,643drivers/staging/vme_user/vme_tsi148.c
+0-1,977drivers/staging/vme_user/vme.c
+0-1,392drivers/staging/vme_user/vme_tsi148.h
+0-1,308drivers/staging/vme_user/vme_fake.c
+0-812drivers/staging/vme_user/vme_user.c
+0-297Documentation/driver-api/vme.rst
+0-8,42910 files not shown
+0-8,93116 files

Linux/linux 9c07103 — drivers/hwmon cgbc-hwmon.c

hwmon: (cgbc-hwmon) Add module alias

The board controller's core driver adds the hwmon cell as platform
device "cgbc-hwmon", but the driver declares no matching module alias.
Built as a module, it is therefore not loaded automatically, unlike the
GPIO, I2C and backlight drivers, and the sensors stay missing until it
is loaded by hand.

Tested on a conga-PA7: with the alias, the driver loads at boot.

The patch and this changelog were drafted with the help of Claude
Opus 5.5 and reviewed and tested by me.

Fixes: 08ebc9def79f ("hwmon: Add Congatec Board Controller monitoring driver")
Cc: stable at vger.kernel.org
Signed-off-by: Markus Haberlander <markus.haberlander at rosenberger.com>
Link: https://patch.msgid.link/20261123-cgbc-hwmon-alias-v1-1-3054681f984a@rosenberger.com
Signed-off-by: Guenter Roeck <linux at roeck-us.net>
DeltaFile
+1-0drivers/hwmon/cgbc-hwmon.c
+1-01 files