Skip to content

Merge/sound upstream 20261122 - #6053

Open
bardliao wants to merge 2092 commits into
thesofproject:topic/sof-devfrom
bardliao:merge/sound-upstream-20261122
Open

bardliao wants to merge 2092 commits into
thesofproject:topic/sof-devfrom
bardliao:merge/sound-upstream-20261122

Conversation

@bardliao

Copy link
Copy Markdown
Collaborator

Upstream merge

Daejun7Park and others added 30 commits November 13, 2026 22:18
For a bio with REQ_PREFLUSH and data, dm core may send an empty flush
first. If the flush fails, __dm_io_complete() still reissues the bio
without REQ_PREFLUSH and drops the error. When that write succeeds,
the XFS log keeps running and fsync() can return 0.

End the bio with the flush error instead of writing the data, as
blk-mq does.

Fixes: 6a8736d ("dm: relax ordering of bio-based flush implementation")
Cc: stable@vger.kernel.org
Signed-off-by: Daejun Park <daejun7.park@samsung.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
kmb_platform calls byte_rev_table, which lib/bitrev.c provides under
BITREVERSE.

  kmb_platform.c:(.text+0x1473): undefined reference to `byte_rev_table'

The driver can be built into vmlinux while GENERIC_BITREVERSE is a module,
in which case the symbol is not there at link time.

Select rather than depend on: BITREVERSE has no prompt of its own and is
only ever enabled by a select, so a depends on would leave
SND_SOC_INTEL_KEEMBAY unselectable.

BITREVERSE is the symbol to select rather than GENERIC_BITREVERSE: it
selects GENERIC_BITREVERSE only where the architecture has no native
implementation, so this stays correct on the architectures that do.

Reproduced on v7.3, x86_64, with CONFIG_SND_SOC_INTEL_KEEMBAY=y and
CONFIG_GENERIC_BITREVERSE=m.

Found with kreach, a static check that compares what Kconfig allows
against the symbols the compiled objects actually reference.

Fixes: c5477e9 ("ASoC: Intel: Add KeemBay platform driver")
Signed-off-by: Jude Gyimah <jude.gyimah87@gmail.com>
Link: https://patch.msgid.link/20261104135142.3723042-1-jude.gyimah87@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
pxa_ssp_probe() reserves the SSP port before looking up extclk. If the
clock lookup returns an error such as -EPROBE_DEFER, the private data
is freed but the port remains reserved. A later probe attempt cannot
request that port and fails with -ENODEV.

Release the reserved SSP port before the existing private-data cleanup
when the optional clock lookup fails.

Fixes: 90eb6b5 ("ASoC: pxa-ssp: add support for an external clock in devicetree")
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20261112071757.154652-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
…git/arm64/linux

Pull arm64 fixes from Catalin Marinas:
 "Fix hugetlb write fault livelock, permission overlay and GCS state
  preservation across CPU suspend, cpuidle context tracking during
  system suspend, GCS mode handling on signal return, AMU counter errata
  workarounds, kexec loading of images with a non-zero text_offset and a
  spurious ptrace warning:

   - Fix hugetlb write fault livelocks caused by stale read-only TLB
     entries after another CPU makes the page writable and only performs
     a local invalidate. Unlike the generic fault path, hugetlb has no
     fix_spurious_fault() fallback

   - Save and restore POR_EL0, GCSPR_EL0 and GCSCRE0_EL1 across CPU
     suspend

   - Restrict cpuidle context tracking in cpu_suspend() to idle tasks,
     avoiding context tracking warnings during system suspend

   - Ignore attempts to change GCS mode through signal return, which
     updated the software state without updating the hardware. Changes
     made through prctl() in the signal handler are preserved. This
     changes the documented ABI but no known userspace relies on it.
     Allowing mode changes through both prctl() and signal return also
     creates confusing interactions, with signal return potentially
     undoing changes deliberately made by the handler

   - Extend the AMU constant counter workaround to additional CPUs and
     add a core cycle counter workaround for Cortex-A715/A720, treating
     the affected counters as unavailable

   - Avoid CMA allocations when loading a kexec Image with a non-zero
     text_offset, fixing an incorrect entry point and a memory leak when
     freeing the image

   - Remove a spurious ptrace warning when setting the syscall number of
     a task in a non-seized group-stop without siginfo"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: suspend: Only track cpuidle context for idle tasks
  arm64: ptrace: don't warn on missing siginfo in a group-stop
  arm64: kexec_file: Do not use CMA for images with a non-zero text_offset
  arm64: errata: Add Cortex-A715/A720 AMU core counter workaround
  arm64: errata: Extend the workaround for broken AMEVCNTR01 counter
  arm64/gcs: Ignore attempts to change GCS mode during signal return
  arm64: hugetlb: Prevent write fault livelocks on stale TLB entries
  arm64: suspend: Save GCS state over suspend
  arm64: suspend: Save POR_EL0 over suspend
rt5668_calibrate() is called during i2c_probe() and takes
calibrate_mutex. However, mutex_init() for that mutex is not called
until later in the probe sequence, after the INIT_DELAYED_WORK calls.
This means the first calibration locks an uninitialized mutex.

While this works by accident because devm_kzalloc zeroes the struct
memory, it is incorrect and triggers warnings with
CONFIG_DEBUG_MUTEXES=y.

Move the mutex_init() call to before rt5668_calibrate() so the mutex
is properly initialized before its first use.

Fixes: d59fb28 ("ASoC: rt5668: add rt5668B codec driver")
Cc: stable@vger.kernel.org
Signed-off-by: Tristan Madani <tristan@talencesecurity.com>
Link: https://patch.msgid.link/20261111114919.95639-1-tristmd@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
wcd_mbhc_deinit() drains two of the three works embedded in struct
wcd_mbhc before freeing it - correct_plug_swch (via
wcd_cancel_hs_detect_plug()) and mbhc_plug_detect_work - but not the
button long-press delayed work mbhc_btn_dwork:

	mutex_lock(&mbhc->lock);
	wcd_cancel_hs_detect_plug(mbhc, &mbhc->correct_plug_swch);
	cancel_work_sync(&mbhc->mbhc_plug_detect_work);
	mutex_unlock(&mbhc->lock);

	kfree(mbhc);

mbhc_btn_dwork is armed from the button-press interrupt handler
wcd_mbhc_btn_press_handler() with a 400 ms delay:

	schedule_delayed_work(&mbhc->mbhc_btn_dwork, msecs_to_jiffies(400));

and its handler wcd_btn_long_press_fn() dereferences @mbhc
(container_of(), mbhc->current_plug, mbhc->jack).

wcd_mbhc_deinit() frees the MBHC interrupts first, which stops new work
from being queued, but free_irq() does not cancel a delayed work that was
already scheduled. If a button was pressed within ~400 ms of component
removal, mbhc_btn_dwork is still pending when kfree(mbhc) runs, so
wcd_btn_long_press_fn() later executes against freed memory
(use-after-free).

The freeing of mbhc was introduced by commit a547582 ("ASoC: codecs:
wcd-mbhc-v2: fix resource leaks on component remove"), which switched mbhc
to kzalloc() and added the kfree(mbhc) above; the deinit path cancels
correct_plug_swch (added with the multi-button support in 0e5c9e7)
and, later, mbhc_plug_detect_work (added in 0c10599), but
mbhc_btn_dwork has never been cancelled there.

Use the existing wcd_mbhc_cancel_pending_work() helper, which cancels
mbhc_btn_dwork (via wcd_cancel_btn_work()) and then correct_plug_swch,
matching the other cancellation sites in this file and ensuring
mbhc_btn_dwork is cancelled before wcd_cancel_hs_detect_plug() briefly
drops mbhc->lock.

Found by code review; not runtime-reproduced (requires WCD codec hardware
and a button-press event racing component removal).

Fixes: a547582 ("ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove")
Cc: stable@vger.kernel.org
Signed-off-by: Hyunjung Ko <hj351016@gmail.com>
Link: https://patch.msgid.link/20261106114628.2555176-1-hj351016@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
…rg/drm/misc/kernel into drm-fixes

Short summary of fixes pull:

bridge:
- ssd2825: Fix panel enable sequence
- sii902x: validate I2S data lane values

display:
- hdmi: Fixes to SCDC

gud:
- Avoid divide error in gud_stats_debugfs

meson:
- load ENCL gamma table while ENCL is disabled

nouveau:
- disp: Set atomic functions in struct drm_mode_config_funcs
- gsp: Handle only IRQs routed to host

panfrost:
- Fixes to perfcnt

sched:
- Ensure stopped entity cannot be re-added to the run-queue

vc4:
- Fix firmware reference leak
- Hold runtime PM reference while allocating the binner BO
- Rebuild V3D interrupt mask on every power transition
- Re-enable the V3D interrupt after a GPU reset

Signed-off-by: Dave Airlie <airlied@redhat.com>

From: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20261113074438.GA14592@linux.fritz.box
…cm/linux/kernel/git/groeck/linux-staging

Pull watchdog fixes from Guenter Roeck:

 - gunyah_wdt: Re-enable the watchdog on resume

 - mediatek: Register reset controller before watchdog device

 - meson_gxbb_wdt: fix suspend/resume handling of HW_RUNNING watchdog

 - mtk_wdt: Stop a running watchdog over system sleep even if not opened

 - npcm: fix clock prepare leak when setting timeout on a running
   watchdog

 - omap: Fix early_enable handling in omap_wdt_probe()

 - orion_wdt: load the pretimeout counter on Armada 370/XP start

 - rzv2h: Drop runtime PM handling from WDTDCR init, and use
   pm_runtime_put_sync()

 - sbsa_gwdt: Limit the MediaTek WS0 race workaround to revision 0

 - sc1200wdt: add missing MODULE_DEVICE_TABLE()

 - sp5100_tco: Use release_mem_region() for EFCH MMIO resource

* tag 'watchdog-fixes-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  watchdog: rzv2h: Drop runtime PM handling from WDTDCR init
  watchdog: rzv2h: Use pm_runtime_put_sync()
  watchdog: omap: Fix early_enable handling in omap_wdt_probe()
  watchdog: npcm: fix clock prepare leak when setting timeout on a running watchdog
  watchdog: gunyah_wdt: Re-enable the watchdog on resume
  watchdog: mediatek: Register reset controller before watchdog device
  watchdog: sp5100_tco: Use release_mem_region() for EFCH MMIO resource
  watchdog: sbsa_gwdt: Limit the MediaTek WS0 race workaround to revision 0
  watchdog: meson_gxbb_wdt: fix suspend/resume handling of HW_RUNNING watchdog
  watchdog: mtk_wdt: Stop a running watchdog over system sleep even if not opened
  watchdog: orion_wdt: load the pretimeout counter on Armada 370/XP start
  watchdog: sc1200wdt: add missing MODULE_DEVICE_TABLE()
…m/kernel

Pull drm fixes from Dave Airlie:
 "Weekly drm fixes, this is a bit bigger as we missed xe last week due
  to a tree screw up, so it's mostly xe and amdgpu, then the usual
  scattering of fixes across drivers.

  sched:
   - Ensure stopped entity cannot be re-added to the run-queue

  bridge:
   - ssd2825: Fix panel enable sequence
   - sii902x: validate I2S data lane values

  display:
   - hdmi: Fixes to SCDC

  i915:
   - Fix for PTL GitLab #9196: eDP-2 on DDI B ends up in a state where
     any enable fails
   - PSR fixes

  amdgpu:
   - DCN 6 DML2 fix
   - VCE fixes
   - GC 11.0.2 fix
   - SMU 15 fix
   - Error handling fixes
   - Partition fix
   - IMU firmware clean up fix
   - TLB fence handling fix

  amdkfd:
   - SVM fixes
   - CRIU fixes

  xe:
   - select configfs
   - Sync Wa_16023105232 in xe_was to match OOB rule
   - Program LMTT directory pointer from each GT init path
   - Demote uncorrectable local error log on CRI
   - Apply tile workarounds after PCODE init
   - VRAM offlining fixes
   - ras: Fix sysctrl and drm-ras discrepancy
   - pat: Return error from xe_pat_init_early() on unknown
   - Prevent VF memory IRQ from accessing a torn-down engine
   - guc: Protect timeout handling from device unplug
   - gt: Disable GT reset worker before engine teardown
   - Various hwmon fixes
   - tuning: Restrict Anyhit NULL-query tuning to render engines
   - gsc: Fix NVL-S GSC compatibility number
   - Don't abort the shrinker walk on -EBUSY
   - Mark xe_vma_ops_alloc() noinline for error injection
   - lrc: Restore CTX_CS_INDIRECT_CTX_OFFSET programming for pre-Xe2
   - Fix build with DRM_XE=y and CONFIGFS_FS=m
   - madvise: use already clamped pat_index
   - Various wedging fixes
   - Rebind BOs evicted before the first LR queue
   - Toggle the D3Cold enable flag at runtime resume
   - Access GT MMIO after pcode init
   - xe_late_bind_fw: Fix firmware leak on missing manifest entry
   - svm: Preserve default PAT index when resetting VMA attributes
   - Unwrap sync fences before adding them as job dependencies
   - Schedule disable G2H fixes

  gud:
   - Avoid divide error in gud_stats_debugfs

  meson:
   - load ENCL gamma table while ENCL is disabled

  nouveau:
   - disp: Set atomic functions in struct drm_mode_config_funcs
   - gsp: Handle only IRQs routed to host

  panfrost:
   - Fixes to perfcnt

  vc4:
   - Fix firmware reference leak
   - Hold runtime PM reference while allocating the binner BO
   - Rebuild V3D interrupt mask on every power transition
   - Re-enable the V3D interrupt after a GPU reset"

* tag 'drm-fixes-2026-11-14' of https://gitlab.freedesktop.org/drm/kernel: (81 commits)
  drm/vc4: Re-enable the V3D interrupt after a GPU reset
  drm/vc4: Rebuild the V3D interrupt mask on every power transition
  drm/vc4: Hold a runtime PM reference while allocating the binner BO
  drm: xe: select configfs
  drm/xe: Sync Wa_16023105232 in xe_was to match OOB rule
  drm/xe/pf: Program LMTT directory pointer from each GT's init path
  drm/xe/guc: Demote uncorrectable local error log on CRI
  drm/xe/pm: Apply tile workarounds after PCODE initialization
  drm/gud: avoid divide error in gud_stats_debugfs
  drm/nouveau/disp: Set drm_mode_config_funcs.atomic_(check|commit) (attempt 2)
  drm/amdgpu: fix TLB invalidation fence handling v4
  drm/amdkfd: check CRIU SVM priv data bounds before allocating
  drm/amdgpu: release the IMU firmware with the other GFX microcode
  drm/amdgpu: Allow cancelling a requested NPS mode
  drm/amdgpu: fix the error handling of amdgpu_vm_init_entities()
  drm/amdgpu: use supported SMU clock messages on SMU 15.0.0
  drm/amdkfd: skip GPUs without a VM when checkpointing the BO mappings
  drm/amdkfd: Acquire cwsr buffer during CRIU resume
  drm/amdkfd: Acquire buffers in CRIU queue restore (again)
  drm/amdgpu: Fix VCE buffer size check for DPB and input surface
  ...
…nel/git/jarkko/linux-tpmdd

Pull key fixes from Jarkko Sakkinen:

 - Invoke the match callback before the state checks in
   keyring_search_iterator(), so that a non-matching revoked,
   expired or invalidated key cannot decide the search result

 - Take key->sem for reading around the ->asym_*() method calls
   in the keyctl pkey operations, as a key reference does not
   pin the module providing the key type

* tag 'keys-v7.4-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
  KEYS: Protect pkey method checks against type removal
  KEYS: do not let an unmatched key decide the search result
…ernel/git/linkinjeon/smb

Pull smb server fixes from Namjae Jeon:

 - Evaluate explicit-access requests in DACL order with exact SID
   matching, and prevent guest and anonymous sessions from matching
   Authenticated Users

 - Apply Unix group and OWNER RIGHTS ACEs, and keep their denials when
   POSIX ACL fallback determines access

 - Allow the parent directory’s DACL to grant explicitly requested
   DELETE and FILE_READ_ATTRIBUTES through FILE_DELETE_CHILD and
   FILE_LIST_DIRECTORY

 - Exclude metadata-only file and stream opens from sharing conflicts
   and stream delete-sharing checks, while accounting for writes implied
   by overwrites and named-stream creation

 - Return STATUS_ACCESS_DENIED for reads on files lacking FMODE_READ,
   preventing warnings in __kernel_read() and potential panics

 - Pin parent dentries during SMB2 CREATE permission, status, and ACL
   inheritance operations to prevent use-after-free races with
   concurrent rename and removal

 - Keep expired sessions bound to their original user during NTLM
   reauthentication, preventing identity changes and a user-object leak

* tag 'ksmbd-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/smb:
  ksmbd: keep group denials when a POSIX ACL entry decides access
  ksmbd: refuse reauthentication of an expired session as another user
  ksmbd: pin parent dentries in SMB2 CREATE ACL path
  ksmbd: let the parent's DACL grant DELETE and FILE_READ_ATTRIBUTES
  ksmbd: evaluate the DACL in order for explicit access requests
  ksmbd: skip metadata-only stream opens in the delete check
  ksmbd: skip metadata-only opens in sharing checks
  ksmbd: refuse to read a handle that is not open for reading
  ksmbd: grant a caller what its groups and OWNER RIGHTS ACEs allow
…rnel/git/linkinjeon/ntfs

Pull ntfs fixes from Namjae Jeon:

 - Validate that $INDEX_ALLOCATION is open and non-resident before
   reading or writing index blocks, preventing NULL pointer dereferences
   when an earlier index operation has not opened it

 - Check that index allocation inodes are non-resident and child VCNs
   are non-negative and within bounds before directory lookup reads,
   preventing a deadlock when $INDEX_ALLOCATION is missing or damaged

 - Validate file names against the index entry's key length, preventing
   out-of-bounds reads when directory enumeration resumes using a copied
   key

 - Return -ENOENT for NTFS_IOC_LIST_STREAMS on deleted base files and
   fix unsigned underflow in its buffer bounds check, preventing
   out-of-bounds writes when the sizing and filling passes disagree

 - Use kfree() for the temporary runlist allocated with kmalloc() on
   merge failure, resolving the Coccinelle allocation/free mismatch
   warning

* tag 'ntfs-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs:
  ntfs: open the index allocation before reading or writing an index block
  ntfs: do not read an index block outside $INDEX_ALLOCATION
  ntfs: silence kmalloc/kvfree mismatch warning
  ntfs: check the file name against the key length of an index entry
  ntfs: fix out-of-bounds write race in NTFS_IOC_LIST_STREAMS
…ernel/git/overlayfs/vfs

Pull overlayfs fixes from Amir Goldstein:

 - Fixes for data-only layers (composefs), some for regressions from
   v6.16, which relaxed the requirements for redirects to data-only
   layers

 - Fix a use-after-free in lookup of a hardlink with a FUSE upper,
   reported by Sashiko

 - Fix a mount failure right after unmount of an overlay with the same
   upperdir

 - Reject lower layers on the same fs with different idmaps, which could
   decode file handles through the wrong layer

 - Minor fixes for a memory leak, an error message and readdir d_ino

* tag 'ovl-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
  selftests: overlayfs: reject different lower idmaps on same fs
  ovl: reject different lower idmaps on the same fs
  ovl: bump the impure dir version when linking a file with origin
  ovl: return EIO if the lowerdata is missing
  ovl: follow lower to lowerdata redirects from any lower layer
  ovl: report the requested redirect_dir mode in conflicting options
  ovl: do not allow nfs_export with data-only layers
  ovl: do not check the deferred lowerdata redirect on index lookup
  ovl: fix leak of lowerdata redirect on ovl_get_inode() failure
  ovl: do not always clear absolute_redirect
  ovl: release the upperdir/workdir in-use locks before the umount sync
  ovl: do not read the flags of a put upper dentry in lookup
…kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

 - Read tracking-mode voltage fault limits dynamically in the mp2975
   PMBus driver instead of caching probe-time snapshots, avoiding false
   over-voltage alarms when CPU voltage changes at runtime.

 - Fix SCMI sensor probe by enabling supported sensors via firmware IDs
   before exposing channels and checking channel config allocations.

 - Fix runtime PM enable and reference count imbalances during probe and
   teardown in the gpio-fan driver.

 - Fix max31760 fan controller initialization and reporting, including
   leaving standby at probe, initial 0 RPM reporting, and swapped
   temperature limit registers.

 - Assorted minor sensor reading, interval clamping, and register
   handling fixes in other drivers.

* tag 'hwmon-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (aht10) Fix update_interval overflow on 64-bit
  hwmon: (scmi) Configure sensors before exposing channels
  hwmon: (scmi) Check channel config allocation
  hwmon: (nct6775) Handle dual use registers
  hwmon: (scmi) Enable temperature sensors using their sensor IDs
  hwmon: (pmbus/mp2975) Get vout fault limits dynamically
  hwmon: (sy7636a) fix negative temperatures
  hwmon: (max31760) Report 0 RPM before the first fan speed measurement
  hwmon: (max31760) Leave standby mode at probe
  hwmon: (max31760) Fix the local temperature limit registers
  hwmon: (gpio-fan) Fix runtime PM imbalance in probe and teardown
…nux/kernel/git/xen/tip

Pull xen fixes from Juergen Gross:
 "A bunch of isolated fixes of Xen related drivers"

* tag 'for-linus-7.4a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
  Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages()
  xen: don't allow gnttab_dma_[alloc|free]_pages() in PV guest
  xen/pvcalls: destroy the per-socket workqueue on release
  xen/pvcalls: unwind pvcalls_new_active_socket() step by step
  xen/privcmd: fix double free when an irqfd is shut down twice
  xen/gntdev: fix deadlock between map ioctl and mmap
  xen/platform-pci: Disable device before releasing PCI regions
  xen/grant-table: annotate on-stack work in gnttab_unmap_refs_sync()
During LDT installation, the intent is to overwrite the old per-mm
LDT value, then send an IPI to the mm user CPUs to have each load
the new value.

But there is an ordering problem: a new mm user CPU sets itself in
mm_cpumask() and then reads mm->context.ldt. The LDT-installing CPU
writes mm->context.ldt and then reads mm_cpumask(). But, there is
nothing which orders the LDT installation side actions. The CPU
can read mm_cpumask() before its write becomes visible.

Ensure that new mm user CPUs see the new mm->context.ldt. Make
mm->context.ldt visible before reading mm_cpumask().

Also convert the smp_store_release() over to a WRITE_ONCE().
smp_store_release() has an internal barrier which is weaker than
the new smp_mb(). Avoid an extra barrier by converting it to
WRITE_ONCE().

Also refresh/correct misleading comments. READ/WRITE_ONCE() do not
"synchronize" anything themselves.

Reported-by: Jaeyoung Chung <jjy600901@snu.ac.kr>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Jaeyoung Chung <jjy600901@snu.ac.kr>
Acked-by: Linus Torvalds <torvalds@linuxfoundation.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <stable@vger.kernel.org>
Memcg reclaim only relies on writeback throttling if
writeback_throttling_sane() does. Since commit 97c9341 ("mm:
vmscan: disable memcg direct reclaim stalling if cgroup writeback
support is in use") that's the case if the memory controller is on the
default hierarchy and CONFIG_CGROUP_WRITEBACK is set. Otherwise
shrink_folio_list() sleeps in folio_wait_writeback() for a folio that
is under writeback and already marked for reclaim if the allocation may
enter the filesystem.

CONFIG_CGROUP_WRITEBACK is enabled whenever CONFIG_MEMCG and
CONFIG_BLK_CGROUP are. So with CONFIG_MEMCG=y and CONFIG_BLK_CGROUP=n
memcg reclaim on cgroup v2 waits for writeback just like it does on
cgroup v1.

That wait can deadlock against freezing a filesystem. Loop takes freeze
protection on the backing filesystem for its writes. A task in the
middle of a write() to the backing filesystem holds freeze protection
as well.

If that task enters memcg reclaim it can end up waiting for writeback of
a folio that belongs to a filesystem on the loop device. If a freeze of
the backing filesystem is pending the loop worker blocks when it tries
to write that folio out. And the freeze waits for the task in reclaim to
drop its freeze protection. The same applies to other drivers that serve
block I/O by writing to a file on a local filesystem and take freeze
protection for it, e.g., the scsi target's fileio backend.

Make CONFIG_MEMCG select CONFIG_BLK_CGROUP if CONFIG_BLOCK is set. Then
CONFIG_CGROUP_WRITEBACK is always enabled together with memcg and memcg
reclaim on cgroup v2 doesn't sleep in folio_wait_writeback() anymore.
a
Without CONFIG_BLOCK there are no block devices that could deadlock
like this.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
Signed-off-by: Tejun Heo <tj@kernel.org>
…/linux/kernel/git/trace/linux-trace

Pull bootconfig fixes from Masami Hiramatsu:

 - bootconfig: Allow keys with the maximum supported depth

   Check the array capacity before storing the next key component in
   xbc_node_compose_key_after() so keys at XBC_DEPTH_MAX (16) are
   composed instead of failing with -ERANGE when listing keys or
   creating /proc/bootconfig.

 - bootconfig: Trim unquoted values at end of file

   Trim trailing whitespace from unquoted values in __xbc_parse_value()
   after scanning finishes so values at end of input without a trailing
   newline do not retain extra whitespace.

 - tools/bootconfig: Close only opened braces in compact output

   Check key children while skipping value nodes when backtracking in
   xbc_show_compact_tree() so a brace is not closed when a single subkey
   under a valued key was printed in dotted notation.

 - tools/bootconfig: Test listing keys at the maximum depth

   Add regression tests verifying that a 16-component key can be
   attached and listed in full while a 17-component key is rejected.

* tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  bootconfig: Trim unquoted values at end of file
  tools/bootconfig: Close only opened braces in compact output
  tools/bootconfig: Test listing keys at the maximum depth
  bootconfig: Allow keys with the maximum supported depth
…ux/kernel/git/trace/linux-trace

Pull probe fixes from Masami Hiramatsu:
 "Fix ftrace ops switching and optprobe state transitions:

   - Switch an armed ftrace-based kprobe from kprobe_ftrace_ops to
     kprobe_ipmodify_ops in register_aggr_kprobe() when adding a probe
     with a post_handler, so later disarming does not fail with -ENOENT
     and leave the probe armed

   - Queue forcibly unoptimized probes onto the generation's
     cooling_list in force_unoptimize_kprobe() so unregister_kprobes()
     waits for Tasks RCU before freeing the optinsn slot, preventing a
     use-after-free

   - Skip arch_arm_kprobe() in __arm_kprobe() when a probe is queued for
     unoptimization so the active relative jump instruction is not
     partially overwritten with a breakpoint before the optimizer runs

   - Re-queue any jump-optimized sibling probe covering a disabled
     probe's address when that probe finishes cooling in
     optprobe_finalize_generation(), matching the freeing_list path

  Fix multiprobe lifecycle and boot kprobe setup

   - Return early in setup_boot_kprobe_events() when the kprobe_event=
     boot buffer is empty to avoid contending on event_mutex with
     asynchronous eval-map work during normal boot

   - Verify that a multiprobe event is neither enabled nor busy before
     unlinking any sibling kprobe, fprobe, uprobe, or eprobe so active
     probes cannot be unlinked and freed via dynamic_events

   - Register and enable a newly appended fprobe or uprobe immediately
     when the target multiprobe event is already enabled so the probe
     fires and disable or perf cleanup does not act on an unregistered
     probe

   - Free the temporary event name string with __free(kfree) in
     __trace_uprobe_create() to prevent a memory leak if a subsequent
     allocation fails

  Fix BTF parsing and string array fetch handling:

   - Compute BTF bitfield byte and bit offsets consistently, select the
     smallest unsigned fetch type covering the bitfield, and size
     FETCH_OP_MOD_BF from that type to prevent an 8-byte out-of-bounds
     write on smaller ring buffer slots

   - Validate BTF_KIND_PTR and non-NULL BTF_KIND_INT types in
     btf_type_is_char_ptr() and btf_type_is_char_array() before reading
     inner type metadata to avoid misinterpreting byte sizes as type IDs
     or reading out of bounds

   - Check for FETCH_OP_UDEREF before advancing the fetch instruction
     slot in finalize_fetch_insn() so user-space dereference string
     arrays emit FETCH_OP_ST_USTRING instead of reading kernel memory

   - Reject string array counts when the preceding fetch operation is
     not a memory dereference so non-dereference string sources ($comm,
     immediate strings, eprobe fields) do not emit invalid
     FETCH_OP_LP_ARRAY loops

  Fix signed 1-byte field fetch and fprobe target check:

   - Use explicit fixed-width integer types (s8/u8, s16/u16, s32/u32) in
     get_event_field() so 1-byte signed event fields are sign-extended
     instead of zero-extended under -funsigned-char

   - Exclude TRACE_EVENT_FL_FPROBE events in find_and_get_event() so
     eprobes cannot attach to fprobe or tprobe events

  Fix typo in kprobes documentation:

   - Remove a stray closing parenthesis in Documentation/trace/kprobes.rst"

* tag 'probes-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing/uprobes: Fix memory leak of tail in __trace_uprobe_create()
  tracing/probes: Reject array count on non-dereference string sources
  tracing/probes: Fix user-space dereference string array store type
  tracing/eprobe: Disallow attaching eprobes to fprobe events
  tracing/eprobe: Fix 1-byte signed field fetch in get_event_field()
  tracing/probes: Fix missing BTF kind checks in char pointer/array helpers
  tracing/probes: Fix BTF bitfield parsing and out-of-bounds buffer write
  tracing/probes: Enable newly appended probe when target event is enabled
  tracing/probes: Check enabled and busy state before unlinking sibling probes
  kprobes: Re-optimize blocked sibling probe when cooling finishes
  kprobes: Do not overwrite jump instruction when re-arming unoptimizing probe
  kprobes: Fix UAF and queue cooling probes on forced unoptimization
  kprobes: Switch ftrace ops when adding probe with post_handler
  docs, kprobes: Fix bracket
  tracing: skip boot kprobe setup when no events were requested
…nux/kernel/git/liveupdate/linux

Pull kexec MAINTAINERS update from Mike Rapoport:
 "Remove Dave Young as kdump reviewer"

* tag 'kexec-fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux:
  Remove myself as a kdump reviewer
…rnel/git/liveupdate/linux

Pull liveupdate fixes from Mike Rapoport:

 - avoid address translation in is_kho_boot() before the linear map is
   initialized, fixing early boot BUG_ONs on arm64

 - check for duplicate session names before growing the sessions
   preservations block set to avoid preserving an empty block that
   causes restoration to panic()

* tag 'fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux:
  kho: check fdt_phys in is_kho_boot()
  liveupdate: check for duplicate session before growing block set
…nux/kernel/git/tip/tip

Pull core syscall fixes from Ingo Molnar:

 - Two generic syscall entry code fixes for return code
   data type definitions (Florian Bezdeka)

* tag 'core-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  entry: Complete syscall_enter_from_user_mode_work() to bool migration
  entry: Fix return type of syscall_trace_enter()
…nux/kernel/git/tip/tip

Pull perf events fixes from Ingo Molnar:

 - Avoid AMD uncore context migration from non-owners (Sandipan Das)

 - Clear stop state in perf_trace_add(), to fix self-profilers such as
   async-profiler. Also fix a similar bug in hw_breakpoint_add() (Paolo
   Bertinetti)

 - Fix racy update of cpc->hrtimer_interval (Benjamin Segall)

 - Do not resurrect cpuctx->cgrp after last cgroup event exit, to fix
   UAF bug (Phat Dinh)

* tag 'perf-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/core: Do not resurrect cpuctx->cgrp after last cgroup event exit
  perf: Fix racy update of cpc->hrtimer_interval
  perf/hw_breakpoint: Clear stop state in hw_breakpoint_add()
  tracing/perf: Clear stop state in perf_trace_add()
  perf/x86/amd/uncore: Avoid context migration from non-owners
…inux/kernel/git/tip/tip

Pull scheduler fixes from Ingo Molnar:

 - Fix spurious SYS_sched_setattr() -EPERM for migration-disabled
   tasks (Andrea Parri)

 - Reject clamp values above SCHED_CAPACITY_SCALE (Andrea Parri)

 - Fix cpuset_mutex double unlock in __sched_setscheduler()
   (Andrea Parri)

 - Don't use fits_capacity() to compare thread and CPU counts in
   in invalid_llc_nr() (Zhan Xusheng)

 - Do not touch SMT siblings that have not joined the core yet
   during CPU onlining (Seiji Nishikawa)

* tag 'sched-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  sched/core: Do not touch SMT siblings that have not joined the core yet
  sched/cache: Don't use fits_capacity() to compare thread and CPU counts
  sched/core: Fix cpuset_mutex double unlock in __sched_setscheduler()
  sched/uclamp: Reject clamp values above SCHED_CAPACITY_SCALE
  sched/deadline: Fix spurious -EPERM for migration-disabled tasks
…linux/kernel/git/tip/tip

Pull timer fixes from Ingo Molnar::

 - Add VDSO_UNALIGNED_PACKED config option for targets without efficient
   unaligned memory accesses (such as ARMv5), and turn it on for
   !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS platforms.

   Propagate these changes into tooling headers as well (Ian Rogers)

 - Read getboottime64() offsets under the tk_core.seq sequence counter
   (Hungyu Lin)

 - Keep tsacct task begin times stable across suspend (Hungyu Lin)

 - Reject cross timestamps for invalid AUX clocks (Avi Weiss)

 - Refresh auxiliary timekeeper base before offset validation (Avi
   Weiss)

* tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  timekeeping: Refresh auxiliary base before offset validation
  timekeeping: Reject cross timestamps for invalid AUX clocks
  tsacct: Keep task begin times stable across suspend
  timekeeping: Read getboottime64() offsets under the sequence counter
  tools headers: Update the vdso/unaligned.h copy with the kernel sources
  vdso: Add VDSO_UNALIGNED_PACKED config option
…ux/kernel/git/tip/tip

Pull x86 fixes from Ingo Molnar:

 - Don't print reset reason in VMs, to fix Xen PV domU boot
   regression on AMD Zen CPUs (Jason Andryuk)

 - Preserve the default VGA fallback for legacy modes, to fix
   regression where a SeaBIOS QEMU guest with bochs and VKMS
   the boot VGA (bochs) loses its DRM boot_display attribute
   (Hengyu Liang)

 - Ensure write visibility during LDT installation (Dave Hansen)

* tag 'x86-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/mm: Ensure write visibility during LDT installation
  x86/video: Preserve the default VGA fallback for legacy modes
  x86/CPU/AMD: Don't print reset reason in VMs
rt5682_i2c_shutdown(), which is also the remove path, cancels
jack_detect_work before jd_check_work. With a headset button held,
jd_check_work can observe jack removal and queue jack_detect_work
after the first cancel. That work can then run after the codec is
reset or, on remove, after the driver data is freed.

Use disable_delayed_work_sync() for both works, which can queue each
other, to drain them and prevent requeueing. Probe initializes fresh
work on rebind.

Found by a static analysis tool under development.

Fixes: 45a2702 ("ASoC: rt5682: Fix panic in rt5682_jack_detect_handler happening during system shutdown")
Cc: stable@vger.kernel.org # v6.10+
Co-developed-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Link: https://patch.msgid.link/20261110043013.56937-1-mhun512@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
The cleanup in rt5659_remove() does not reset hs_jack, jack_type, or
the component pointer, and does not mark the regmap cache dirty after
the codec reset.  On card rebind this leaves a dangling hs_jack pointer
and causes regmap_update_bits() to skip re-programming jack-detection
registers because the cache still holds the pre-reset values.

Only clear headset detection state via rt5659_headset_detect() for
JD3-mode jacks.  In HDA header mode the SAR, 4BTN_IL, and IL_IRQ
registers are set up once during I2C probe by
rt5659_intel_hd_header_probe_setup() and are not re-enabled on card
rebind, so clearing them in remove would leave mic detection disabled
after the next bind.

Reset the HDA IRQ polarity bits in RT5659_IRQ_CTRL_1 and
RT5659_IRQ_CTRL_2 to their unplugged defaults before marking the
regmap cache dirty.  Without this, regcache_sync() on rebind restores
plugged-in polarity while hda_hp_plugged and hda_mic_plugged are
false, so the polarity-flip logic in
rt5659_jack_detect_intel_hd_header() never fires and subsequent
plug/unplug events do not generate an interrupt.

If the I2C device unbinds without a card bound, rt5659_remove() is
never called and the IRQ keeps queuing jack_detect_work until devres
frees the private data.  Register a devm action to disable the IRQ
and cancel the delayed work on any I2C teardown path.

Consolidate the IRQ disable and work cancellation into a shared helper
that always sets irq_disabled, so that rt5659_remove(),
rt5659_i2c_shutdown(), and the devm action all follow the same path
and cannot double-disable the interrupt line.

Store the I2C client pointer in rt5659_priv so all paths can
reference it directly.

Fixes: d3cb2de ("ASoC: rt5659: add rt5659 codec driver")
Cc: stable@vger.kernel.org
Signed-off-by: Tristan Madani <tristan@talencesecurity.com>
Link: https://patch.msgid.link/20261110230603.2110759-1-tristan@talencesecurity.com
Signed-off-by: Mark Brown <broonie@kernel.org>
remote_cpus_update() warns if the CPUs to be added to a remote partition
intersect subpartitions_cpus, and then checks the very same condition
right below to set PERR_NOCPUS and invalidate the partition:

	WARN_ON_ONCE(cpumask_intersects(tmp->addmask, subpartitions_cpus));
	if (!capable(CAP_SYS_ADMIN))
		WRITE_ONCE(cs->prs_err, PERR_ACCESS);
	else if (cpumask_intersects(tmp->addmask, subpartitions_cpus) ||
		 cpumask_subset(top_cpuset.effective_cpus, tmp->addmask))
		WRITE_ONCE(cs->prs_err, PERR_NOCPUS);

Sashiko reported that the warning could be triggered by a write to a
cpuset control file, before the CAP_SYS_ADMIN check, which would panic a
system with panic_on_warn set.

The warning was added by commit 86888c7 ("cgroup/cpuset: Add
warnings to catch inconsistency in exclusive CPUs") as an assertion that
such CPUs have been filtered out before. No way to trigger it with the
current interfaces has been found, as these CPUs are rejected when
cpuset.cpus.exclusive is written. But the warning is redundant, as the
conflict is handled right below anyway.

Remove the warning and rely on the PERR_NOCPUS check, the same as
remote_partition_enable() already does for this conflict.

Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://sashiko.dev/#/patchset/20261114083124.1340140-1-ridong.chen%40linux.dev?part=6
Signed-off-by: Ridong Chen <chenridong@xiaomi.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
…otplug

When a CPU hotplug leaves no CPU outside of the partitions for the top
cpuset, cpuset_handle_hotplug() clears subpartitions_cpus and gives all
the active CPUs back to the top cpuset. cpuset_hotplug_update_tasks()
then walks the hierarchy and invalidates the partitions, as
subpartitions_cpus is empty.

However, an invalid partition visited in the same walk may be revived
if its effective_xcpus is not empty. tasks_nocpu_error() doesn't catch
it when its CPUs are all offline but it has no task. Its CPUs are put
back into subpartitions_cpus, and the valid partitions visited after it
are no longer invalidated, as subpartitions_cpus is not empty any more.
The top cpuset is left with CPUs overlapping with these partitions.

It can be reproduced on a system with 8 CPUs:

  # cd /sys/fs/cgroup
  # echo +cpuset > cgroup.subtree_control
  # mkdir A1 B1
  # echo 1 > A1/cpuset.cpus
  # echo 1 > A1/cpuset.cpus.exclusive
  # echo 0,2-7 > B1/cpuset.cpus
  # echo root > B1/cpuset.cpus.partition
  # echo root > A1/cpuset.cpus.partition
  # cat A1/cpuset.cpus.partition
  root invalid (Parent unable to distribute cpu downstream)
  # echo 0 > /sys/devices/system/cpu/cpu1/online
  # cat A1/cpuset.cpus.partition B1/cpuset.cpus.partition
  root
  root
  # cat cpuset.cpus.effective
  0,2-7

A1 can't take CPU 1, the last CPU of the root cgroup which has tasks.
When CPU 1 is offlined, A1 is revived without any active CPU, and B1
stays valid while its CPUs are also in the effective CPUs of the root
cgroup, which triggers

  WARNING: kernel/cgroup/cpuset.c:919 at rebuild_sched_domains_locked

Only revive an invalid partition in hotplug if its effective_xcpus has
an active CPU, the same as what is required to create a partition with
tasks. With that, A1 and B1 are both invalidated in the above case.

Fixes: 0c7f293 ("cgroup/cpuset: Add cpuset.cpus.exclusive.effective for v2")
Cc: stable@vger.kernel.org # v6.7+
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://sashiko.dev/#/patchset/20261114083124.1340140-1-ridong.chen%40linux.dev?part=11
Signed-off-by: Ridong Chen <chenridong@xiaomi.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
broonie and others added 21 commits November 20, 2026 14:35
The AB8505 has a final gain stage in the handsfree speaker paths. On
revision 2 and later, its HFLGainCtrl and HFRGainCtrl registers reset to
0x1f, which is the no-signal setting. The existing controls only reach
the preceding DA3 and DA4 gain stage, so userspace cannot unmute the
speaker outputs.

Expose the handsfree output gain as an ALSA control. Select the combined
revision 1 register or the separate revision 2 and later registers
according to the detected chip revision.

Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20261120-ux500-asoc-handsfree-gain-v1-1-56379df0a6d3@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
The LG gram 15 (15Z95U, AMD Ryzen AI 400 series, ACP 7.2) has the same
audio design as the 16Z95U: RT713 on SoundWire link 0 and RT1320 on
link 1, while the BIOS sets "acp-audio-config-flag" to 0x10
(FLAG_AMD_LEGACY_ONLY_DMIC). As on the 16Z95U, the flag makes
snd_pci_ps bail out and no sound card is created.

Add the machine to acp70_acpi_flag_override_table. The rt713 + rt1320
machine entries added for the 16Z95U then match.

Tested by the reporter on an LG gram 15Z95U-H.AU87U1 with v7.4-rc3:
internal speakers (correct left/right, no distortion up to full
volume), internal microphones and the headset jack work, also after
suspend/resume.

Reported-by: Andy Pearson <stopthewar24@gmail.com>
Closes: CachyOS/distribution#516
Tested-by: Andy Pearson <stopthewar24@gmail.com>
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: JaeHoon Kim <jaehoon1744@dankook.ac.kr>
Link: https://patch.msgid.link/20261120143930.9662-1-jaehoon1744@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Add device tree bindings documentation for the Nuvoton NAU83G10/20
audio amplifier.

Signed-off-by: Neo Chang <YLCHANG2@nuvoton.com>
Link: https://patch.msgid.link/20261118084214.527804-2-YLCHANG2@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Add support for the Nuvoton NAU83G10/20 audio amplifier.
The NAU83G10 is a mono boost Class-D audio amplifier with
integrated DSP and I/V-sense support.

Signed-off-by: Neo Chang <YLCHANG2@nuvoton.com>
Link: https://patch.msgid.link/20261118084214.527804-3-YLCHANG2@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Neo Chang <YLCHANG2@nuvoton.com> says:

This patch series adds support for the Nuvoton NAU83G10 audio amplifier.

The NAU83G10 is a mono boost Class-D audio amplifier with
an integrated DSP and I/V-sense support. The driver supports
I2C register access through regmap.
DAPM widgets and routes, TDM interface configuration, and DSP firmware
loading.

The series is structured asd follows:
- Patch 1: Adds the YAML device tree bindings documentation.
- Patch 2: Adds the ASoC audio amplifier driver implementation.

Link: https://patch.msgid.link/20261118084214.527804-1-YLCHANG2@nuvoton.com
When the calculated numerator is smaller than num_min, the
function incorrectly sets it to num_max instead of num_min.

This can produce an invalid interval by making the calculated
minimum numerator larger than the maximum numerator, even when
a valid range exists.

Set the numerator to num_min when it falls below the minimum
allowed value. This allows the function to calculate the correct
lower bound and prevents valid intervals from being rejected.

Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Link: https://patch.msgid.link/20261120113632.2761-1-sreekuttan2156239@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Return errors directly and remove the now-redundant goto statements and
the __err label. Also drop the unnecessary err = 0 initialization.

While the current unbounded sprintf() works correctly, replace it with
scnprintf() to bound the formatted string to the str buffer.

No functional change.

Signed-off-by: Thorsten Blum <blum@kernel.org>
Link: https://patch.msgid.link/20261120115207.810114-2-blum@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
The input driver pcspkr and snd-pcsp both register a platform driver
named "pcspkr" for the platform device of the same name, and both
declare the module alias platform:pcspkr. With both built as modules,
as distribution configurations do, udev loads both for the device, and
the second one fails to register its driver on every boot. On a Dell
XPS 13 9310 with Linux 7.4-rc1 and the Debian configuration:

    [    0.793761] input: PC Speaker as /devices/platform/pcspkr/input/input7
    [    0.813617] Error: Driver 'pcspkr' is already registered, aborting...

Which driver ends up handling the beeps depends on the module load
order. The help text of SND_PCSP already says that the driver is not
needed for beeps, and that it may become the default sound card. Debian
therefore removes the alias since 2014 [1], and Ubuntu blacklists
snd_pcsp. With pcspkr built in, snd-pcsp cannot register its driver at
all, so the alias is useless there, too.

Only declare the alias if INPUT_PCSPKR is disabled. Then snd-pcsp is
loaded automatically and takes over the beeps as before. Otherwise only
pcspkr is loaded automatically, and users wanting PCM sound from the PC
speaker keep pcspkr from loading and load snd-pcsp explicitly, which is
already needed today for a deterministic result. Document it in the
Kconfig help text.

Tested on the Dell XPS 13 9310 with Linux 7.4-rc1 and the Debian
configuration (INPUT_PCSPKR=m, SND_PCSP=m), with snd-pcsp not
blacklisted: without this change, the error above is logged; with it,
only pcspkr is loaded and provides the PC Speaker input device, and after
`rmmod pcspkr`, `modprobe snd-pcsp` binds snd-pcsp and creates its sound
card. In QEMU with x86_64_defconfig, kvm_guest.config and SND_PCSP=m,
with systemd-udevd loading the modules, the same holds for
INPUT_PCSPKR=m, and with INPUT_PCSPKR=n, snd-pcsp is still loaded
automatically, binds the device, and creates its sound card and PC
Speaker input device.

[1]: https://bugs.debian.org/697709

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Link: https://patch.msgid.link/20261120120307.629996-1-pmenzel@molgen.mpg.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
snd_parse_eld() checks that mnl bytes are available in the ELD
buffer, but passes mnl + 1 as the source size to strscpy().

When the monitor name is not NUL-terminated and the buffer ends
immediately after the mnl bytes, strscpy() may read beyond the
provided buffer.

Copy exactly mnl bytes and explicitly terminate the destination
to avoid accessing a byte beyond the validated input length.

Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Link: https://patch.msgid.link/20261120124607.2799-1-sreekuttan2156239@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Silly add/add nonsense in the ACPI tables.
The HPR mixer connects both DMIC2 inputs to DMIC2L Switch. The
control for the right input is DMIC2R Switch and uses its own register
bit. As a result, toggling DMIC2R Switch does not update the right
input's DAPM path.

Associate DMIC2 Right with DMIC2R Switch, as in the other mixers.

Fixes: dbf7a73 ("ASoC: Support TI LM49453 Audio driver")
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20261119075728.50125-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
…sters

Add a test case to check that the ASP config and input mixer registers
are not written when the ASP DAI is not part of a DAI link.

This is to test the fixes made in commit 0085428 ("ASoC: cs35l56:
Only write ASP1TXn registers when widget is powered-up").

These registers have multiple owners, so the driver must not write to
them if it doesn't own them.

A write can be inadvertently caused by reading a register, which populates
the value in the cache, then doing a regcache_sync() of a dirty cache. The
test includes testing direct writes during probe, and writes during a
subsequent cache-sync.

Some mock infrastructure is needed to enable this:

1. The test must supply dummy regulators. The automatic provision of dummy
   regulators by the regulator framework is a system-level decision, not a
   Kconfig flag that can be depended on. Not all systems can be relied on
   to supply dummy regulators automatically.

2. A simple simulation of a set of chip registers is done by a regmap that
   is always in cache-only mode. Around this is a small regmap bus wrapper.
   The simulated ASP registers are pre-populated with zero so that they are
   readable.

The order of creating struct cs35l56_priv and the faux device had to be
swapped in cs35l56_test_case_init_common() to ensure that devm cleanup of
the faux device happens before the cs35l56_priv data is freed by KUnit.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20261117154700.840631-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
…ites

Add some test cases to check that ASP config registers are not written if
the driver doesn't own them.

This is to test the fixes made in commit 396c5d8 ("ASoC: cs35l56: Fix
unwanted writes to ASP config registers").

These registers have multiple owners, so the driver must not write to them
if it doesn't own them.

- If cs35l56_set_asp_defaults() has not been called there must not be any
  writes to them during a regcache_sync().

- If cs35l56_set_asp_defaults() has been called they must be written out
  by a regcache_sync().

- If cs35l56_set_asp_defaults() is called while the regmap is in
  cache-only mode it must not attempt to write to the hardware.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20261117154700.840631-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Richard Fitzgerald <rf@opensource.cirrus.com> says:

These two patches are correctness/regression tests for the fixes made by
the previous commits:

commit 0085428 ("ASoC: cs35l56: Only write ASP1TXn registers when
widget is powered-up")

commit 396c5d8 ("ASoC: cs35l56: Fix unwanted writes to ASP config
registers")

Link: https://patch.msgid.link/20261117154700.840631-1-rf@opensource.cirrus.com
Copilot AI balanced review requested due to automatic review settings November 22, 2026 09:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The cross-subsystem merge changes critical architecture, memory-management, filesystem, and networking contracts, requiring maintainer integration review and configuration and hardware validation unavailable in this snapshot.

No open issues 🎉

What changed in this PR

Synchronizes the kernel tree with upstream, advancing the release marker to 7.4-rc3. The merge includes sound updates alongside broader driver, filesystem, networking, and memory-management changes.

Changes:

  • Converts allocations across drivers and core code to object, array, and flexible-array helpers.
  • Imports targeted fixes for error handling, resource lifetime, synchronization, and accounting.
  • Updates internal interfaces, configuration dependencies, selftests, and architecture support.
File Description
tools/​testing/​vma/​include/​stubs.h Make the VMA lock assertion parameter const.
tools/​testing/​selftests/​ublk/​Makefile Enable 64-bit file offsets.
tools/​testing/​selftests/​net/​config Enable NSH support for networking tests.
tools/​testing/​selftests/​mm/​khugepaged_race.c Include Linux memory-mapping definitions.
tools/​testing/​selftests/​drivers/​net/​hw/​config Enable TLS and device offload support.
tools/​testing/​selftests/​drivers/​net/​hw/​.gitignore Ignore the TLS offload test binary.
tools/​bootconfig/​samples/​exp-good-mixed-kv1.bconf Extend the mixed key/value sample.
sound/​usb/​usx2y/​usbusx2y.h Track pending URB completions.
sound/​usb/​format.c Use a zeroed-array allocation helper.
sound/​soc/​spear/​spdif_out.c Use managed object allocation.
sound/​soc/​spear/​spdif_in.c Use managed object allocation.
sound/​soc/​samsung/​snow.c Use managed object allocation.
sound/​soc/​qcom/​storm.c Use managed object allocation.
sound/​soc/​qcom/​sc7280.c Use managed object allocation.
sound/​soc/​qcom/​qaif-platform.c Use an object allocation helper.
sound/​soc/​generic/​simple-card.c Use managed object allocation.
sound/​soc/​codecs/​tas5720.c Use managed object allocation.
sound/​soc/​codecs/​tas2562.c Use managed object allocation.
sound/​soc/​codecs/​simple-mux.c Use managed object allocation.
sound/​soc/​codecs/​pcm3060.h Remove the codec removal declaration.
sound/​soc/​codecs/​pcm1754.c Use managed object allocation.
sound/​soc/​codecs/​max9759.c Use managed object allocation.
sound/​soc/​codecs/​jz4770.c Use managed object allocation.
sound/​soc/​codecs/​jz4760.c Use managed object allocation.
sound/​soc/​codecs/​ak5386.c Use managed object allocation.
sound/​soc/​amd/​acp/​Kconfig Select the ACPI sound helper unconditionally.
sound/​pci/​Kconfig Select PCM support for Audiowerk 2.
sound/​drivers/​serial-u16550.c Use managed object allocation.
sound/​core/​pcm_lib.c Correct the rational interval minimum clamp.
security/​keys/​keyctl.c Remove the local description-size definition.
security/​apparmor/​policy_unpack.c Use a zeroed-array allocation helper.
rust/​kernel/​io/​resource.rs Construct resource flags through from_raw.
net/​qrtr/​smd.c Use managed object allocation.
net/​nfc/​nci/​spi.c Use managed object allocation.
net/​netfilter/​nft_fwd_netdev.c Include Netfilter recursion definitions.
net/​netfilter/​nf_tables_offload.c Allow destruction of a null flow rule.
net/​netfilter/​nf_flow_table_core.c Extend offloaded GRE connection timeouts.
net/​netfilter/​ipvs/​ip_vs_app.c Defer application freeing through RCU.
net/​ipv4/​esp4_offload.c Invalidate cached GRO fragment data before pulling.
net/​dsa/​conduit.c Use managed object allocation.
net/​can/​af_can.h Replace receiver identification text with an inode number.
net/​bridge/​br_vlan.c Use flexible-array allocation.
net/​batman-adv/​tp_meter.c Widen the byte counter to 64 bits.
net/​9p/​client.c Reject error replies carrying a zero error.
mm/​vmalloc.c Use an array allocation helper.
mm/​vma_init.c Assert write locking before duplicating a VMA.
mm/​slub.c Use a zeroed-array allocation helper.
mm/​slab_common.c Use an array helper with explicit allocation flags.
mm/​shrinker_debug.c Use a zeroed-array allocation helper.
mm/​nommu.c Require the caller to hold the mmap write lock.
mm/​mm_init.c Remove explicit page-tag reference clearing.
Makefile Advance the release marker to 7.4-rc3.
lib/​test_bitops.c Use an array allocation helper.
lib/​argv_split.c Use an array helper with explicit allocation flags.
kernel/​trace/​trace.c Use an object allocation helper.
kernel/​panic.c Zero-initialize the taint string buffer.
kernel/​module/​kmod.c Use an array allocation helper.
kernel/​liveupdate/​kexec_handover.c Detect handover boot from the physical FDT address.
kernel/​dma/​map_benchmark.c Use managed object allocation.
kernel/​bpf/​diagnostics.h Add a slice-buffer modification diagnostic reason.
io_uring/​dma-buf.c Use an object allocation helper.
io_uring/​cancel.c Account for cancellation helpers returning multiple cancellations.
init/​Kconfig Select block cgroups when memory cgroups require them.
include/​net/​tls.h Add an empty-record run counter.
include/​net/​netfilter/​nf_queue.h Preserve packet-duplication state in queue entries.
include/​net/​net_namespace.h Track pending network-device unregister operations.
include/​net/​bluetooth/​l2cap.h Add an enhanced-credit reconfiguration request flag.
include/​linux/​stat.h Define the kernel-private statx attribute mask.
include/​linux/​sched.h Track the CPU charged for I/O waiting.
include/​linux/​dcache.h Consolidate dentry name snapshots into a boolean-returning API.
include/​linux/​can/​dev.h Free invalid transmit packets safely across contexts.
include/​drm/​drm_kunit_helpers.h Use managed object allocation.
include/​acpi/​acpi_bus.h Track pending physical-node offlining.
fs/​xfs/​xfs_sysfs.c Correct the sysfs initialization cleanup target.
fs/​xfs/​xfs_healthmon.c Initialize the mount cookie before RCU publication.
fs/​xfs/​xfs_export.c Adapt to the inode log-force interface.
fs/​smb/​server/​vfs_cache.h Track writes implied by file opening.
fs/​proc/​internal.h Add an RCU-based VMA iterator.
fs/​proc/​base.c Use an array allocation helper.
fs/​overlayfs/​params.h Declare redirect-mode helpers.
fs/​open.c Export dentry_open_nonotify for GPL modules.
fs/​notify/​fsnotify.c Widen pre-content notification lengths to 64 bits.
fs/​nilfs2/​iomap.h Declare the iomap iterator callback.
fs/​nilfs2/​iomap.c Define the iomap iterator callback.
fs/​internal.h Remove the iomap operations forward declaration.
fs/​gfs2/​bmap.h Declare the iomap iterator callback.
fs/​fuse/​fuse_dev_i.h Remove the folio-moving state flag.
fs/​fuse/​args.h Remove the page-replacement argument flag.
fs/​ext2/​dir.c Limit synchronous directory flushing to dirsync inodes.
fs/​debugfs/​file.c Use managed object allocation.
fs/​ceph/​file.c Use the allocation helper’s default flags.
fs/​btrfs/​verity.c Propagate errors from verity initialization.
fs/​9p/​fid.c Use an array allocation helper.
fs/​9p/​acl.h Correct the closing include-guard comment.
drivers/​xen/​grant-dma-ops.c Use managed object allocation.
drivers/​xen/​gntalloc.c Use a zeroed-array allocation helper.
drivers/​watchdog/​xilinx_wwdt.c Use managed object allocation.
drivers/​watchdog/​visconti_wdt.c Use managed object allocation.
drivers/​watchdog/​uniphier_wdt.c Use managed object allocation.
drivers/​watchdog/​ts72xx_wdt.c Use managed object allocation.
drivers/​watchdog/​tqmx86_wdt.c Use managed object allocation.
drivers/​watchdog/​sunplus_wdt.c Use managed object allocation.
drivers/​watchdog/​sprd_wdt.c Use managed object allocation.
drivers/​watchdog/​s32g_wdt.c Use managed object allocation.
drivers/​watchdog/​rzn1_wdt.c Use managed object allocation.
drivers/​watchdog/​rzg2l_wdt.c Use managed object allocation.
drivers/​watchdog/​rza_wdt.c Use managed object allocation.
drivers/​watchdog/​rti_wdt.c Use managed object allocation.
drivers/​watchdog/​riowd.c Use managed object allocation.
drivers/​watchdog/​renesas_wwdt.c Use managed object allocation.
drivers/​watchdog/​renesas_wdt.c Use managed object allocation.
drivers/​watchdog/​qcom-wdt.c Use managed object allocation.
drivers/​watchdog/​pseries-wdt.c Use managed object allocation.
drivers/​watchdog/​mena21_wdt.c Use managed object allocation.
drivers/​watchdog/​max77620_wdt.c Use managed object allocation.
drivers/​watchdog/​lantiq_wdt.c Use managed object allocation.
drivers/​watchdog/​iTCO_wdt.c Use managed object allocation.
drivers/​watchdog/​intel-mid_wdt.c Use managed object allocation.
drivers/​watchdog/​imx2_wdt.c Use managed object allocation.
drivers/​watchdog/​i6300esb.c Use managed object allocation.
drivers/​watchdog/​gxp-wdt.c Use managed object allocation.
drivers/​watchdog/​gpio_wdt.c Use managed object allocation.
drivers/​watchdog/​f71808e_wdt.c Use managed object allocation.
drivers/​watchdog/​ep93xx_wdt.c Use managed object allocation.
drivers/​watchdog/​cpwd.c Use managed object allocation.
drivers/​watchdog/​bd9576_wdt.c Use managed object allocation.
drivers/​watchdog/​aspeed_wdt.c Use managed object allocation.
drivers/​watchdog/​apple_wdt.c Use managed object allocation.
drivers/​virt/​vmgenid.c Use managed object allocation.
drivers/​video/​backlight/​sy7758.c Use managed object allocation.
drivers/​video/​backlight/​platform_lcd.c Use managed object allocation.
drivers/​video/​backlight/​pandora_bl.c Use managed object allocation.
drivers/​video/​backlight/​ili922x.c Use managed object allocation.
drivers/​video/​backlight/​bd6107.c Use managed object allocation.
drivers/​video/​backlight/​aw99706.c Use managed object allocation.
drivers/​video/​aperture.c Use managed object allocation.
drivers/​usb/​serial/​f81232.c Use managed object allocation.
drivers/​usb/​renesas_usbhs/​common.c Use managed object allocation.
drivers/​usb/​chipidea/​core.c Use managed object allocation.
drivers/​usb/​cdns3/​core.c Use managed object allocation.
drivers/​uio/​uio_netx.c Use managed object allocation.
drivers/​uio/​uio_cif.c Use managed object allocation.
drivers/​thermal/​thermal_mmio.c Use managed object allocation.
drivers/​thermal/​st/​stm_thermal.c Use managed object allocation.
drivers/​thermal/​st/​st_thermal.c Use managed object allocation.
drivers/​thermal/​spear_thermal.c Use managed object allocation.
drivers/​thermal/​imx_thermal.c Use managed object allocation.
drivers/​thermal/​dove_thermal.c Use managed object allocation.
drivers/​thermal/​amlogic_thermal.c Use managed object allocation.
drivers/​staging/​nvec/​nvec.c Use managed object allocation.
drivers/​ssb/​sdio.c Remove an email address from a copyright comment.
drivers/​ssb/​main.c Remove an email address from a copyright comment.
drivers/​ssb/​host_soc.c Remove an email address from a copyright comment.
drivers/​ssb/​driver_gige.c Remove an email address from a copyright comment.
drivers/​spi/​spi-xlp.c Use managed object allocation.
drivers/​spi/​spi-slave-time.c Use managed object allocation.
drivers/​spi/​spi-pl022.c Use managed object allocation.
drivers/​spi/​spi-fsi.c Use managed object allocation.
drivers/​soc/​qcom/​socinfo.c Use managed object allocation.
drivers/​soc/​qcom/​rpm_master_stats.c Use managed array allocation.
drivers/​soc/​qcom/​ice.c Use managed object allocation.
drivers/​soc/​qcom/​apr.c Use managed object allocation.
drivers/​soc/​fsl/​rcpm.c Use managed object allocation.
drivers/​soc/​fsl/​qe/​tsa.c Use managed object allocation.
drivers/​soc/​atmel/​sfr.c Use managed object allocation.
drivers/​soc/​apple/​sart.c Use managed object allocation.
drivers/​soc/​apple/​mailbox.c Use managed object allocation.
drivers/​scsi/​scsi_debug.c Wait for asynchronous work during module exit.
drivers/​scsi/​libsas/​sas_ata.c Add printf-format checking to the logging helper.
drivers/​scsi/​aha1542.c Remove command DMA unmapping from cleanup.
drivers/​s390/​block/​dasd_alias.c Use the corrected sleep-helper name.
drivers/​rtc/​rtc-tps6594.c Use managed object allocation.
drivers/​rtc/​rtc-test.c Use managed object allocation.
drivers/​rtc/​rtc-tegra.c Use managed object allocation.
drivers/​rtc/​rtc-spear.c Use managed object allocation.
drivers/​rtc/​rtc-snvs.c Use managed object allocation.
drivers/​rtc/​rtc-sh.c Use managed object allocation.
drivers/​rtc/​rtc-s32g.c Use managed object allocation.
drivers/​rtc/​rtc-rzn1.c Use managed object allocation.
drivers/​rtc/​rtc-r7301.c Use managed object allocation.
drivers/​rtc/​rtc-optee.c Use managed object allocation.
drivers/​rtc/​rtc-omap.c Use managed object allocation.
drivers/​rtc/​rtc-mxc.c Use managed object allocation.
drivers/​rtc/​rtc-mv.c Use managed object allocation.
drivers/​rtc/​rtc-meson.c Use managed object allocation.
drivers/​rtc/​rtc-gamecube.c Use managed object allocation.
drivers/​rtc/​rtc-ds1742.c Use managed object allocation.
drivers/​rtc/​rtc-cpcap.c Use managed object allocation.
drivers/​rtc/​rtc-amlogic-a4.c Use managed object allocation.
drivers/​rtc/​rtc-ab-eoz9.c Use managed object allocation.
drivers/​reset/​reset-zynqmp.c Use managed object allocation.
drivers/​reset/​reset-zynq.c Use managed object allocation.
drivers/​reset/​reset-uniphier.c Use managed object allocation.
drivers/​reset/​reset-uniphier-glue.c Use managed object allocation.
drivers/​reset/​reset-tn48m.c Use managed object allocation.
drivers/​reset/​reset-th1520.c Use managed object allocation.
drivers/​reset/​reset-sunplus.c Use managed object allocation.
drivers/​reset/​reset-simple.c Use managed object allocation.
drivers/​reset/​reset-scmi.c Use managed object allocation.
drivers/​reset/​reset-raspberrypi.c Use managed object allocation.
drivers/​reset/​reset-qcom-pdc.c Use managed object allocation.
drivers/​reset/​reset-qcom-aoss.c Use managed object allocation.
drivers/​reset/​reset-npcm.c Use managed object allocation.
drivers/​reset/​reset-ma35d1.c Use managed object allocation.
drivers/​reset/​reset-lpc18xx.c Use managed object allocation.
drivers/​reset/​reset-lantiq.c Use managed object allocation.
drivers/​reset/​reset-k230.c Use managed object allocation.
drivers/​reset/​reset-k210.c Use managed object allocation.
drivers/​reset/​reset-intel-gw.c Use managed object allocation.
drivers/​reset/​reset-imx-scu.c Use managed object allocation.
drivers/​reset/​reset-hsdk.c Use managed object allocation.
drivers/​reset/​reset-gpio.c Use managed object allocation.
drivers/​reset/​reset-eyeq.c Use managed object allocation.
drivers/​reset/​reset-eic7700.c Use managed object allocation.
drivers/​reset/​reset-brcmstb.c Use managed object allocation.
drivers/​reset/​reset-berlin.c Use managed object allocation.
drivers/​reset/​reset-axs10x.c Use managed object allocation.
drivers/​reset/​reset-aspeed.c Use managed object allocation.
drivers/​reset/​amlogic/​reset-meson-common.c Use managed object allocation.
drivers/​regulator/​virtual.c Use managed object allocation.
drivers/​regulator/​vexpress-regulator.c Use managed object allocation.
drivers/​regulator/​uniphier-regulator.c Use managed object allocation.
drivers/​regulator/​tps68470-regulator.c Use managed object allocation.
drivers/​regulator/​tps65185.c Use managed object allocation.
drivers/​regulator/​rt8092.c Use managed object allocation.
drivers/​regulator/​rt6190-regulator.c Use managed object allocation.
drivers/​regulator/​rt5739.c Use managed object allocation.
drivers/​regulator/​rt4803.c Use managed object allocation.
drivers/​regulator/​pbias-regulator.c Use managed array allocation.
drivers/​regulator/​of_regulator.c Use managed object allocation.
drivers/​regulator/​mp886x.c Use managed object allocation.
drivers/​regulator/​mcp16502.c Use managed object allocation.
drivers/​regulator/​max77620-regulator.c Use managed object allocation.
drivers/​regulator/​lp872x.c Use managed object allocation.
drivers/​regulator/​Kconfig Select MMIO regmap support for Qualcomm SPMI.
drivers/​regulator/​irq_helpers.c Use managed object allocation.
drivers/​regulator/​fp9931.c Use managed object allocation.
drivers/​regulator/​anatop-regulator.c Use managed object allocation.
drivers/​ras/​amd/​fmpm.c Use a zeroed-array allocation helper.
drivers/​ptp/​ptp_vmclock.c Use managed object allocation.
drivers/​ptp/​ptp_netc.c Use managed object allocation.
drivers/​power/​supply/​cros_charge-control.c Use managed object allocation.
drivers/​power/​reset/​xgene-reboot.c Use managed object allocation.
drivers/​power/​reset/​syscon-reboot.c Use managed object allocation.
drivers/​power/​reset/​syscon-poweroff.c Use managed object allocation.
drivers/​power/​reset/​qcom-pon.c Use managed object allocation.
drivers/​power/​reset/​pwr-mlxbf.c Use managed object allocation.
drivers/​platform/​x86/​xo15-ebook.c Use managed object allocation.
drivers/​platform/​x86/​quickstart.c Use managed object allocation.
drivers/​platform/​x86/​adv_swbutton.c Use managed object allocation.
drivers/​platform/​surface/​surface3_power.c Use managed object allocation.
drivers/​platform/​surface/​surface_gpe.c Use managed object allocation.
drivers/​platform/​surface/​surface_acpi_notify.c Use managed object allocation.
drivers/​platform/​chrome/​cros_usbpd_logger.c Use managed object allocation.
drivers/​platform/​chrome/​cros_ec.c Use managed object allocation.
drivers/​platform/​arm64/​Kconfig Remove the ASUS Glymur thermal dependency constraint.
drivers/​pinctrl/​core.c Use managed object allocation.
drivers/​phy/​phy-lgm-usb.c Use managed object allocation.
drivers/​peci/​cpu.c Use managed object allocation.
drivers/​pci/​pwrctrl/​generic.c Use managed object allocation.
drivers/​pci/​of.c Use managed object allocation.
drivers/​pci/​of_property.c Use a zeroed-array allocation helper.
drivers/​pci/​controller/​pci-xgene.c Use managed object allocation.
drivers/​parport/​parport_serial.c Use managed object allocation.
drivers/​parisc/​led.c Use managed object allocation.
drivers/​of/​unittest.c Use managed object allocation.
drivers/​nvmem/​stm32-romem.c Use managed object allocation.
drivers/​nvmem/​snvs_lpgpr.c Use managed object allocation.
drivers/​nvmem/​sec-qfprom.c Use managed object allocation.
drivers/​nvmem/​rmem.c Use managed object allocation.
drivers/​nvmem/​qfprom.c Use managed object allocation.
drivers/​nvmem/​nintendo-otp.c Use managed object allocation.
drivers/​nvmem/​mxs-ocotp.c Use managed object allocation.
drivers/​nvmem/​bcm-ocotp.c Use managed object allocation.
drivers/​nvmem/​at25.c Use managed object allocation.
drivers/​nvmem/​apple-efuses.c Use managed object allocation.
drivers/​nvme/​common/​keyring.c Release the reference to a revoked TLS key.
drivers/​nvdimm/​pmem.c Use managed object allocation.
drivers/​nfc/​port100.c Use managed object allocation.
drivers/​net/​xen-netback/​interface.c Stop freeing multicast state during data disconnect.
drivers/​net/​wireless/​broadcom/​b43legacy/​sysfs.c Remove an email address from a copyright comment.
drivers/​net/​wireless/​broadcom/​b43legacy/​pio.c Remove an email address from a copyright comment.
drivers/​net/​wireless/​broadcom/​b43/​sysfs.c Remove an email address from a copyright comment.
drivers/​net/​wireless/​broadcom/​b43/​pio.c Remove an email address from a copyright comment.
drivers/​net/​phy/​xpowers/​ac200.c Use managed object allocation.
drivers/​net/​phy/​smsc.c Use managed object allocation.
drivers/​net/​phy/​mxl-gpy.c Use managed object allocation.
drivers/​net/​phy/​motorcomm.c Use managed object allocation.
drivers/​net/​phy/​microchip.c Use managed object allocation.
drivers/​net/​phy/​icplus.c Use managed object allocation.
drivers/​net/​phy/​adin.c Use managed object allocation.
drivers/​net/​ethernet/​jme.h Add a Wake-on-LAN quiesce flag.
drivers/​mtd/​maps/​int0800.c Use managed object allocation.
drivers/​mtd/​devices/​powernv_flash.c Use managed object allocation.
drivers/​mmc/​core/​host.c Use a zeroed-array allocation helper.
drivers/​misc/​open-dice.c Use managed object allocation.
drivers/​misc/​nsm.c Use managed object allocation.
drivers/​mfd/​tps65219.c Use managed object allocation.
drivers/​mfd/​tps65218.c Use managed object allocation.
drivers/​mfd/​tps65086.c Use managed object allocation.
drivers/​mfd/​ti-lmu.c Use managed object allocation.
drivers/​mfd/​stmfx.c Use managed object allocation.
drivers/​mfd/​stm32-timers.c Use managed object allocation.
drivers/​mfd/​ssbi.c Use managed object allocation.
drivers/​mfd/​sky81452.c Use managed object allocation.
drivers/​mfd/​rave-sp.c Use managed object allocation.
drivers/​mfd/​qnap-mcu.c Use managed object allocation.
drivers/​mfd/​qcom_rpm.c Use managed object allocation.
drivers/​mfd/​ntxec.c Use managed object allocation.
drivers/​mfd/​mt6370.c Use managed object allocation.
drivers/​mfd/​mp2629.c Use managed object allocation.
drivers/​mfd/​max77759.c Use managed object allocation.
drivers/​mfd/​max77705.c Use managed object allocation.
drivers/​mfd/​max77620.c Use managed object allocation.
drivers/​mfd/​madera-spi.c Use managed object allocation.
drivers/​mfd/​macsmc.c Use managed object allocation.
drivers/​mfd/​lpc_sch.c Use managed object allocation.
drivers/​mfd/​lp873x.c Use managed object allocation.
drivers/​mfd/​loongson-se.c Use managed object allocation.
drivers/​mfd/​kempld-core.c Use managed object allocation.
drivers/​mfd/​ipaq-micro.c Use managed object allocation.
drivers/​mfd/​gateworks-gsc.c Use managed object allocation.
drivers/​mfd/​exynos-lpass.c Use managed object allocation.
drivers/​mfd/​dln2.c Use managed object allocation.
drivers/​mfd/​adp5520.c Use managed object allocation.
drivers/​mfd/​ac100.c Use managed object allocation.
drivers/​mfd/​88pm886.c Use managed object allocation.
drivers/​memstick/​core/​memstick.c Leave driver-pointer clearing to the driver core.
drivers/​memory/​stm32_omm.c Use managed object allocation.
drivers/​memory/​renesas-rpc-if.c Use managed object allocation.
drivers/​memory/​dfl-emif.c Use managed object allocation.
drivers/​memory/​brcmstb_dpfe.c Use managed object allocation.
drivers/​media/​rc/​winbond-cir.c Use an array allocation helper.
drivers/​media/​rc/​st_rc.c Use managed object allocation.
drivers/​media/​platform/​ti/​cal/​cal.c Use managed object allocation.
drivers/​media/​i2c/​st-mipid02.c Use managed object allocation.
drivers/​md/​dm-zone.c Reject zone-report calls that make no progress.
drivers/​md/​dm-clone-target.c Use a zeroed-array allocation helper.
drivers/​mcb/​mcb-lpc.c Use managed object allocation.
drivers/​mailbox/​sprd-mailbox.c Use managed object allocation.
drivers/​mailbox/​platform_mhu.c Use managed object allocation.
drivers/​mailbox/​imx-mailbox.c Use managed object allocation.
drivers/​mailbox/​cix-mailbox.c Use managed object allocation.
drivers/​leds/​leds-regulator.c Use managed object allocation.
drivers/​leds/​led-core.c Use a zeroed-array allocation helper.
drivers/​irqchip/​irq-keystone.c Use managed object allocation.
drivers/​input/​touchscreen/​zet6223.c Use managed object allocation.
drivers/​input/​touchscreen/​st1232.c Use managed object allocation.
drivers/​input/​touchscreen/​silead.c Use managed object allocation.
drivers/​input/​touchscreen/​imagis.c Use managed object allocation.
drivers/​input/​touchscreen/​apple_z2.c Use managed object allocation.
drivers/​input/​touchscreen/​ad7879.c Use managed object allocation.
drivers/​input/​touchscreen/​ad7877.c Use managed object allocation.
drivers/​input/​mouse/​gpio_mouse.c Use managed object allocation.
drivers/​input/​misc/​rb532_button.c Use managed object allocation.
drivers/​input/​misc/​pwm-beeper.c Use managed object allocation.
drivers/​input/​misc/​isa1200.c Use managed object allocation.
drivers/​input/​misc/​ibm-panel.c Use managed object allocation.
drivers/​input/​misc/​gpio_decoder.c Use managed object allocation.
drivers/​input/​keyboard/​qt1050.c Use managed object allocation.
drivers/​input/​keyboard/​lm8323.c Use managed object allocation.
drivers/​input/​keyboard/​imx_sc_key.c Use managed object allocation.
drivers/​hwmon/​yogafan.c Use managed object allocation.
drivers/​hwmon/​tps23861.c Use managed object allocation.
drivers/​hwmon/​tmp513.c Use managed object allocation.
drivers/​hwmon/​tmp421.c Use managed object allocation.
drivers/​hwmon/​tmp401.c Use managed object allocation.
drivers/​hwmon/​thmc50.c Use managed object allocation.
drivers/​hwmon/​stts751.c Use managed object allocation.
drivers/​hwmon/​shtc1.c Use managed object allocation.
drivers/​hwmon/​sht21.c Use managed object allocation.
drivers/​hwmon/​powerz.c Use managed object allocation.
drivers/​hwmon/​nct7363.c Use managed object allocation.
drivers/​hwmon/​mlxreg-fan.c Use managed object allocation.
drivers/​hwmon/​max6697.c Use managed object allocation.
drivers/​hwmon/​max6650.c Use managed object allocation.
drivers/​hwmon/​max6639.c Use managed object allocation.
drivers/​hwmon/​max6621.c Use managed object allocation.
drivers/​hwmon/​max6620.c Use managed object allocation.
drivers/​hwmon/​max31722.c Use managed object allocation.
drivers/​hwmon/​max197.c Use managed object allocation.
drivers/​hwmon/​max127.c Use managed object allocation.
drivers/​hwmon/​ltc4261.c Use managed object allocation.
drivers/​hwmon/​lm92.c Use managed object allocation.
drivers/​hwmon/​lm83.c Use managed object allocation.
drivers/​hwmon/​lm80.c Use managed object allocation.
drivers/​hwmon/​lm77.c Use managed object allocation.
drivers/​hwmon/​lm73.c Use managed object allocation.
drivers/​hwmon/​kfan.c Use managed object allocation.
drivers/​hwmon/​kbatt.c Use managed object allocation.
drivers/​hwmon/​jc42.c Use managed object allocation.
drivers/​hwmon/​ina3221.c Use managed object allocation.
drivers/​hwmon/​ina238.c Use managed object allocation.
drivers/​hwmon/​hwmon.c Use managed object allocation.
drivers/​hwmon/​htu31.c Use managed object allocation.
drivers/​hwmon/​gl520sm.c Use managed object allocation.
drivers/​hwmon/​gl518sm.c Use managed object allocation.
drivers/​hwmon/​emc1812.c Use managed object allocation.
drivers/​hwmon/​ds620.c Use managed object allocation.
drivers/​hwmon/​adt7411.c Use managed object allocation.
drivers/​hwmon/​adm9240.c Use managed object allocation.
drivers/​hwmon/​adm1177.c Use managed object allocation.
drivers/​hwmon/​adcxx.c Use managed object allocation.
drivers/​hv/​mshv_regions.c Use an array allocation helper.
drivers/​hv/​channel.c Use a zeroed-array allocation helper.
drivers/​hid/​hid-letsketch.c Use managed object allocation.
drivers/​hid/​hid-goodix-spi.c Use managed object allocation.
drivers/​gpu/​tests/​gpu_random.c Use an array allocation helper.
drivers/​gpu/​drm/​xe/​Kconfig Select configfs support for Xe.
drivers/​gpio/​gpiolib-shared.h Track shared GPIO configuration users.
drivers/​gpio/​gpiolib-of.c Initialize translated GPIO flags.
drivers/​gpio/​gpio-zevio.c Use managed object allocation.
drivers/​gpio/​gpio-xgene.c Use managed object allocation.
drivers/​gpio/​gpio-wcove.c Use managed object allocation.
drivers/​gpio/​gpio-visconti.c Use managed object allocation.
drivers/​gpio/​gpio-usbio.c Use managed object allocation.
drivers/​gpio/​gpio-ts4800.c Use managed object allocation.
drivers/​gpio/​gpio-syscon.c Use managed object allocation.
drivers/​gpio/​gpio-siox.c Use managed object allocation.
drivers/​gpio/​gpio-sifive.c Use managed object allocation.
drivers/​gpio/​gpio-sch311x.c Use managed object allocation.
drivers/​gpio/​gpio-sch.c Use managed object allocation.
drivers/​gpio/​gpio-rtd.c Use managed object allocation.
drivers/​gpio/​gpio-reg.c Use managed object allocation.
drivers/​gpio/​gpio-rcar.c Use managed object allocation.
drivers/​gpio/​gpio-pisosr.c Use managed object allocation.
drivers/​gpio/​gpio-pch.c Use managed object allocation.
drivers/​gpio/​gpio-nct6694.c Use managed object allocation.
drivers/​gpio/​gpio-mxs.c Use managed object allocation.
drivers/​gpio/​gpio-mxc.c Use managed object allocation.
drivers/​gpio/​gpio-mt7621.c Use managed object allocation.
drivers/​gpio/​gpio-moxtet.c Use managed object allocation.
drivers/​gpio/​gpio-mlxbf2.c Use managed object allocation.
drivers/​gpio/​gpio-mlxbf.c Use managed object allocation.
drivers/​gpio/​gpio-ml-ioh.c Use managed object allocation.
drivers/​gpio/​gpio-max77620.c Use managed object allocation.
drivers/​gpio/​gpio-latch.c Use managed object allocation.
drivers/​gpio/​gpio-kempld.c Use managed object allocation.
drivers/​gpio/​gpio-grgpio.c Use managed object allocation.
drivers/​gpio/​gpio-ge.c Use managed object allocation.
drivers/​gpio/​gpio-exar.c Use managed object allocation.
drivers/​gpio/​gpio-en7523.c Use managed object allocation.
drivers/​gpio/​gpio-em.c Use managed object allocation.
drivers/​gpio/​gpio-cgbc.c Use managed object allocation.
drivers/​gpio/​gpio-amdpt.c Use managed object allocation.
drivers/​gnss/​sirf.c Use managed object allocation.
drivers/​fsi/​fsi-occ.c Use managed object allocation.
drivers/​fpga/​xilinx-spi.c Use managed object allocation.
drivers/​fpga/​socfpga.c Use managed object allocation.
drivers/​fpga/​altera-cvp.c Use managed object allocation.
drivers/​extcon/​extcon-max77843.c Use managed object allocation.
drivers/​extcon/​extcon-max14577.c Use managed object allocation.
drivers/​extcon/​extcon-intel-int3496.c Use managed object allocation.
drivers/​extcon/​extcon-gpio.c Use managed object allocation.
drivers/​dma/​dw/​platform.c Use managed object allocation.
drivers/​dma/​dw/​of.c Use managed object allocation.
drivers/​dma/​dw/​idma32.c Use managed object allocation.
drivers/​dma/​dw/​dw.c Use managed object allocation.
drivers/​dma/​dw/​acpi.c Use managed object allocation.
drivers/​dma/​apple-admac.c Use managed flexible-array allocation.
drivers/​devfreq/​imx-bus.c Use managed object allocation.
drivers/​crypto/​sahara.c Use managed object allocation.
drivers/​crypto/​sa2ul.c Use managed object allocation.
drivers/​crypto/​qce/​core.c Use managed object allocation.
drivers/​crypto/​img-hash.c Use managed object allocation.
drivers/​crypto/​ccp/​tee-dev.c Use managed object allocation.
drivers/​crypto/​ccp/​sp-platform.c Use managed object allocation.
drivers/​crypto/​ccp/​sp-dev.c Use managed object allocation.
drivers/​comedi/​drivers.c Use a zeroed-array allocation helper.
drivers/​clocksource/​em_sti.c Use managed object allocation.
drivers/​clk/​visconti/​reset.c Use managed object allocation.
drivers/​clk/​sprd/​pll.c Use a zeroed-array allocation helper.
drivers/​clk/​mediatek/​reset.c Use managed object allocation.
drivers/​clk/​clk-si570.c Use managed object allocation.
drivers/​clk/​clk-si544.c Use managed object allocation.
drivers/​clk/​clk-si514.c Use managed object allocation.
drivers/​clk/​clk-pwm.c Use managed object allocation.
drivers/​clk/​clk-plldig.c Use managed object allocation.
drivers/​clk/​clk-palmas.c Use managed object allocation.
drivers/​clk/​clk-lochnagar.c Use managed object allocation.
drivers/​clk/​clk-gemini.c Use managed object allocation.
drivers/​clk/​aspeed/​clk-aspeed.c Use managed object allocation.
drivers/​char/​tpm/​tpm_svsm.c Use managed object allocation.
drivers/​bus/​uniphier-system-bus.c Use managed object allocation.
drivers/​bus/​ts-nbus.c Use managed object allocation.
drivers/​bus/​simple-pm-bus.c Use managed object allocation.
drivers/​bus/​imx-weim.c Use managed object allocation.
drivers/​bluetooth/​btsdio.c Use managed object allocation.
drivers/​block/​null_blk/​main.c Clear cached-device state when adding a device.
drivers/​bcma/​host_soc.c Use managed object allocation.
drivers/​base/​pinctrl.c Use managed object allocation.
drivers/​auxdisplay/​max6959.c Use managed object allocation.
drivers/​auxdisplay/​ht16k33.c Use managed object allocation.
drivers/​auxdisplay/​arm-charlcd.c Use managed object allocation.
drivers/​ata/​sata_rcar.c Use managed object allocation.
drivers/​ata/​pata_rdc.c Use managed object allocation.
drivers/​ata/​pata_rb532_cf.c Use managed object allocation.
drivers/​ata/​libahci.c Use managed object allocation.
drivers/​ata/​ahci_xgene.c Use managed object allocation.
drivers/​ata/​ahci_mtk.c Use managed object allocation.
drivers/​acpi/​button.c Use managed object allocation.
drivers/​acpi/​battery.c Use managed object allocation.
drivers/​acpi/​ac.c Use managed object allocation.
Documentation/​devicetree/​bindings/​usb/​cypress,hx3.yaml Make the peer-hub property optional.
crypto/​crypto_engine.c Use managed object allocation.
crypto/​asymmetric_keys/​verify_pefile.c Use a zeroed-array allocation helper.
block/​genhd.c Report discard alignment through the correct helper.
block/​blk.h Route DMA-buffer operations through split checks.
arch/​x86/​kvm/​vmx/​nested.c Add a break in nested host-state restoration.
arch/​arm64/​tools/​cpucaps Add the broken AMU core-counter workaround capability.
arch/​arm64/​include/​asm/​suspend.h Expand saved suspend context to 18 registers.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.