Skip to contentSkip to conversation

7.1.5-rc1 review

PATCH In review Greg Kroah-Hartman 14 participants 2,103 messages Jul 21 – Jul 22 1 message not in the archive Page 1 of 16

Subsystems (15)
lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

cover 7.1.5-rc1 review

This is the start of the stable review cycle for the 7.1.5 release. There are 2077 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Thu, 23 Jul 2026 15:23:00 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

	https://www.kernel.org/pub/linux/kernel/v7.x/stable-review/patch-7.1.5-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-7.1.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>

    Linux 7.1.5-rc1

Thomas Gleixner <[email protected]>
posix-cpu-timers: Prevent UAF caused by non-leader exec() race

Thomas Gleixner <[email protected]>
posix-timers: Expand timer_[re]arm() callbacks with a boolean return value

Dillon Varone <[email protected]>
drm/amd/display: Fix Color Manager (3DLUT, Shaper, Blend)

Christoph Hellwig <[email protected]>
iomap: consolidate bio submission

Namjae Jeon <[email protected]>
exfat: fix implicit declaration of brelse()

Namjae Jeon <[email protected]>
exfat: add data_start_bytes and exfat_cluster_to_phys_bytes() helper

Namjae Jeon <[email protected]>
exfat: add balloc parameter to exfat_map_cluster() for iomap support

Namjae Jeon <[email protected]>
exfat: replace unsafe macros with static inline functions

Eric Biggers <[email protected]>
crypto: xilinx-trng - Remove crypto_rng interface

Pratyush Yadav (Google) <[email protected]>
liveupdate: validate session type before performing operation

Mauricio Faria de Oliveira <[email protected]>
usb: atm: ueagle-atm: wait for pre-firmware load in .disconnect()

Mauricio Faria de Oliveira <[email protected]>
usb: atm: ueagle-atm: remove function entry/exit debug messages

Mauricio Faria de Oliveira <[email protected]>
usb: atm: ueagle-atm: use dev_dbg() for 'device found' message

Christoph Hellwig <[email protected]>
xfs: add newly added RTGs to the free pool in growfs

Christoph Hellwig <[email protected]>
xfs: factor out a xfs_zone_mark_free helper

Namjae Jeon <[email protected]>
ksmbd: use opener credentials for FSCTL mutations

ChenXiaoSong <[email protected]>
smb: move compression definitions into common/fscc.h

Davide Ornaghi <[email protected]>
ksmbd: fix path resolution in ksmbd_vfs_kern_path_create

Siwei Zhang <[email protected]>
Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_new_connection_cb()

Pauli Virtanen <[email protected]>
Bluetooth: 6lowpan: fix cyclic locking warning on netdev unregister

Chris Mason <[email protected]>
binder: cache secctx size before release zeroes it

Jisheng Zhang <[email protected]>
binder: Use LIST_HEAD() to initialize on stack list head

Cássio Gabriel <[email protected]>
ALSA: hda/tas2781: Cancel async firmware request at unbind

Cássio Gabriel <[email protected]>
firmware_loader: Add cancel helper for async requests

Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Update offsets for 2i2 Gen 4 firmware 2417

Geoffrey D. Bennett <[email protected]>
ALSA: scarlett2: Allow selecting config_set by firmware version

Zhang Lixu <[email protected]>
iio: hid-sensor-rotation: Fix stale or zero output when reading raw values

Keshav Verma <[email protected]>
f2fs: fix listxattr handling of corrupted xattr entries

Chao Yu <[email protected]>
f2fs: fix potential deadlock in gc_merge path of f2fs_balance_fs()

Ruipeng Qi <[email protected]>
f2fs: fix potential deadlock in f2fs_balance_fs()

Bartosz Golaszewski <[email protected]>
device property: initialize the remaining fields of fwnode_handle in fwnode_init()

Zenghui Yu <[email protected]>
samples/damon/mtier: fail early if address range parameters are invalid

SeongJae Park <[email protected]>
mm/damon/core: trace esz at first setup

Sun Jian <[email protected]>
bpf: Reject negative const offsets for buffer pointers

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: fix resume error handling

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: make non-fatal errors non-blocking in suspend

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: use pm_runtime_resume_and_get() in suspend

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: disable irq during suspend to fix unhandled interrupt

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: fix esdhc_change_pinstate() to allow default state restore

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: restore DLL override for DDR modes on resume

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: remove unnecessary mmc_card_wake_sdio_irq check for tuning save/restore

Sergey Shtylyov <[email protected]>
mmc: sdhci-of-dwcmshc: check bus clock enable result in the probe() method

Lad Prabhakar <[email protected]>
mmc: mmc_test: Fix __counted_by handling after kzalloc_flex() conversion

Ao Sun <[email protected]>
mmc: block: fix RPMB device unregister ordering

Pengpeng Hou <[email protected]>
mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout

Pengpeng Hou <[email protected]>
mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout

Pengpeng Hou <[email protected]>
mtd: rawnand: fsl_ifc: return errors for failed page reads

Runyu Xiao <[email protected]>
mmc: vub300: defer reset until cmd_mutex is unlocked

Pengpeng Hou <[email protected]>
mtd: mchp23k256: use SPI match data for chip caps

Pengpeng Hou <[email protected]>
mtd: onenand: samsung: report DMA completion timeouts

Xu Rao <[email protected]>
mtd: virt-concat: free duplicate generated name

Rafael Beims <[email protected]>
wifi: mwifiex: fix permanently busy scans after multiple roam iterations

Zhao Li <[email protected]>
wifi: mac80211: validate extension-frame layout before RX

Zhiling Zou <[email protected]>
wifi: mac80211: free ack status frame on TX header build failure

Zhao Li <[email protected]>
wifi: ieee80211: validate MLE common info length

Haofeng Li <[email protected]>
wifi: cfg80211: validate EHT MLE before MLD ID read

Ethan Nelson-Moore <[email protected]>
powerpc/uaccess: correct check for CONFIG_PPC_E500 in mask_user_address()

Junrui Luo <[email protected]>
powerpc/spufs: fix out-of-bounds access in spufs_mem_mmap_access()

Zhao Dongdong <[email protected]>
reset: sunxi: fix memory region leak on ioremap failure

Robby Cai <[email protected]>
reset: imx7: Correct polarity of MIPI CSI resets on i.MX8MQ

Florian Westphal <[email protected]>
ipvs: reload ip header after head reallocation

Julian Anastasov <[email protected]>
ipvs: fix more places with wrong ipv6 transport offsets

Maoyi Xie <[email protected]>
memstick: ms_block: reject a card that reports too many blocks

James Raphael Tiovalen <[email protected]>
macsec: fix promiscuity refcount leak in macsec_dev_open()

Xuanqiang Luo <[email protected]>
llc: fix SAP refcount leak when creating incoming sockets

Eric Biggers <[email protected]>
crypto: aes - Fix conditions for selecting MAC dependencies

Laxman Acharya Padhya <[email protected]>
Bluetooth: btrtl: validate firmware patch bounds

Asim Viladi Oglu Manizada <[email protected]>
net: openvswitch: reject oversized nested action attrs

Abhishek Ojha <[email protected]>
regulator: ltc3676: Fix incorrect IRQSTAT bit offsets

Aurelien Jarno <[email protected]>
arch/riscv: vdso: remove CFI landing pad from rt_sigreturn

Thomas Weißschuh <[email protected]>
riscv: vdso: Do not use LTO for the vDSO

Maoyi Xie <[email protected]>
wifi: brcmfmac: cyw: fix heap overflow on a short auth frame

Dawei Feng <[email protected]>

    wifi: mac80211: fix memory leak in ieee80211_register_hw()

Rafael Beims <[email protected]>
wifi: mwifiex: fix roaming to different channel in host_mlme mode

Runyu Xiao <[email protected]>
wifi: rt2x00: avoid full teardown before work setup in probe

Zhiping Zhang <[email protected]>
net/mlx5: free mlx5_st_idx_data on final dealloc

Thorsten Blum <[email protected]>
powerpc/pseries: fix memory leak on krealloc failure in papr_init

Luke Wang <[email protected]>
mmc: sdhci-esdhc-imx: restore pinctrl before restoring ios timing on resume

Thomas Huth <[email protected]>
selftests/landlock: Fix screwed up pointers in the scoped_signal_test

Thomas Huth <[email protected]>
selftests/landlock: Skip scoped_signal subtest with MSG_OOB if not available

Peng Fan <[email protected]>
pmdomain: imx: Fix i.MX8MP VC8000E power up sequence

Peng Fan <[email protected]>
pmdomain: imx: Fix i.MX8MP power notifier

AngeloGioacchino Del Regno <[email protected]>
pmdomain: mediatek: Fix possible nullptr KP in HWV cleanup/on-check

Guoniu Zhou <[email protected]>
pmdomain: imx93-blk-ctrl: Extract PHY as shared domain for DSI/CSI

Farhad Alemi <[email protected]>
cgroup/cpuset: rebind mm mempolicy to effective_mems, not mems_allowed

Hui Wang <[email protected]>
selftests/rseq: Fix a building error for riscv arch

Gerald Schaefer <[email protected]>
s390/mm: Fix type mismatch in get_align_mask().

Heiko Carstens <[email protected]>
s390/diag: Add missing array_index_nospec() call to memtop_get_page_count()

Crystal Wood <[email protected]>
tracing/osnoise: Call synchronize_rcu() when unregistering

Tao Liu <[email protected]>
riscv: Prevent NULL pointer dereference in machine_kexec_prepare()

Michael Bommarito <[email protected]>
drbd: reject data replies with an out-of-range payload size

TJ Adams <[email protected]>
ata: libata-core: Allow capacity transition to zero for locked drives

TJ Adams <[email protected]>
ata: libata-core: Skip HPA resize for locked drives

Reinette Chatre <[email protected]>
fs/resctrl: Fix double-add of pseudo-locked region's RMID to free list

Tony Luck <[email protected]>
fs/resctrl: Free mon_data structures on rdt_get_tree() failure

Jinjie Ruan <[email protected]>
cpu/hotplug: Fix NULL kobject warning in cpuhp_smt_enable()

Jinjie Ruan <[email protected]>
arm64: smp: Fix hot-unplug tearing by forcing unregistration

Zhu Lingshan <[email protected]>
amdkfd: properly free secondary context id

Théo Lebrun <[email protected]>
net: macb: drop in-flight Tx SKBs on close

Dust Li <[email protected]>
dibs: loopback: validate offset and size in move_data()

Daehyeon Ko <[email protected]>
macsec: don't read an unset MAC header in macsec_encrypt()

Yizhou Zhao <[email protected]>
ipvs: reset full ip_vs_seq structs in ip_vs_conn_new

Yizhou Zhao <[email protected]>
ipvs: use parsed transport offset in SCTP state lookup

Shuangpeng Bai <[email protected]>
llc: fix SAP refcount leak in llc_ui_autobind()

Nirmoy Das <[email protected]>
selftests: net: make busywait timeout clock portable

Dawei Feng <[email protected]>
octeontx2-pf: fix SQB pointer leak on init failure

Yousef Alhouseen <[email protected]>
mac802154: remove interfaces with RCU list deletion

Gerald Schaefer <[email protected]>
s390/monwriter: Reject buffer reuse with different data length

Haoxiang Li <[email protected]>
irqchip/irq-riscv-imsic-early: Fix fwnode leak on state setup failure

Zi Yan <[email protected]>
mm/compaction: handle free_pages_prepare() properly in compaction_free()

Martin Kaiser <[email protected]>
riscv: probes: save original sp in rethook trampoline

HyeongJun An <[email protected]>
hwmon: (asus_atk0110) Check package count before accessing element

Haoxiang Li <[email protected]>
net: ipa: fix SMEM state handle leaks in SMP2P init

Maoyi Xie <[email protected]>
net: wwan: iosm: bound device offsets in the MUX downlink decoder

Bryam Vargas <[email protected]>
ata: libata-core: Reject an invalid concurrent positioning ranges count

Wentao Liang <[email protected]>
ata: pata_pxa: Fix DMA channel leak on probe error

Bryam Vargas <[email protected]>
ata: libata-core: Add NOLPM quirk for PNY CS900 1TB SSD

Dawei Feng <[email protected]>
net/mlx5: HWS, fix matcher leak on resize target setup failure

Bryam Vargas <[email protected]>
orangefs: keep the readdir entry size 64-bit in fill_from_part()

Masami Hiramatsu (Google) <[email protected]>
tracing/probes: Fix double addition of offset for @+FOFFSET

Joshua Crofts <[email protected]>
hwmon: (max1619) add missing 'select REGMAP' to Kconfig

David Lee <[email protected]>
fhandle: reject detached mounts in capable_wrt_mount()

Bryam Vargas <[email protected]>
net/sched: sch_taprio: Replace direct dequeue call with peek and qdisc_dequeue_peeked

Bryam Vargas <[email protected]>
net/sched: sch_multiq: Replace direct dequeue call with peek and qdisc_dequeue_peeked

Andrea Righi <[email protected]>
net: lan743x: Initialize eth_syslock spinlock before use

Haoxiang Li <[email protected]>
fsl/fman: Free init resources on KeyGen failure in fman_init()

Runyu Xiao <[email protected]>
hwmon: (occ) unregister sysfs devices outside occ lock

Xu Rao <[email protected]>
ACPI: TAD: Check AC wake capability before enabling wakeup

Haoxiang Li <[email protected]>
net: liquidio: fix BAR resource leak on PF number failure

Pengpeng Hou <[email protected]>
hwmon: (w83793) remove vrm sysfs file on probe failure

Pengpeng Hou <[email protected]>
hwmon: (w83627hf) remove VID sysfs files on error and remove

Conor Dooley <[email protected]>
rtc: mpfs: fix counter upload completion condition

Eric Biggers <[email protected]>
fscrypt: Replace mk_users keyring with simple list

Lad Prabhakar <[email protected]>
rtc: renesas-rtca3: Fix PIE clear polling condition in alarm setup error path

Abdun Nihaal <[email protected]>
bnx2x: fix potential memory leak in bnx2x_alloc_mem_bp()

Wentao Liang <[email protected]>
ipmi: fix refcount leak in i_ipmi_request()

Sabrina Dubroca <[email protected]>
espintcp: use sk_msg_free_partial to fix partial send

Matt Fleming <[email protected]>
ipmi: Fix user refcount underflow in event delivery

Hongchen Zhang <[email protected]>
LoongArch: Fix missing dirty page tracking in {pte,pmd}_wrprotect()

Xuewen Wang <[email protected]>
LoongArch: Fix nr passing in set_direct_map_valid_noflush()

Biju Das <[email protected]>
pwm: rzg2l-gpt: Fix period_ticks type from u32 to u64

Thomas Weißschuh <[email protected]>
riscv: vdso: Always declare vdso_start symbols

Marc Zyngier <[email protected]>
KVM: arm64: Fix propagation of TLBI level in kvm_pgtable_stage2_relax_perms()

Pablo Neira Ayuso <[email protected]>
netfilter: nfnetlink_cthelper: cap to maximum number of expectation per master on updates

Shuicheng Lin <[email protected]>
drm/xe/userptr: Stub notifier_lock helpers when DRM_GPUSVM=n

Rafael J. Wysocki <[email protected]>
ACPICA: Define acpi_ut_safe_strncpy() as strscpy_pad() alias

Jamal Hadi Salim <[email protected]>
net/sched: sch_teql: move rcu_read_lock()/spin_lock() from _bh variants

Daniel Gibson <[email protected]>
platform/x86/amd/pmc: Avoid logging "(null)" for DMI values

Pablo Neira Ayuso <[email protected]>
netfilter: nfnetlink_cthelper: cap to maximum number of expectation per master

Gil Portnoy <[email protected]>
ksmbd: fix stack buffer overflow in multichannel session-key copy

Junrui Luo <[email protected]>
octeontx2-af: cn10k: restrict VF LMTLINE sharing to its own PF

Ankit Garg <[email protected]>
gve: fix header buffer corruption with header-split and HW-GRO

Shitalkumar Gandhi <[email protected]>
ieee802154: ca8210: fix pointer truncation in kfifo on 64-bit

Shitalkumar Gandhi <[email protected]>
ieee802154: ca8210: fix cas_ctl leak on spi_async failure

Michael Bommarito <[email protected]>
ieee802154: allow legacy LLSEC ADD/DEL ops to pass strict validation

Michael Bommarito <[email protected]>
ieee802154: admin-gate legacy LLSEC dump operations

Haoxiang Li <[email protected]>
octeontx2-af: Free BPID bitmap on setup failure

Maoyi Xie <[email protected]>
net: ip6_tunnel: require CAP_NET_ADMIN in the device netns for changelink

Maoyi Xie <[email protected]>
net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink

Maoyi Xie <[email protected]>
net: ipip: require CAP_NET_ADMIN in the device netns for changelink

Maoyi Xie <[email protected]>
net: ip_vti: require CAP_NET_ADMIN in the device netns for changelink

Maoyi Xie <[email protected]>
net: ip6_vti: require CAP_NET_ADMIN in the device netns for changelink

Dawei Feng <[email protected]>
net: ena: clean up XDP TX queues when regular TX setup fails

Ross Porter <[email protected]>
selftests: net: fix file owner for broadcast_ether_dst test

Zihan Xi <[email protected]>
net/sched: act_ct: preserve tc_skb_cb across defragmentation

Haoxiang Li <[email protected]>
net: ixp4xx_hss: fix duplicate HDLC netdev allocation

Haoxiang Li <[email protected]>
net: wwan: t7xx: destroy DMA pool on CLDMA late init failure

Philippe Schenker <[email protected]>
net: ethernet: ti: icssg: guard PA stat lookups

Maoyi Xie <[email protected]>
net: sit: require CAP_NET_ADMIN in the device netns for changelink

Andreas Kemnade <[email protected]>
gpios: palmas: add .get_direction() op

Sergio Paracuellos <[email protected]>
gpio: mt7621: avoid corruption of shared interrupt trigger state

Paul Louvel <[email protected]>
gpio-f7188x: Add support for NCT6126D version B

Sergio Paracuellos <[email protected]>
gpio: mt7621: be sure IRQ domain is created before exposing GPIO chips

Runyu Xiao <[email protected]>
gpio: tegra: do not call pinctrl for GPIO direction

Sergio Paracuellos <[email protected]>
gpio: mt7621: more robust management of IRQ domain teardown

Dexuan Cui <[email protected]>
net: mana: Sync page pool RX frags for CPU

Dexuan Cui <[email protected]>
net: mana: Validate the packet length reported by the NIC

Bradley Morgan <[email protected]>
cpu: hotplug: Bound hotplug states sysfs output

Bradley Morgan <[email protected]>
cpu: hotplug: Preserve per instance callback errors

Cao Ruichuang <[email protected]>
selftests/ftrace: Drop invalid top-level local in test_ownership

Zhan Xusheng <[email protected]>
posix-cpu-timers: Use u64 multiplication in update_rlimit_cpu()

Thomas Gleixner <[email protected]>
locking/rt: Fix the incorrect RCU protection in rt_spin_unlock()

Maoyi Xie <[email protected]>
wifi: libertas_tf: fix use-after-free in lbtf_free_adapter()

Michael Bommarito <[email protected]>
tracing/user_events: Fix use-after-free in user_event_mm_dup()

Doruk Tan Ozturk <[email protected]>
net/mlx5e: macsec: fix use-after-free of metadata_dst on RX SC delete

Guangshuo Li <[email protected]>
mmc: vub300: fix use-after-free on probe failure

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix type confusion in CDC union descriptor parsing

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix race condition in reset_device sysfs callback

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix potential infinite loop in CDC union descriptor parsing

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix out-of-bounds read in ims_pcu_irq() debug logging

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix logic error in packet reset

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix firmware leak in async update

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix DMA mapping violation in line setup

Dmitry Torokhov <[email protected]>
Input: ims-pcu - add response length checks

Dmitry Torokhov <[email protected]>
Input: ims-pcu - validate control endpoint type

Dmitry Torokhov <[email protected]>
Input: ims-pcu - release data interface on disconnect

Dmitry Torokhov <[email protected]>
Input: ims-pcu - only expose sysfs attributes on control interface

Dmitry Torokhov <[email protected]>
Input: ims-pcu - fix use-after-free and double-free in disconnect

Tony Luck <[email protected]>
fs/resctrl: Fix use-after-free during unmount

Haoxiang Li <[email protected]>
scsi: elx: efct: Fix I/O leak on unsupported additional CDB

WenTao Liang <[email protected]>
scsi: elx: efct: Fix refcount leak in efct_hw_io_abort()

Bryam Vargas <[email protected]>
scsi: target: core: Fix iSCSI ISID use-after-free in REGISTER AND MOVE

Bryam Vargas <[email protected]>
scsi: target: Bound PR-OUT TransportID parsing to the received buffer

Michael Bommarito <[email protected]>
scsi: xen: scsiback: Free unsubmitted command instead of double-putting it

Michael Bommarito <[email protected]>
scsi: xen: scsiback: Free the command tag on the TMR submit-failure path

Xu Rao <[email protected]>
scsi: sg: Report request-table problems when any status is set

Abdun Nihaal <[email protected]>
scsi: lpfc: Fix memory leak in lpfc_sli4_driver_resource_setup()

Haoxiang Li <[email protected]>
scsi: hpsa: Fix DMA mapping leak on IOACCEL2 reset path

Jhonraushan <[email protected]>
accel/ivpu: Reject firmware log with size smaller than header

Shuvam Pandey <[email protected]>
accel/amdxdna: Use caller client for debug BO sync

Doruk Tan Ozturk <[email protected]>
accel/amdxdna: reject user command submission without a command BO

Doruk Tan Ozturk <[email protected]>
accel/amdxdna: reject command submission on devices without a submit op

Wentao Liang <[email protected]>
accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()

Philipp Stanner <[email protected]>
dma-buf: dma-fence: Fix potential NULL pointer dereference

André Draszik <[email protected]>
dma-fence: use correct callback in dma_fence_timeline_name()

Baineng Shou <[email protected]>
dma-fence: Make dma_fence_dedup_array() robust against 0-count input

Mikulas Patocka <[email protected]>
dm-verity: make error counter atomic

Mikulas Patocka <[email protected]>
dm-verity: increase sprintf buffer size

Mikulas Patocka <[email protected]>
dm-verity: fix a possible NULL pointer dereference

Mikulas Patocka <[email protected]>
dm-verity: avoid double increment of &use_bh_wq_enabled

Mikulas Patocka <[email protected]>
dm-verity: fix buffer overflow in FEC calculation

Mikulas Patocka <[email protected]>
dm-integrity: don't increment hash_offset twice

Mikulas Patocka <[email protected]>
dm-integrity: fix a bug if the bio is out of limits

Mikulas Patocka <[email protected]>
dm-integrity: fix leaking uninitialized kernel memory

Mikulas Patocka <[email protected]>
dm_early_create: fix freeing used table on dm_resume failure

Ingo Blechschmidt <[email protected]>
dm: avoid leaking the caller's thread keyring via the table device file

Mikulas Patocka <[email protected]>
dm-stats: fix merge accounting

Mikulas Patocka <[email protected]>
dm-stats: fix dm_jiffies_to_msec64

Samuel Moelius <[email protected]>
dm-pcache: reject option groups without values

Benjamin Marzinski <[email protected]>
dm-log: fix a bitset_size overflow on 32bit machines

Mikulas Patocka <[email protected]>
dm-ioctl: fix a possible overflow in list_version_get_info

Mikulas Patocka <[email protected]>
dm-bufio: fix wrong count calculation in dm_bufio_issue_discard

Samuel Moelius <[email protected]>
dm era: fix out-of-bounds memory access for non-zero start sector

Ming-Hung Tsai <[email protected]>
dm thin metadata: fix metadata snapshot consistency on commit failure

Genjian Zhang <[email protected]>
dm thin metadata: fix superblock refcount leak on snapshot shadow failure

Haoxiang Li <[email protected]>
net: sparx5: unregister blocking notifier on init failure

Yitang Yang <[email protected]>
block: fix IORING_URING_CMD_REISSUE flags check in blkdev_uring_cmd

Mike Waychison <[email protected]>
block: fix race in blk_time_get_ns() returning 0

Connor Williamson <[email protected]>
block: remove redundant GD_NEED_PART_SCAN in add_disk_final()

Sun Jian <[email protected]>
selftests/bpf: Cover negative buffer pointer offsets

Jiri Olsa <[email protected]>
bpf: Add missing access_ok call to copy_user_syms

Jann Horn <[email protected]>

    bpf,fork: wipe ->bpf_storage before bailouts that access it

Tristan Madani <[email protected]>
bpf: Reset register bounds before narrowing retval range in check_mem_access()

Woraphat Khiaodaeng <[email protected]>
io_uring/bpf-ops: reject re-registration of an already-bound ops

Oliver Hartkopp <[email protected]>
can: bcm: add missing device refcount for CAN filter removal

Oliver Hartkopp <[email protected]>
can: bcm: validate frame length in bcm_rx_setup() for RTR replies

Oliver Hartkopp <[email protected]>
can: bcm: track a single source interface for ANYDEV timeout/throttle ops

Oliver Hartkopp <[email protected]>
can: bcm: fix stale rx/tx ops after device removal

Oliver Hartkopp <[email protected]>
can: bcm: fix data race on rx_stamp/rx_ifindex in bcm_rx_handler()

Oliver Hartkopp <[email protected]>
can: bcm: fix CAN frame rx/tx statistics

Oliver Hartkopp <[email protected]>
can: bcm: extend bcm_tx_lock usage for data and timer updates

Oliver Hartkopp <[email protected]>
can: bcm: add missing rcu list annotations and operations

Oliver Hartkopp <[email protected]>
can: bcm: add locking when updating filter and timer values

Oliver Hartkopp <[email protected]>
can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure

Lee Jones <[email protected]>
can: bcm: defer rx_op deallocation to workqueue to fix thrtimer UAF

Oliver Hartkopp <[email protected]>

    can: isotp: serialize TX state transitions under so->rx_lock

Oliver Hartkopp <[email protected]>
can: isotp: fix use-after-free race with concurrent NETDEV_UNREGISTER

Oliver Hartkopp <[email protected]>
can: isotp: use unconditional synchronize_rcu() in isotp_release()

Fan Wu <[email protected]>
can: esd_usb: kill anchored URBs before freeing netdevs

Souvik Banerjee <[email protected]>
ovl: use linked upper dentry in copy-up tmpfile

Maoyi Xie <[email protected]>
netdev-genl: report NAPI thread PID in the caller's pid namespace

Wentao Liang <[email protected]>
nvmet: fix refcount leak in nvmet_sq_create()

Bryam Vargas <[email protected]>
nvmet-rdma: handle inline data with a nonzero offset

Michael Bommarito <[email protected]>
nvmet-auth: reject short AUTH_RECEIVE buffers

Nick Chan <[email protected]>
nvme-apple: Prevent shared tags across queues on Apple A11

Benjamin Coddington <[email protected]>
NFS: Charge unstable writes by request size, not folio size

Weiming Shi <[email protected]>
sctp: validate STALE_COOKIE cause length before reading staleness

Kunihiko Hayashi <[email protected]>
spi: uniphier: Fix completion initialization order before devm_request_irq()

Javier Fernandez Pastrana <[email protected]>
spi: imx: reconfigure for PIO when DMA cannot be started

Wang Yan <[email protected]>
time: Fix off-by-one in compat settimeofday() usec validation

Jaewon Yang <[email protected]>
tpm: Make the TPM character devices non-seekable

Thorsten Blum <[email protected]>
tpm: fix event_size output in tpm1_binary_bios_measurements_show

Maoyi Xie <[email protected]>
xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink

Sanman Pradhan <[email protected]>
xfrm: use compat translator only for u64 alignment mismatch

Qianyu Luo <[email protected]>
xfrm: nat_keepalive: avoid double free on send error

Wentao Liang <[email protected]>
xen/gntdev: fix error handling in ioctl

Steven Rostedt <[email protected]>
ufs: core: tracing: Do not dereference pointers in TP_printk()

Dmitry Safonov <[email protected]>
tcp: Decrement tcp_md5_needed static branch

Michael Bommarito <[email protected]>
tcp: defer md5sig_info kfree past RCU grace period in tcp_connect

Paul Greenwalt <[email protected]>
ice: fix ice_init_link() error return preventing probe

Pei Xiao <[email protected]>
i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED

Xuanqiang Luo <[email protected]>
i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()

Roman Vivchar <[email protected]>
i2c: mediatek: fix WRRD for SoCs without auto_restart option

Vincent Jardin <[email protected]>
i2c: imx: fix locked bus on SMBus block-read of 0 (IRQ)

Vincent Jardin <[email protected]>
i2c: imx: fix locked bus on SMBus block-read of 0 (atomic)

Joshua Crofts <[email protected]>
hwmon: (max6697) add missing 'select REGMAP_I2C' to Kconfig

Joshua Crofts <[email protected]>
hwmon: (ltc2992) add missing 'select REGMAP_I2C' to Kconfig

Ibrahim Hashimov <[email protected]>
ksmbd: fix integer overflow in set_file_allocation_info()

Fredric Cover <[email protected]>
smb: client: use kvzalloc() for megabyte buffer in simple fallocate

Holger Dengler <[email protected]>
pkey: Move keytype check from pkey api to handler

Daniel Gibson <[email protected]>
platform/x86/amd/pmc: Don't log during intermediate wakeups

Daniel Gibson <[email protected]>
platform/x86/amd/pmc: Add delay_suspend module parameter

Daniel Gibson <[email protected]>
platform/x86/amd/pmc: Delay suspend for some Lenovo Laptops

Daniel Gibson <[email protected]>
platform/x86/amd/pmc: Check for intermediate wakeup in function

Srinivas Pandruvada <[email protected]>
platform/x86: ISST: Restore SST-PP control to all domains

Krishna Chomal <[email protected]>

    platform/x86: hp-wmi: Add support for Omen 16-ap0xxx (8E35)

Krishna Chomal <[email protected]>

    platform/x86: hp-wmi: Add support for Omen 16-ap0xxx (8D26)

Haoxiang Li <[email protected]>
platform/x86: dell-laptop: fix missing cleanups in init error path

ZhaoJinming <[email protected]>
platform/x86/intel/tpmi: use cleanup helpers in mem_write()

Claudiu Beznea <[email protected]>
dmaengine: sh: rz-dmac: Move interrupt request after everything is set up

Koichiro Den <[email protected]>
dmaengine: dw-edma-pcie: Reject devices without driver data

Claudiu Beznea <[email protected]>
dmaengine: sh: rz-dmac: Fix incorrect NULL check for list_first_entry()

Frank Li <[email protected]>
dmaengine: dw-edma: Add spinlock to protect DONE_INT_MASK and ABORT_INT_MASK

Kartik Rajput <[email protected]>
dmaengine: tegra: Fix burst size calculation

Hongling Zeng <[email protected]>
sunrpc: fix uninitialized xprt_create_args structure

Michael Bommarito <[email protected]>
tpm: tpm2-sessions: wait for async KPP completion in tpm_buf_append_salt

Jarkko Sakkinen <[email protected]>
tpm: tpm_tis_spi: Use wait_woken() in wait_for_tmp_stat()

Baoli Zhang <[email protected]>
tpm: restore timeout for key creation commands

Bhargav Joshi <[email protected]>
irqchip/crossbar: Use correct index in crossbar_domain_free()

Yiyang Chen <[email protected]>
taskstats: retain dead thread stats in TGID queries

Florian Fuchs <[email protected]>
mtd: maps: vmu-flash: fix NULL pointer dereference in initialization

Stafford Horne <[email protected]>
openrisc: Fix jump_label smp syncing

Miquel Raynal <[email protected]>
mtd: rawnand: Pause continuous reads at block boundaries

Takahiro Kuwano <[email protected]>
mtd: spi-nor: spansion: use die erase for multi-die devices only

Miquel Raynal <[email protected]>
mtd: spi-nor: swp: Improve locking user experience

Holger Dengler <[email protected]>
s390/pkey: Check length in pkey_pckmo handler implementation

Holger Dengler <[email protected]>
s390/pkey: Check length in PKEY_VERIFYPROTK ioctl

Sebastian Alba Vives <[email protected]>
fpga: microchip-spi: fix zero header_size OOB read in mpf_ops_parse_header()

Maoyi Xie <[email protected]>

    net: thunderbolt: Fix frags[] overflow by bounding frame_count

Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Protect mhi_ep_handle_syserr() in the error path

Manivannan Sadhasivam <[email protected]>
bus: mhi: host: pci_generic: Fix the physical function check

Sebastian Alba Vives <[email protected]>
fpga: dfl: add bounds check in dfh_get_param_size()

Michael Bommarito <[email protected]>
ocfs2: reject non-inline dinodes with i_size and zero i_clusters

Michael Bommarito <[email protected]>
ocfs2: reject dinodes whose i_rdev disagrees with the file type

Michael Bommarito <[email protected]>
ocfs2: reject dinodes with non-canonical i_mode type

Joseph Qi <[email protected]>
ocfs2: add journal NULL check in ocfs2_checkpoint_inode()

Ian Bridges <[email protected]>
ocfs2: fix UBSAN array-index-out-of-bounds in ocfs2_sum_rightmost_rec

Ian Bridges <[email protected]>
ocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits

Kyle Zeng <[email protected]>
ocfs2: avoid moving extents to occupied clusters

Arseniy Krasnov <[email protected]>
mtd: rawnand: fix condition in 'nand_select_target()'

Vasiliy Kovalev <[email protected]>
net/9p: fix infinite loop in p9_client_rpc on fatal signal

Bastien Curutchet <[email protected]>
mtd: rawnand: pl353: fix probe resource allocation

Tristan Madani <[email protected]>
ocfs2: use kzalloc for quota recovery bitmap allocation

Florian Fuchs <[email protected]>
mtd: maps: vmu-flash: fix fault in unaligned fixup

Stafford Horne <[email protected]>
openrisc: Add full instruction cache invalidate functions

Ionut Nechita <[email protected]>
scsi: sas: Skip opt_sectors when DMA reports no real optimization hint

Pratyush Yadav (Google) <[email protected]>
kho: make sure scratch size is always aligned by CMA_MIN_ALIGNMENT_BYTES

Martin Wilck <[email protected]>
scsi: smartpqi: Use shost_to_hba() in pqi_scan_finished()

Alexey Charkov <[email protected]>
power: supply: bq257xx: Fix VSYSMIN clamping logic

Breno Leitao <[email protected]>
9p: skip nlink update in cacheless mode to fix WARN_ON

Ruoyu Wang <[email protected]>
mtd: slram: remove failed entries from the device list

Karl Mehltretter <[email protected]>
kcov: use WRITE_ONCE() for selftest mode stores

Muchun Song <[email protected]>
mm/mm_init: fix uninitialized struct pages for ZONE_DEVICE

Amit Machhiwal <[email protected]>
powerpc/dt_cpu_ftrs: Set CPU_FTR_P11_PVR for Power11 and later processors

Jinjiang Tu <[email protected]>
fs/proc: fix KPF_KSM reported for all anonymous pages

Krzysztof Wilczyński <[email protected]>
proc: only bump parent nlink when registering directories

Dev Jain <[email protected]>
fs/proc/task_mmu: do not warn on seeing non-migration pmd entry

Kiryl Shutsemau (Meta) <[email protected]>
fs/proc/task_mmu: use huge_page_size() in pagemap_scan_hugetlb_entry()

Kiryl Shutsemau (Meta) <[email protected]>
fs/proc/task_mmu: fix hugetlb self-deadlock in pagemap_scan_pte_hole()

Kiryl Shutsemau (Meta) <[email protected]>
fs/proc/task_mmu: fix make_uffd_wp_huge_pte() prot-update race

SeongJae Park <[email protected]>
mm/damon/sysfs-schemes: put stats for scheme_add_dirs() internal error

SeongJae Park <[email protected]>
mm/damon/sysfs-schemes: fix dir put orders in access_pattern_add_dirs()

SeongJae Park <[email protected]>
mm/damon/core: always put unsuccessfully committed target pids

Zishun Yi <[email protected]>
riscv: cacheinfo: Fix node reference leak in populate_cache_leaves

Kiryl Shutsemau (Meta) <[email protected]>
mm/huge_memory: preserve pmd_swp_uffd_wp on device-private PMD downgrade

Aaron Tomlin <[email protected]>
mips: sched: Fix CPUMASK_OFFSTACK memory corruption

Bryam Vargas <[email protected]>
selftests/landlock: Test SCOPE_SIGNAL on the SIGIO/fowner pgid path

WenTao Liang <[email protected]>
power: supply: charger-manager: fix refcount leak in is_full_charged()

Bryam Vargas <[email protected]>
landlock: Fix LANDLOCK_SCOPE_SIGNAL bypass on the SIGIO path

Peiyang He <[email protected]>
ntfs: fix hole runlist memory leak in insert range error path

Namjae Jeon <[email protected]>
ntfs: fix WARN_ON for resident attribute in ntfs_map_runlist_nolock()

Namjae Jeon <[email protected]>
ntfs: make system files immutable to prevent corruption

Hyunchul Lee <[email protected]>
ntfs: avoid self-deadlock during inode eviction

Namjae Jeon <[email protected]>
ntfs: sanitize MFT references returned from ntfs_lookup_inode_by_name()

Peiyang He <[email protected]>
ntfs: fail attrlist updates when the superblock is inactive

Peiyang He <[email protected]>
ntfs: fix mrec_lock ABBA deadlock in rename

Tristan Madani <[email protected]>
ntfs3: fix out-of-bounds read in decompress_lznt

Michael Bommarito <[email protected]>
ntfs3: validate split-point offset in indx_insert_into_buffer

Michael Bommarito <[email protected]>
ntfs3: bound to_move in indx_insert_into_root before hdr_insert_head

Michael Bommarito <[email protected]>

    ntfs3: cap RESTART_TABLE free-chain walker at rt->used

Michael Bommarito <[email protected]>

    fs/ntfs3: bound NTFS_DE view.data_off in UpdateRecordData{Root,Allocation}

Michael Bommarito <[email protected]>
fs/ntfs3: add depth limit to indx_find_buffer to prevent stack overflow

Konstantin Komarov <[email protected]>
fs/ntfs3: validate lcns_follow in log_replay conversion

Konstantin Komarov <[email protected]>
fs/ntfs3: bound attr_off in UpdateResidentValue against data_off

Michael Bommarito <[email protected]>

    fs/ntfs3: bound copy_lcns dp->page_lcns[] index in analysis pass

Konstantin Komarov <[email protected]>
fs/ntfs3: bound DeleteIndexEntryAllocation memmove length

Zhan Xusheng <[email protected]>
fs/ntfs3: fix syncing wrong inode on DIRSYNC cross-directory rename

DaeMyung Kang <[email protected]>
ntfs: reject non-resident records for resident-only attributes

DaeMyung Kang <[email protected]>
ntfs: validate resident index root values on lookup

DaeMyung Kang <[email protected]>
ntfs: validate resident volume name values on lookup

DaeMyung Kang <[email protected]>
ntfs: do not replace volume name after lookup errors

Samuel Moelius <[email protected]>
ntfs: detect mapping-pairs LCN accumulator overflow

Hyunchul Lee <[email protected]>
ntfs: validate index entries on reading

DaeMyung Kang <[email protected]>
ntfs: avoid heap allocation for free-cluster readahead state

DaeMyung Kang <[email protected]>
ntfs: only alias volume $UpCase to default on exact match

DaeMyung Kang <[email protected]>
ntfs: reinit search context before volume information lookup

Hyunchul Lee <[email protected]>
ntfs: skip extent mft records in writeback to prevent deadlock

Hyunchul Lee <[email protected]>
ntfs: centalize $INDEX_ROOT header validation

DaeMyung Kang <[email protected]>
ntfs: update index root allocated size before shrink

DaeMyung Kang <[email protected]>
ntfs: free volume-wide resources on fill_super failure

Hyunchul Lee <[email protected]>
ntfs: validate index block header more strictly

Hyunchul Lee <[email protected]>
ntfs: not change 0-byte $DATA attribute to non-resident

Hyunchul Lee <[email protected]>
ntfs: add bounds check before accessing EA entries

DaeMyung Kang <[email protected]>
ntfs: validate attribute values on lookup

Marco Crivellari <[email protected]>
ntfs: Add WQ_PERCPU to alloc_workqueue users

Ron de Bruijn <[email protected]>
ntfs: fix off-by-one in mapping pairs decoding bounds checks

Hyunchul Lee <[email protected]>
ntfs: fix incorrect size of symbolic link

DaeMyung Kang <[email protected]>
ntfs: grow index root value before reparent header update

SeongJae Park <[email protected]>
mm/damon/core: make charge_addr_from aware of end-address exclusivity

Muchun Song <[email protected]>
mm/memory_hotplug: fix incorrect altmap passing in error path

Deepanshu Kartikey <[email protected]>
mm/hugetlb: fix hugetlb cgroup rsvd charge/uncharge mismatch

Johan Hovold <[email protected]>
power: supply: max17042: fix OF node reference imbalance

Ma Ke <[email protected]>
power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak

Muchun Song <[email protected]>
mm/mm_init: fix pageblock migratetype for ZONE_DEVICE compound pages

Maciej W. Rozycki <[email protected]>
MIPS: DEC: Ensure 32-bit stack location for o32 prom_printf()

Johan Hovold <[email protected]>
MIPS: ip22-gio: fix device reference leak in probe

Johan Hovold <[email protected]>
MIPS: ip22-gio: fix kfree() of static object

Johan Hovold <[email protected]>
MIPS: ip22-gio: fix gio device memory leak

Muchun Song <[email protected]>
mm/sparse-vmemmap: fix vmemmap accounting underflow

Tanmay Shah <[email protected]>
remoteproc: xlnx: Check remote core state

Wasim Nazir <[email protected]>
remoteproc: qcom: Fix leak when custom dump_segments addition fails

Chuck Lever <[email protected]>
SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing

Chuck Lever <[email protected]>
lockd: Plug nlm_file refcount leak on cached nlm_do_fopen() failure

Chuck Lever <[email protected]>
lockd: Plug nlm_file leak when nlm_do_fopen() fails

Luxiao Xu <[email protected]>
sunrpc: harden rq_procinfo lifecycle to prevent double-free

Chuck Lever <[email protected]>
sunrpc: wait for in-flight TLS handshake callback when cancel loses race

Chris Mason <[email protected]>
sunrpc: pin svc_xprt across the asynchronous TLS handshake callback

Claudiu Beznea <[email protected]>
pinctrl: renesas: rzg2l: Use -ENOTSUPP instead of -EOPNOTSUPP

Abdun Nihaal <[email protected]>
nvdimm/btt: Free arena sub-allocations on discover_arenas() error path

Abdun Nihaal <[email protected]>
nvdimm/btt: Free arenas on btt_init() error paths

Junrui Luo <[email protected]>
jbd2: fix integer underflow in jbd2_journal_initialize_fast_commit()

Terry Bowman <[email protected]>
cxl: Fix CXL_HEADERLOG_SIZE to match RAS Capability size

Duje Mihanović <[email protected]>
backlight: ktd2801: Enable BL_CORE_SUSPENDRESUME

Bartosz Golaszewski <[email protected]>
mfd: tps6586x: Fix OF node refcount

Shyam Prasad N <[email protected]>
cifs: invalidate cfid on unlink/rename/rmdir

Sven Eckelmann <[email protected]>
batman-adv: tt: prevent TVLV OOB check overflow

Sven Eckelmann <[email protected]>
batman-adv: mcast: avoid OOB read of num_dests header

Sven Eckelmann <[email protected]>
batman-adv: frag: fix primary_if leak on failed linearization

Sven Eckelmann <[email protected]>
batman-adv: clean untagged VLAN on netdev registration failure

Sven Eckelmann <[email protected]>
batman-adv: frag: free unfragmentable packet

Sven Eckelmann <[email protected]>
batman-adv: fix VLAN priority offset

Sven Eckelmann <[email protected]>
batman-adv: tt: avoid request storms during pending request

Sven Eckelmann <[email protected]>
batman-adv: dat: fix tie-break for candidate selection

Sven Eckelmann <[email protected]>
batman-adv: ensure minimal ethernet header on TX

Sven Eckelmann <[email protected]>
batman-adv: dat: ensure accessible eth_hdr proto field

Sven Eckelmann <[email protected]>
batman-adv: bla: reacquire gw address after skb realloc

Sven Eckelmann <[email protected]>
batman-adv: dat: acquire ARP hw source only after skb realloc

Sven Eckelmann <[email protected]>

    batman-adv: access unicast_ttvn skb->data only after skb realloc

Sven Eckelmann <[email protected]>
batman-adv: retrieve ethhdr after potential skb realloc on RX

Sven Eckelmann <[email protected]>
batman-adv: gw: acquire ethernet header only after skb realloc

Sumanth Korikkar <[email protected]>
s390/perf_cpum_cf: Add missing array_index_nospec() to __hw_perf_event_init()

Rafael J. Wysocki <[email protected]>
cpufreq: intel_pstate: Set non-turbo capacity to HWP_GUARANTEED_PERF()

Zhongqiu Han <[email protected]>
cpufreq: schedutil: Fix uncleared need_freq_update on the .adjust_perf() path

Sandipan Das <[email protected]>
perf/x86/amd/lbr: Fix kernel address leakage

Sandipan Das <[email protected]>
perf/x86/amd/brs: Fix kernel address leakage

Thorsten Blum <[email protected]>
x86/boot: Reject too long acpi_rsdp= values

Thorsten Blum <[email protected]>
x86/boot: Validate console=uart8250 baud rate to fix early boot hang

Tycho Andersen (AMD) <[email protected]>
x86/virt/sev: Revert "Drop WBINVD before setting MSR_AMD64_SYSCFG_SNP_EN"

Mario Limonciello <[email protected]>
x86/video: Only fall back to vga_default_device() without screen info

Ali Ahmet MEMIS <[email protected]>
tools/power/x86/intel-speed-select: Harden daemon pidfile open

Guangshuo Li <[email protected]>
mfd: sm501: Fix reference leak on failed device registration

Armin Wolf <[email protected]>
leds: uleds: Fix potential buffer overread

Ondrej Mosnacek <[email protected]>
selinux: fix incorrect execmem checks on overlayfs

Tristan Madani <[email protected]>
selinux: avoid sk_socket dereference in selinux_sctp_bind_connect()

Stephen Smalley <[email protected]>
selinux: check connect-related permissions on TCP Fast Open

Wang Jun <[email protected]>
soc: fsl: qe: panic on ioremap() failure in qe_reset()

Siddharth Vadapalli <[email protected]>
soc: ti: k3-ringacc: Fix access mode for k3_ringacc_ring_pop_tail_io/proxy

Arunpravin Paneer Selvam <[email protected]>
gpu/buddy: bail out of try_harder when alignment cannot be honoured

Guangshuo Li <[email protected]>
gpu: host1x: Fix device reference leak in host1x_device_parse_dt() error path

Eliot Courtney <[email protected]>
gpu: nova-core: simplify and_then with condition to filter

Pablo Neira Ayuso <[email protected]>
netfilter: flowtable: use correct direction to set up tunnel route

Xiang Mei (Microsoft) <[email protected]>
netfilter: bridge: fix stale prevhdr pointer in br_ip6_fragment()

Wyatt Feng <[email protected]>
netfilter: xt_nat: reject unsupported target families

Yizhou Zhao <[email protected]>
netfilter: ecache: fix inverted time_after() check

Florian Westphal <[email protected]>
netfilter: xt_physdev: masks are not c-strings

Yizhou Zhao <[email protected]>
netfilter: nf_conncount: fix zone comparison in tuple dedup

Pablo Neira Ayuso <[email protected]>
netfilter: flowtable: support IPIP tunnel with direct xmit

Pablo Neira Ayuso <[email protected]>
netfilter: flowtable: use dst in this direction when pushing IPIP header

Xiang Mei <[email protected]>
netfilter: nf_conntrack_reasm: guard mac_header adjustment after IPv6 defrag

Florian Westphal <[email protected]>
netfilter: nf_nat_sip: reload possible stale data pointer

Florian Westphal <[email protected]>
netfilter: nft_set_pipapo: don't leak bad clone into future transaction

Pablo Neira Ayuso <[email protected]>
netfilter: nf_conntrack_sip: validate skb_dst() before accessing it

Theodor Arsenij Larionov-Trichkine <[email protected]>
netfilter: nft_fib: reject fib expression on the netdev egress hook

Haoze Xie <[email protected]>
netfilter: nf_queue: pin bridge device while NFQUEUE holds fake dst

Wyatt Feng <[email protected]>
netfilter: xt_cluster: reject template conntracks in hash match

David Carlier <[email protected]>
netfilter: nfnl_cthelper: apply per-class values when updating policies

Muhammad Bilal <[email protected]>
netfilter: nf_conntrack_irc: fix parse_dcc() off-by-one OOB read

Srinivas Kandagatla <[email protected]>
ASoC: qcom: q6apm: fix NULL pointer dereference in graph_callback

Cássio Gabriel <[email protected]>
ASoC: mediatek: mt8183: Release reserved memory on cleanup

Cássio Gabriel <[email protected]>
ASoC: mediatek: mt8183: Check runtime resume during probe

Cássio Gabriel <[email protected]>
ASoC: mediatek: mt8192: Release reserved memory on cleanup

Cássio Gabriel <[email protected]>
ASoC: mediatek: mt8192: Check runtime resume during probe

Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc3-control: Validate size in snd_sof_update_control

Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get

Zhao Dongdong <[email protected]>
ASoC: SOF: topology: fix memory leak in snd_sof_load_topology

Abdun Nihaal <[email protected]>
fbdev: tridentfb: fix potential memory leak in trident_pci_probe()

Abdun Nihaal <[email protected]>
fbdev: nvidia: fix potential memory leak in nvidiafb_probe()

Abdun Nihaal <[email protected]>
fbdev: vesafb: fix memory leak in vesafb_probe()

Abdun Nihaal <[email protected]>
fbdev: carminefb: fix potential memory leak in alloc_carmine_fb()

Abdun Nihaal <[email protected]>
fbdev: tdfxfb: fix potential memory leak in tdfxfb_probe()

Abdun Nihaal <[email protected]>
fbdev: uvesafb: fix potential memory leak in uvesafb_probe()

Abdun Nihaal <[email protected]>
fbdev: s3fb: fix potential memory leak in s3_pci_probe()

Abdun Nihaal <[email protected]>
fbdev: i740fb: fix potential memory leak in i740fb_probe()

Abdun Nihaal <[email protected]>
fbdev: radeon: fix potential memory leak in radeonfb_pci_register()

Abdun Nihaal <[email protected]>
fbdev: efifb: fix memory leak in efifb_probe()

Li RongQing <[email protected]>
fbdev: sm712: Fix operator precedence in big_swap macro

Abdun Nihaal <[email protected]>
fbdev: hecubafb: fix potential memory leak in hecubafb_probe()

Abdun Nihaal <[email protected]>
fbdev: broadsheetfb: fix potential memory leak in broadsheetfb_probe()

Abdun Nihaal <[email protected]>
fbdev: metronomefb: fix potential memory leak in metronomefb_probe()

Oliver Upton <[email protected]>
KVM: arm64: nv: Inject SEA if guest VNCR isn't normal memory

Oliver Upton <[email protected]>
KVM: arm64: nv: Re-translate VNCR before injecting abort

Oliver Upton <[email protected]>
KVM: arm64: nv: Inject SEA if kvm_translate_vncr() can't resolve PFN

Oliver Upton <[email protected]>
KVM: arm64: nv: Respect read-only PFN when mapping L1 VNCR

Weiming Shi <[email protected]>
KVM: arm64: nv: Fix SPSR_EL2 restore in kvm_hyp_handle_mops()

Fuad Tabba <[email protected]>
KVM: arm64: nv: Write ESR_EL2 for injected nested SError exceptions

Oliver Upton <[email protected]>
KVM: arm64: nv: Drop bogus WARN for write to ZCR_EL2

Oliver Upton <[email protected]>
KVM: arm64: Ensure level is always initialized when relaxing perms

Bradley Morgan <[email protected]>
KVM: arm64: account pKVM reclaim against the VM mm

Marc Zyngier <[email protected]>
KVM: Move kvm_io_bus_get_dev() locking responsibilities to callers

Sean Christopherson <[email protected]>
KVM: nVMX: Put vmcs12 pages if nested VM-Enter fails due to invalid guest state

leixiang <[email protected]>

    KVM: x86: Nullify irqfd->producer if updating IRTE for bypass fails

Sean Christopherson <[email protected]>
KVM: x86: Ignore pending PV EOI if the vCPU has since disabled PV EOIs

Binbin Wu <[email protected]>
KVM: TDX: Reject concurrent change to CPUID entry count

Atish Patra <[email protected]>
KVM: SEV: Do not allow intra-host migration/mirroring of SNP VMs

Matthew Rosato <[email protected]>
KVM: s390: pci: Fix handling of AIF enable without AISB

Sean Christopherson <[email protected]>
KVM: nVMX: Move vTPR vs. TPR Threshold consistency check into "normal" checks

Marc Zyngier <[email protected]>
KVM: arm64: vgic: Handle race between interrupt affinity change and LPI disabling

Hyunwoo Kim <[email protected]>
KVM: arm64: vgic: Check the interrupt is still ours before migrating it

Haoxiang Li <[email protected]>
KVM: s390: pci: Fix GISC refcount leak on AIF enable failure

Gautam Menghani <[email protected]>
powerpc/pseries/Kconfig: Enable CONFIG_VPA_PMU to be used with KVM

Claudio Imbrenda <[email protected]>
KVM: s390: Fix unlikely race in try_get_locked_pte()

Christian Borntraeger <[email protected]>
KVM: s390: Initialize KVM_S390_GET_CMMA_BITS memory

Claudio Imbrenda <[email protected]>
KVM: s390: vsie: Use mmu cache to allocate rmap

Claudio Imbrenda <[email protected]>
KVM: s390: Silence potential warnings in _gmap_crstep_xchg_atomic()

Claudio Imbrenda <[email protected]>
KVM: s390: vsie: Add missing radix_tree_preload() in _gaccess_shadow_fault()

Claudio Imbrenda <[email protected]>
KVM: s390: vsie: Fix allocation of struct vsie_rmap

Qiang Ma <[email protected]>
LoongArch: KVM: Return full old CSR value from kvm_emu_xchg_csr()

Bibo Mao <[email protected]>
LoongArch: KVM: Fix FPU register width with user access API

Qiang Ma <[email protected]>
LoongArch: KVM: Check the return values for put_user()

Bibo Mao <[email protected]>
LoongArch: KVM: Check irq validity in kvm_vcpu_ioctl_interrupt()

Yanfei Xu <[email protected]>
LoongArch: KVM: Validate irqchip index in irqfd routing

David Jander <[email protected]>
ARM: dts: stm32: stm32mp15x-mecio1-io: Move expander gpio-line-names to board files

David Jander <[email protected]>
ARM: dts: stm32: stm32mp15x-mecio1-io: Fix expander gpio line typo

David Jander <[email protected]>
ARM: dts: stm32: stm32mp15x-mecio1-io: Move gpio-line-names to board files

Abel Vesa <[email protected]>
arm64: dts: qcom: hamoa: Fix OPP tables for all DisplayPort controllers

David Jander <[email protected]>
ARM: dts: stm32: stm32mp15x-mecio1-io: Fix GPIO names typo

Krzysztof Kozlowski <[email protected]>
arm64: dts: imx8ulp-evk: Correct Type-C int GPIO flags

David Jander <[email protected]>
ARM: dts: stm32: stm32mp15x-mecio1-io: Enable internal ADC reference

Judith Mendez <[email protected]>
arm64: dts: ti: k3-am62a7-sk: Add bootph-all tag to vqmmc

David Jander <[email protected]>
ARM: dts: stm32: stm32mp15x-mecio1-io: Move divergent mecio1 ADC channels to board files

David Jander <[email protected]>
ARM: dts: stm32: stm32mp15x-mecio1-io: Fix ADC sampling times

Quentin Schulz <[email protected]>
arm64: dts: rockchip: fix Ethernet PHY not found on PX30 Ringneck

Nickolay Goppen <[email protected]>
arm64: dts: qcom: sdm630: describe adsp_mem region properly

Hugo Villeneuve <[email protected]>
ARM: dts: imx6ul-var-som: fix warning for non-existent dc-supply property

Marek Vasut <[email protected]>
arm64: dts: renesas: ironhide: Describe inline ECC carveouts

Krzysztof Kozlowski <[email protected]>
arm64: dts: s32g3: Fix SWT8 watchdog address

Mark Rutland <[email protected]>
arm64: fpsimd: Fix type mismatch in sve_{save,load}_state()

Yong Wang <[email protected]>
net: ife: require ETH_HLEN to be pullable in ife_decode()

Runyu Xiao <[email protected]>
octeontx2-vf: clear stale mailbox IRQ state before request_irq()

Runyu Xiao <[email protected]>
octeontx2-pf: clear stale mailbox IRQ state before request_irq()

Zhengchuan Liang <[email protected]>
net: atm: reject out-of-range traffic classes in QoS validation

Michael Bommarito <[email protected]>
net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post()

Li Xiasong <[email protected]>
tipc: restrict socket queue dumps in enqueue tracepoints

Cássio Gabriel <[email protected]>
ASoC: SOF: topology: validate vendor array size before parsing

Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get

Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc3-control: Use overflow checks in control_update size calc

Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc4-control: Validate notification payload size

Peter Ujfalusi <[email protected]>
ASoC: SOF: ipc4-control: Fix TOCTOU in sof_ipc4_bytes_put

Jason Wang <[email protected]>
VDUSE: avoid leaking information to userspace

Zhang Tianci <[email protected]>
vduse: Fix race in vduse_dev_msg_sync and vduse_dev_read_iter

Wentao Liang <[email protected]>
mlxsw: fix refcount leak in mlxsw_sp_vrs_lpm_tree_replace()

Wentao Liang <[email protected]>
mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()

Przemyslaw Korba <[email protected]>
idpf: add padding to PTP virtchnl structures

Vincent Donnefort <[email protected]>
ring-buffer: Allow sparse CPU masks in ring_buffer_desc()

Vincent Donnefort <[email protected]>
tracing/remotes: Fix struct_len in trace_remote_alloc_buffer()

Vincent Donnefort <[email protected]>
tracing/remotes: Fix leak in trace_remote_alloc_buffer() error path

Ben Dooks <[email protected]>
drm/imagination: make pvr_fw_trace_init_mask_ops static

Guangshuo Li <[email protected]>
smb: client: fix overflow in passthrough ioctl bounds check

Guangshuo Li <[email protected]>
drm/xe: free madvise VMA array on L2 flush failure

Anas Khan <[email protected]>
drm/xe: remove duplicate <kunit/test-bug.h> include

Harman Kalra <[email protected]>
octeontx2-af: fix VF bringup affecting PF promiscuous state

Gal Pressman <[email protected]>
ethtool: rss: Fix hfunc and input_xfrm parsing on big endian

Li RongQing <[email protected]>
net/mlx5: Fix L3 tunnel entropy refcount leak

Wang Yan <[email protected]>
selftests/net: fix EVP_MD_CTX leak in tcp_mmap

Thomas Zimmermann <[email protected]>
drm/fb-helper: Only consider active CRTCs for vblank sync

Timur Tabi <[email protected]>
regulator: core: regulator_lock_two() should test for EDEADLK not EDEADLOCK

Zizhi Wo <[email protected]>
smb: client: fix busy dentry warning on unmount after DIO

Cao Guanghui <[email protected]>
dm era: fix NULL pointer dereference in metadata_open()

Chuck Lever <[email protected]>
SUNRPC: pin upper rpc_clnt across the TLS connect_worker

Chuck Lever <[email protected]>
SUNRPC: release lower rpc_clnt if killed waiting for XPRT_LOCKED

Guangshuo Li <[email protected]>
cifs: validate DFS referral string offsets

Rongguang Wei <[email protected]>
s390/zcrypt: Remove the empty file

Julian Anastasov <[email protected]>
ipvs: ensure inner headers in ICMP errors are in headroom

Yizhou Zhao <[email protected]>
ipvs: fix PMTU for GUE/GRE tunnel ICMP errors

Yizhou Zhao <[email protected]>
ipvs: use parsed transport offset in TCP state lookup

Yizhou Zhao <[email protected]>
ipvs: pass parsed transport offset to state handlers

Tamaki Yanagawa <[email protected]>
netfilter: nft_lookup: fix catchall element handling with inverted lookups

Eric Dumazet <[email protected]>
ipv4: igmp: Fix potential memory leaks in igmp_mod_timer() and igmp_stop_timer()

Yuyang Huang <[email protected]>
ipv4: igmp: annotate data-races around timer-related fields

Yuyang Huang <[email protected]>

    ipv4: igmp: annotate data-races around im->users

Eric Dumazet <[email protected]>
ipv6: mcast: Fix potential UAF in MLD delayed work

Eric Dumazet <[email protected]>
ipv4: igmp: Fix potential UAF in igmp_gq_start_timer()

Rosen Penev <[email protected]>
gpio: mvebu: free generic chips on unbind

Sandipan Das <[email protected]>
perf/x86/amd/core: Avoid enabling BRS from the SVM reload path

Suman Ghosh <[email protected]>
octeontx2-pf: check DMAC extraction support before filtering

Samuel Moelius <[email protected]>
net/sched: cake: reject overhead values that underflow length

Rosen Penev <[email protected]>
net: mdio: select REGMAP_MMIO instead of depending on it

Cihan Karadag <[email protected]>
selftests: gpio: add gpio-cdev-uaf to .gitignore

Maíra Canal <[email protected]>
drm/v3d: Reject invalid indirect BO handle in indirect CSD setup

Lizhi Hou <[email protected]>
accel/amdxdna: Fix potential amdxdna_umap lifetime race

Ben Dooks <[email protected]>
tracing: Make tracepoint_printk static as not exported

Robert Mader <[email protected]>
drm: Guard DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE

Jia Wang <[email protected]>
gpio: dwapb: Defer clock gating until noirq

Enrico Pozzobon <[email protected]>
net: usb: lan78xx: disable VLAN filter in promiscuous mode

Yuho Choi <[email protected]>
net/liquidio: drop cached VF pci_dev LUT

Dong Yibo <[email protected]>
net: rnpgbe: fix mailbox endianness and remove pointer casts

Chuck Lever <[email protected]>
net/tls: Consume empty data records in tls_sw_read_sock()

Lizhi Hou <[email protected]>
accel/amdxdna: Fix VMA access race

Lizhi Hou <[email protected]>
accel/amdxdna: Use unsigned long for nr_pages in amdxdna_hmm_register()

Lizhi Hou <[email protected]>
accel/amdxdna: Prevent PM resume deadlock in hwctx_sync_debug_bo()

Hui Wang <[email protected]>
ring-buffer: Fix event length with forced 8-byte alignment

Stig Hornang <[email protected]>
Bluetooth: L2CAP: fix tx ident leak for commands without a response

Weiming Shi <[email protected]>

    Bluetooth: bpa10x: avoid OOB read of revision string in bpa10x_setup()

Pauli Virtanen <[email protected]>
Bluetooth: ISO: exclude RFU bits from ISO_SDU_Length

Pauli Virtanen <[email protected]>
Bluetooth: ISO: fix malformed ISO_END/CONT handling

Kiran K <[email protected]>
Bluetooth: btintel_pcie: Refactor FLR to use device_reprobe()

Ravindra <[email protected]>
Bluetooth: btintel_pcie: Separate coredump work from RX work

Kiran K <[email protected]>
Bluetooth: btintel_pcie: Add support for smart trigger dump

Chandrashekar Devegowda <[email protected]>
Bluetooth: btintel_pcie: Support Product level reset

Sungwoo Kim <[email protected]>
Bluetooth: sco: Fix a race condition in sco_sock_timeout()

Cen Zhang <[email protected]>
Bluetooth: MGMT: Fix adv monitor add failure cleanup

Cen Zhang <[email protected]>
Bluetooth: 6lowpan: hold L2CAP conn across debugfs control

Cen Zhang <[email protected]>
Bluetooth: 6lowpan: avoid untracked enable work

Suraj Kandpal <[email protected]>
drm/i915/ltphy: Fix SSC Enablement bit in PORT_CLOCK_CTL

Bartosz Golaszewski <[email protected]>
gpio: shared: make the voting mechanism adaptable

Steve French <[email protected]>
smb: client: preserve leading slash for POSIX absolute symlink targets

Namjae Jeon <[email protected]>
ksmbd: fix multichannel binding and enforce channel limit

Eric Dumazet <[email protected]>
amt: fix size calculation in amt_get_size()

Xiang Mei <[email protected]>
net/smc: fix UAF in smc_cdc_rx_handler() by pinning the socket

Jamal Hadi Salim <[email protected]>
net/sched: act_pedit: fix TOCTOU heap OOB write in tc offload

Xiang Mei <[email protected]>
net: qualcomm: rmnet: validate MAP frame length before ingress parsing

Shigeru Yoshida <[email protected]>
qede: fix off-by-one in BD ring consumption on build_skb failure

Jens Emil Schulz Østergaard <[email protected]>
net: microchip: vcap: fix races on the shared Super VCAP block

Feng Liu <[email protected]>

    net/mlx5e: Fix publication race for priv->channel_stats[]

Feng Liu <[email protected]>
net/mlx5e: Fix HV VHCA stats agent registration race

Feng Liu <[email protected]>
net/mlx5e: Fix HV VHCA stats zero-sized buffer allocation

Damon Ding <[email protected]>
drm/bridge: analogix_dp: Fix PE/VS value shift mismatch during link training

Shay Drory <[email protected]>
net/mlx5e: TC, skip peer flow cleanup when LAG seq is unavailable

Shay Drory <[email protected]>
net/mlx5: LAG, MPESW, Fix missing complete() on devcom error

Shay Drory <[email protected]>
net/mlx5: LAG, Fix off-by-one in single-FDB error rollback

Shay Drory <[email protected]>
net/mlx5: LAG, extend shared FDB API with group_id filter

Shay Drory <[email protected]>
net/mlx5: LAG, prepare for SD device integration

Shay Drory <[email protected]>
net/mlx5: LAG, replace peer count check with direct peer lookup

Shay Drory <[email protected]>
net/mlx5: LAG, factor out shared FDB code into dedicated file

Mark Bloch <[email protected]>
net/mlx5: Lag, avoid LAG and representor lock cycles

Mark Bloch <[email protected]>
net/mlx5: E-Switch, add representor lifecycle lock

Mark Bloch <[email protected]>
net/mlx5: Lag: refactor representor reload handling

Mingyou Chen <[email protected]>
platform/x86: bitland-mifs-wmi: Fix NULL pointer dereference during suspend/resume

Wyatt Feng <[email protected]>
netfilter: xt_connmark: reject invalid shift parameters

Pablo Neira Ayuso <[email protected]>
netfilter: nft_set_rbtree: get command skips end element with open interval

Zhixing Chen <[email protected]>
netfilter: ip6tables: mark malformed IPv6 extension headers for hotdrop

Feng Wu <[email protected]>
netfilter: xt_rateest: fix u64 truncation in xt_rateest_mt()

Wyatt Feng <[email protected]>
netfilter: xt_u32: reject invalid shift counts

Qihang <[email protected]>
gue: validate REMCSUM private option length

Xiang Mei <[email protected]>
net: usb: net1080: validate packet_len before pad-byte access in rx_fixup

Jia He <[email protected]>
arm64/sysreg: Fix BWE field encoding in ID_AA64DFR2_EL1

Yiyang Chen <[email protected]>
selftests/hid: Cover hid_bpf_get_data() size overflow

Yiyang Chen <[email protected]>
selftests/hid: Load only requested struct_ops maps

Yiyang Chen <[email protected]>
HID: bpf: Fix hid_bpf_get_data() range check

Cen Zhang <[email protected]>
ntfs: avoid stale runlist element dereference in fallocate

Ariana Lazar <[email protected]>
iio: dac: mcp47feb02: Fix passing uninitialized vref1_uV for no Vref1 case

Anshuman Khandual <[email protected]>
arm64/mm: Optimize TLB flush in unmap_hotplug_[pmd|pud]_range()

Catalin Marinas <[email protected]>
arm64: Avoid eager DVMSync reclaim batches with C1-Pro SME erratum

Lee Jones <[email protected]>
HID: core: Fix OOB read in hid_get_report for numbered reports

Georgiy Osokin <[email protected]>
HID: picolcd: prevent NULL pointer dereference in picolcd_send_and_wait()

Cen Zhang <[email protected]>
ntfs: avoid stale runlist element dereference in MFT writeback

David Howells <[email protected]>
netfs: Fix barriering when walking subrequest list

Karuna Ramkumar <[email protected]>
ata: libata-scsi: limit simulated SCSI command copy to response length

Myeonghun Pak <[email protected]>
ata: sata_gemini: unwind clocks on IDE pinctrl errors

David Howells <[email protected]>
cifs: Fix missing credit release on failure in cifs_issue_read()

Jiri Olsa <[email protected]>
uprobes/x86: Use proper mm_struct in __in_uprobe_trampoline

David Windsor <[email protected]>
x86/uprobes: Keep shadow stack in sync for emulated CALLs

Matthew Auld <[email protected]>
drm/xe/pt: prevent invalid cursor access for purged BOs

Matthew Auld <[email protected]>
drm/xe: fix NPD in bo_meminfo()

Michal Wajdeczko <[email protected]>
drm/xe/pf: Don't attempt to process FAST_REQ or EVENT relays

Shuicheng Lin <[email protected]>
drm/xe/hw_engine: Fix double-free of managed BO in error path

Shuicheng Lin <[email protected]>
drm/xe/userptr: Drop bogus static from finish in force_invalidate

Shuicheng Lin <[email protected]>
drm/xe/userptr: Hold notifier_lock for write on inject test path

Brajesh Gupta <[email protected]>
drm/imagination: Fix returned size for DRM_IOCTL_PVR_DEV_QUERY

Francois Dugast <[email protected]>
drm/xe/pt: Fix NULL pointer dereference in xe_pt_zap_ptes_entry()

David Howells <[email protected]>
netfs: Fix folio state after ENOMEM whilst under writeback iteration

David Howells <[email protected]>
netfs: Fix writeback error handling

David Howells <[email protected]>
netfs: Fix writethrough to use collection offload

David Howells <[email protected]>
cachefiles: Fix file burial to take lock when unsetting S_KERNEL_FILE

David Howells <[email protected]>
netfs: Fix netfs_create_write_req() to handle async cache object creation

Morduan Zang <[email protected]>
iomap: guard io_size EOF trim against concurrent truncate underflow

Amir Goldstein <[email protected]>
ovl: fix comment about locking order

Hongling Zeng <[email protected]>
cachefiles: Fix double unlock in nomem_d_alloc error path

Michael Bommarito <[email protected]>
minix: avoid overflow in bitmap block count calculation

Fengnan Chang <[email protected]>
iomap: release pages on atomic dio size mismatch

David Howells <[email protected]>
afs: Fix unchecked-length string display in debug statement

David Howells <[email protected]>
afs: Fix the volume AFS_VOLUME_RM_TREE is set on

David Howells <[email protected]>
afs: Fix premature cell exposure through /afs

David Howells <[email protected]>

    afs: Fix lack of locking around modifications of net->cells_dyn_ino

David Howells <[email protected]>
afs: Fix vllist leak

David Howells <[email protected]>
afs: Fix leak of ungot volume

David Howells <[email protected]>
afs: Use scoped_seqlock_read() rather than manually doing seqlock stuff

David Howells <[email protected]>
afs: Fix missing NULL pointer check in afs_break_some_callbacks()

David Howells <[email protected]>
afs: Fix callback service message parsers to pass through -EAGAIN

David Howells <[email protected]>

    afs: Fix reinitialisation of the inode, in particular ->lock_work

David Howells <[email protected]>

    afs: Fix misplaced inc of net->cells_outstanding

David Howells <[email protected]>
afs: Fix bulk lookup malfunction due to change in dir_emit() API

Li RongQing <[email protected]>

    afs: Remove erroneous seq |= 1 in volume lookup loop

Zilin Guan <[email protected]>
afs: use kvfree() to free memory allocated by kvcalloc()

David Howells <[email protected]>
afs: Fix directory inode initialisation order

David Howells <[email protected]>
afs: Remove setting of AS_RELEASE_ALWAYS for symlinks and mountpoints

David Howells <[email protected]>
afs: Fix double netfs initialisation in afs_root_iget()

Dan Carpenter <[email protected]>
afs: Fix error code in afs_extract_vl_addrs()

Christian Brauner <[email protected]>
fs: refuse O_TMPFILE creation with an unmapped fsuid or fsgid

Samuel Moelius <[email protected]>
net/sched: hhf: clear heavy-hitter state on reset

Samuel Moelius <[email protected]>
net/sched: dualpi2: clear stale classification on filter miss

Michael Bommarito <[email protected]>

    xen/pvcalls: bound backend response req_id before indexing rsp[]

Viacheslav Bocharov <[email protected]>
pinctrl: meson: restore non-sleeping GPIO access

Vladimir Zapolskiy <[email protected]>
gpio: timberdale: Return -ENOMEM on dynamic memory allocation in probe

Gil Portnoy <[email protected]>

    ksmbd: fix use-after-free of fp->owner.name in durable handle owner check

Haofeng Li <[email protected]>
ksmbd: reject undersized DACLs before parsing ACEs

Sechang Lim <[email protected]>
net/sched: act_bpf: use rcu_dereference_bh() to read the filter

Jakub Kicinski <[email protected]>
selftests: drv-net: tso: don't touch dangerous feature bits

Gleb Markov <[email protected]>
cxgb4: Fix decode strings dump for T6 adapters

Longjun Tang <[email protected]>
virtio_net: disable cb when NAPI is busy-polled

Xin Long <[email protected]>
sctp: fix addr_wq_timer race in sctp_free_addr_wq()

Felix Gu <[email protected]>
spi: rzv2h-rspi: Fix DMA transfer error handling for signal interruption

Qingshuang Fu <[email protected]>
irqchip/ts4800: Fix missing chained handler cleanup on remove

Yuho Choi <[email protected]>
irqchip/gic-v3-its: Fix OF node reference leak

Masami Hiramatsu (Google) <[email protected]>
tracing/probes: Make the $ prefix mandatory for comm access

Sechang Lim <[email protected]>
tracing/fprobe: Fix NULL pointer dereference in fprobe_fgraph_entry()

Martin Kaiser <[email protected]>
tracing: eprobe: read the complete FILTER_PTR_STRING pointer

Masami Hiramatsu (Google) <[email protected]>
tracing/events: Fix to check the simple_tsk_fn creation

Masami Hiramatsu (Google) <[email protected]>
tracing/probes: Remove WARN_ON_ONCE from parse_btf_arg

Steven Rostedt <[email protected]>
tracing/eprobes: Allow use of BTF names to dereference pointers

Boris Brezillon <[email protected]>
drm/panthor: Interrupt group start/resumption if group_bind_locked() fails

Boris Brezillon <[email protected]>
drm/panthor: Fix a leak when a group is evicted before the tiler OOM is serviced

Boris Brezillon <[email protected]>
drm/panthor: Fix panthor_pwr_unplug()

Boris Brezillon <[email protected]>
drm/panthor: Don't overrule pending immediate ticks in sched_resume_tick()

Boris Brezillon <[email protected]>
drm/panthor: Fix theoretical IOMEM access in suspended state

Karunika Choo <[email protected]>
drm/panthor: Store IRQ register base iomem pointer in panthor_irq

Karunika Choo <[email protected]>
drm/panthor: Split register definitions by components

Karunika Choo <[email protected]>
drm/panthor: Pass an iomem pointer to GPU register access helpers

Boris Brezillon <[email protected]>
drm/panthor: Fix potential invalid pointer deref in group_process_tiler_oom()

Boris Brezillon <[email protected]>
drm/panthor: Keep the reset work disabled until everything is initialized

Boris Brezillon <[email protected]>
drm/panthor: Always use the IRQ-safe variant when acquiring the fence lock

Viacheslav Bocharov <[email protected]>
gpio: shared-proxy: always serialize with a sleeping mutex

Ido Schimmel <[email protected]>
bridge: stp: Fix a potential use-after-free when deleting a bridge

Jamal Hadi Salim <[email protected]>
net/sched: sch_teql: Introduce slaves_lock to avoid race condition and UAF

Rosen Penev <[email protected]>
net: gianfar: dispose irq mappings on probe failure and device removal

Jiawen Wu <[email protected]>
net: libwx: fix VMDQ mask for 1-queue mode

Petr Wozniak <[email protected]>
net: phy: sfp: free mii_bus in sfp_i2c_mdiobus_destroy

Xiang Mei <[email protected]>
usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()

Pengfei Zhang <[email protected]>
ipv6: fib6: fix NULL deref in fib6_walk_continue() on multi-batch dump

Jakub Kicinski <[email protected]>
eth: fbnic: don't cache shinfo across skb realloc

Guenter Roeck <[email protected]>
hwmon: (aspeed-g6-pwm-tach) Guard fan RPM calculation against divide-by-zero

Guenter Roeck <[email protected]>
hwmon: (pmbus) Fix passing events to regulator core

Matti Vaittinen <[email protected]>
hwmon: adm1275: Prevent reading uninitialized stack

Lizhi Hou <[email protected]>
accel/amdxdna: Fix iommu domain lifetime race during device removal

Abdurrahman Hussain <[email protected]>
hwmon: (pmbus/core) honor vrm_version in pmbus_data2reg_vid()

Luca Weiss <[email protected]>
ASoC: codecs: lpass-va-macro: Fix LPASS Codec Version for SC7280

Kyle Hendry <[email protected]>
MIPS: mm: Add check for highmem before removing memory block

Maciej W. Rozycki <[email protected]>
MIPS: DEC: Ensure RTC platform device deregistration upon failure

Xin Long <[email protected]>
sctp: add INIT verification after cookie unpacking

Yousef Alhouseen <[email protected]>
sctp: fix SCTP_RESET_STREAMS stream list length limit

Wei Fang <[email protected]>
net: enetc: check the number of BDs needed for xdp_frame

Matvey Kovalev <[email protected]>

    qede: fix out-of-bounds check for cqe->len_list[]

Nuoqi Gui <[email protected]>
seg6: validate SRH length before reading fixed fields

Corey Leavitt <[email protected]>
net: pse-pd: scope pse_control regulator handle to kref lifetime

Pengpeng Hou <[email protected]>
gpio: htc-egpio: use managed gpiochip registration

Pengpeng Hou <[email protected]>
gpio: mvebu: fail probe if gpiochip registration fails

KaFai Wan <[email protected]>
bpf: Fix insn_aux_data leak on verifier err_free_env path

Nuoqi Gui <[email protected]>
bpf: Mask pseudo pointer values in verifier logs

Samuel Holland <[email protected]>
riscv: Fix 32-bit call_on_irq_stack() frame pointer ABI

Yicong Yang <[email protected]>
ACPI: RIMT: Only defer the IOMMU configuration in init stage

Pengpeng Hou <[email protected]>
spi: sh-msiof: abort transfers when reset times out

Martin Kaiser <[email protected]>
tracing: probes: fix typo in a log message

Jiaming Zhang <[email protected]>
ALSA: FCP: Fix NULL pointer dereference in interface lookup

Shuaisong Yang <[email protected]>
net: hns3: differentiate autoneg default values between copper and fiber

Shuaisong Yang <[email protected]>
net: hns3: fix permanent link down deadlock after reset

Shuaisong Yang <[email protected]>
net: hns3: refactor MAC autoneg and speed configuration

Shuaisong Yang <[email protected]>
net: hns3: unify copper port ksettings configuration path

Nirmoy Das <[email protected]>
selftests: tls: size splice_short pipe by page size

Eric Dumazet <[email protected]>
tipc: avoid busy looping in tipc_exit_net()

Eric Dumazet <[email protected]>
tipc: fix UAF in cleanup_bearer() due to premature dst_cache_destroy()

Kuniyuki Iwashima <[email protected]>
tipc: Store struct sock in struct udp_bearer.

Kuniyuki Iwashima <[email protected]>
udp_tunnel: Pass struct sock to setup_udp_tunnel_sock().

Kuniyuki Iwashima <[email protected]>
udp_tunnel: Pass struct sock to udp_tunnel_sock_release().

Wei Fang <[email protected]>
net: enetc: fix potential divide-by-zero when num_vsi is zero

Rob Herring (Arm) <[email protected]>
dt-bindings: net: renesas,ether: Drop example "ethernet-phy-ieee802.3-c22" fallback

Eric Dumazet <[email protected]>
net: udp_tunnel: prevent double queueing in udp_tunnel_nic_device_sync

Shengjiu Wang <[email protected]>
ASoC: fsl_asrc_dma: fix eDMA maxburst misalignment with channel count

Tiezhu Yang <[email protected]>
LoongArch: BPF: Fix off-by-one error in tail call

Tiezhu Yang <[email protected]>
LoongArch: BPF: Fix outdated tail call comments

谢致邦 (XIE Zhibang) <[email protected]>
LoongArch: Move struct kimage forward declaration before use

Inochi Amaoto <[email protected]>
net: stmmac: dwmac-spacemit: Fix wrong irq definition

Inochi Amaoto <[email protected]>
net: stmmac: dwmac-spacemit: Fix wrong phy interface definition

Shitalkumar Gandhi <[email protected]>
net: ethernet: sunplus: spl2sw: fix phy_node refcount leak in remove

Ruoyu Wang <[email protected]>
net: sungem: fix probe error cleanup

Greg Thelen <[email protected]>

    tools: ynl: build archives with $(AR)

Xiang Mei <[email protected]>
geneve: validate inner network offset in geneve_gro_complete()

Xiang Mei <[email protected]>

    geneve: gate GRO hint in geneve_gro_complete() on gs->gro_hint

Yun Zhou <[email protected]>
net: mvneta: re-enable percpu interrupt on resume

Ratheesh Kannoth <[email protected]>
octeontx2-af: fix CGX debugfs RVU AF PCI reference leaks

Subbaraya Sundeep <[email protected]>
octeontx2-af: Validate NIX maximum LFs correctly

Jan Klos <[email protected]>
net: phy: realtek: Clear MDIO_AN_10GBT_CTRL_ADV10G bit

Erni Sri Satya Vennela <[email protected]>
net: mana: Fall back to standard MTU when PF reports adapter_mtu of 0

Daniel Golle <[email protected]>
net: dsa: mxl862xx: fix use-after-free of DSA ports in crc_err_work

Daniel Golle <[email protected]>
net: dsa: mxl862xx: avoid unaligned 16-bit access in api_wrap

David Yang <[email protected]>
net: dsa: realtek: fix memory leak in rtl8366rb_setup_led()

Haoxiang Li <[email protected]>
rtc: cmos: unregister HPET IRQ handler on probe failure

Fredrik M Olsson <[email protected]>
rtc: ds1307: Fix off-by-one issue with wday for rx8130

Huiwen He <[email protected]>
smb/client: preserve errors from smb2_set_sparse()

Li RongQing <[email protected]>
ACPI: processor_idle: Mark LPI enter functions as __cpuidle

Rafael J. Wysocki <[email protected]>
ACPICA: Unbreak tools build after switching over to strscpy_pad()

Rafael J. Wysocki <[email protected]>
thermal: testing: zone: Flush work items during cleanup

Claudio Imbrenda <[email protected]>
s390/mm: Fix handling of _PAGE_UNUSED pte bit

Jakub Kicinski <[email protected]>
eth: fbnic: fix ordering of heartbeat vs ownership

Fernando Fernandez Mancera <[email protected]>
ipv6: fix missing notification for ignore_routes_with_linkdown

Fernando Fernandez Mancera <[email protected]>
ipv6: fix state corruption during proxy_ndp sysctl restart

Fernando Fernandez Mancera <[email protected]>
ipv6: fix error handling in disable_policy sysctl

Fernando Fernandez Mancera <[email protected]>
ipv6: fix error handling in forwarding sysctl

Fernando Fernandez Mancera <[email protected]>
ipv6: fix error handling in ignore_routes_with_linkdown sysctl

Fernando Fernandez Mancera <[email protected]>
ipv6: fix error handling in disable_ipv6 sysctl

Xin Long <[email protected]>
sctp: fix err_chunk memory leaks in INIT handling

Jamal Hadi Salim <[email protected]>
net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle

Jakub Sitnicki <[email protected]>
net: lwtunnel: Drop skb metadata before LWT encapsulation

Nicolai Buchwitz <[email protected]>
net: usb: lan78xx: restore VLAN and hash filters after link up

Eric Dumazet <[email protected]>
veth: fix NAPI leak in XDP enable error path

Meghana Malladi <[email protected]>
net: ti: icssg: Fix XSK zero copy TX during application wakeup

Aleksandrova Alyona <[email protected]>
net: dsa: sja1105: round up PTP perout pin duration

Eric Dumazet <[email protected]>

    net: do not acquire dev->tx_global_lock in netdev_watchdog_up()

Xiang Mei <[email protected]>
net, bpf: check master for NULL in xdp_master_redirect()

Doehyun Baek <[email protected]>
Docs/driver-api/uio-howto: document mmap_prepare callback

Krzysztof Wilczyński <[email protected]>
alpha/PCI: Fix __pci_mmap_fits() overflow for zero-length BARs

Krzysztof Wilczyński <[email protected]>
alpha/PCI: Add security_locked_down() check to pci_mmap_resource()

Koichiro Den <[email protected]>
NTB: epf: Fix doorbell bitmask and IRQ vector handling

Koichiro Den <[email protected]>
NTB: epf: Report 0-based doorbell vector via ntb_db_event()

Koichiro Den <[email protected]>
NTB: epf: Make db_valid_mask cover only real doorbell bits

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Exclude reserved slots from db_valid_mask

Oder Chiou <[email protected]>
ASoC: rt5575: Use __le32 for SPI burst write address

HyeongJun An <[email protected]>
ASoC: SDCA: Validate written enum value in ge_put_enum_double()

Rafael J. Wysocki <[email protected]>
cpuidle: Allow exit latency to exceed target residency

Pablo Neira Ayuso <[email protected]>
netfilter: nf_conntrack_helper: cap maximum number of expectation at helper registration

Florian Westphal <[email protected]>
netfilter: nft_ct: expectation timeouts are passed in milliseconds

Pablo Neira Ayuso <[email protected]>
netfilter: nf_conntrack_expect: run expectation eviction with no helper

Pablo Neira Ayuso <[email protected]>
netfilter: nf_conntrack_expect: store master_tuple in expectation

Pablo Neira Ayuso <[email protected]>
netfilter: nf_conntrack_expect: use conntrack GC to reap expectations

Pablo Neira Ayuso <[email protected]>
netfilter: conntrack: check NULL when retrieving ct extension

Pablo Neira Ayuso <[email protected]>
netfilter: nf_conntrack_pptp: move GRE specific cleanup to GRE tracker

Pablo Neira Ayuso <[email protected]>
netfilter: nf_conntrack_helper: dynamically allocate struct nf_conntrack_helper

Qingshuang Fu <[email protected]>
gpio: davinci: fix IRQ domain leak on devm_kzalloc failure

Florian Westphal <[email protected]>
netfilter: nft_compat: ebtables emulation must reject non-bridge targets

Runyu Xiao <[email protected]>

    netfilter: nft_synproxy: stop bypassing the priv->info snapshot

Lorenzo Bianconi <[email protected]>

    netfilter: flowtable: Validate iph->ihl in nf_flow_ip4_tunnel_proto()

Fernando Fernandez Mancera <[email protected]>
netfilter: nf_conncount: prevent connlimit drops for early confirmed ct

Mathias Krause <[email protected]>
netfilter: nf_nat: avoid invalid nat_net pointer use on failed nf_nat_init()

Bradley Morgan <[email protected]>
bpf: Disable xfrm_decode_session hook attachment

Chen Cheng <[email protected]>
md/raid5: avoid R5_Overlap races while breaking stripe batches

Chen Cheng <[email protected]>
md/raid5: use stripe state snapshot in break_stripe_batch_list()

Kuniyuki Iwashima <[email protected]>
ipv4: fib: Don't ignore error route in local/main tables.

Jakub Kicinski <[email protected]>
eth: bnxt: improve the timing of stats

Xiang Mei <[email protected]>
ipv6: Fix null-ptr-deref in fib6_nh_mtu_change().

Gil Portnoy <[email protected]>

    ksmbd: fix use-after-free of conn->preauth_info in concurrent SMB2 NEGOTIATE

Yiyang Chen <[email protected]>
selftests/bpf: Cover small conntrack opts error writes

Yiyang Chen <[email protected]>
bpf: Guard conntrack opts error writes

Stepan Ionichev <[email protected]>
rtc: msc313: fix NULL deref in shared IRQ handler at probe

Dima Ruinskiy <[email protected]>
e1000e: Reconfigure PLL clock gate timeout and re-enable K1 on Meteor Lake

Mohamed Khalfella <[email protected]>
i40e: Fix i40e_debug() to use struct i40e_hw argument

ZhaoJinming <[email protected]>
ice: dpll: fix memory leak in ice_dpll_init_info error paths

ZhaoJinming <[email protected]>
ice: dpll: set pointers to NULL after kfree in ice_dpll_deinit_info

John Madieu <[email protected]>
rtc: isl1208: Balance enable_irq_wake() with disable_irq_wake() on cleanup

Marcin Szycik <[email protected]>
ice: call netif_keep_dst() once when entering switchdev mode

Lukasz Czapnik <[email protected]>
ice: fix AQ error code comparison in ice_set_pauseparam()

Dawid Osuchowski <[email protected]>
ice: fix FDIR CTRL VSI resource leak in ice_reset_all_vfs()

Nuoqi Gui <[email protected]>
bpf: Preserve pointer spill metadata during half-slot cleanup

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Report 0-based doorbell vector via ntb_db_event()

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Defer pci_epc_raise_irq() out of atomic context

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Document legacy MSI doorbell offset

Manivannan Sadhasivam <[email protected]>
PCI: endpoint: pci-epf-ntb: Add check to detect 'db_count' value of 0

Manivannan Sadhasivam <[email protected]>
PCI: endpoint: pci-epf-vntb: Add check to detect 'db_count' value of 0

Ahmad Fatoum <[email protected]>

    ASoC: cs530x: Fix expected MCLK rates for CS5302/4/8

Zhan Xusheng <[email protected]>
erofs: handle 48-bit blocks_hi for compressed inodes

Xiang Mei <[email protected]>
drm/edid: fix OOB read in drm_parse_tiled_block()

Ruoyu Wang <[email protected]>
gpiolib: initialize return value in gpiochip_set_multiple()

Bartosz Golaszewski <[email protected]>
power: sequencing: fix ABBA deadlock in pwrseq_device_unregister()

Amery Hung <[email protected]>
bpf: Fix effective prog array index with BPF_F_PREORDER

Thiébaud Weksteen <[email protected]>
bpf: Fix BPF_PROG_ASSOC_STRUCT_OPS last field check

Avinash Duduskar <[email protected]>
bpf: zero-initialize the fib lookup flow struct

Yichong Chen <[email protected]>
bpftool: Fix vmlinux BTF leak in cgroup commands

Sun Jian <[email protected]>
bpf: Fix partial copy of non-linear test_run output

Nuoqi Gui <[email protected]>
bpf: Fix stack slot index in nospec checks

Ronan Dalton <[email protected]>

    rtc: ds1307: handle oscillator stop flag for ds1337/ds1339/ds3231

Antoni Pokusinski <[email protected]>

    rtc: abx80x: fix the RTC_VL_CLR clearing all status flags

Ioana Ciornei <[email protected]>
dpaa2-switch: do not accept VLAN uppers while bridged

Jiayuan Chen <[email protected]>
ipv6: ioam: fix type confusion of dst_entry

Weiming Shi <[email protected]>
ipv6: ndisc: fix NULL deref in accept_untracked_na()

Wayen Yan <[email protected]>

    net: airoha: Fix skb->priority underflow in airoha_dev_select_queue()

Michael Bommarito <[email protected]>
net/sched: act_ct: fix nf_connlabels leak on two error paths

Rosen Penev <[email protected]>
net: emac: Fix NULL pointer dereference in emac_probe

Geetha sowjanya <[email protected]>
octeontx2-pf: mcs: Fix mcs resources free on PF shutdown

Subbaraya Sundeep <[email protected]>
octeontx2-pf: Clear stats of all resources when freeing resources

Geetha sowjanya <[email protected]>
octeontx2-af: mcs: Fix unsupported secy stats read

Ratheesh Kannoth <[email protected]>
octeontx2-af: npc: cn20k: fix NPC defrag

Wayen Yan <[email protected]>
net: ethernet: mtk_ppe: Fix rhashtable leak in mtk_ppe_init error paths

Ilya Maximets <[email protected]>
net: dst_metadata: fix false-positive memcpy overflow in tun_dst_unclone

Weiming Shi <[email protected]>
tipc: fix use-after-free of the discoverer in tipc_disc_rcv()

Ruoyu Wang <[email protected]>
net: marvell: prestera: initialize err in prestera_port_sfp_bind

Aboorva Devarajan <[email protected]>
selftests/mm: fix exclusive_cow test fork() handling

Sayali Patil <[email protected]>
selftests/mm: remove hardcoded THP sizing assumptions in hmm tests

Sayali Patil <[email protected]>
selftests/mm: allow PUD-level entries in compound testcase of hmm tests

Sayali Patil <[email protected]>
selftests/mm: clarify alternate unmapping in compaction_test

Sayali Patil <[email protected]>
selftests/mm: move hwpoison setup into run_test() and silence modprobe output for memory-failure category

Mike Rapoport (Microsoft) <[email protected]>
selftests/mm: run_vmtests.sh: free memory if available memory is low

Sayali Patil <[email protected]>
selftests/mm: skip uffd-stress test when nr_pages_per_cpu is zero

Sayali Patil <[email protected]>
selftests/mm: ensure destination is hugetlb-backed in hugetlb-mremap

Sayali Patil <[email protected]>
selftest/mm: register existing mapping with userfaultfd in hugetlb-mremap

Sayali Patil <[email protected]>
selftests/mm: free dynamically allocated PMD-sized buffers in split_huge_page_test

Sayali Patil <[email protected]>
selftests/mm: size tmpfs according to PMD page size in split_huge_page_test

Sayali Patil <[email protected]>
selftests/mm: fix cgroup task placement and drop memory.current checks in hugetlb_reparenting_test.sh

Sayali Patil <[email protected]>
selftests/mm: fix hugetlb pathname construction in hugetlb_reparenting_test.sh

Sayali Patil <[email protected]>
selftests/mm: restore default nr_hugepages value via exit trap in hugetlb_reparenting_test.sh

Sayali Patil <[email protected]>
selftests/mm: fix hugetlb pathname construction in charge_reserved_hugetlb.sh

Sayali Patil <[email protected]>
selftests/mm: restore default nr_hugepages value via exit trap in charge_reserved_hugetlb.sh

Hao Ge <[email protected]>
alloc_tag: fix use-after-free in /proc/allocinfo after module unload

Bhargav Joshi <[email protected]>
irqchip/crossbar: Fix parent domain resource leak

Sebastian Andrzej Siewior <[email protected]>
mailbox: imx: Forward the timeout/ error in imx_mu_generic_tx()

Rafael J. Wysocki <[email protected]>
tpm_crb: Check ACPI_COMPANION() against NULL during probe

Florian Westphal <[email protected]>
netfilter: nft_meta_bridge: fix NFT_META_BRI_IIFPVID stack leak

Florian Westphal <[email protected]>
netfilter: nf_reject: skip iphdr options when looking for icmp header

Florian Westphal <[email protected]>
netfilter: nft_flow_offload: zero device address for non-ether case

Florian Westphal <[email protected]>
netfilter: nft_meta_bridge: add validate callback for get operations

Florian Westphal <[email protected]>
netfilter: nft_payload: reject offsets exceeding 65535 bytes

Jozsef Kadlecsik <[email protected]>
netfilter: ipset: make sure gc is properly stopped

Jozsef Kadlecsik <[email protected]>
netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer()

Jozsef Kadlecsik <[email protected]>
netfilter: ipset: Don't use test_bit() in lockless RCU readers in bitmap types

Jozsef Kadlecsik <[email protected]>
netfilter: ipset: Don't use test_bit() in lockless RCU readers in hash types

Abd-Alrhman Masalkhi <[email protected]>
md/raid1: free r1_bio when REQ_NOWAIT is set and read would block on retry

Abd-Alrhman Masalkhi <[email protected]>
md/raid1: honor REQ_NOWAIT when waiting for behind writes

Abd-Alrhman Masalkhi <[email protected]>
md/raid10: fix writes_pending and barrier reference leaks on discard failures

Abd-Alrhman Masalkhi <[email protected]>
md/raid10: fix writes_pending leak on write request failures

Abd-Alrhman Masalkhi <[email protected]>
md/raid1: fix writes_pending and barrier reference leaks on write failures

Robertus Diawan Chris <[email protected]>
mac802154: Prevent overwrite return code in mac802154_perform_association()

Aleksandr Nogikh <[email protected]>
ieee802154: fix kernel-infoleak in dgram_recvmsg()

Ivan Abramov <[email protected]>

    ieee802154: Remove WARN_ON() in cfg802154_pernet_exit()

Ivan Abramov <[email protected]>

    ieee802154: Avoid calling WARN_ON() on -ENOMEM in cfg802154_switch_netns()

Ivan Abramov <[email protected]>
ieee802154: Restore initial state on failed device_rename() in cfg802154_switch_netns()

Xu Rao <[email protected]>
ACPI: IPMI: Fix inverted interface check in ipmi_bmc_gone()

Andy Shevchenko <[email protected]>
ACPI: resource: Amend kernel-doc style

Ricardo Neri <[email protected]>
thermal: intel: Fix dangling resources on thermal_throttle_online() failure

Breno Leitao <[email protected]>
arm64/hw_breakpoint: reject unaligned watchpoints that would truncate BAS

Arnd Bergmann <[email protected]>
arm64: static_call: include asm/insns.h

Lorenzo Bianconi <[email protected]>
netfilter: flowtable: fix and simplify IP6IP6 tunnel handling

Cen Zhang <[email protected]>
ALSA: usb-audio: Kill MIDI 2.0 URBs before freeing endpoints

Daniel Zahka <[email protected]>
eth: fbnic: take netif_addr_lock_bh() around rx mode address programming

Ido Schimmel <[email protected]>
selftests: vlan_bridge_binding: Fix flaky operational state check

Breno Leitao <[email protected]>
netconsole: don't drop the last byte of a full-sized message

Yun Zhou <[email protected]>
flow_dissector: check device type before reading ETH_ADDRS

Lukasz Raczylo <[email protected]>
net: macb: add TX stall timeout callback to recover from lost TSTART write

Wayen Yan <[email protected]>
net: airoha: fix foe_check_time allocation size

Cosmin Ratiu <[email protected]>
devlink: Fix parent ref leak on tc-bw failure

Cosmin Ratiu <[email protected]>
devlink: Fix parent ref leak in devl_rate_node_create()

Ioana Ciornei <[email protected]>
dpaa2-switch: fix VLAN upper check not rejecting bridge join

Xiang Mei <[email protected]>
virtio-net: fix len check in receive_big()

Quang Nguyen <[email protected]>
spi: rpc-if: Use correct device for hardware reinitialization on resume

Mark Tomlinson <[email protected]>
PCI: iproc: Restore .map_irq() for the platform bus driver

Michael Bommarito <[email protected]>
ALSA: usb-audio: qcom: clear opened when stream enable fails

Michael Bommarito <[email protected]>
ALSA: usb-audio: qcom: reject stream disable with no active interface

Xin Long <[email protected]>
sctp: hold socket lock when dumping endpoints in sctp_diag

Jakub Kicinski <[email protected]>
net: psample: fix info leak in PSAMPLE_ATTR_DATA

Ratheesh Kannoth <[email protected]>
octeontx2-af: npc: Log successful MCAM drop-on-non-hit install at debug level

Ratheesh Kannoth <[email protected]>
octeontx2-pf: Fix leak of SQ timestamp buffer on teardown

Tianchen Ding <[email protected]>
selftests/ftrace: Fix trace_marker_raw test on 64K page kernels

Christian Marangi <[email protected]>
net: ethernet: mtk_eth_soc: fix supported_interface set after phylink_create

Thadeu Lima de Souza Cascardo <[email protected]>
drm/amdgpu: initialize irq.lock spinlock earlier

Mario Limonciello <[email protected]>
drm/amdkfd: fix list_del corruption in kfd_criu_resume_svm

Matthew Schwartz <[email protected]>
drm/amd/display: Fix mem_type change detection for async flips

Roman Li <[email protected]>
drm/amd/display: Skip PHY SSC reduction on some 8K panels

Qiang Yu <[email protected]>
drm/amdgpu: initialize iter.start in amdgpu_devcoredump_format

Yunxiang Li <[email protected]>
drm/amdkfd: Avoid double-unpin of DOORBELL/MMIO BOs on free

Sen Wang <[email protected]>
ASoC: tlv320aic3x: restrict CLKDIV bypass Q values in dual-rate mode

Arnaldo Carvalho de Melo <[email protected]>
perf dso: Set standard errno on decompression failure

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Validate array presence before casting BPF prog info pointers

Arnaldo Carvalho de Melo <[email protected]>
perf c2c: Fix hist entry and format list leaks in c2c_he_free()

Arnaldo Carvalho de Melo <[email protected]>
perf c2c: Free format list entries when c2c_hists__init() fails

Arnaldo Carvalho de Melo <[email protected]>
perf cs-etm: Bounds-check CPU in cs_etm__get_queue()

Arnaldo Carvalho de Melo <[email protected]>
perf cs-etm: Require full global header in auxtrace_info size check

Arnaldo Carvalho de Melo <[email protected]>
perf cs-etm: Validate num_cpu before metadata allocation

Arnaldo Carvalho de Melo <[email protected]>
perf machine: Use snprintf() for guestmount path construction

Eric Dumazet <[email protected]>
xfrm: validate selector family and prefixlen during match

Eric Dumazet <[email protected]>

    xfrm: annotate data-races around xfrm_policy_count[] and xfrm_policy_default[]

Herbert Xu <[email protected]>
xfrm: Fix xfrm state cache insertion race

Xu Rao <[email protected]>
ALSA: usb-audio: qcom: Free sideband sg_table objects

Gao Xiang <[email protected]>
erofs: call erofs_exit_ishare() before rcu_barrier()

Adrian Hunter <[email protected]>
i3c: master: Add missing runtime PM get in dev_nack_retry_count_store()

Adrian Hunter <[email protected]>
i3c: master: Update dev_nack_retry_count under maintenance lock

Jisheng Zhang <[email protected]>
spi: dw: fix wrong BAUDR setting after resume

Thomas Hellström <[email protected]>
drm/xe: Fix wa_oob codegen recipe for external module builds

Guangshuo Li <[email protected]>
drm/i915: clear CRTC color blob pointers after dropping refs

Francesco Lavra <[email protected]>
regcache: Do not overwrite error code when finalizing cache after error

Pengpeng Hou <[email protected]>
gpio: mlxbf3: fail probe if gpiochip registration fails

Arnaldo Carvalho de Melo <[email protected]>
perf cs-etm: Reject CPU IDs that would overflow signed comparison

Arnaldo Carvalho de Melo <[email protected]>
perf c2c: Free format list entries when releasing c2c hist entries

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Bounds-check array offsets in bpil_offs_to_addr()

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Reject oversized BPF metadata events that truncate header.size

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Validate func_info_rec_size and sub_id in synthesize_bpf_prog_name()

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Replace (void*)1 sentinel with proper runtime allocation

Arnaldo Carvalho de Melo <[email protected]>
perf hwmon: Fix fd check to accept fd 0 in hwmon_pmu__describe_items()

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Use snprintf() for root_dir path construction

Arnaldo Carvalho de Melo <[email protected]>
perf dso: Set error code when open() fails on uncompressed fallback path

Arnaldo Carvalho de Melo <[email protected]>
perf dso: Fix heap overflow in dso__get_filename() on decompressed path

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Break infinite loop on zero-filled notes in sysfs__read_build_id()

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Validate p_filesz before use in filename__read_build_id()

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Fix bswap copy-paste error for 32-bit ELF p_filesz

Ian Rogers <[email protected]>
perf maps: Add maps__mutate_mapping

Pengpeng Hou <[email protected]>
sparc: led: avoid trimming a newline from empty writes

Karol Wachowski <[email protected]>
accel/ivpu: fix HWS command queue leak on registration failure

John Johansen <[email protected]>
apparmor: fix label can not be immediately before a declaration

Adrian Hunter <[email protected]>
i3c: master: Prevent reuse of dynamic address on device add failure

Adrian Hunter <[email protected]>
i3c: mipi-i3c-hci: Fix race in i3c_hci_addr_to_dev()

Adrian Hunter <[email protected]>
i3c: master: Defer new-device registration out of DAA caller context

Adrian Hunter <[email protected]>
i3c: master: Ensure Hot-Join operations are stopped on shutdown

Adrian Hunter <[email protected]>
i3c: master: Consolidate Hot-Join DAA work in the core

Adrian Hunter <[email protected]>
i3c: master: Serialize i3c_set_hotjoin() with the maintenance lock

Adrian Hunter <[email protected]>
i3c: master: Make hot-join workqueue freezable to block hot-join during suspend

Adrian Hunter <[email protected]>
i3c: mipi-i3c-hci: Preserve RUN bit when aborting DMA ring

Adrian Hunter <[email protected]>
i3c: mipi-i3c-hci: Fix suspend behavior when bus disable falls back to software reset

Eduardo Vasconcelos <[email protected]>
apparmor: Fix inverted comparison in cache_hold_inc()

Maciek Borzecki <[email protected]>
apparmor: fix uninitialised pointer passed to audit_log_untrustedstring()

Georgia Garcia <[email protected]>
apparmor: don't audit files pointing to aa_null.dentry

Zygmunt Krynicki <[email protected]>
apparmor: put secmark label after secid lookup

Zygmunt Krynicki <[email protected]>
apparmor: aa_getprocattr free procattr leak on format failure

John Johansen <[email protected]>
apparmor: remove unnecessary goto and associated label

Zygmunt Krynicki <[email protected]>
apparmor: release exe file resources on path failure

Zygmunt Krynicki <[email protected]>
apparmor: fail policy unpack on accept2 allocation failure

Hongling Zeng <[email protected]>
apparmor: Fix return in ns_mkdir_op

Georgia Garcia <[email protected]>
apparmor: remove or add symlinks to rawdata according to export_binary

Georgia Garcia <[email protected]>
apparmor: fix NULL pointer dereference in unpack_pdb

Maxime Bélair <[email protected]>
apparmor: fix potential UAF in aa_replace_profiles

Ryan Lee <[email protected]>
apparmor: grab ns lock and refresh when looking up changehat child profiles

John Johansen <[email protected]>
apparmor: fix rawdata_f_data implicit flex array

Zygmunt Krynicki <[email protected]>
apparmor: aa_label_alloc use aa_label_free on alloc failure

Ruoyu Wang <[email protected]>
apparmor: check label build before no_new_privs test

Andrew Morton <[email protected]>
security/apparmor/apparmorfs.c: conditionally compile get_loaddata_common_ref()

John Johansen <[email protected]>
apparmor: fix refcount leak when updating the sk_ctx

John Johansen <[email protected]>
apparmor: fix race in unix socket mediation when peer_path is used

John Johansen <[email protected]>
apparmor: fix shadowing of plabel that prevents cache from being updated

Yuanhe Shu <[email protected]>
Revert "PCI/MSI: Unmap MSI-X region on error"

Randy Dunlap <[email protected]>
Documentation: ABI: sysfs-class-reboot-mode-reboot_modes: fix doc warnings

Thomas Weißschuh <[email protected]>
sparc: Avoid -Wunused-but-set-parameter in clear_user_page()

Dong Chenchen <[email protected]>
xfrm: Fix dev use-after-free in xfrm async resumption

Shuvam Pandey <[email protected]>
PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability

Felix Gu <[email protected]>
phy: freescale: phy-fsl-imx8qm-lvds-phy: Fix missing pm_runtime_disable() on probe error path

Felix Gu <[email protected]>
phy: freescale: phy-fsl-imx8qm-lvds-phy: Use synchronous PM runtime put in reset

Manivannan Sadhasivam <[email protected]>
PCI: mediatek: Use actual physical address instead of virt_to_phys()

Konrad Dybcio <[email protected]>

    dt-bindings: phy: sc8280xp-qmp-pcie: Disallow bifurcation register on Purwa

Inochi Amaoto <[email protected]>
dt-bindings: dma: snps,dw-axi-dmac: Add fallback compatible for CV1800B

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Add bounds checks to read_build_id() note iteration in minimal build

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Add bounds checks to elf_read_build_id() note iteration

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Fix metadata leak in perf_env__add_bpf_info() on duplicate insert

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Fix map data leak in bpf_metadata_create() on alloc failure

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Add NULL check for btf__type_by_id() in synthesize_bpf_prog_name()

Arnaldo Carvalho de Melo <[email protected]>
tools lib api: Fix mount_overload() snprintf truncation and toupper range

Arnaldo Carvalho de Melo <[email protected]>
tools lib api: Fix filename__write_int() writing uninitialized stack data

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Use snprintf() in dso__read_running_kernel_build_id()

Arnaldo Carvalho de Melo <[email protected]>
perf hwmon: Guard label read against empty or failed reads

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Fix uninitialized pathname on uncompressed fallback in filename__decompress()

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Bounds-check descsz in sysfs__read_build_id() GNU fallback

Arnaldo Carvalho de Melo <[email protected]>
perf hwmon: Fix parse_hwmon_filename() strlcpy buffer overflow

Arnaldo Carvalho de Melo <[email protected]>
perf hwmon: Use scnprintf() in hwmon_pmu__for_each_event()

Arnaldo Carvalho de Melo <[email protected]>
perf hwmon: Fix off-by-one null termination on sysfs reads

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Fix thread__set_comm_from_proc() on empty comm file

Arnaldo Carvalho de Melo <[email protected]>
perf intel-pt: Fix snprintf size tracking bug in insn decoder

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Use mkostemp() for O_CLOEXEC on temporary files

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Bounds-check .gnu_debuglink section data

Arnaldo Carvalho de Melo <[email protected]>
perf symbols: Fix signed overflow in sysfs__read_build_id() size check

Arnaldo Carvalho de Melo <[email protected]>
tools lib api: Fix missing null termination in filename__read_int/ull()

Arnaldo Carvalho de Melo <[email protected]>
perf pmu: Fix perf_pmu__parse_scale/unit() OOB access on empty sysfs file

Arnaldo Carvalho de Melo <[email protected]>
perf pmu: Fix pmu_id() heap underwrite on empty identifier file

James Clark <[email protected]>
perf cs-etm: Queue context packets for frontend

Tanushree Shah <[email protected]>
perf data convert json: Fix addr_location leak on time-filtered samples

Jens Remus <[email protected]>
perf s390: Fix TEXTREL in Python extension by compiling as PIC

Chuck Lever <[email protected]>
xprtrdma: Return sendctx slot after Send preparation failure

Chuck Lever <[email protected]>
xprtrdma: Repost Receive buffers for malformed replies

Chuck Lever <[email protected]>
xprtrdma: Sanitize the reply credit grant after parsing

Chris Mason <[email protected]>
xprtrdma: Fix bcall rep leak and unbounded peek

Chuck Lever <[email protected]>
xprtrdma: Resize reply buffers before reposting receives

Chuck Lever <[email protected]>
xprtrdma: Document and assert reply-handler invariants

Chuck Lever <[email protected]>
xprtrdma: Check frwr_wp_create() during connect

Chris Mason <[email protected]>
xprtrdma: Initialize re_id before removal registration

Chris Mason <[email protected]>
xprtrdma: Fix ep kref imbalance on ADDR_CHANGE

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Use scnprintf() in build_id__snprintf() and hwmon read_events()

Arnaldo Carvalho de Melo <[email protected]>
perf hists: Fix snprintf() in hists__scnprintf_title() UID filter path

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Use scnprintf() in snprintf_hex() and synthesize_bpf_prog_name()

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Add O_CLOEXEC to open() calls in DSO and ELF code

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Fix idle-hist callchain display using wrong rb_first variant

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Bounds-check prio before test_bit() in timehist

Lad Prabhakar <[email protected]>
PCI: rcar-host: Remove unused LIST_HEAD(res)

Arnaldo Carvalho de Melo <[email protected]>
perf tools: NULL bitmap pointers after bitmap_free()

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Use perf_env__get_cpu_topology() in machine__resolve()

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Use scnprintf() in cpu_map__snprint() to prevent overflow

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Fix get_max_num() size_t underflow on empty sysfs file

David E. Box <[email protected]>
platform/x86/intel/vsec: Restore BAR fallback for header walk

Jamie Nguyen <[email protected]>

    fs/ntfs3: resize log->one_page_buf when adopting on-disk page size

Edward Adam Davis <[email protected]>
fs/ntfs3: prevent potential lcn remains uninitialized

Christian Fontanez <[email protected]>
virtio: add missing kernel-doc for map and vmap members

Chuck Lever <[email protected]>
lockd: Correct kernel-doc status descriptions for NLMv4 GRANTED

Shuvam Pandey <[email protected]>
PCI: meson: Add missing remove callback

Shuvam Pandey <[email protected]>
PCI: meson: Propagate devm_add_action_or_reset() failure

Biju Das <[email protected]>
pwm: rzg2l-gpt: Add missing newlines to dev_err_probe() messages

Li RongQing <[email protected]>
PCI: mediatek: Fix operator precedence in PCIE_FTS_NUM_L0 macro

Yang Erkun <[email protected]>

    nfs: use nfsi->rwsem to protect traversal of the file lock list

Mike Snitzer <[email protected]>
NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS in pg_get_mirror_count_write

Mike Snitzer <[email protected]>
NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS on fatal DS connect errors

Clark Wang <[email protected]>
nfs: keep PG_UPTODATE clear after read errors in page groups

Dai Ngo <[email protected]>
NFSv4/pnfs: defer return_range callbacks until after inode unlock

Chuck Lever <[email protected]>
xprtrdma: Decouple req recycling from RPC completion

Chuck Lever <[email protected]>
xprtrdma: Use sendctx DMA state for Send signaling

Sagi Grimberg <[email protected]>
pNFS/filelayout: fix cheking if a layout is striped

Hongling Zeng <[email protected]>
sunrpc: Fix error handling in rpc_sysfs_xprt_switch_add_xprt_store()

Phillip Varney <[email protected]>
clk: qcom: a53: Corrected frequency multiplier for 1152MHz

Nuno Sá <[email protected]>
dmaengine: dma-axi-dmac: use DMA pool to manange DMA descriptor

Nuno Sá <[email protected]>
dmaengine: dma-axi-dmac: Properly free struct axi_dmac_desc

Nuno Sá <[email protected]>
dmaengine: Fix possible use after free

Icenowy Zheng <[email protected]>
dmaengine: qcom: gpi: set DMA_PRIVATE capability

Junrui Luo <[email protected]>
mshv: add bounds check on vp_index in mshv_intercept_isr()

Pratyush Yadav (Google) <[email protected]>
docs: memfd_preservation: fix rendering of ABI documentation

Jagadeesh Kona <[email protected]>
clk: qcom: camcc-x1e80100: Add support for camera QDSS debug clocks

Jagadeesh Kona <[email protected]>
dt-bindings: clock: qcom: Add X1P42100 camera clock controller

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Free callchain nodes in idle thread cleanup

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Fix int16_t truncation of max_cpu_num in set_max_cpu_num()

Arnaldo Carvalho de Melo <[email protected]>
perf timechart: Fix cpu2y() OOB read on untrusted CPU index

Arnaldo Carvalho de Melo <[email protected]>
perf c2c: Fix use-after-free in he__get_c2c_hists() error path

Arnaldo Carvalho de Melo <[email protected]>

    perf stat: Introduce perf_env__get_cpu_topology() to guard NULL env->cpu

Arnaldo Carvalho de Melo <[email protected]>
perf mmap: Fix NULL deref in aio cleanup on alloc failure

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Replace BUG_ON and add NULL checks in replay event helpers

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Use thread__put() in free_idle_threads()

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Fix thread reference leak in idle hist processing

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Use is_idle_sample() for idle thread runtime cast guard

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Clean up idle_threads entry on init failure

Arnaldo Carvalho de Melo <[email protected]>
perf c2c: Bounds-check CPU IDs in setup_nodes() topology loop

Arnaldo Carvalho de Melo <[email protected]>
perf c2c: Bounds-check CPU and node IDs before bitmap and array access

Arnaldo Carvalho de Melo <[email protected]>
perf stat: Bounds-check CPU index in topology aggregation callbacks

Arnaldo Carvalho de Melo <[email protected]>
perf mmap: Guard cpu__get_node() return in aio_bind()

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Fix register_pid() overflow, strcpy, and BUG_ON

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Cap max_cpu at MAX_CPUS in timehist sample processing

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Fix thread reference leaks in timehist_get_thread()

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Add bounds check to cpu__get_node()

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Guard remaining test_bit calls from OOB sample CPU

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Fix comp_cpus heap overflow with cross-machine recordings

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Fix NULL dereference in latency_runtime_event

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Replace BUG_ON on invalid CPU with graceful skip

Arnaldo Carvalho de Melo <[email protected]>
perf sched: Fix thread reference leak in latency_switch_event

Arnaldo Carvalho de Melo <[email protected]>
perf tools: Guard test_bit from out-of-bounds sample CPU

James Clark <[email protected]>
perf annotate: Fix crashes on empty annotate windows

Rui Qi <[email protected]>
perf: Fix off-by-one stack buffer overflow in kallsyms__parse()

Akhil R <[email protected]>
dt-bindings: dma: nvidia,tegra186-gpc-dma: Make reset optional

Shengjiu Wang <[email protected]>
dmaengine: imx-sdma: Refine spba bus searching in probe

Xu Rao <[email protected]>
thunderbolt: debugfs: Fix margining error counter buffer leak

Srinivasan Shanmugam <[email protected]>
drm/amd/display: Add missing kdoc for ALLM parameters

Jamie Nguyen <[email protected]>
fs/ntfs3: fix mount failure on 64K page-size kernels

Arnd Bergmann <[email protected]>
ntfs3: avoid another -Wmaybe-uninitialized warning

Mihai Brodschi <[email protected]>
ntfs3: Allocate iomap inline_data using alloc_page

Helen Koike <[email protected]>
fs/ntfs3: call _ntfs_bad_inode() when failing to rename

Zhan Xusheng <[email protected]>
fs/ntfs3: fix wrong LCN in run_remove_range() when splitting a run

Konstantin Komarov <[email protected]>
fs/ntfs3: add bounds check to run_get_highest_vcn()

Yixun Lan <[email protected]>
clk: spacemit: k3: Fix PCIe clock register offset

Yixun Lan <[email protected]>
clk: spacemit: k3: Switch to pll2_d6 as parent for PCIe clock

Zhan Xusheng <[email protected]>
docs: changes.rst: restore pahole 1.26 minimum (regressed by sort)

Rosen Penev <[email protected]>
HID: logitech-hidpp: remove excess kernel-doc member in hidpp_scroll_counter

Yuho Choi <[email protected]>
clk: at91: keep securam node alive while mapping it

Aldo Conte <[email protected]>
iio: tcs3472: power down chip on probe failure

Sanjay Chitroda <[email protected]>

    iio: accel: mma8452: handle I2C read error(s) in mma8452_read()

Guilherme Ivo Bozi <[email protected]>
iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling

Joshua Crofts <[email protected]>
iio: magnetometer: ak8975: fix potential kernel stack memory leak

Joshua Crofts <[email protected]>
iio: light: si1133: prevent race condition on timeout

Joshua Crofts <[email protected]>
iio: light: si1133: reset counter to prevent race condition

Arnaldo Carvalho de Melo <[email protected]>
perf header: Validate bitmap size before allocating in do_read_bitmap()

Arnaldo Carvalho de Melo <[email protected]>
perf header: Sanity check HEADER_EVENT_DESC attr.size before swap

Zhan Xusheng <[email protected]>
timers/migration: Update stale @online doc to @available

Shawn Guo <[email protected]>
PCI: qcom: Disable ASPM L0s for SA8775P

Athira Rajeev <[email protected]>
powerpc tools perf: Initialize error code in auxtrace_record_init function

Baruch Siach <[email protected]>
docs: threat-model: add missing closing parenthesis

Lad Prabhakar <[email protected]>
clk: renesas: rzg2l: Rename iterator in for_each_mod_clock() to avoid shadowing

Hongling Zeng <[email protected]>
gpib: cb7210: Fix region leak when request_irq fails

Adam Crosser <[email protected]>
gpib: fix double decrement of descriptor_busy in command_ioctl()

Rafael J. Wysocki <[email protected]>
sonypi: Check ACPI_COMPANION() against NULL at probe time

Rafael J. Wysocki <[email protected]>
hpet: Check ACPI_COMPANION() against NULL at probe time

James Kim <[email protected]>
char: tlclk: fix use-after-free in tlclk_cleanup()

Dave Penkler <[email protected]>
gpib: Fix inappropriate ioctl error return

Ravi Bangoria <[email protected]>
perf test amd ibs: Fix incorrect kernel version check

Seungjin Bae <[email protected]>
usb: host: max3421: Reject hub port requests for non-existent ports

Seungjin Bae <[email protected]>

    usb: host: max3421: Fix shift-out-of-bounds in max3421_hub_control()

Guangshuo Li <[email protected]>
staging: most: video: avoid double free on video register failure

Ian Rogers <[email protected]>
perf inject: Fix itrace branch stack synthesis

Ian Rogers <[email protected]>
perf event: Fix size of synthesized sample with branch stacks

Michael Petlan <[email protected]>
perf build-id: Fix off-by-one bug when printing kernel/module build-id

Conor Dooley <[email protected]>
clk: microchip: mpfs-ccc: fix peripheral driver registration failures after oob fix

Rafael J. Wysocki <[email protected]>
platform/x86: classmate-laptop: Address memory leaks on driver removal

Chen-Yu Tsai <[email protected]>
PCI: mediatek-gen3: Fix incorrectly skipped pwrctrl error message

Dan Carpenter <[email protected]>
PCI: dwc: Fix signedness bug in fault injection test code

Jie Gan <[email protected]>
coresight: platform: defer connection counter increment until alloc succeeds

Bartosz Golaszewski <[email protected]>
PCI/pwrctrl: Lock device when calling device_is_bound()

Wolfram Sang <[email protected]>
mailbox: don't free the channel if the startup callback failed

Sergey Senozhatsky <[email protected]>
mailbox: mtk-adsp: fix UAF during device teardown

Conor Dooley <[email protected]>
mailbox: mpfs: fix check for syscon presence in mpfs_mbox_inbox_isr()

Chen-Yu Tsai <[email protected]>
PCI: mediatek-gen3: Do full device power down on removal

Leo Yan <[email protected]>
coresight: Handle helper enable failure properly

Jie Gan <[email protected]>
coresight: Fix source not disabled on idr_alloc_u32 failure

Bard Liao <[email protected]>
soundwire: intel_ace2x: release bpt_stream when close it

Rafael J. Wysocki <[email protected]>
iio: light: acpi-als: Check ACPI_COMPANION() against NULL

Mihai Sain <[email protected]>
clk: at91: sam9x7: Fix gmac_gclk clock definition

Leo Yan <[email protected]>
perf pmu: Skip test on Arm64 when #slots is zero

Ian Rogers <[email protected]>
perf unwind: Refactor get_entries to allow dynamic libdw/libunwind selection

Ian Rogers <[email protected]>
perf pmu-events AMD: Switch l2_itlb_misses to bp_l1_tlb_miss_l2_tlb_miss.all

Andy Shevchenko <[email protected]>
phy: phy-can-transceiver: Check driver match and driver data against NULL

Qiang Yu <[email protected]>
PCI: qcom: Set max OPP before DBI access during resume

Manikanta Maddireddy <[email protected]>
PCI: dwc: Apply ECRC workaround for DesignWare cores prior to 5.10a

Biswapriyo Nath <[email protected]>
dt-bindings: clock: qcom,sm6125-dispcc: reference qcom,gcc.yaml

Luo Jie <[email protected]>
clk: qcom: cmnpll: Account for reference clock divider

Jie Gan <[email protected]>
coresight: fix missing error code when trace ID is invalid

Sumit Kumar <[email protected]>
bus: mhi: ep: Add missing state_lock protection for mhi_state access

Sumit Kumar <[email protected]>
bus: mhi: ep: Fix potential deadlock in mhi_ep_reset_worker()

Hsiu Che Yu <[email protected]>
rust: alloc: fix assert in Vec::reserve doc test

Rong Zhang <[email protected]>
PCI: loongson: Do not ignore downstream devices on external bridges

Florian Eckert <[email protected]>
PCI: intel-gw: Add .start_link() callback

Florian Eckert <[email protected]>
PCI: intel-gw: Enable clock before PHY init

Florian Eckert <[email protected]>
PCI: intel-gw: Move interrupt enable to own function

Ian Rogers <[email protected]>
perf tool: Fix missing schedstat delegates and dont_split_sample_group in delegate_tool

Ian Rogers <[email protected]>
perf sched: Add missing mmap2 handler in timehist

Rafael J. Wysocki <[email protected]>
platform/x86: xo15-ebook: Fix wakeup source and GPE handling

Rafael J. Wysocki <[email protected]>
x86/platform/olpc: xo15: Drop wakeup source on driver removal

Guixin Liu <[email protected]>
PCI: Check ROM header and data structure addr before accessing

Guixin Liu <[email protected]>
PCI: Introduce named defines for PCI ROM

Carlos Bilbao <[email protected]>
PCI/ASPM: Don't reconfigure ASPM entering low-power state

Leo Yan <[email protected]>
coresight: etm4x: Correct TRCVMIDCCTLR1 save and restore

James Clark <[email protected]>
coresight: ete: Always save state on power down

Leo Yan <[email protected]>
coresight: tmc: Fix overflow when calculating is bigger than 2GiB

Baoli.Zhang <[email protected]>
soundwire: fix bug in sdw_add_element_group_count found by syzkaller

Bard Liao <[email protected]>
soundwire: don't program SDW_SCP_BUSCLOCK_SCALE on a unattached Peripheral

Yingchao Deng <[email protected]>
coresight: cti: Fix DT filter signals silently ignored

Thomas Richter <[email protected]>
perf callchain: Handle multiple address spaces

Ian Rogers <[email protected]>
perf debuginfo: Fix libdw API contract violations

Ian Rogers <[email protected]>
perf annotate-data: Fix libdw API contract violations

Ian Rogers <[email protected]>
perf probe-finder: Fix libdw API contract violations

Ian Rogers <[email protected]>
perf libdw: Fix libdw API contract violations and memory leaks

Ian Rogers <[email protected]>
perf dwarf-aux: Fix libdw API contract violations

Ian Rogers <[email protected]>
perf dwarf-aux: Fix libdw segmentation fault in cu_walk_functions_at

Alexandru Hossu <[email protected]>
staging: nvec: fix use-after-free in nvec_rx_completed()

Maksym Pikhotskyi <[email protected]>
staging: rtl8723bs: fix stainfo check in rtw_aes_decrypt

Stanley Chu <[email protected]>
i3c: master: svc: Fix missed IBI after false SLVSTART on NPCM845

Mario Limonciello <[email protected]>
gpiolib: acpi: Only trigger ActiveBoth interrupts on boot

Nam Cao <[email protected]>
eventpoll: Fix epoll_wait() report false negative

Christian Brauner <[email protected]>

    eventpoll: rename epi->next and txlist for clarity

Christian Brauner <[email protected]>
eventpoll: expand top-of-file overview / locking doc

Gui-Dong Han <[email protected]>
9p: Add missing read barrier in virtio zero-copy path

Yizhou Zhao <[email protected]>

    net/9p: fix race condition on rdma->state in trans_rdma.c

Hongling Zeng <[email protected]>
9p: avoid returning ERR_PTR(0) from mkdir operations

Aleksandr Nogikh <[email protected]>
ocfs2: fix circular locking dependency in ocfs2_dio_end_io_write

Charles Keepax <[email protected]>
mfd: cs42l43: Sanity check firmware size

Matthew Bystrin <[email protected]>
mfd: rsmu: Fix page register setup

Matti Vaittinen <[email protected]>

    mfd: bd72720: Drop BUCK11 ID

Guangshuo Li <[email protected]>
ksmbd: fix use-after-free in same_client_has_lease()

Eric Dumazet <[email protected]>
net: serialize netif_running() check in enqueue_to_backlog()

Jacob Moroni <[email protected]>
RDMA/irdma: Replace waitqueue and flag with completion

Junxian Huang <[email protected]>
RDMA/hns: Fix memory leak of bonding resources

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Reject GET_TOGGLE_MEM when toggle page was not allocated

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Fail DBR related page allocation UAPIs if the feature is disabled

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Avoid repeated requests to allocate WC pages

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Proper rollback if the ioremap fails

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Add a max slot check for SQ

Sriharsha Basavapatna <[email protected]>
RDMA/bnxt_re: Enable app allocated QPs

Sriharsha Basavapatna <[email protected]>
RDMA/bnxt_re: Support doorbells for app allocated QPs

Sriharsha Basavapatna <[email protected]>
RDMA/bnxt_re: Enhance dbr usecnt logic in doorbell uapis

Sriharsha Basavapatna <[email protected]>
RDMA/bnxt_re: Update msn table size for app allocated QPs

Sriharsha Basavapatna <[email protected]>
RDMA/bnxt_re: Refactor bnxt_re_init_user_qp()

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Avoid displaying the kernel pointer

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Free CQ toggle page after firmware teardown

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Free SRQ toggle page after firmware teardown

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Initialize dpi variable to zero

Brett Creeley <[email protected]>
ionic: Fix check in ionic_get_link_ext_stats

Selvamani Rajagopal <[email protected]>
dt-bindings: net: updated interrupt type to be active low, level triggered

Selvamani Rajagopal <[email protected]>
net: ethernet: oa_tc6: Remove FCS size in RX frame

Selvamani Rajagopal <[email protected]>

    net: ethernet: oa_tc6: mdiobus->parent initialized with NULL

Meghana Malladi <[email protected]>
net: ti: icssg: Use undirected TX tag for XDP zero copy in HSR offload mode

Meghana Malladi <[email protected]>
net: ti: icssg: Use undirected TX tag for native XDP in HSR offload mode

Meghana Malladi <[email protected]>
net: ti: icssg-prueth: Fix AF_XDP fill ring alloc and wakeup condition

Wayen.Yan <[email protected]>
net: airoha: Fix always-true condition in PPE1 queue reservation loop

Eric Dumazet <[email protected]>

    tcp: ipv6: clamp default adverting MSS to avoid GSO_BY_FRAGS (0xFFFF)

Eric Dumazet <[email protected]>
tipc: fix UAF in tipc_l2_send_msg()

Gui-Dong Han <[email protected]>
KEYS: Use acquire when reading state in keyring search

Aboorva Devarajan <[email protected]>
powerpc/kexec: fix double get_cpu() imbalance in kexec_prepare_cpus

Aboorva Devarajan <[email protected]>
powerpc/powernv: fix preempt count leak in pnv_kexec_wait_secondaries_down

Aboorva Devarajan <[email protected]>
powerpc/perf: fix preempt count underflow in fsl_emb_pmu_del

Yadan Fan <[email protected]>
MIPS: mm: Fix out-of-bounds write in maar_res_walk()

Sechang Lim <[email protected]>
bpf, sockmap: fix integer overflow in bpf_msg_pop_data() bounds check

Kuniyuki Iwashima <[email protected]>
sockmap: Fix use-after-free in udp_bpf_recvmsg()

Weiming Shi <[email protected]>
bpf, sockmap: reject overflowing copy + len in bpf_msg_push_data()

Al Viro <[email protected]>
udf: fix nls leak on udf_fill_super() failure

Leon Hwang <[email protected]>
bpf: Fix bpf_get/setsockopt to tos for ipv4-mapped ipv6 socket

Leo Yan <[email protected]>
selftests/bpf: Initialize operation name before use

Jiri Olsa <[email protected]>
selftests/bpf: Fix typo in verify_umulti_link_info

Jiri Olsa <[email protected]>
bpf: Guard __get_user acesss with access_ok for uprobe_multi data

Nathan Chancellor <[email protected]>
btrfs: Drop WQ_PERCPU from ordered_flags in btrfs_init_workqueues()

Huiwen He <[email protected]>
smb/client: always return a value for FS_IOC_GETFLAGS

Jian Zhang <[email protected]>
cifs: remove all cifs files before kill super

Henrique Carvalho <[email protected]>
smb: client: fix conflicting option validation for new mount API

Takashi Iwai <[email protected]>
ALSA: core: Fix unintuitive behavior of snd_power_ref_and_wait()

Alice Mikityanska <[email protected]>
geneve: Fix off-by-one comparing with GRO_LEGACY_MAX_SIZE

Pablo Neira Ayuso <[email protected]>
netfilter: nf_dup_netdev: add nf_dev_xmit_recursion*() helpers and use them

Florian Westphal <[email protected]>
netfilter: nf_conncount: callers must hold rcu read lock

Cen Zhang <[email protected]>
ALSA: seq: avoid stale FIFO cells during resize

Cen Zhang <[email protected]>

    ALSA: seq: oss: Serialize readq reset state with q->lock

Runyu Xiao <[email protected]>
kcm: use WRITE_ONCE() when changing lower socket callbacks

Wayen.Yan <[email protected]>
net: airoha: Fix debugfs new-tuple display for IPv4 ROUTE entries

Wayen.Yan <[email protected]>
net: airoha: Fix register index for Tx-fwd counter configuration

Ratheesh Kannoth <[email protected]>
octeontx2-af: fix NPC mailbox codes in mbox.h

Ovidiu Panait <[email protected]>
net: bcmgenet: Use weighted round-robin TX DMA arbitration

Matthieu Buffet <[email protected]>
landlock: Fix unmarked concurrent access to socket family

Grzegorz Nitka <[email protected]>
dpll: balance create/delete notifications in __dpll_pin_(un)register

Grzegorz Nitka <[email protected]>
dpll: guard sync-pair removal on full pin unregister

Grzegorz Nitka <[email protected]>
dpll: emit per-dpll delete notifications in dpll_pin_on_pin_unregister()

Grzegorz Nitka <[email protected]>
dpll: send delete notification before unregister in on-pin rollback

Grzegorz Nitka <[email protected]>
dpll: fix stale iteration in dpll_pin_on_pin_unregister()

Ruoyu Wang <[email protected]>
net: wwan: t7xx: check skb_clone in control TX

Wentao Guan <[email protected]>
net: ethernet: mtk_wed: debugfs: correct index in wed_amsdu_show()

Wayen.Yan <[email protected]>
net: airoha: Fix error handling in airoha_ppe_flush_sram_entries()

Ratheesh Kannoth <[email protected]>
octeontx2-af: npc: Fix size of entry2cntr_map

Xu Kuohai <[email protected]>
bpf: Fix setting retval to -EPERM for cgroup hooks not returning errno

Dragos Tatulea <[email protected]>
net/mlx5: Check max_macs devlink param value against max capability

Sun Jian <[email protected]>
bpf: Run generic devmap egress prog on private skb

Victor Nogueira <[email protected]>
net/sched: sch_dualpi2: Add missing module alias

Zhi-Jun You <[email protected]>
net: ethernet: mtk_wed: fix loading WO firmware for MT7986

Eric Dumazet <[email protected]>
net: watchdog: fix refcount tracking races

Aditya Garg <[email protected]>
net: mana: guard TX wq object destroy with INVALID_MANA_HANDLE check

Aditya Garg <[email protected]>
net: mana: initialize gdma queue id to INVALID_QUEUE_ID

Victor Nogueira <[email protected]>
net/sched: sch_dualpi2: Do not call qdisc_tree_reduce_backlog during peek before restoring qlen

Victor Nogueira <[email protected]>
net/sched: sch_codel: Do not call qdisc_tree_reduce_backlog during peek before restoring qlen

Victor Nogueira <[email protected]>
net/sched: sch_fq_codel: Do not call qdisc_tree_reduce_backlog during peek before restoring qlen

Paolo Abeni <[email protected]>
virtio_net: do not allow tunnel csum offload for non GSO packets

Sechang Lim <[email protected]>
tcp: clear sock_ops cb flags before force-closing a child socket

Joe Damato <[email protected]>
bnxt: fix head underflow on XDP head-grow

Chuck Lever <[email protected]>
handshake: Require admin permission for DONE command

Lucas Tsai <[email protected]>
power: supply: core: fix supplied_from allocations

Dan Williams <[email protected]>
cxl/memdev: Pin parents for entire memdev lifetime

Dan Williams <[email protected]>
cxl/region: Resolve region deletion races

Dan Williams <[email protected]>
cxl/region: Block region delete during region creation

Guangshuo Li <[email protected]>
ASoC: adau1372: Clear PLL_EN on failed PLL lock without reset GPIO

David Matlack <[email protected]>
vfio: selftests: Ensure libvfio output dirs are always created

Li Ming <[email protected]>

    cxl/region: Fill first free targets[] slot during auto-discovery

Li Ming <[email protected]>
cxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()

Chia-Lin Kao (AceLan) <[email protected]>

    ASoC: sdw_utils: fix missing component_name for cs42l43 part_id 0x2A3B

Nicolin Chen <[email protected]>
iommu: Avoid copying the user array twice in the full-array copy helper

Lars Pöschel <[email protected]>
spi: xilinx: use FIFO occupancy register to determine buffer size

Alex Mastro <[email protected]>
iommufd: Clarify IOAS_MAP_FILE dma-buf support

Li RongQing <[email protected]>
iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path

HanQuan <[email protected]>
ALSA: seq: Fix kernel heap address leak in bounce_error_event()

Cássio Gabriel <[email protected]>
ALSA: usb-audio: qcom: Guard sideband endpoint removal

Herbert Xu <[email protected]>
crypto: rng - Free default RNG on module exit

Felix Gu <[email protected]>
crypto: cavium/cpt - fix DMA cleanup using wrong loop index

Felix Gu <[email protected]>
crypto: marvell/octeontx - fix DMA cleanup using wrong loop index

Dave Jiang <[email protected]>
cxl/test: Add check after kzalloc() memory in alloc_mock_res()

Dave Jiang <[email protected]>
cxl/test: Unregister cxl_acpi in cxl_test_init() error path

Michael Bommarito <[email protected]>
tipc: reject inverted service ranges from peer bindings

Michael Bommarito <[email protected]>
tipc: prevent snt_unacked underflow on CONN_ACK

Michael Bommarito <[email protected]>
tipc: require net admin for TIPCv2 netlink mutators

Victor Nogueira <[email protected]>
net/sched: sch_hfsc: Don't make class passive twice

Daniel Borkmann <[email protected]>
net: Stop leased rxq before uninstalling its memory provider

Samuel Moelius <[email protected]>
net: pfcp: allocate per-cpu tstats for PFCP netdevs

Xin Long <[email protected]>
sctp: validate embedded address parameter length

Xiang Mei <[email protected]>
bridge: cfm: reject invalid CCM interval at configuration time

Kuniyuki Iwashima <[email protected]>
net: fib_rules: Don't dump dying fib_rule in fib_rules_dump().

Kuniyuki Iwashima <[email protected]>
ipv4: fib: Don't dump dying fib_info in fib_leaf_notify().

Jamal Hadi Salim <[email protected]>
net/sched: cls_flow: Dont expose folded kernel pointers

George Moussalem <[email protected]>
net: dsa: qca8k: fix led devicename when using external mdio bus

Cássio Gabriel <[email protected]>
ASoC: topology: Check PCM and DAI name strings before use

HyeongJun An <[email protected]>
ASoC: tegra: tegra210_ahub: Validate written enum value

HyeongJun An <[email protected]>
ASoC: fsl: fsl_audmix: Validate written enum values

HyeongJun An <[email protected]>
ASoC: meson: aiu: Validate written enum values

HyeongJun An <[email protected]>
ASoC: codecs: hdac_hdmi: Validate written enum value

Arnd Bergmann <[email protected]>
ASoC: SOF: Intel: hda-sdw-bpt: select SND_SOF_SOF_HDA_SDW_BPT properly

Arnd Bergmann <[email protected]>
ASoC: SOF: Intel: select SND_SOC_SDW_UTILS=y from SND_SOC_SOF_HDA_GENERIC=y

Richard Fitzgerald <[email protected]>
ASoC: cs35l56: Fix wrong error test on simple_write_to_buffer()

Leon Romanovsky <[email protected]>
RDMA/mlx5: Release the HW‑provided UAR index rather than the SW one

Maher Sanalla <[email protected]>
RDMA/mlx5: Fix undefined shift of user RQ WQE size

Patrisious Haddad <[email protected]>
RDMA/mlx5: Remove raw RSS QP restrack tracking

Patrisious Haddad <[email protected]>
RDMA/mlx5: Remove DCT restrack tracking

Maxwell Doose <[email protected]>
fs: efs: remove unneeded debug prints

Michael Guralnik <[email protected]>
RDMA/mlx5: Drop FRMR pool handle on UMR revoke failure

Michael Guralnik <[email protected]>
RDMA/core: Add ib_frmr_pool_drop for unrecoverable handles

Michael Guralnik <[email protected]>
RDMA/core: Fix FRMR handle leak on push failure

Michael Guralnik <[email protected]>
RDMA/core: Avoid NULL dereference on FRMR bad usage

Michael Guralnik <[email protected]>
RDMA/core: Fix FRMR set pinned push error path

Michael Guralnik <[email protected]>
RDMA/core: Fix FRMR aging push to queue error flow

Michael Guralnik <[email protected]>
RDMA/core: Fix skipped usage for driver built FRMR key

Michael Guralnik <[email protected]>
RDMA/mlx5: Fix TPH extraction in FRMR pool key

Michael Guralnik <[email protected]>
RDMA/mlx5: Fix mkey creation error flow rollback

Samuel Moelius <[email protected]>
Bluetooth: vhci: validate devcoredump state before side effects

Samuel Moelius <[email protected]>
Bluetooth: hci: validate codec capability element length

Sai Teja Aluvala <[email protected]>
Bluetooth: btintel_pcie: Load IOSF debug regs by controller variant

Zhao Dongdong <[email protected]>
Bluetooth: btmtk: fix URB leak in alloc_mtk_intr_urb error path

Jordan Walters <[email protected]>
Bluetooth: hci_core: Fix UAF in hci_unregister_dev()

Jiajia Liu <[email protected]>
Bluetooth: hci_event: fix simultaneous discovery stuck in FINDING

Weiming Shi <[email protected]>
Bluetooth: eir: Fix stack OOB write when prepending the Flags AD

Zijun Hu <[email protected]>
Bluetooth: hci_qca: fix NULL pointer dereference in qca_dmp_hdr() for non-serdev device

Zijun Hu <[email protected]>
Bluetooth: hci_qca: fix NULL pointer dereference in qca_setup() for non-serdev device

Heiko Carstens <[email protected]>
s390/process: Fix kernel thread function pointer type

Richard Fitzgerald <[email protected]>
ASoC: cs35l56: Fix possible uninitialized value in cs35l56_spi_system_reset()

Andre Przywara <[email protected]>
arm64: dts: allwinner: a523: Add missing GPIO interrupt

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7583: remove undefined groups from pcm_spi pin function

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7583: fix phy1_led1 pin function

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7583: add missed gpio22 pin group

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7583: fix gpio21 pin group

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: fix pwm pin function for an7581 and an7583

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7583: fix incorrect led mapping in phy4_led1 pin function

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7581: fix incorrect led mapping in phy4_led1 pin function

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7583: fix misprint in gpio19 pinconf

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7581: fix misprint in gpio19 pinconf

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7583: add missed gpio32 pin group

Mikhail Kshevetskiy <[email protected]>
pinctrl: airoha: an7581: add missed gpio32 pin group

Andre Przywara <[email protected]>
pinctrl: sunxi: a523: Remove unneeded IRQ remuxing flag

Angelo Dureghello <[email protected]>
m68k: mcf5441x: fix clocks numbering

Daniel Borkmann <[email protected]>
bpf: Tighten cgroup storage cookie checks for prog arrays

Giovanni Cabiddu <[email protected]>
vfio/qat: fix f_pos race in qat_vf_resume_write()

Sergey Shtylyov <[email protected]>
of: cpu: add check in __of_find_n_match_cpu_property()

Dave Jiang <[email protected]>
cxl/test: Zero out LSA backing memory to avoid leaking to user

Dave Jiang <[email protected]>
cxl/test: Fix integer overflow in mock LSA bounds checks

Dave Jiang <[email protected]>

    cxl/test: Verify cmd->size_in before accessing payload

Yonghong Song <[email protected]>
selftests/bpf: Fix bpf_iter/task_vma test

Yun Zhou <[email protected]>
ext4: validate donor file superblock early in EXT4_IOC_MOVE_EXT

Aditya Prakash Srivastava <[email protected]>
ext4: fix kernel BUG in ext4_write_inline_data_end

Louis Scalbert <[email protected]>
bonding: 3ad: fix mux port state on oper down

Louis Scalbert <[email protected]>
bonding: 3ad: fix carrier when no usable slaves

Louis Scalbert <[email protected]>
bonding: 3ad: add lacp_strict configuration knob

Louis Scalbert <[email protected]>
netlink: specs: rt-link: missed broadcast-neigh

Louis Scalbert <[email protected]>
tools: missed broadcast_neigh if_link uapi header

Hongling Zeng <[email protected]>

    ext4: fix ERR_PTR(0) in ext4_mkdir()

Pei Xiao <[email protected]>
hwmon: (gpd-fan): fix race condition between device removal and sysfs access

Pei Xiao <[email protected]>
hwmon: (gpd-fan): Initialize EC before registering hwmon device

Pei Xiao <[email protected]>
hwmon: (gpd-fan): drop global driver data and use per-device allocation

Richard Fitzgerald <[email protected]>
ASoC: cs35l56: Don't leave parent IRQ disabled if system_suspend fails

Richard Fitzgerald <[email protected]>
ASoC: cs35l56: Cleanup if component_probe fails

Richard Fitzgerald <[email protected]>
ASoC: cs35l56: Prevent double-free of debugfs

Richard Fitzgerald <[email protected]>
ASoC: cs35l56: Fix missing calls to wm_adsp2_remove()

Christoph Hellwig <[email protected]>
iomap: pass the correct len to fserror_report_io in __iomap_write_begin

Srujana Challa <[email protected]>
vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler

Srujana Challa <[email protected]>

    vdpa/octeon_ep: Fix PF->VF mailbox data address calculation

Arnd Bergmann <[email protected]>
vduse: fix compat handling for VDUSE_IOTLB_GET_FD/VDUSE_VQ_GET_INFO

longlong yan <[email protected]>
tools/virtio: check mmap return value in vringh_test

Qing Ming <[email protected]>
vhost/net: complete zerocopy ubufs only once

Zhang Tianci <[email protected]>
vduse: Requeue failed read to send_list head

Filip Hejsek <[email protected]>
virtio_console: read size from config space during device init

Jia Jia <[email protected]>
virtio: rtc: tear down old virtqueues before restore

Qihang Tang <[email protected]>
vhost/vdpa: validate virtqueue index in mmap and fault paths

Qihang Tang <[email protected]>
vduse: hold vduse_lock across IDR lookup in open path

Enric Balletbo i Serra <[email protected]>
clocksource: move NXP timer selection to drivers/clocksource

Justin Suess <[email protected]>
bpf: Cancel special fields on map value recycle

Val Packett <[email protected]>
ASoC: codecs: aw88261: fix incorrect masks for boost regs

Ruoyu Wang <[email protected]>
spi: meson-spifc: fix runtime PM leak on remove

Chuck Lever <[email protected]>
lockd: Avoid hashing uninitialized bytes in nlm4svc_lookup_file()

Chuck Lever <[email protected]>
lockd: Do not monitor when looking up the LOCK_MSG callback host

Chuck Lever <[email protected]>
lockd: Translate nlm__int__deadlock in __nlm4svc_proc_lock_msg()

Chuck Lever <[email protected]>
lockd: Stop warning on nlm__int__drop_reply in !V4 cast_status

Chuck Lever <[email protected]>
NFSD: Handle layout stid in nfsd4_drop_revoked_stid()

Jason Gunthorpe <[email protected]>
IB/mlx4: Fill in the access_flags if IB_MR_REREG_ACCESS is not specified

Cássio Gabriel <[email protected]>
ASoC: sma1307: Fix uevent string leaks in fault worker

KhaiWenTan <[email protected]>
igc: skip RX timestamp header for frame preemption verification

Larysa Zaremba <[email protected]>
ixgbe: do not configure xps for XDP queues

Weiming Shi <[email protected]>
btrfs: lzo: reject compressed segment that overflows the compressed input

Filipe Manana <[email protected]>
btrfs: fix deadlock cloning inline extent when using flushoncommit

Cen Zhang <[email protected]>
btrfs: annotate lockless read of defrag_bytes in should_nocow()

Johannes Thumshirn <[email protected]>
btrfs: zoned: always set max_active_zones for zoned devices

Matthew Wilcox (Oracle) <[email protected]>
Revert "btrfs: fix the file offset calculation inside btrfs_decompress_buf2page()"

Johannes Thumshirn <[email protected]>
btrfs: zoned: fix deadlock waiting for ticket during data relocation

Johannes Thumshirn <[email protected]>
btrfs: zoned: don't account data relocation space-info in statfs free space

Yuho Choi <[email protected]>
PM: QoS: Fix misc device registration unwind

Nikita Zhandarovich <[email protected]>
hwmon: (it87) Clamp negative values to zero in set_fan()

Jeff Layton <[email protected]>
vfs: add FS_USERNS_DELEGATABLE flag and set it for NFS

Sumit Gupta <[email protected]>
memory: tegra186-emc: stop borrowing MC aggregate hook for EMC

David Laight <[email protected]>
fbdev: sm501fb: Fix buffer errors in OF binding code

Helge Deller <[email protected]>
fbdev/arm: Export acorndata_8x8 font symbol for bootloader

Wen Gong <[email protected]>
wifi: ath12k: enable IEEE80211_VHT_EXT_NSS_BW_CAPABLE when NSS ratio is reported

Baochen Qiang <[email protected]>
wifi: ath12k: fix EAPOL TX failure caused by stale tcl_metadata bits

Sergio Paracuellos <[email protected]>
gpio: mt7621: fix interrupt banks mapping on gpio chips

Takashi Iwai <[email protected]>
ALSA: aloop: Drop superfluous break

Filipe Manana <[email protected]>
btrfs: fix invalid pointer dereference in __btrfs_run_delayed_refs()

Ryder Lee <[email protected]>
wifi: mt76: mt7996: fix potential tx_retries underflow

Ryder Lee <[email protected]>
wifi: mt76: mt7925: fix potential tx_retries underflow

Ryder Lee <[email protected]>
wifi: mt76: mt7921: fix potential tx_retries underflow

Ryder Lee <[email protected]>
wifi: mt76: mt7915: fix potential tx_retries underflow

Bjoern A. Zeeb <[email protected]>

    wifi: mt76: fix argument to ieee80211_is_first_frag()

Dylan Eskew <[email protected]>
wifi: mt76: mt7996: limit work in set_bitrate_mask

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7996: remove redundant pdev->bus check in probe

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7996: fix reading zeroed info->control.flags after mt76_tx_status_skb_add()

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7996: Fix possible NULL pointer dereference in mt7996_mac_write_txwi_80211()

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7996: Fix possible token leak in mt7996_tx_prepare_skb()

Aviel Zohar <[email protected]>
wifi: mt76: mt7925: validate skb length in testmode query

Sean Wang <[email protected]>
wifi: mt76: mt792x: skip MLD header rewrite for 802.3 encap TX

Sean Wang <[email protected]>
wifi: mt76: mt7925: keep TX BA state in the primary WCID

Javier Tia <[email protected]>
wifi: mt76: mt7925: fix stale pointer comparisons in change_vif_links

Lorenzo Bianconi <[email protected]>
wifi: mt76: mt7996: Fix NULL pointer dereference in mt7996_init_tx_queues()

Felix Fietkau <[email protected]>
wifi: mt76: mt7996: add missing max_remain_on_channel_duration

Rajat Gupta <[email protected]>
wifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_phy_link

Hongling Zeng <[email protected]>
wifi: mt76: mt7921: fix resource leak in probe error path

Myeonghun Pak <[email protected]>
wifi: mt76: mt7925: clean up DMA on probe failure

Krzysztof Kozlowski <[email protected]>
ARM: configs: Drop duplicated CONFIG_EXT4_FS

Hongyan Xia <[email protected]>
sched/fair: Fix cpu_util runnable_avg arithmetic

Wolfram Sang <[email protected]>
hwspinlock: qcom: avoid uninitialized struct members

Alexandru Gagniuc <[email protected]>
remoteproc: qcom_q6v5_wcss: drop redundant wcss_q6_bcr_reset

Miguel Ojeda <[email protected]>
rust: kbuild: show the right quiet_cmd_rustc_procmacrolibrary

Hui Zhu <[email protected]>
vmalloc: fix NULL pointer dereference in is_vm_area_hugepages()

Hao Ge <[email protected]>
lib/test_hmm: fix memory leak in dmirror_migrate_to_system()

Jason Gunthorpe <[email protected]>
iommufd: Destroy the pages content after detaching from dmabuf

Ankit Soni <[email protected]>
iommufd: Take dma_resv lock before dma_buf_unpin() in release path

Timur Tabi <[email protected]>
pinctrl: PINCTRL_STMFX should depend on CONFIG_OF

Yu-Chun Lin <[email protected]>
dt-bindings: pinctrl: realtek,rtd1625: Fix input voltage property name

Luca Leonardo Scorcia <[email protected]>
pinctrl: mediatek: mt8167: Fix Schmitt trigger register offset of pins 34-39

Luca Leonardo Scorcia <[email protected]>
pinctrl: mediatek: mt8516: Fix Schmitt trigger register offset of pins 34-39

Mike Christie <[email protected]>
scsi: target: Remove tcm_loop target reset handling

Hongjie Fang <[email protected]>
scsi: ufs: core: Handle PM commands timeout before SCSI EH

David Disseldorp <[email protected]>
scsi: target: Fix hexadecimal CHAP_I handling

Sneh Mankad <[email protected]>
pinctrl: qcom: Fix resolving register base address from device node

Yuho Choi <[email protected]>
watchdog: unregister PM notifier on watchdog unregister

Al Viro <[email protected]>

    configfs: fix lockless traversals of ->s_children

Dmitry Vyukov <[email protected]>
firmware_loader: Fix recursive lock in device_cache_fw_images()

Aaron Ma <[email protected]>
ASoC: amd: acp-sdw-sof: Bound DAI link iteration

Aaron Ma <[email protected]>
ASoC: amd: acp-sdw-legacy: Bound DAI link iteration

Felix Gu <[email protected]>
spi: ep93xx: fix double-free of zeropage on DMA setup failure

Jason Gunthorpe <[email protected]>

    IB/mlx5: Don't mangle the mr->pd inside the rereg callback

Jason Gunthorpe <[email protected]>
IB/mlx5: Pull the pdn out of the depths of the umr machinery

Jason Gunthorpe <[email protected]>
IB/mlx5: Remove unused mkc bits in mlx5r_umr_update_mr_page_shift()

Jason Gunthorpe <[email protected]>

    RDMA/nldev: Fix locking when accessing mr->pd

Jason Gunthorpe <[email protected]>
IB/mlx5: Properly support implicit ODP rereg_mr

Jason Gunthorpe <[email protected]>
IB/mlx5: Don't take the rereg_mr fallback without a new translation

Bryam Vargas <[email protected]>
ntfs: fix u16 truncation of restart-area length check

Bryam Vargas <[email protected]>
ntfs: bound the attribute-list entry in ntfs_read_inode_mount()

Bryam Vargas <[email protected]>
ntfs: bound the look-ahead attribute-list entry in ntfs_external_attr_find()

Bryam Vargas <[email protected]>
ntfs: validate resident attribute lists and harden the validator

Mark Harmstone <[email protected]>
btrfs: don't force DIO writes to be serialized

Samuel Moelius <[email protected]>
thermal: testing: reject missing command arguments

Pengjie Zhang <[email protected]>
cpufreq: Documentation: fix conservative governor freq_step description

Tony W Wang-oc <[email protected]>
ACPI: processor: Add cpuidle driver check in acpi_processor_register_idle_driver()

Yuho Choi <[email protected]>
ACPI: IPMI: Fix message kref handling on dead device

Sechang Lim <[email protected]>
bpf: Fix NULL pointer dereference in bpf_task_from_vpid()

Bartosz Golaszewski <[email protected]>
powerpc/8xx: implement get_direction() in cpm1

Bryam Vargas <[email protected]>
wifi: mac80211: bound S1G TIM PVB walk to the TIM element

David Gow <[email protected]>
kunit:tool: Don't write to stdout when it should be disabled

Mykyta Yatsenko <[email protected]>
bpf: Fix NMI/tracepoint re-entry deadlock on lru locks

Christian Brauner <[email protected]>
filelock: fix break_lease() stub signature for CONFIG_FILE_LOCKING=n

David Carlier <[email protected]>
netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag

David Windsor <[email protected]>
bpf: Reject sleepable BPF_LSM_CGROUP programs at load time

Mykyta Yatsenko <[email protected]>
bpf: Verifier support for sleepable tracepoint programs

Thomas Weißschuh <[email protected]>
riscv: alternative: Also patch the CFI vDSO

Thomas Weißschuh <[email protected]>
riscv: alternative: Pass vDSO start as parameter to apply_vdso_alternatives()

Thomas Weißschuh <[email protected]>
riscv: alternative: Use IS_ENABLED() over ifdeffery for apply_vdso_alternatives()

Kyle Zeng <[email protected]>
ALSA: seq: Clear variable event pointer on read

Rui Qi <[email protected]>

    riscv: stacktrace: Remove bogus -0x4 offset in non-FP walk_stackframe

Hui Wang <[email protected]>
riscv: cpu_ops: Change return value type of cpu_is_stopped() to bool

Cássio Gabriel <[email protected]>
ALSA: pcm: Fix unlocked runtime state reads in xfer ioctls

HyeongJun An <[email protected]>
ALSA: seq: Fix partial userptr event expansion

Tristan Madani <[email protected]>
wifi: wcn36xx: fix OOB read from short trigger BA firmware response

Tristan Madani <[email protected]>
wifi: wcn36xx: fix OOB read from firmware count in PRINT_REG_INFO indication

Tristan Madani <[email protected]>
wifi: wcn36xx: fix heap overflow from oversized firmware HAL response

Christian Brauner <[email protected]>
kernfs: link kn to its parent before the LSM init hook

Miklos Szeredi <[email protected]>
simpe_xattr: use per-sb cache

Miklos Szeredi <[email protected]>
simple_xattr: change interface to pass struct simple_xattrs **

Miklos Szeredi <[email protected]>
tmpfs: simplify constructing "security.foo" xattr names

Miklos Szeredi <[email protected]>
kernfs: fix xattr race condition with multiple superblocks

Leon Hwang <[email protected]>
bpf: Update transport_header when encapsulating UDP tunnel in lwt

Leon Hwang <[email protected]>
bpf: Check tail zero of bpf_prog_info

Leon Hwang <[email protected]>
bpf: Check tail zero of bpf_map_info

Kaitao Cheng <[email protected]>
bpf: Clear rb node linkage when freeing bpf_rb_root

Mykyta Yatsenko <[email protected]>
selftests/bpf: Fix flaky file_reader test

Bernard Metzler <[email protected]>
RDMA/siw: Fix endpoint/socket association handling

Nora Schiffer <[email protected]>

    arm64: dts: freescale: fsl-ls1028a-tqmls1028a-mbls1028a: switch mmc aliases

Frieder Schrempf <[email protected]>
arm64: dts: imx8mp-kontron: Fix GPIO for display power switch

Alexander Stein <[email protected]>
arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in audio codec as well

Josua Mayer <[email protected]>
arm64: dts: lx2162a-clearfog: use rev2 SoC dtsi

Richard Zhu <[email protected]>
arm64: dts: imx95: Correct PCIe outbound address space configuration

Alice Guo <[email protected]>
arm64: dts: imx94: fix DDR PMU interrupt number

Frieder Schrempf <[email protected]>
arm64: dts: imx8mp-kontron: Reduce EERAM SPI clock frequency

Jacob Moroni <[email protected]>

    RDMA/irdma: Initialize iwmr->access during MR registration

Jacob Moroni <[email protected]>
RDMA/irdma: Fix OOB read during CQ MR registration

Oliver Hartkopp <[email protected]>
ALSA: hda: fix Kconfig dependency of HD Audio PCI

Jason Gunthorpe <[email protected]>
IB/cm: Fix av cm device leak on an error path in cm_init_av_by_path()

Arnd Bergmann <[email protected]>
RDMA/hfi1: Open-code rvt_set_ibdev_name()

DaeMyung Kang <[email protected]>
ntfs: free link name from ntfs_name_cache

Pablo Neira Ayuso <[email protected]>
netfilter: conntrack: call nf_ct_gre_keymap_destroy() if master helper is pptp

Pablo Neira Ayuso <[email protected]>
netfilter: conntrack: revert ct extension genid infrastructure

Junxiao Chang <[email protected]>
x86/cpu: Remove obsolete aperfmperf_get_khz() declaration

Shengming Hu <[email protected]>
mm/slub: preserve original size in _kmalloc_nolock_noprof retry path

Cássio Gabriel <[email protected]>
ALSA: usb-audio: qcom: Initialize offload control return value

Pablo Neira Ayuso <[email protected]>
netfilter: cttimeout: detach dataplane timeout policy and repurpose refcount

Fernando Fernandez Mancera <[email protected]>
netfilter: synproxy: protect nf_ct_seqadj_init() with conntrack lock

Fernando Fernandez Mancera <[email protected]>
netfilter: synproxy: fix unaligned memory access in timestamp adjustment

Fernando Fernandez Mancera <[email protected]>
netfilter: synproxy: adjust duplicate timestamp options

Fernando Fernandez Mancera <[email protected]>
netfilter: synproxy: drop packets if timestamp adjustment fails

Pablo Neira Ayuso <[email protected]>
netfilter: nfnetlink_cthelper: use {READ,WRITE}_ONCE for accessing helper flags

Fernando Fernandez Mancera <[email protected]>
netfilter: nfnetlink_osf: fix mss parsing on big-endian architectures

Dave Jiang <[email protected]>
cxl/pci: Convert PCIBIOS errors to errno on DVSEC config accesses

Dave Jiang <[email protected]>
cxl/pci: Fix the incorrect check of pci_read_config_word() return

Ian Bridges <[email protected]>
ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent

Joseph Qi <[email protected]>
ocfs2: fix race between ocfs2_control_install_private() and ocfs2_control_release()

Zhang Cen <[email protected]>
ocfs2/dlm: require a ref for locking_state debugfs open

Zhang Cen <[email protected]>
ocfs2: reject FITRIM ranges shorter than a cluster

Zhang Cen <[email protected]>
ocfs2: validate fast symlink target during inode read

Dmitry Antipov <[email protected]>
ocfs2: fix buffer head management in ocfs2_read_blocks()

Thomas Weißschuh <[email protected]>
lib: kunit_iov_iter: repeatedly call alloc_pages_bulk()

Zhang Cen <[email protected]>
ocfs2: rebase copied fsdlm LVB pointers in locking_state

Wandun Chen <[email protected]>
of: reserved_mem: avoid post-init UAF when alloc_reserved_mem_array() fails

Alex Deucher <[email protected]>
drm/amdkfd: always resume_all after suspend_all

Alexei Starovoitov <[email protected]>
bpf: Take mmap_lock in zap_pages()

Dan Williams <[email protected]>
cxl/test: Fix __fortify_panic

Dan Williams <[email protected]>
cxl/fwctl: Fix __fortify_panic

Andreas Kemnade <[email protected]>
wifi: wlcore: enable the right set of ciphers

Antony Antony <[email protected]>
xfrm: fix NAT-related field inheritance in SA migration

Sandipan Das <[email protected]>
perf/x86/amd/uncore: Use Node ID to identify DF and UMC domains

Zide Chen <[email protected]>
perf/x86/intel/uncore: Fix PCI device refcount leak in UPI discovery

Zide Chen <[email protected]>
perf/x86/intel/uncore: Fix discovery unit lookup for multi-die systems

Sandipan Das <[email protected]>
perf/x86/amd/core: Always use the NMI latency mitigation

Christian Brauner <[email protected]>
eventpoll: wrap EP_UNACTIVE_PTR in typed sentinel helpers

Christian Brauner <[email protected]>
eventpoll: extract ep_deliver_event() from ep_send_events()

Christian Brauner <[email protected]>
eventpoll: split ep_insert() into alloc + register stages

Christian Brauner <[email protected]>
eventpoll: rename attach_epitem() to ep_attach_file()

Jeff Layton <[email protected]>
mm: preserve PG_dropbehind flag during folio split

Pranjal Shrivastava <[email protected]>
iommu/vt-d: Fix RB-tree corruption in probe error path

Michael S. Tsirkin <[email protected]>
vhost: fix vhost_get_avail_idx for a non empty ring

Woojin Ji <[email protected]>
bpftool: Use libbpf error code for flow dissector query

Lizhi Hou <[email protected]>
accel/amdxdna: Return errors for failed debug BO commands

Yunxiang Li <[email protected]>
drm/amdgpu: set sub_block_index for mca ras sub-blocks

Vitaly Prosyak <[email protected]>
drm/amd/pm: Add empty string validation to sysfs store functions

Vitaly Prosyak <[email protected]>
drm/amdgpu: fix KASAN slab-out-of-bounds in amdgpu_coredump ring dump

Marek Szyprowski <[email protected]>
irqchip/exynos-combiner: Remove useless spinlock

Li Chen <[email protected]>
ext4: fix fast commit wait/wake bit mapping on 64-bit

Karl Mehltretter <[email protected]>
lockdep/selftests: Restore sched_rt_mutex state on PREEMPT_RT

Karl Mehltretter <[email protected]>
lockdep/selftests: Restore migrate_disable() state on PREEMPT_RT

Al Viro <[email protected]>

    configfs_lookup(): don't leave ->s_dentry dangling on failure

Inochi Amaoto <[email protected]>
riscv: dts: sophgo: sg2042: use hex for CPU unit address

Inochi Amaoto <[email protected]>
riscv: dts: sophgo: sg2044: use hex for CPU unit address

Alexander Potapenko <[email protected]>

    lib/test_meminit: use && for bools

Frederic Weisbecker <[email protected]>
tick/sched: Fix TOCTOU in nohz idle time fetch

Daniel Borkmann <[email protected]>
bpf: Reject exclusive maps for bpf_map_elem iterators

Nathan Chancellor <[email protected]>
driver core: Use system_percpu_wq instead of system_wq

liuxixin <[email protected]>
nvme: fix FDP fdpcidx bounds check

Guanyou.Chen <[email protected]>
sched: restore timer_slack_ns when resetting RT policy on fork

Danila Chernetsov <[email protected]>
ext2: fix ignored return value of generic_write_sync()

Sang-Heon Jeon <[email protected]>
mm/fake-numa: fix under-allocation detection in uniform split

Deepanshu Kartikey <[email protected]>
bpf: fix UAF by restoring RCU-delayed inode freeing in bpffs

Chanwoo Lee <[email protected]>
scsi: ufs: Fix wrong value printed in unexpected UPIU response case

Dan Carpenter <[email protected]>
scsi: pm8001: Fix error code in non_fatal_log_show()

Daniel Borkmann <[email protected]>
libbpf: Skip max_entries override on signed loaders

Daniel Borkmann <[email protected]>
libbpf: Skip initial_value override on signed loaders

KP Singh <[email protected]>
libbpf: Reject non-exclusive metadata maps in the signed loader

Daniel Borkmann <[email protected]>
bpf: Reject exclusive maps as inner maps in map-in-map

Martin Wilck <[email protected]>
scsi: Revert "scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans"

Neal Cardwell <[email protected]>
tcp_bbr: fix SPDX-License-Identifier to be GPL-2.0 OR BSD-3-Clause

Alison Schofield <[email protected]>
nvdimm/btt: Handle preemption in BTT lane acquisition

Randy Dunlap <[email protected]>
x86/cpu: Keep the PROCESSOR_SELECT menu together

Yuho Choi <[email protected]>
ARM: imx31: Fix IIM mapping leak in revision check

Rafael J. Wysocki <[email protected]>
ACPI: button: Fix lid_device value leak past driver removal

Bart Van Assche <[email protected]>
ata: libata: Fix ata_exec_internal()

Wei Zhang <[email protected]>
wifi: ath12k: fix NULL deref in change_sta_links for unready link

Wei Zhang <[email protected]>
wifi: ath12k: fix inconsistent arvif state in vdev_create error paths

Miaoqing Pan <[email protected]>
wifi: ath12k: fix memory leak in ath12k_wifi7_dp_rx_h_verify_tkip_mic()

Kwan Lai Chee Hou <[email protected]>
wifi: ath12k: fix incorrect HT/VHT/HE/EHT MCS reporting in monitor mode

J. Neuschäfer <[email protected]>
HID: wiimote: Fix table layout and whitespace errors

Yuho Choi <[email protected]>
ARM: imx3: Fix CCM node reference leak

Chuck Lever <[email protected]>
NFSD: Fix delegation reference leak in nfsd4_revoke_states

John Madieu <[email protected]>
ASoC: rsnd: Fix RSND_SOC_MASK width to single nibble

Carlos Song <[email protected]>
spi: imx: replace dmaengine_terminate_all() with dmaengine_terminate_sync()

Felix Gu <[email protected]>
spi: atmel: fix DMA channel and bounce buffer leaks

Zhang Yi <[email protected]>
ext4: fix LOGFLUSH shutdown ordering to allow ordered-mode data writeback

Pasha Tatashin <[email protected]>
liveupdate: fix u-a-f in luo_file_unpreserve_files() and luo_file_finish()

Pasha Tatashin <[email protected]>
liveupdate: block session mutations during reboot

Pasha Tatashin <[email protected]>
liveupdate: fix TOCTOU race in luo_session_retrieve()

Pasha Tatashin <[email protected]>
liveupdate: skip serialization for context-preserving kexec

Daniel Borkmann <[email protected]>
libbpf: Skip endianness swap when loader generation failed

Daniel Borkmann <[email protected]>
libbpf: Skip hash computation when loader generation failed

David Matlack <[email protected]>
liveupdate: Reference count incoming FLB data

David Matlack <[email protected]>
liveupdate: Use refcount_t for FLB reference counts

Yuyang Huang <[email protected]>
selftests/bpf: add verification for BPF_PROG_QUERY attr size boundaries

Yuyang Huang <[email protected]>
bpf: fix BPF_PROG_QUERY OOB write and cgroup backward compat

Abd-Alrhman Masalkhi <[email protected]>
raid1: fix nr_pending leak in REQ_ATOMIC bad-block error path

Abd-Alrhman Masalkhi <[email protected]>
md/raid1,raid10: fix bio accounting for split md cloned bios

Abd-Alrhman Masalkhi <[email protected]>
md/raid1,raid10: fix error-path detection with md_cloned_bio()

Abd-Alrhman Masalkhi <[email protected]>
md/raid1,raid10: fix deadlock in read error recovery path

Chen Cheng <[email protected]>
md/raid10: reset read_slot when reusing r10bio for discard

Marek Vasut <[email protected]>
arm64: dts: renesas: ironhide: Describe all reserved memory

Marek Vasut <[email protected]>
arm64: dts: renesas: r8a78000: Fix GIC-720AE View 1 Redistributor description

Danilo Krummrich <[email protected]>
rpmsg: use generic driver_override infrastructure

Danilo Krummrich <[email protected]>
Drivers: hv: vmbus: use generic driver_override infrastructure

Danilo Krummrich <[email protected]>
cdx: use generic driver_override infrastructure

Danilo Krummrich <[email protected]>
amba: use generic driver_override infrastructure

Renjiang Han <[email protected]>
media: qcom: venus: relax encoder frame/blur step size on v6

Renjiang Han <[email protected]>
media: qcom: venus: relax encoder frame/blur dimension steps on v4

Renjiang Han <[email protected]>
media: qcom: venus: drop extra padding in NV12 raw size calculation

Dmitry Baryshkov <[email protected]>
Revert "media: venus: hfi_platform: Correct supported codecs for sc7280"

Yixun Lan <[email protected]>
dts: riscv: spacemit: k3: Fix I/O power settings

Tristan Madani <[email protected]>
RDMA/rxe: Copy WQE to local buffer in non-SRQ receive path

Tristan Madani <[email protected]>
RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe

Jiri Pirko <[email protected]>
RDMA/umem: Add ib_umem_is_contiguous() stub for !CONFIG_INFINIBAND_USER_MEM

Jinseok Kim <[email protected]>
arm: dts: bcm2711: Fix typo in gpio-line-names

Marek Vasut <[email protected]>
arm64: dts: st: Fix SAI addresses on stm32mp251

zhoumin <[email protected]>
EDAC/{skx_common,skx}: Fix UBSAN shift-out-of-bounds in skx_get_dimm_info

Qiuxu Zhuo <[email protected]>
EDAC/igen6: Fix memory topology parsing for Panther Lake-H SoCs

Qiuxu Zhuo <[email protected]>
EDAC/igen6: Fix call trace due to missing release()

Akhil P Oommen <[email protected]>
drm/msm/a8xx: Fix RSCC offset

Akhil P Oommen <[email protected]>
drm/msm/a8xx: Make a8xx_recover IFPC safe

Arnd Bergmann <[email protected]>
firmware: samsung: acpm: remove compile-testing stubs

Tudor Ambarus <[email protected]>
firmware: samsung: acpm: Add devm_acpm_get_by_phandle helper

Jessica Zhang <[email protected]>
drm/msm/dp: Fix the ISR_* enum values

Jessica Zhang <[email protected]>
drm/msm/dp: fix HPD state status bit shift value

Andrea Righi <[email protected]>
sched/deadline: Reject debugfs dl_server writes for offline CPUs

Alexey Kardashevskiy <[email protected]>
crypto: ccp/tsm - Enable the root port after the endpoint

Herbert Xu <[email protected]>
crypto: tegra - Return ENOMEM when input buffer allocation fails for ccm

Herbert Xu <[email protected]>
crypto: tegra - Fix dma_free_coherent size error

Aleksander Jan Bajkowski <[email protected]>
crypto: inside-secure/eip93 - Add check for devm_request_threaded_irq

Weili Qian <[email protected]>
crypto: hisilicon/qm - disable error report before flr

Tetsuo Handa <[email protected]>

    ocfs2: kill osb->system_file_mutex lock

ZhengYuan Huang <[email protected]>
ocfs2: don't BUG_ON an invalid journal dinode

Dan Carpenter <[email protected]>
rapidio/tsi721: prevent a bad dereference in tsi721_db_dpc()

Yury Norov <[email protected]>
uaccess: minimize INLINE_COPY_USER-related ifdefery

Yury Norov <[email protected]>
uaccess: unify inline vs outline copy_{from,to}_user() selection

Yury Norov <[email protected]>
rust: uaccess: use INLINE_COPY_TO_USER to guard copy_to_user()

Josh Law <[email protected]>
lib/base64: validate before writing in decode tail path

Davidlohr Bueso <[email protected]>
dax/kmem: account for partial discontiguous resource upon removal

Danilo Krummrich <[email protected]>
rust: devres: add 'static bound to Devres<T>

Brian Norris <[email protected]>
arm64: tegra: Add #{address,size}-cells to Chromium-based /firmware

Brian Norris <[email protected]>
ARM: tegra: Add #{address,size}-cells to Chromium-based /firmware

Carlos Llamas <[email protected]>
libbpf: Fix UAF in strset__add_str()

Siddharth Nayyar <[email protected]>
bpftool: Fix typo in struct_ops map FD generation for light skeleton

Michael Bommarito <[email protected]>
libbpf: Harden parse_vma_segs() path parsing

Timur Tabi <[email protected]>
drm/nouveau/bios: specify correct display fuse register for Ampere and Ada

Mikko Perttunen <[email protected]>
drm/tegra: Fix iommu_map_sgtable() return value check

Mikko Perttunen <[email protected]>
gpu: host1x: Fix iommu_map_sgtable() return value check

Felix Gu <[email protected]>
drm/tegra: dc: Fix device node reference leak in tegra_dc_has_output()

Felix Gu <[email protected]>
gpu: host1x: mipi: Fix device_node reference leak in tegra_mipi_request()

Thomas Zimmermann <[email protected]>
drm/tegra: fbdev: Do not assign to struct drm_fb_helper.info

Mikko Perttunen <[email protected]>
gpu: host1x: Allow entries in BO caches to be freed

Ion Agorria <[email protected]>
drm/tegra: gr2d/gr3d: Contain PM in the gr*d_probe/gr*d_remove

Svyatoslav Ryhel <[email protected]>
drm/tegra: gr2d/gr3d: Initialize address register map before HOST1X client is registered

Tomas Glozar <[email protected]>
rtla/actions: Restore continue flag in actions_perform()

Linus Walleij <[email protected]>
dt-bindings: vendor-prefixes: Add Verbatim Corporation

Jackie Dong <[email protected]>
ALSA: hda/realtek:ALC269 fixup for Yoga Pro 7 15ASH11 mic mute LED

Vasant Hegde <[email protected]>
iommu/amd: Fix premature break in init_iommu_one()

Jiayuan Chen <[email protected]>
net/sched: cls_bpf: prevent unbounded recursion in offload rollback

Eric Dumazet <[email protected]>
ipv6: guard against possible NULL deref in __in6_dev_stats_get()

Breno Leitao <[email protected]>
workqueue: drop spurious '*' from print_worker_info() fn declaration

Mateusz Nowicki <[email protected]>
nvme-pci: fix out-of-bounds access in nvme_setup_descriptor_pools

Nilay Shroff <[email protected]>
nvme-multipath: fix flex array size in struct nvme_ns_head

Geliang Tang <[email protected]>
nvmet-tcp: check return value of nvmet_tcp_set_queue_sock

Geliang Tang <[email protected]>
nvmet-tcp: fix page fragment cache leak in error path

Jia He <[email protected]>
init/initramfs_test: wait_for_initramfs() before running

Charles Keepax <[email protected]>
pinctrl: cs42l43: Fix polarity on debounce

Charles Keepax <[email protected]>
pinctrl: cs42l43: Fix leaked pm reference on error path

Joey Lu <[email protected]>
pinctrl: nuvoton: ma35d1: fix MFP register offset and pin table

Florian Schmaus <[email protected]>
selftests: Fix Makefile target for nsfs

Zhang Cen <[email protected]>
ALSA: seq: midi: Serialize output teardown with event_input

Takashi Iwai <[email protected]>
ALSA: seq: oss: Fix UAF at handling events with embedded SysEx data

Cássio Gabriel <[email protected]>
ALSA: xen-front: Connect event channel after stream prepare

Cássio Gabriel <[email protected]>
ALSA: xen-front: Reset event channel state on stream clear

Zhongqiu Han <[email protected]>
cpufreq: governor: Fix stale prev_cpu_nice spike when enabling ignore_nice_load

Zhongqiu Han <[email protected]>
cpufreq: governor: Fix data races on per-CPU idle/nice baselines

Ripan Deuri <[email protected]>
wifi: ath12k: fix error unwind on arch_init() failure in PCI probe

Miquel Raynal <[email protected]>
mtd: spi-nor: Drop duplicate Kconfig dependency

Miquel Raynal <[email protected]>
mtd: spi-nor: debugfs: Fix the flags list

Jon Hunter <[email protected]>
arm64: tegra: Fix address of Tegra264 main GPIO controller

Danilo Krummrich <[email protected]>
driver core: Guard deferred probe timeout extension with delayed_work_pending()

Danilo Krummrich <[email protected]>
driver core: Fix missing jiffies conversion in deferred_probe_extend_timeout()

Rosen Penev <[email protected]>
mips: n64: add __iomem for writel call

Rosen Penev <[email protected]>
mips: ralink: mt7621: add missing __iomem

Maciej W. Rozycki <[email protected]>
MIPS: DEC: Remove do_IRQ() call indirection

Maciej W. Rozycki <[email protected]>
MIPS: Fix big-endian stack argument fetching in o32 wrapper

Jiakai Xu <[email protected]>
PM: sleep: Use complete() in device_pm_sleep_init()

Xianwei Zhao <[email protected]>
pinctrl: meson: amlogic-a4: fix gpio output glitch

Tao Cui <[email protected]>
RDMA/counter: Fix incorrect port index in rdma_counter_init() error cleanup

Rafael J. Wysocki <[email protected]>
ACPI: PAD: Fix teardown ordering in acpi_pad_remove()

Lianfa Weng <[email protected]>
RDMA/hns: Fix log flood after cmd_mbox failure

Lianfa Weng <[email protected]>
RDMA/hns: Fix warning in poll cq direct mode

Eliot Courtney <[email protected]>
gpu: nova-core: vbios: use checked accesses in setup_falcon_data

Eliot Courtney <[email protected]>
gpu: nova-core: vbios: use checked access in FwSecBiosImage::header

Eliot Courtney <[email protected]>
gpu: nova-core: vbios: use checked ops and accesses in FwSecBiosImage::ucode

Eliot Courtney <[email protected]>
gpu: nova-core: vbios: read BitToken using FromBytes

Eliot Courtney <[email protected]>
gpu: nova-core: vbios: avoid reading too far in read_more_at_offset

Eliot Courtney <[email protected]>
gpu: nova-core: vbios: use checked arithmetic for bios image range end

Eliot Courtney <[email protected]>
gpu: nova-core: vbios: stop scanning at BIOS_MAX_SCAN_LEN

Guangshuo Li <[email protected]>
IB/mlx4: Fix refcount leak in add_port() error path

Zhu Yanjun <[email protected]>
RDMA/rxe: Fix a use-after-free problem in rxe_mmap

Jacob Moroni <[email protected]>
RDMA/irdma: Fix out-of-bounds write in irdma_copy_user_pgaddrs

Chancel Liu <[email protected]>
ASoC: dapm: Fix widget lookup with prefixed names across DAPM contexts

Han Gao <[email protected]>
pinctrl: spacemit: fix NULL check in spacemit_pin_set_config

Samuel Holland <[email protected]>
bus: sunxi-rsb: Always check register address validity

Daniel Palmer <[email protected]>
tools/nolibc: stackprotector: Avoid stalling program startup if crng is not init yet

Shiraz Saleem <[email protected]>
RDMA/mana_ib: Use ib_get_eth_speed for reporting port speed

Ronaldo Nunez <[email protected]>
pwm: imx27: Fix variable truncation in .apply()

Lifeng Zheng <[email protected]>
cpufreq: conservative: Simplify frequency limit handling

Pengjie Zhang <[email protected]>
cpufreq: Documentation: fix sampling_down_factor range

Dmitry Baryshkov <[email protected]>
drm/msm/mdss: correct UBWC programming sequences

Cássio Gabriel <[email protected]>
ASoC: mediatek: mt8189: Fix probe resource cleanup

Aleksander Jan Bajkowski <[email protected]>
crypto: eip93 - fix reset ring register definition

Saravana Kannan <[email protected]>
of: dynamic: Fix overlayed devices not probing because of fw_devlink

Saravana Kannan <[email protected]>
Revert "treewide: Fix probing of devices in DT overlays"

Zhang Yuwei <[email protected]>
driver core: Use mod_delayed_work to prevent lost deferred probe work

Stepan Ionichev <[email protected]>
device property: fix fwnode reference leak in fwnode_graph_get_endpoint_by_id()

Conor Kotwasinski <[email protected]>
kernfs: fix suspicious RCU usage in kernfs_put()

Baokun Li <[email protected]>
writeback: drop now-unnecessary rcu_barrier() in cgroup_writeback_umount()

Joel Selvaraj <[email protected]>
arm64: dts: qcom: sdm845-xiaomi-beryllium: Correct IPA FW path

Gopikrishna Garmidi <[email protected]>
arm64: dts: qcom: glymur: Fix wrong interrupt number for i2c19

Ritesh Kumar <[email protected]>
arm64: dts: qcom: lemans: Add eDP ref clock for eDP PHYs

Pengpeng Hou <[email protected]>
tracing: Bound synthetic-field strings with seq_buf

Harshal Dev <[email protected]>
arm64: dts: qcom: sm8750: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: sm8650: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: sm8550: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: sm8450: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: kodiak: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: sc7180: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: monaco: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: lemans: Add power-domain and iface clk for ice node

Harshal Dev <[email protected]>
arm64: dts: qcom: kaanapali: Add power-domain and iface clk for ice node

Abel Vesa <[email protected]>
arm64: dts: qcom: eliza-mtp: Fix the debug UART index

Geert Uytterhoeven <[email protected]>
firmware: arm_scmi: Fix OOB in scmi_power_name_get()

Sven Püschel <[email protected]>
media: rockchip: rga: fix too small buffer size

Nishanth Sampath Kumar <[email protected]>
regmap-i2c: fix sparse warning in regmap_smbus_word_write_reg16

Eric Dumazet <[email protected]>

    net/sched: sch_drr: annotate data-races around cl->deficit

GuoHan Zhao <[email protected]>
vfio/xe: avoid duplicate reset in xe_vfio_pci_reset_done

Hongling Zeng <[email protected]>
nilfs2: Fix return in nilfs_mkdir

David Matlack <[email protected]>
vfio: selftests: Allow builds when ARCH=x86

Jason Gunthorpe <[email protected]>
vfio: selftests: Fix out-of-tree build with make O=

Daniel Palmer <[email protected]>
tools/nolibc: getopt: Fix potential out of bounds access

Chen-Yu Tsai <[email protected]>
regulator: dt-bindings: mt6359: Drop regulator-name pattern restrictions

Randy Dunlap <[email protected]>
bitops: use common function parameter names

Greg Kroah-Hartman <[email protected]>
sysfs: clamp show() return value in sysfs_kf_read()

Guoniu Zhou <[email protected]>
media: synopsys: Fix IPI using hardcoded datatype

Sudeep Holla <[email protected]>
firmware: arm_scmi: Read sensor config as 32-bit value

Andre Przywara <[email protected]>
firmware: smccc: Fix Arm SMCCC SOC_ID name call

Aurelien Jarno <[email protected]>
riscv: dts: spacemit: fix uboot partition offset on Milk-V Jupiter

Aurelien Jarno <[email protected]>
riscv: dts: spacemit: set console baud rate on Milk-V Jupiter

Jose A. Perez de Azpillaga <[email protected]>
staging: media: atomisp: fix loop shadowing in ia_css_stream_destroy()

Yuho Choi <[email protected]>
media: atomisp: gc2235: fix UAF and memory leak

Zilin Guan <[email protected]>
media: atomisp: Fix memory leak in atomisp_fixed_pattern_table()

Viacheslav Dubeyko <[email protected]>
hfs: fix incorrect inode ID assignment in hfs_new_inode()

Sherry Sun <[email protected]>

    arm64: dts: imx95-19x19-evk: Fix PCIe EP vpcie-supply

Sherry Sun <[email protected]>
arm64: dts: imx8qxp-mek: Remove unnecessary PCIe EP vpcie-supply

Sherry Sun <[email protected]>
arm64: dts: imx8dxl-evk: Remove unnecessary PCIe EP properties

Francesco Dolcini <[email protected]>
arm64: dts: freescale: imx95-verdin-ivy: fix RS485 RTS polarity

Jamie Nguyen <[email protected]>
firmware: arm_ffa: Honor partition info descriptor size

Kevin Brodsky <[email protected]>
selftests/mm: Fix resv_sz when parsing arm64 signal frame

Vincent Guittot <[email protected]>
sched/fair: Update util_est after updating util_avg during dequeue

Bibek Kumar Patro <[email protected]>
iommu/arm-smmu-qcom: Fix fastrpc compatible string in ACTLR client match table

Paul Chaignon <[email protected]>
selftests/bpf: Fix test for refinement of single-value tnum

Roman Kvasnytskyi <[email protected]>
selftests/bpf: Reject unsupported -k option in vmtest.sh

Paul Chaignon <[email protected]>
selftests/bpf: Override EXTRA_LDFLAGS for static builds

Fengnan Chang <[email protected]>
dm: limit target bio polling to one shot

Liviu Dudau <[email protected]>
drm/syncobj: Fix memory leak in drm_syncobj_find_fence()

Crystal Wood <[email protected]>
rtla: Stop the record trace on interrupt

Costa Shulyupin <[email protected]>

    tools/rtla: Fix --dump-tasks usage in timerlat

Junxian Huang <[email protected]>
RDMA/hns: Initialize seqfile before creating file

Sara Venkatesh <[email protected]>
RDMA/srpt: fix integer overflow in immediate data length check

Prathamesh Deshpande <[email protected]>
RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference

Prathamesh Deshpande <[email protected]>
RDMA/mlx5: Fix UMR XLT cleanup on ODP populate failure

Alexander Chesnokov <[email protected]>
RDMA/hns: Fix arithmetic overflow in calc_hem_config()

Prathamesh Deshpande <[email protected]>
IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier

Linmao Li <[email protected]>
ipv6: addrconf: bail out of dad_failure when state is no longer POSTDAD

Eric Dumazet <[email protected]>
net/sched: sch_htb: annotate data-races (I)

Eric Dumazet <[email protected]>

    net/sched: sch_htb: do not change sch->flags in htb_dump()

Eric Dumazet <[email protected]>
net/sched: sch_dualpi2: annotate data-races in dualpi2_dump_stats()

Eric Dumazet <[email protected]>
net/sched: add qdisc_qlen_inc() and qdisc_qlen_dec()

Qiang Ma <[email protected]>
spi: hisi-kunpeng: Use dev_err_probe() for host registration failure

Abdun Nihaal <[email protected]>
crypto: safexcel - Fix potential memory leak in safexcel_pci_probe()

Stepan Ionichev <[email protected]>

    crypto: ccp/sev-dev-tsm - bail out early when pdev->bus is NULL

Herbert Xu <[email protected]>

    crypto: af_alg - Cap AEAD AD length to 0x80000000

Sean Christopherson <[email protected]>
crypto: ccp - Treat zero-length cert chain as query for blob lengths

Yihang Li <[email protected]>
scsi: hisi_sas: Add slave_destroy interface for v3 hw

Eric Dumazet <[email protected]>
net/sched: sch_hfsc: annotate data-races in hfsc_dump_class_stats()

Stepan Ionichev <[email protected]>
clk: scpi: Unregister child clock providers on remove

Rafael J. Wysocki <[email protected]>
thermal: hwmon: Register a hwmon device for each thermal zone

Rafael J. Wysocki <[email protected]>
thermal: hwmon: Fix critical temperature attribute removal

Pengpeng Hou <[email protected]>
evm: terminate and bound the evm_xattrs read buffer

Lin He <[email protected]>
drm/hisilicon/hibmc: use clock to look up the PLL value

Lin He <[email protected]>
drm/hisilicon/hibmc: move display contrl config to hibmc_probe()

Lin He <[email protected]>
drm/hisilicon/hibmc: fix no showing when no connectors connected

Lin He <[email protected]>
drm/hisilicon/hibmc: add updating link cap in DP detect()

Rafael J. Wysocki <[email protected]>
platform/chrome: wilco_ec: event: Check ACPI_COMPANION()

Rafael J. Wysocki <[email protected]>
platform/chrome: chromeos_tbmc: Check ACPI_COMPANION()

Rafael J. Wysocki <[email protected]>
platform/chrome: chromeos_privacy_screen: Check ACPI_COMPANION()

Kuldeep Singh <[email protected]>
arm64: dts: qcom: sm8450: Fix ICE reg size

Kuldeep Singh <[email protected]>
arm64: dts: qcom: kodiak: Fix ICE reg size

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8750: Fix DSI1 phy reference clock rate

Cristian Marussi <[email protected]>
clk: scmi: Fix clock rate rounding

Hsiu Che Yu <[email protected]>
rust: alloc: fix Vec::extend_with SAFETY comment

Christian Brauner <[email protected]>
rhashtable: give each instance its own lockdep class

Abel Vesa <[email protected]>
arm64: dts: qcom: glymur: Mark USB SS1 and SS2 as role-switch capable

Abel Vesa <[email protected]>
arm64: dts: qcom: glymur-crd: Drop forced host mode for USB SS0 and SS1

Yang Wang <[email protected]>
drm/amdgpu: fix error return code in mes_v12_1_map_test_bo

Breno Leitao <[email protected]>
workqueue: forbid TEST_WORKQUEUE from being built-in

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8192-asurada: Move PCIe DMA bounce buffer to host

Frank Wunderlich <[email protected]>
arm64: dts: mediatek: mt7988a-bpi-r4pro: rework pcie gpio-hog handling

Stefan Metzmacher <[email protected]>
sockptr: fix usize check in copy_struct_from_sockptr() for user pointers

Stefan Metzmacher <[email protected]>
uaccess: fix ignored_trailing logic in copy_struct_to_user()

Matt Bobrowski <[email protected]>
bpf: fix crash in bpf_[set|remove]_dentry_xattr for negative dentries

Luca Leonardo Scorcia <[email protected]>
soc: mediatek: mtk-mmsys: Restore MT8167 routing masks lost during merge

Sean Christopherson <[email protected]>
iommu/amd: Fix a stale comment about which legacy mode is user visible

Dmitry Baryshkov <[email protected]>
media: venus: scale MMCX power domain on SM8250

Dmitry Baryshkov <[email protected]>
media: iris: scale MMCX power domain on SM8250

Shawn Guo <[email protected]>
arm64: dts: qcom: lemans: Move PCIe devices into soc node

Nickolay Goppen <[email protected]>
arm64: dts: qcom: sdm630: set adsp compute-cbs' regs properly

Nickolay Goppen <[email protected]>
arm64: dts: qcom: sdm660: set cdsp compute-cbs' regs properly

Yixun Lan <[email protected]>
dts: riscv: spacemit: correct 32k clock frequency

Wenmeng Liu <[email protected]>
media: qcom: camss: vfe: fix PIX subdev naming on VFE lite

Leon Romanovsky <[email protected]>
ntb: Use consistent DMA attributes when freeing DMA mappings

Leon Romanovsky <[email protected]>
ntb: Store original DMA address for future release

Shuangpeng Bai <[email protected]>
nilfs2: fix backing_dev_info reference leak

Alexander Aring <[email protected]>
dlm: fix add msg handle in send_queue ordered

Lizhi Hou <[email protected]>
accel/amdxdna: Fix clflush buffer size

Krzysztof Kozlowski <[email protected]>
ARM: multi_v7_defconfig: Correct QCOM_RPMH and QCOM_RPMHPD

Weiming Shi <[email protected]>
crypto: asymmetric_keys - fix OOB read in pefile_digest_pe_contents

Thorsten Blum <[email protected]>
crypto: ecrdsa - fix unknown OID check in ecrdsa_param_curve

Lothar Rubusch <[email protected]>
crypto: atmel-sha204a - fix blocking and non-blocking rng logic

Tycho Andersen (AMD) <[email protected]>
crypto: ccp - Initialize data during __sev_snp_init_locked()

Tycho Andersen (AMD) <[email protected]>
crypto: ccp - Check for page allocation failure correctly in TIO

Tycho Andersen (AMD) <[email protected]>
crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one

Tycho Andersen (AMD) <[email protected]>
crypto: ccp - Reverse the cleanup order in psp_dev_destroy()

Di Shen <[email protected]>
OPP: Fix race between OPP addition and lookup

Zhan Xusheng <[email protected]>
alarmtimer: Remove stale return description from alarm_handle_timer()

Chris Brandt <[email protected]>
drm: renesas: rz-du: mipi_dsi: Fix return path on error

Kuniyuki Iwashima <[email protected]>
vxlan: Fix potential null-ptr-deref in vxlan_gro_prepare_receive().

Peng Fan <[email protected]>
Revert "arm64: dts: imx8mp-kontron: Add support for reading SD_VSEL signal"

Peng Fan <[email protected]>
Revert "arm64: dts: imx8mm-kontron: Add support for reading SD_VSEL signal"

Krzysztof Kozlowski <[email protected]>
arm64: dts: imx8mp-ab2: Correct interrupt flags

Krzysztof Kozlowski <[email protected]>
arm64: dts: imx8mn-vhip4-evalboard-v2: Correct interrupt flags

Krzysztof Kozlowski <[email protected]>
arm64: dts: imx8mn-vhip4-evalboard-v1: Correct interrupt flags

Peng Fan <[email protected]>
arm64: dts: imx8x-colibri: Correct SODIMM PAD settings

Weixin Guo <[email protected]>
arm64: dts: rockchip: fix rk809 interrupt pin on rk3566-roc-pc

Brian Norris <[email protected]>
arm64: dts: rockchip: Add #{address,size}-cells to Chromium-based /firmware

Brian Norris <[email protected]>
ARM: dts: rockchip: Add #{address,size}-cells to Chromium-based /firmware

Duje Mihanović <[email protected]>
arm64: dts: marvell: samsung-coreprimevelte: Increase touchscreen voltage

Conor Dooley <[email protected]>
riscv: dts: microchip: fix pic64gx gpio interrupt-cells

Conor Dooley <[email protected]>
riscv: dts: microchip: update pic64gx gpio interrupts to better match the SoC

David Heidelberg <[email protected]>
drm/panel: Clean up S6E3HA2 config dependencies and fill help text

David Heidelberg <[email protected]>
drm/panel: Clean up S6E3FC2X01 config dependencies

Marijn Suijten <[email protected]>
drm/panel: Clean up SOFEF00 config dependencies

Peddolla Harshavardhan Reddy <[email protected]>
wifi: cfg80211: restrict LMR feedback check to TB and non-TB ranging

Alice Ryhl <[email protected]>
drm/gpuvm: take refcount on DRM device

Marek Vasut <[email protected]>
dt-bindings: vendor-prefixes: Add Displaytech Ltd.

Conor Dooley <[email protected]>
riscv: dts: microchip: remove gpio hogs from beaglev-fire

Conor Dooley <[email protected]>
riscv: dts: microchip: gpio controllers on mpfs need 2 interrupt cells

Felix Gu <[email protected]>
pinctrl: sunxi: fix regulator leak in sunxi_pmx_request() error path

Conor Dooley <[email protected]>
dts: spacemit: set console baud rate on bpif3

Masami Hiramatsu (Google) <[email protected]>
lib/vsprintf: Fix to check field_width and precision

Damian Muszynski <[email protected]>
crypto: qat - fix heartbeat error injection

Josh Poimboeuf <[email protected]>
klp-build: Fix patch cleanup on interrupt

Josh Poimboeuf <[email protected]>
klp-build: Fix checksum comparison for changed offsets

Josh Poimboeuf <[email protected]>
klp-build: Fix hang on out-of-date .config

Josh Poimboeuf <[email protected]>
objtool: Fix reloc hash collision in find_reloc_by_dest_range()

Josh Poimboeuf <[email protected]>
objtool: Replace iterator callback with for_each_sym_by_mangled_name()

Josh Poimboeuf <[email protected]>
objtool/klp: Fix relocation conversion failures for R_X86_64_NONE

Josh Poimboeuf <[email protected]>
objtool/klp: Fix extraction of text annotations for alternatives

Josh Poimboeuf <[email protected]>
objtool/klp: Fix cloning of zero-length section symbols

Josh Poimboeuf <[email protected]>
objtool/klp: Fix handling of zero-length .altinstr_replacement sections

Joe Lawrence <[email protected]>
objtool/klp: Fix create_fake_symbols() skipping entsize-based sections

Josh Poimboeuf <[email protected]>
objtool/klp: Fix .data..once static local non-correlation

Joe Lawrence <[email protected]>
objtool/klp: Fix is_uncorrelated_static_local() for Clang

Ashish Mhetre <[email protected]>
memory: tegra: Wire up system sleep PM ops

Icenowy Zheng <[email protected]>
drm: verisilicon: call atomic helper's plane state check even if no CRTC

Nas Chung <[email protected]>
media: v4l2-common: Add YUV24 format info

Samuel Holland <[email protected]>
media: cedrus: Fix failure to clean up hardware on probe failure

Felix Gu <[email protected]>
watchdog: sprd_wdt: Remove redundant sprd_wdt_disable() on register failure

Balakrishnan Sambath <[email protected]>
watchdog: sama5d4_wdt: Fix WDDIS detection on SAM9X60 and SAMA7G5

Yingjie Gao <[email protected]>
watchdog: sp5100_tco: Use EFCH MMIO for newer Hygon FCH

Gabriele Monaco <[email protected]>
Documentation/rv: Replace stale website link

Aleksandr Loktionov <[email protected]>
ixgbe: fix unaligned u32 access in ixgbe_update_flash_X550()

Jihed Chaibi <[email protected]>
ARM: dts: am335x-sl50: Fix audio bitclock and frame master endpoint

Wei Zhang <[email protected]>
wifi: ath11k: cancel SSR work items during PCI shutdown

Tristan Madani <[email protected]>
wifi: ath9k: fix OOB access from firmware tx status queue ID

Chen-Yu Tsai <[email protected]>
pinctrl: mediatek: eint: Drop base from mtk_eint_chip_write_mask()

Prasanna Kumar T S M <[email protected]>
soc: xilinx: Shutdown and free rx mailbox channel

Prasanna Kumar T S M <[email protected]>
soc: xilinx: Fix race condition in event registration

Xingjing Deng <[email protected]>
kconfig: fix potential NULL pointer dereference in conf_askvalue

Tristan Madani <[email protected]>
wifi: rtw89: add bounds check on firmware mac_id in link lookup

Tristan Madani <[email protected]>
wifi: rtw88: fix OOB read from firmware RX descriptor exceeding DMA buffer

Shin-Yi Lin <[email protected]>
wifi: rtw89: Correct data type for scan index to avoid infinite loop

Chin-Yen Lee <[email protected]>
wifi: rtw88: fix wrong pci_get_drvdata type in AER handlers

Christos Longros <[email protected]>
wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers

Timur Tabi <[email protected]>
gpu: nova-core: use correct fwsignature for GA100

Danilo Krummrich <[email protected]>

    driver core: use READ_ONCE() for dev->driver in dev_has_sync_state()

Srinivasan Shanmugam <[email protected]>
drm/amdkfd: Validate CRIU-restored IDs before idr_alloc

Felix Gu <[email protected]>
pinctrl: pinconf-generic: fix properties bitmap leak in parse_fw_cfg()

Krzysztof Kozlowski <[email protected]>
dt-bindings: pinctrl: nvidia,tegra234: Add missing required block

Jon Hunter <[email protected]>
arm64: tegra: Fix Tegra234 MGBE PTP clock

Louis Kotze <[email protected]>
wifi: cfg80211: fix grammar in MLO group key error message

Edward Adam Davis <[email protected]>
hfsplus: Add a sanity check for btree node size

Edward Adam Davis <[email protected]>
hfsplus: Remove the duplicate attr inode dirty marking action

David Heidelberg <[email protected]>
arm64: dts: qcom: sdm845-shift-axolotl: Correct touchscreen sleep state

Kamal Wadhwa <[email protected]>
arm64: dts: qcom: fix temp-alarm probe failure for PMH0104 on Glymur

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sdm845-mezzanine: Fix camss ports unit_address_vs_reg warning

Krzysztof Kozlowski <[email protected]>

    arm64: dts: qcom: sc8180x: Fix phy simple_bus_reg warning

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: ipq5424: Fix USB simple_bus_reg warnings

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: glymur: Fix cache and SRAM simple_bus_reg warnings

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: glymur: Fix USB simple_bus_reg warning

David Heidelberg <[email protected]>
arm64: dts: qcom: sdm845-oneplus: Drop address from framebuffer node

Alexander Koskovich <[email protected]>
arm64: dts: qcom: milos: Reduce rmtfs_mem size to 2.5MiB

Sean Christopherson <[email protected]>
x86/bug: Add printf() validation to HAVE_ARCH_BUG_FORMAT_ARGS WARNs

Konrad Dybcio <[email protected]>
dt-bindings: net: bluetooth: qualcomm: Fix WCN6855 regulator names

Kamlesh Kumar <[email protected]>
ima: Fix sigv3 signature handling for EVM_IMA_XATTR_DIGSIG

Diederik de Haas <[email protected]>
arm64: dts: rockchip: Fix gmac0 reset pin for NanoPi R5S

Quentin Schulz <[email protected]>
arm64: dts: rockchip: fix Ethernet PHY not found on PX30 Cobra

Cristian Ciocaltea <[email protected]>
arm64: dts: rockchip: Update vdec register blocks order on RK3588

Cristian Ciocaltea <[email protected]>
arm64: dts: rockchip: Fix vdec register blocks order on RK3576

Baolin Liu <[email protected]>
Documentation: proc: fix section numbering in table of contents

Gregory Bell <[email protected]>
selftests/bpf: Use local type for bpf_fou_encap in test_tunnel_kern

Gregory Bell <[email protected]>
selftests/bpf: Use local type for flow_offload_tuple_rhash in xdp_flowtable

Felix Gu <[email protected]>
spi: atcspi200: fix use-after-free when driver unbind

Yang Wang <[email protected]>
drm/amd/pm: remove trailing semicolon from AMDGPU_PM_POLICY_ATTR macro

Antoine Tenart <[email protected]>
libbpf: Fix deduplication of typedef with base definitions

Aaradhana Sahu <[email protected]>
wifi: ath12k: Fix invalid IRQ requests during AHB probe

Nick Hu <[email protected]>
dt-bindings: timer: Remove sifive,fine-ctr-bits property

Matt Bobrowski <[email protected]>
selftests/bpf: Fix off-by-one in bpf_cpumask_populate related selftest

Aaron Tomlin <[email protected]>
libbpf: Report error when a negative kprobe offset is specified

Yuho Choi <[email protected]>
drm/radeon: fix memory leak in radeon_ring_restore() on lock failure

Werner Kasselman <[email protected]>
drm/radeon: fix integer overflow in radeon_align_pitch()

Alex Sierra <[email protected]>
drm/amdkfd: fix redundant MQD iterations in GFX v12.1

Werner Kasselman <[email protected]>
drm/amdgpu: fix integer overflow in amdgpu_gem_align_pitch()

Max Zhen <[email protected]>
accel/amdxdna: Guard management mailbox channel cleanup against NULL pointer

Jonathan Cavitt <[email protected]>
drm/gpuvm: Do not prepare NULL objects

Felix Gu <[email protected]>
accel/amdxdna: Fix memory leak in amdxdna_iommu_alloc()

Max Zhen <[email protected]>
accel/amdxdna: Fix fatal_error_info layout in firmware interface

Tvrtko Ursulin <[email protected]>
dma-fence: Fix potential tracepoint null pointer dereferences

Lizhi Hou <[email protected]>
accel/amdxdna: Fix order of canceled mailbox messages

Lizhi Hou <[email protected]>
accel/amdxdna: Fix iommu_map_sgtable() return value handling

Max Zhen <[email protected]>
accel/amdxdna: Handle DETACH_DEBUG_BO through config_debug_bo path

Lizhi Hou <[email protected]>
accel/amdxdna: Adjust size for copy_to_user()

Lizhi Hou <[email protected]>
accel/amdxdna: Create shared functions for AIE2 and AIE4

Matthew Brost <[email protected]>
drm/gpusvm: Reject VMAs with VM_IO or VM_PFNMAP when creating SVM ranges

Tomi Valkeinen <[email protected]>
drm/tidss: Drop extra drm_mode_config_reset() call

Thomas Zimmermann <[email protected]>
drm/rockchip: Test for imported buffers with drm_gem_is_imported()

Cristian Ciocaltea <[email protected]>
drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()

Cristian Ciocaltea <[email protected]>
drm/rockchip: dw_dp: Switch to drmm_kzalloc()

Cristian Ciocaltea <[email protected]>
drm/rockchip: inno-hdmi: Switch to drmm_kzalloc()

Max Zhen <[email protected]>
accel/amdxdna: Fix leak when pinning ubuf pages

Chen Ni <[email protected]>
clocksource/drivers/sun5i: Handle error returns from devm_reset_control_get_optional_exclusive()

Stafford Horne <[email protected]>
openrisc: mm: Fix section mismatch between map_page and __set_fixmap

Felix Gu <[email protected]>
soc: fsl: qe_ports_ic: Add missing cleanup on device removal

Jiacheng Yu <[email protected]>
fbcon: Use correct type for vc_resize() return value

Ian Bridges <[email protected]>
fbcon: fix NULL pointer dereference for a console without vc_data

David Howells <[email protected]>
afs: Fix uncancelled rxrpc OOB message handler

David Howells <[email protected]>
afs: Fix further netns teardown to cancel the preallocation charger

Nan Li <[email protected]>
afs: handle CB.InitCallBackState3 requests without a server record

Matvey Kovalev <[email protected]>
afs: fix NULL pointer dereference in afs_get_tree()

David Howells <[email protected]>
afs: Fix netns teardown to cancel the preallocation charger

David Howells <[email protected]>
rxrpc: Fix double unlock in rxrpc_recvmsg()

David Howells <[email protected]>
rxrpc: Fix leak of connection from OOB challenge

David Howells <[email protected]>
rxrpc: Fix the reception of a reply packet before data transmission

Wyatt Feng <[email protected]>
rxrpc: Fix ACKALL packet handling

David Howells <[email protected]>
rxrpc: Fix oob challenge leak in cleanup after notification failure

David Howells <[email protected]>
rxrpc: Fix rxrpc_rotate_tx_rotate() to check there's something to rotate

David Howells <[email protected]>
rxrpc: Fix potential infinite loop in rxrpc_recvmsg()

David Howells <[email protected]>
rxrpc: Fix leak of released call in recvmsg(MSG_PEEK)

David Howells <[email protected]>
rxrpc: Fix socket notification race

David Howells <[email protected]>
rxrpc: Fix UAF in rxgk_issue_challenge()

Hyunwoo Kim <[email protected]>
rxrpc: Don't move a peeked OOB message onto the pending queue

Jeffrey Altman <[email protected]>
rxrpc: rxrpc_verify_data ensure rx_dec_buffer alloc

Li Daming <[email protected]>
rxrpc: serialize kernel accept preallocation with socket teardown

Matthias Feser <[email protected]>
serial: 8250_omap: clear rx_running on zero-length DMA completes

Tapio Reijonen <[email protected]>

    serial: max310x: implement gpio_chip::get_direction()

Stephan Gerhold <[email protected]>
serial: msm: Disable DMA for kernel console UART

Guoniu Zhou <[email protected]>
dt-bindings: power: imx93: Add MIPI PHY power domain

Chen-Yu Tsai <[email protected]>
dt-bindings: media: sun4i-a10-video-engine: Add interconnect properties

Ricardo Ribalda <[email protected]>
media: uvcvideo: Fix sequence number when no EOF

Ricardo Ribalda <[email protected]>
media: uvcvideo: Relax the constrains for interpolating the hw clock

Ricardo Ribalda <[email protected]>
media: uvcvideo: Do not add clock samples with small sof delta

Ricardo Ribalda <[email protected]>
media: uvcvideo: Fix dev_sof filtering in hw timestamp

Ricardo Ribalda <[email protected]>
media: uvcvideo: Fix buffer sequence in frame gaps

Ricardo Ribalda <[email protected]>
media: uvcvideo: Avoid partial metadata buffers

Ricardo Ribalda <[email protected]>
media: uvcvideo: Use hw timestaming if the clock buffer is full

Damien Laine <[email protected]>
ALSA: hda/realtek: Fix speakers on Legion Pro 7 16ARX8H with codec SSID 17aa:38a7

Xu Rao <[email protected]>
ALSA: hda: Fix cached processing coefficient verbs

Zhang Heng <[email protected]>
ALSA: hda: conexant: Remove mic bias threshold override

Eckhart Mohr <[email protected]>
ALSA: hda/realtek: Add quirk for TongFang X6xx45xU

Sean Anderson <[email protected]>
media: uvcvideo: Fix deadlock if uvc_status_stop is called from async_ctrl.work

Eric Biggers <[email protected]>
crypto: sun4i-ss - Remove insecure and unused rng_alg

Michael Bommarito <[email protected]>
iommu/vt-d: Clear Present bit before tearing down scalable-mode context entry

Muhammet Kaan KILINÇ <[email protected]>
crypto: algif_skcipher - force synchronous processing

-------------

Diffstat:

 .../testing/sysfs-class-reboot-mode-reboot_modes   |  13 +-
 Documentation/admin-guide/pm/cpufreq.rst           |   6 +-
 Documentation/arch/arm64/cpu-hotplug.rst           |  28 +-
 .../bindings/clock/qcom,dispcc-sm6125.yaml         |  17 +-
 .../bindings/clock/qcom,x1e80100-camcc.yaml        |   1 +
 .../bindings/dma/nvidia,tegra186-gpc-dma.yaml      |  23 +-
 .../devicetree/bindings/dma/snps,dw-axi-dmac.yaml  |   5 +-
 .../media/allwinner,sun4i-a10-video-engine.yaml    |  10 +
 .../bindings/net/bluetooth/qcom,wcn6855-bt.yaml    |   7 +-
 .../devicetree/bindings/net/microchip,lan8650.yaml |   2 +-
 .../devicetree/bindings/net/renesas,ether.yaml     |   3 +-
 .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml   |  13 +-
 .../pinctrl/nvidia,tegra234-pinmux-aon.yaml        |   4 +
 .../bindings/pinctrl/nvidia,tegra234-pinmux.yaml   |   4 +
 .../bindings/pinctrl/realtek,rtd1625-pinctrl.yaml  |   2 +-
 .../bindings/regulator/mt6359-regulator.yaml       |  43 --
 .../devicetree/bindings/timer/sifive,clint.yaml    |  16 -
 .../devicetree/bindings/vendor-prefixes.yaml       |   4 +
 Documentation/driver-api/nvdimm/btt.rst            |   5 +-
 Documentation/driver-api/uio-howto.rst             |   4 +-
 Documentation/filesystems/proc.rst                 |  14 +-
 Documentation/mm/memfd_preservation.rst            |   2 +-
 Documentation/netlink/specs/handshake.yaml         |   1 +
 Documentation/netlink/specs/rt-link.yaml           |   6 +
 Documentation/networking/bonding.rst               |  23 +
 Documentation/process/changes.rst                  |   7 +-
 Documentation/process/threat-model.rst             |   2 +-
 Documentation/trace/eprobetrace.rst                |   4 +
 Documentation/trace/rv/monitor_sched.rst           |   7 +-
 Makefile                                           |   4 +-
 arch/alpha/kernel/pci-sysfs.c                      |  13 +-
 arch/arc/include/asm/uaccess.h                     |   3 +-
 arch/arm/boot/compressed/Makefile                  |   2 +-
 arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts     |   2 +-
 arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts  |   2 +-
 arch/arm/boot/dts/nvidia/tegra124-nyan.dtsi        |   5 +
 arch/arm/boot/dts/nvidia/tegra124-venice2.dts      |   5 +
 arch/arm/boot/dts/nxp/imx/imx6ul-var-som.dtsi      |   4 -
 arch/arm/boot/dts/rockchip/rk3288-veyron.dtsi      |   5 +
 arch/arm/boot/dts/st/stm32mp151c-mecio1r0.dts      | 128 ++++
 arch/arm/boot/dts/st/stm32mp153c-mecio1r1.dts      | 144 +++++
 arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi     | 146 +----
 arch/arm/boot/dts/ti/omap/am335x-sl50.dts          |   4 +-
 arch/arm/configs/axm55xx_defconfig                 |   1 -
 arch/arm/configs/dove_defconfig                    |   1 -
 arch/arm/configs/ep93xx_defconfig                  |   1 -
 arch/arm/configs/mmp2_defconfig                    |   1 -
 arch/arm/configs/multi_v7_defconfig                |   4 +-
 arch/arm/configs/mv78xx0_defconfig                 |   1 -
 arch/arm/configs/sunxi_defconfig                   |   1 -
 arch/arm/include/asm/uaccess.h                     |   3 +-
 arch/arm/mach-imx/Kconfig                          |  21 -
 arch/arm/mach-imx/cpu-imx31.c                      |   9 +-
 arch/arm/mach-imx/mm-imx3.c                        |   2 +
 arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi     |   3 +-
 .../fsl-ls1028a-tqmls1028a-mbls1028a.dtsi          |   4 +-
 .../boot/dts/freescale/fsl-lx2162a-clearfog.dts    |   2 +-
 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts      |   2 -
 .../arm64/boot/dts/freescale/imx8mm-kontron-bl.dts |  10 +-
 .../boot/dts/freescale/imx8mm-kontron-osm-s.dtsi   |   7 +-
 .../dts/freescale/imx8mn-vhip4-evalboard-v1.dts    |   2 +-
 .../dts/freescale/imx8mn-vhip4-evalboard-v2.dts    |   2 +-
 arch/arm64/boot/dts/freescale/imx8mp-ab2.dts       |   2 +-
 .../boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts |  14 +-
 .../boot/dts/freescale/imx8mp-kontron-osm-s.dtsi   |   7 +-
 .../dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts    |   3 +
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts      |   1 -
 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts      |   4 +-
 arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi   |   4 +-
 arch/arm64/boot/dts/freescale/imx94.dtsi           |   2 +-
 arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts  |   2 +-
 .../arm64/boot/dts/freescale/imx95-verdin-ivy.dtsi |   1 -
 arch/arm64/boot/dts/freescale/imx95.dtsi           |  10 +-
 arch/arm64/boot/dts/freescale/s32g3.dtsi           |   2 +-
 .../marvell/mmp/pxa1908-samsung-coreprimevelte.dts |   2 +-
 arch/arm64/boot/dts/mediatek/Makefile              |   8 +
 .../mediatek/mt7988a-bananapi-bpi-r4-pro-cn13.dtso |  20 +
 .../mediatek/mt7988a-bananapi-bpi-r4-pro-cn14.dtso |  20 +
 .../dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi  |   2 -
 arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi   |   2 +-
 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts     |   5 +
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts      |   5 +
 arch/arm64/boot/dts/nvidia/tegra234.dtsi           |   8 +-
 arch/arm64/boot/dts/nvidia/tegra264.dtsi           |  88 +--
 arch/arm64/boot/dts/qcom/eliza-mtp.dts             |   4 +-
 arch/arm64/boot/dts/qcom/eliza.dtsi                |   6 +-
 arch/arm64/boot/dts/qcom/glymur-crd.dts            |   4 -
 arch/arm64/boot/dts/qcom/glymur.dtsi               |  12 +-
 arch/arm64/boot/dts/qcom/hamoa.dtsi                |  77 +--
 arch/arm64/boot/dts/qcom/ipq5424.dtsi              |   4 +-
 arch/arm64/boot/dts/qcom/kaanapali.dtsi            |   6 +-
 arch/arm64/boot/dts/qcom/kodiak.dtsi               |   8 +-
 arch/arm64/boot/dts/qcom/lemans.dtsi               | 710 +++++++++++----------
 arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts   |   5 +
 arch/arm64/boot/dts/qcom/milos.dtsi                |   2 +-
 arch/arm64/boot/dts/qcom/monaco.dtsi               |   6 +-
 arch/arm64/boot/dts/qcom/pmh0104-glymur.dtsi       |   2 +-
 arch/arm64/boot/dts/qcom/sc7180.dtsi               |   6 +-
 arch/arm64/boot/dts/qcom/sc8180x.dtsi              |   2 +-
 arch/arm64/boot/dts/qcom/sdm630.dtsi               |  37 +-
 arch/arm64/boot/dts/qcom/sdm660.dtsi               |  36 +-
 .../qcom/sdm845-db845c-navigation-mezzanine.dtso   |   5 +
 .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi |   2 +-
 arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts  |   2 +-
 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   |   2 +-
 arch/arm64/boot/dts/qcom/sm8450.dtsi               |   8 +-
 arch/arm64/boot/dts/qcom/sm8550.dtsi               |   6 +-
 arch/arm64/boot/dts/qcom/sm8650.dtsi               |   6 +-
 arch/arm64/boot/dts/qcom/sm8750.dtsi               |   8 +-
 arch/arm64/boot/dts/renesas/r8a78000-ironhide.dts  |  76 ++-
 arch/arm64/boot/dts/renesas/r8a78000.dtsi          |  36 +-
 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi       |   2 +-
 arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi    |   2 +-
 arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi       |   5 +
 arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts     |   2 +-
 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts |   6 +-
 arch/arm64/boot/dts/rockchip/rk3576.dtsi           |   6 +-
 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi      |  12 +-
 arch/arm64/boot/dts/st/stm32mp251.dtsi             |   8 +-
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts            |   2 +
 arch/arm64/include/asm/kvm_nested.h                |   8 +
 arch/arm64/include/asm/tlbbatch.h                  |  10 +-
 arch/arm64/include/asm/tlbflush.h                  |  49 +-
 arch/arm64/include/asm/uaccess.h                   |   3 +-
 arch/arm64/kernel/acpi.c                           |   2 +
 arch/arm64/kernel/entry-fpsimd.S                   |   8 +-
 arch/arm64/kernel/fpsimd.c                         |  10 +-
 arch/arm64/kernel/hw_breakpoint.c                  |   9 +
 arch/arm64/kernel/process.c                        |  35 -
 arch/arm64/kernel/smp.c                            |  28 +-
 arch/arm64/kernel/static_call.c                    |   1 +
 arch/arm64/kvm/at.c                                |   8 -
 arch/arm64/kvm/emulate-nested.c                    |   1 +
 arch/arm64/kvm/hyp/include/hyp/switch.h            |  11 +-
 arch/arm64/kvm/hyp/pgtable.c                       |   3 +-
 arch/arm64/kvm/nested.c                            | 166 ++---
 arch/arm64/kvm/pkvm.c                              |   2 +-
 arch/arm64/kvm/vgic/vgic-its.c                     |   2 +
 arch/arm64/kvm/vgic/vgic.c                         |  20 +-
 arch/arm64/mm/mmu.c                                |  11 +-
 arch/arm64/tools/sysreg                            |   2 +-
 arch/hexagon/include/asm/uaccess.h                 |   3 +-
 arch/loongarch/include/asm/kexec.h                 |   3 +-
 arch/loongarch/include/asm/pgtable.h               |   4 +
 arch/loongarch/include/asm/uaccess.h               |   3 +-
 arch/loongarch/kvm/exit.c                          |   1 -
 arch/loongarch/kvm/irqfd.c                         |   3 +-
 arch/loongarch/kvm/vcpu.c                          |  11 +-
 arch/loongarch/mm/pageattr.c                       |   2 +-
 arch/loongarch/net/bpf_jit.c                       |  28 +-
 arch/m68k/coldfire/m5441x.c                        |  18 +-
 arch/m68k/include/asm/uaccess.h                    |   3 +-
 arch/microblaze/include/asm/uaccess.h              |   3 +-
 arch/mips/dec/int-handler.S                        |   2 +-
 arch/mips/dec/platform.c                           |   6 +-
 arch/mips/dec/prom/init.c                          |   6 +-
 arch/mips/dec/setup.c                              |   6 -
 arch/mips/fw/lib/call_o32.S                        |   2 +-
 arch/mips/include/asm/dec/prom.h                   |  15 +-
 arch/mips/include/asm/uaccess.h                    |   3 +-
 arch/mips/kernel/mips-mt-fpaff.c                   |  28 +-
 arch/mips/mm/init.c                                |  17 +-
 arch/mips/n64/init.c                               |   2 +-
 arch/mips/ralink/mt7621.c                          |   2 +-
 arch/mips/sgi-ip22/ip22-gio.c                      |   7 +-
 arch/nios2/include/asm/uaccess.h                   |   3 +-
 arch/openrisc/include/asm/cacheflush.h             |   4 +
 arch/openrisc/include/asm/uaccess.h                |   3 +-
 arch/openrisc/kernel/jump_label.c                  |   2 +-
 arch/openrisc/kernel/patching.c                    |   3 +
 arch/openrisc/kernel/smp.c                         |  21 +
 arch/openrisc/mm/cache.c                           |  16 +
 arch/openrisc/mm/init.c                            |   2 +-
 arch/parisc/include/asm/uaccess.h                  |   3 +-
 arch/powerpc/include/asm/uaccess.h                 |   2 +-
 arch/powerpc/kernel/dt_cpu_ftrs.c                  |   9 +
 arch/powerpc/kexec/core_64.c                       |   4 +-
 arch/powerpc/perf/core-fsl-emb.c                   |   3 +-
 arch/powerpc/platforms/8xx/cpm1.c                  |  26 +
 arch/powerpc/platforms/cell/spufs/file.c           |   6 +-
 arch/powerpc/platforms/powernv/setup.c             |   3 +-
 arch/powerpc/platforms/pseries/Kconfig             |   1 +
 .../platforms/pseries/papr_platform_attributes.c   |   8 +-
 .../riscv/boot/dts/microchip/mpfs-beaglev-fire.dts |  25 +-
 arch/riscv/boot/dts/microchip/mpfs.dtsi            |   6 +-
 .../boot/dts/microchip/pic64gx-curiosity-kit.dts   |  47 +-
 arch/riscv/boot/dts/microchip/pic64gx.dtsi         |  38 +-
 arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi        | 236 +++----
 arch/riscv/boot/dts/sophgo/sg2044-cpus.dtsi        | 236 +++----
 arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts    |   2 +-
 arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts  |   4 +-
 arch/riscv/boot/dts/spacemit/k1.dtsi               |   2 +-
 arch/riscv/boot/dts/spacemit/k3.dtsi               |   3 +-
 arch/riscv/include/asm/cpu_ops.h                   |   2 +-
 arch/riscv/include/asm/vdso.h                      |  10 +-
 arch/riscv/kernel/alternative.c                    |  14 +-
 arch/riscv/kernel/asm-offsets.c                    |   4 +-
 arch/riscv/kernel/cacheinfo.c                      |   2 +-
 arch/riscv/kernel/cpu-hotplug.c                    |   4 +-
 arch/riscv/kernel/cpu_ops_sbi.c                    |  11 +-
 arch/riscv/kernel/entry.S                          |   8 +-
 arch/riscv/kernel/machine_kexec.c                  |   3 +
 arch/riscv/kernel/probes/rethook_trampoline.S      |   3 +
 arch/riscv/kernel/stacktrace.c                     |   2 +-
 arch/riscv/kernel/vdso/Makefile                    |   6 +-
 arch/riscv/kernel/vdso/rt_sigreturn.S              |  10 +-
 arch/s390/include/asm/pgtable.h                    |   4 +-
 arch/s390/include/asm/uaccess.h                    |   3 +-
 arch/s390/kernel/diag/diag310.c                    |   7 +-
 arch/s390/kernel/perf_cpum_cf.c                    |   3 +
 arch/s390/kernel/process.c                         |   2 +-
 arch/s390/kvm/dat.c                                |   2 +-
 arch/s390/kvm/gaccess.c                            |  73 ++-
 arch/s390/kvm/gmap.c                               |   7 +-
 arch/s390/kvm/gmap.h                               |  14 +-
 arch/s390/kvm/kvm-s390.c                           |   2 +-
 arch/s390/kvm/pci.c                                |  12 +-
 arch/s390/mm/gmap_helpers.c                        |   9 +-
 arch/s390/mm/mmap.c                                |   2 +-
 arch/sh/include/asm/uaccess.h                      |   3 +-
 arch/sparc/include/asm/page_32.h                   |   2 +
 arch/sparc/include/asm/uaccess_32.h                |   3 +-
 arch/sparc/include/asm/uaccess_64.h                |   3 +-
 arch/sparc/kernel/led.c                            |   2 +-
 arch/um/include/asm/uaccess.h                      |   3 +-
 arch/x86/Kconfig.cpu                               |   8 +-
 arch/x86/boot/compressed/acpi.c                    |   7 +-
 arch/x86/boot/early_serial_console.c               |  11 +-
 arch/x86/events/amd/brs.c                          |  10 +-
 arch/x86/events/amd/core.c                         |  18 +-
 arch/x86/events/amd/lbr.c                          |   3 +-
 arch/x86/events/amd/uncore.c                       |   6 +-
 arch/x86/events/intel/uncore_discovery.c           |   4 +-
 arch/x86/events/intel/uncore_snbep.c               |   6 +-
 arch/x86/include/asm/bug.h                         |   2 +
 arch/x86/kernel/cpu/cpu.h                          |   1 -
 arch/x86/kernel/uprobes.c                          |  26 +-
 arch/x86/kvm/irq.c                                 |   4 +-
 arch/x86/kvm/lapic.c                               |   8 +-
 arch/x86/kvm/svm/sev.c                             |   6 +-
 arch/x86/kvm/vmx/nested.c                          |  68 +-
 arch/x86/kvm/vmx/tdx.c                             |   6 +-
 arch/x86/platform/olpc/olpc-xo15-sci.c             |   1 +
 arch/x86/video/video-common.c                      |  23 +-
 arch/x86/virt/svm/sev.c                            |   2 +
 arch/xtensa/include/asm/uaccess.h                  |   3 +-
 block/blk.h                                        |  13 +-
 block/genhd.c                                      |   4 -
 block/ioctl.c                                      |   2 +-
 crypto/Kconfig                                     |   4 +-
 crypto/af_alg.c                                    |   2 +
 crypto/algif_skcipher.c                            |  75 +--
 crypto/asymmetric_keys/verify_pefile.c             |   2 +
 crypto/ecrdsa.c                                    |   2 +-
 crypto/rng.c                                       |  11 +
 drivers/accel/amdxdna/Makefile                     |   1 +
 drivers/accel/amdxdna/aie.c                        |  89 +++
 drivers/accel/amdxdna/aie.h                        |  31 +
 drivers/accel/amdxdna/aie2_ctx.c                   |  26 +-
 drivers/accel/amdxdna/aie2_error.c                 |  17 +-
 drivers/accel/amdxdna/aie2_message.c               | 164 ++---
 drivers/accel/amdxdna/aie2_msg_priv.h              |   2 +-
 drivers/accel/amdxdna/aie2_pci.c                   | 166 ++---
 drivers/accel/amdxdna/aie2_pci.h                   |  26 +-
 drivers/accel/amdxdna/aie2_pm.c                    |   6 +-
 drivers/accel/amdxdna/aie2_smu.c                   |  22 +-
 drivers/accel/amdxdna/amdxdna_ctx.c                |  40 +-
 drivers/accel/amdxdna/amdxdna_gem.c                |  37 +-
 drivers/accel/amdxdna/amdxdna_gem.h                |   1 -
 drivers/accel/amdxdna/amdxdna_iommu.c              |  56 +-
 drivers/accel/amdxdna/amdxdna_mailbox.c            |  10 +-
 drivers/accel/amdxdna/amdxdna_pci_drv.h            |   8 +
 drivers/accel/amdxdna/amdxdna_ubuf.c               |  12 +-
 drivers/accel/amdxdna/npu1_regs.c                  |   4 +-
 drivers/accel/amdxdna/npu4_regs.c                  |   4 +-
 drivers/accel/amdxdna/npu5_regs.c                  |   2 +-
 drivers/accel/amdxdna/npu6_regs.c                  |   2 +-
 drivers/accel/ivpu/ivpu_fw_log.c                   |   4 +
 drivers/accel/ivpu/ivpu_job.c                      |  10 +-
 drivers/acpi/acpi_ipmi.c                           |   4 +-
 drivers/acpi/acpi_pad.c                            |   6 +-
 drivers/acpi/acpi_tad.c                            |   2 +-
 drivers/acpi/acpica/acutils.h                      |   2 -
 drivers/acpi/acpica/utnonansi.c                    |   7 -
 drivers/acpi/button.c                              |  26 +-
 drivers/acpi/processor_idle.c                      |  13 +-
 drivers/acpi/resource.c                            |   6 +-
 drivers/acpi/riscv/cpuidle.c                       |   2 +-
 drivers/acpi/riscv/rimt.c                          |   7 +-
 drivers/amba/bus.c                                 |  37 +-
 drivers/android/binder.c                           |  18 +-
 drivers/ata/libata-core.c                          |  44 +-
 drivers/ata/libata-scsi.c                          |   9 +-
 drivers/ata/libata.h                               |   9 +
 drivers/ata/pata_pxa.c                             |   1 +
 drivers/ata/sata_gemini.c                          |   2 +-
 drivers/base/core.c                                |  83 ++-
 drivers/base/dd.c                                  |   7 +-
 drivers/base/firmware_loader/main.c                |  71 ++-
 drivers/base/power/main.c                          |   6 +-
 drivers/base/property.c                            |   4 +-
 drivers/base/regmap/regcache.c                     |   2 +-
 drivers/base/regmap/regmap-i2c.c                   |   2 +-
 drivers/block/drbd/drbd_receiver.c                 |   5 +
 drivers/bluetooth/Kconfig                          |   2 +-
 drivers/bluetooth/bpa10x.c                         |   8 +-
 drivers/bluetooth/btintel.c                        |  10 +-
 drivers/bluetooth/btintel.h                        |   9 +
 drivers/bluetooth/btintel_pcie.c                   | 531 ++++++++++++---
 drivers/bluetooth/btintel_pcie.h                   |  26 +-
 drivers/bluetooth/btmtk.c                          |   4 +-
 drivers/bluetooth/btrtl.c                          |   5 +-
 drivers/bluetooth/hci_qca.c                        |  11 +-
 drivers/bluetooth/hci_vhci.c                       |  10 +
 drivers/bus/imx-weim.c                             |   6 -
 drivers/bus/mhi/ep/main.c                          |  11 +-
 drivers/bus/mhi/host/pci_generic.c                 |  20 +-
 drivers/bus/sunxi-rsb.c                            |   3 +
 drivers/cdx/cdx.c                                  |  40 +-
 drivers/char/hpet.c                                |   6 +-
 drivers/char/ipmi/ipmi_msghandler.c                |  10 +-
 drivers/char/sonypi.c                              |   6 +-
 drivers/char/tlclk.c                               |   4 +
 drivers/char/tpm/eventlog/tpm1.c                   |   4 +-
 drivers/char/tpm/tpm-dev.c                         |   2 +-
 drivers/char/tpm/tpm2-cmd.c                        |   6 +-
 drivers/char/tpm/tpm2-sessions.c                   |  45 +-
 drivers/char/tpm/tpm_crb.c                         |   6 +-
 drivers/char/tpm/tpm_tis_core.c                    |  35 +-
 drivers/char/tpm/tpmrm-dev.c                       |   2 +-
 drivers/char/virtio_console.c                      |  52 +-
 drivers/clk/at91/pmc.c                             |   2 +-
 drivers/clk/at91/sam9x7.c                          |  18 +-
 drivers/clk/clk-scmi.c                             |   4 +-
 drivers/clk/clk-scpi.c                             |   2 +-
 drivers/clk/microchip/clk-mpfs-ccc.c               |  15 +-
 drivers/clk/qcom/a53-pll.c                         |   2 +-
 drivers/clk/qcom/camcc-x1e80100.c                  |  64 ++
 drivers/clk/qcom/ipq-cmn-pll.c                     |  11 +-
 drivers/clk/renesas/rzg2l-cpg.c                    |   6 +-
 drivers/clk/samsung/Kconfig                        |   2 +-
 drivers/clk/spacemit/ccu-k3.c                      |  20 +-
 drivers/clocksource/Kconfig                        |  31 +
 drivers/clocksource/timer-sun5i.c                  |   3 +
 drivers/cpufreq/cpufreq_conservative.c             |  12 +-
 drivers/cpufreq/cpufreq_governor.c                 |  42 +-
 drivers/cpufreq/intel_pstate.c                     |   6 +-
 drivers/cpuidle/driver.c                           |   8 -
 drivers/crypto/Kconfig                             |   1 -
 drivers/crypto/allwinner/Kconfig                   |   8 -
 drivers/crypto/allwinner/sun4i-ss/Makefile         |   1 -
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c  |  36 --
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c  |  69 --
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h       |  20 -
 drivers/crypto/atmel-sha204a.c                     |   8 +-
 drivers/crypto/cavium/cpt/cptvf_reqmanager.c       |   4 +-
 drivers/crypto/ccp/psp-dev.c                       |  12 +-
 drivers/crypto/ccp/sev-dev-tsm.c                   |  23 +-
 drivers/crypto/ccp/sev-dev.c                       |  26 +-
 drivers/crypto/hisilicon/qm.c                      |   4 +-
 drivers/crypto/inside-secure/eip93/eip93-main.c    |   2 +
 drivers/crypto/inside-secure/eip93/eip93-regs.h    |   2 +-
 drivers/crypto/inside-secure/safexcel.c            |   2 +-
 .../crypto/intel/qat/qat_common/adf_common_drv.h   |   1 -
 .../intel/qat/qat_common/adf_heartbeat_inject.c    |   6 +-
 .../crypto/intel/qat/qat_common/adf_hw_arbiter.c   |  25 -
 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c |   4 +-
 drivers/crypto/tegra/tegra-se-aes.c                |  33 +-
 drivers/crypto/xilinx/xilinx-trng.c                |  85 +--
 drivers/cxl/core/core.h                            |   2 +
 drivers/cxl/core/features.c                        |   2 +-
 drivers/cxl/core/memdev.c                          |   4 +-
 drivers/cxl/core/pci.c                             |  26 +-
 drivers/cxl/core/port.c                            |   7 +-
 drivers/cxl/core/ras.c                             |  27 +-
 drivers/cxl/core/region.c                          | 125 ++--
 drivers/cxl/core/trace.h                           |  24 +-
 drivers/cxl/cxl.h                                  |  22 +-
 drivers/dax/kmem.c                                 |   6 +
 drivers/dibs/dibs_loopback.c                       |   5 +
 drivers/dma-buf/dma-fence-unwrap.c                 |   3 +
 drivers/dma-buf/dma-fence.c                        |   9 +-
 drivers/dma/dma-axi-dmac.c                         |  68 +-
 drivers/dma/dmaengine.c                            |   3 +-
 drivers/dma/dw-edma/dw-edma-core.h                 |   2 +-
 drivers/dma/dw-edma/dw-edma-pcie.c                 |   3 +
 drivers/dma/dw-edma/dw-edma-v0-core.c              |   6 +
 drivers/dma/imx-sdma.c                             |   4 +-
 drivers/dma/qcom/gpi.c                             |   1 +
 drivers/dma/sh/rz-dmac.c                           |  92 +--
 drivers/dma/tegra186-gpc-dma.c                     |   7 +
 drivers/dpll/dpll_core.c                           |  20 +-
 drivers/edac/igen6_edac.c                          | 405 +++++++++---
 drivers/edac/skx_common.c                          |   3 +
 drivers/firmware/arm_ffa/driver.c                  |  27 +-
 drivers/firmware/arm_scmi/power.c                  |   6 +-
 drivers/firmware/arm_scmi/sensors.c                |   2 +-
 drivers/firmware/samsung/exynos-acpm.c             |  23 +
 drivers/firmware/smccc/soc_id.c                    |   2 +-
 drivers/firmware/xilinx/zynqmp.c                   |  28 +
 drivers/fpga/dfl.c                                 |   2 +
 drivers/fpga/microchip-spi.c                       |   3 +
 drivers/gpib/cb7210/cb7210.c                       |   1 +
 drivers/gpib/common/gpib_os.c                      |   4 +-
 drivers/gpio/gpio-davinci.c                        |   4 +-
 drivers/gpio/gpio-dwapb.c                          |  83 ++-
 drivers/gpio/gpio-f7188x.c                         |   6 +-
 drivers/gpio/gpio-htc-egpio.c                      |   6 +-
 drivers/gpio/gpio-mlxbf3.c                         |   3 +-
 drivers/gpio/gpio-mt7621.c                         | 283 ++++++--
 drivers/gpio/gpio-mvebu.c                          |   6 +-
 drivers/gpio/gpio-palmas.c                         |  19 +
 drivers/gpio/gpio-shared-proxy.c                   | 136 ++--
 drivers/gpio/gpio-tegra.c                          |  18 +-
 drivers/gpio/gpio-timberdale.c                     |   2 +-
 drivers/gpio/gpiolib-acpi-core.c                   |  19 +-
 drivers/gpio/gpiolib-shared.c                      |   9 +-
 drivers/gpio/gpiolib-shared.h                      |  31 +-
 drivers/gpio/gpiolib.c                             |   2 +-
 drivers/gpu/buddy.c                                |  67 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |  16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c   |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            |  25 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c            |   2 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c            |   3 +
 drivers/gpu/drm/amd/amdgpu/mes_v12_1.c             |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |   3 +
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  20 +-
 drivers/gpu/drm/amd/amdkfd/kfd_events.c            |   5 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c |   6 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c               |   1 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  10 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  |  13 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  81 ++-
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |   2 +
 drivers/gpu/drm/amd/display/dc/dc.h                |  58 +-
 drivers/gpu/drm/amd/display/dc/dc_types.h          |  24 -
 .../drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c   | 229 +++----
 .../drm/amd/display/dc/hubp/dcn401/dcn401_hubp.h   |  23 +-
 .../gpu/drm/amd/display/dc/hubp/dcn42/dcn42_hubp.c |  78 +--
 .../gpu/drm/amd/display/dc/hubp/dcn42/dcn42_hubp.h |  10 +-
 .../drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c  | 431 ++++++++-----
 .../drm/amd/display/dc/hwss/dcn42/dcn42_hwseq.c    | 495 +++++++++++++-
 .../drm/amd/display/dc/hwss/dcn42/dcn42_hwseq.h    |   9 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h       |  35 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h        |  79 +--
 .../gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.c | 177 +++--
 .../gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.h |  25 +-
 .../gpu/drm/amd/display/dc/mpc/dcn42/dcn42_mpc.c   | 392 +++++++++++-
 .../gpu/drm/amd/display/dc/mpc/dcn42/dcn42_mpc.h   |  49 +-
 .../amd/display/dc/resource/dcn42/dcn42_resource.c |   1 -
 .../amd/display/modules/info_packet/info_packet.c  |   2 +
 drivers/gpu/drm/amd/pm/amdgpu_pm.c                 |  26 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |   4 +
 drivers/gpu/drm/drm_edid.c                         |   8 +
 drivers/gpu/drm/drm_fb_helper.c                    |  92 ++-
 drivers/gpu/drm/drm_gpusvm.c                       |   5 +
 drivers/gpu/drm/drm_gpuvm.c                        |   9 +-
 drivers/gpu/drm/drm_ioctl.c                        |  14 +-
 drivers/gpu/drm/drm_syncobj.c                      |  10 +-
 drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h       |   1 +
 drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.h         |   1 +
 drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c       |   2 +-
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c     |  78 ++-
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_dp.c     |  35 +-
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c    |  14 +
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h    |   1 +
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c   |  75 ++-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   6 +
 drivers/gpu/drm/i915/display/intel_lt_phy.c        |   6 +-
 drivers/gpu/drm/imagination/pvr_drv.c              |   6 +-
 drivers/gpu/drm/imagination/pvr_fw_trace.c         |   2 +-
 drivers/gpu/drm/imagination/pvr_vm.c               |   6 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c              |   7 +-
 drivers/gpu/drm/msm/adreno/a8xx_gpu.c              |  15 +-
 drivers/gpu/drm/msm/dp/dp_display.c                |   4 +-
 drivers/gpu/drm/msm/dp/dp_reg.h                    |   4 +-
 drivers/gpu/drm/msm/msm_mdss.c                     | 113 ++--
 .../gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c |   3 +-
 drivers/gpu/drm/panel/Kconfig                      |  13 +-
 drivers/gpu/drm/panthor/panthor_device.c           |   9 +-
 drivers/gpu/drm/panthor/panthor_device.h           | 100 +--
 drivers/gpu/drm/panthor/panthor_drv.c              |   8 +-
 drivers/gpu/drm/panthor/panthor_fw.c               |  29 +-
 drivers/gpu/drm/panthor/panthor_fw_regs.h          |  32 +
 drivers/gpu/drm/panthor/panthor_gpu.c              |  50 +-
 drivers/gpu/drm/panthor/panthor_gpu_regs.h         | 123 ++++
 drivers/gpu/drm/panthor/panthor_heap.c             |   2 +-
 drivers/gpu/drm/panthor/panthor_hw.c               |  50 +-
 drivers/gpu/drm/panthor/panthor_hw.h               |   2 +-
 drivers/gpu/drm/panthor/panthor_mmu.c              |  37 +-
 drivers/gpu/drm/panthor/panthor_mmu_regs.h         |  73 +++
 drivers/gpu/drm/panthor/panthor_pwr.c              |  73 ++-
 drivers/gpu/drm/panthor/panthor_pwr_regs.h         |  83 +++
 drivers/gpu/drm/panthor/panthor_regs.h             | 291 ---------
 drivers/gpu/drm/panthor/panthor_sched.c            | 113 ++--
 drivers/gpu/drm/radeon/radeon_gem.c                |  13 +-
 drivers/gpu/drm/radeon/radeon_ring.c               |   4 +-
 drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c     |  12 +-
 drivers/gpu/drm/rockchip/dw_dp-rockchip.c          |   7 +-
 drivers/gpu/drm/rockchip/inno_hdmi-rockchip.c      |   3 +-
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c        |   2 +-
 drivers/gpu/drm/tegra/dc.c                         |   4 +-
 drivers/gpu/drm/tegra/fbdev.c                      |   1 -
 drivers/gpu/drm/tegra/gem.c                        |  22 +-
 drivers/gpu/drm/tegra/gr2d.c                       |  19 +-
 drivers/gpu/drm/tegra/gr3d.c                       |  19 +-
 drivers/gpu/drm/tegra/submit.c                     |   3 +-
 drivers/gpu/drm/tidss/tidss_kms.c                  |   2 -
 drivers/gpu/drm/v3d/v3d_submit.c                   |   2 +
 drivers/gpu/drm/verisilicon/vs_primary_plane.c     |  10 +-
 drivers/gpu/drm/xe/Makefile                        |   4 +-
 drivers/gpu/drm/xe/tests/xe_pci.c                  |   1 -
 drivers/gpu/drm/xe/xe_drm_client.c                 |  12 +-
 drivers/gpu/drm/xe/xe_guc_relay.c                  |  13 +-
 drivers/gpu/drm/xe/xe_hw_engine.c                  |   4 +-
 drivers/gpu/drm/xe/xe_pt.c                         |  72 ++-
 drivers/gpu/drm/xe/xe_svm.h                        |  15 +-
 drivers/gpu/drm/xe/xe_userptr.c                    |   2 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c                 |   2 +-
 drivers/gpu/host1x/bus.c                           |  62 +-
 drivers/gpu/host1x/job.c                           |  10 +-
 drivers/gpu/host1x/mipi.c                          |   6 +-
 drivers/gpu/nova-core/firmware.rs                  |   8 +-
 drivers/gpu/nova-core/firmware/gsp.rs              |   3 +-
 drivers/gpu/nova-core/vbios.rs                     | 118 ++--
 drivers/hid/bpf/hid_bpf_dispatch.c                 |   5 +-
 drivers/hid/hid-core.c                             |   7 +
 drivers/hid/hid-logitech-hidpp.c                   |   1 -
 drivers/hid/hid-picolcd_core.c                     |   3 +-
 drivers/hid/hid-wiimote-modules.c                  |  58 +-
 drivers/hv/mshv_synic.c                            |   5 +
 drivers/hv/vmbus_drv.c                             |  43 +-
 drivers/hwmon/Kconfig                              |   3 +
 drivers/hwmon/aspeed-g6-pwm-tach.c                 |   5 +-
 drivers/hwmon/asus_atk0110.c                       |   3 +
 drivers/hwmon/gpd-fan.c                            | 224 ++++---
 drivers/hwmon/it87.c                               |   3 +
 drivers/hwmon/occ/common.c                         |  34 +-
 drivers/hwmon/occ/common.h                         |   1 +
 drivers/hwmon/pmbus/adm1275.c                      |   2 +-
 drivers/hwmon/pmbus/pmbus_core.c                   |  37 +-
 drivers/hwmon/w83627hf.c                           |   4 +
 drivers/hwmon/w83793.c                             |   1 +
 drivers/hwspinlock/qcom_hwspinlock.c               |   5 +-
 drivers/hwtracing/coresight/coresight-core.c       |  34 +-
 .../hwtracing/coresight/coresight-cti-platform.c   |   1 +
 drivers/hwtracing/coresight/coresight-etm-perf.c   |   5 +-
 drivers/hwtracing/coresight/coresight-etm4x-core.c |  52 +-
 drivers/hwtracing/coresight/coresight-platform.c   |  12 +-
 drivers/hwtracing/coresight/coresight-priv.h       |   2 +-
 drivers/hwtracing/coresight/coresight-sysfs.c      |   8 +-
 drivers/hwtracing/coresight/coresight-tmc-etr.c    |   4 +-
 drivers/i2c/busses/i2c-imx.c                       |  36 +-
 drivers/i2c/busses/i2c-k1.c                        |   2 +-
 drivers/i2c/busses/i2c-mlxbf.c                     |   4 +-
 drivers/i2c/busses/i2c-mt65xx.c                    |   2 +-
 drivers/i2c/i2c-core-of.c                          |   5 -
 drivers/i3c/master.c                               | 145 ++++-
 drivers/i3c/master/dw-i3c-master.c                 |  15 +-
 drivers/i3c/master/dw-i3c-master.h                 |   2 -
 drivers/i3c/master/i3c-master-cdns.c               |  14 +-
 drivers/i3c/master/mipi-i3c-hci/core.c             |  48 +-
 drivers/i3c/master/mipi-i3c-hci/dma.c              |   9 +-
 drivers/i3c/master/mipi-i3c-hci/hci.h              |   1 +
 drivers/i3c/master/mipi-i3c-hci/ibi.h              |  13 +-
 drivers/i3c/master/mipi-i3c-hci/pio.c              |   7 +-
 drivers/i3c/master/svc-i3c-master.c                |  30 +-
 drivers/iio/accel/mma8452.c                        |   2 +
 drivers/iio/adc/xilinx-ams.c                       |   5 +
 drivers/iio/dac/mcp47feb02.c                       |  37 +-
 drivers/iio/light/acpi-als.c                       |   6 +-
 drivers/iio/light/si1133.c                         |  14 +-
 drivers/iio/light/tcs3472.c                        |  38 +-
 drivers/iio/magnetometer/ak8975.c                  |  14 +
 drivers/iio/orientation/hid-sensor-rotation.c      |  40 +-
 drivers/infiniband/core/cm.c                       |  13 +-
 drivers/infiniband/core/counters.c                 |   2 +-
 drivers/infiniband/core/frmr_pools.c               | 106 ++-
 drivers/infiniband/core/nldev.c                    |  15 +-
 drivers/infiniband/core/restrack.c                 |  49 ++
 drivers/infiniband/core/restrack.h                 |   1 +
 drivers/infiniband/core/uverbs_cmd.c               |  10 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.c           | 217 +++++--
 drivers/infiniband/hw/bnxt_re/ib_verbs.h           |   5 +-
 drivers/infiniband/hw/bnxt_re/main.c               |   2 -
 drivers/infiniband/hw/bnxt_re/qplib_res.c          |  11 +
 drivers/infiniband/hw/bnxt_re/qplib_sp.h           |   1 +
 drivers/infiniband/hw/bnxt_re/uapi.c               |  83 ++-
 drivers/infiniband/hw/hfi1/init.c                  |  13 +-
 drivers/infiniband/hw/hns/hns_roce_cq.c            |   6 +-
 drivers/infiniband/hw/hns/hns_roce_debugfs.c       |  19 +-
 drivers/infiniband/hw/hns/hns_roce_hem.c           |   8 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c         |  20 +-
 drivers/infiniband/hw/hns/hns_roce_main.c          |   2 +-
 drivers/infiniband/hw/hns/hns_roce_mr.c            |   6 +-
 drivers/infiniband/hw/hns/hns_roce_srq.c           |   2 +-
 drivers/infiniband/hw/irdma/hw.c                   |   7 +-
 drivers/infiniband/hw/irdma/main.h                 |   3 +-
 drivers/infiniband/hw/irdma/utils.c                |  12 +-
 drivers/infiniband/hw/irdma/verbs.c                |  19 +-
 drivers/infiniband/hw/irdma/verbs.h                |   1 -
 drivers/infiniband/hw/mana/main.c                  |   3 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h               |   1 +
 drivers/infiniband/hw/mlx4/mr.c                    |   9 +-
 drivers/infiniband/hw/mlx4/sysfs.c                 |  45 +-
 drivers/infiniband/hw/mlx5/devx.c                  |  30 +-
 drivers/infiniband/hw/mlx5/main.c                  |  17 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |   9 +
 drivers/infiniband/hw/mlx5/mr.c                    |  60 +-
 drivers/infiniband/hw/mlx5/odp.c                   |  12 +-
 drivers/infiniband/hw/mlx5/qp.c                    |  13 +-
 drivers/infiniband/hw/mlx5/restrack.c              |   3 -
 drivers/infiniband/hw/mlx5/umr.c                   |  93 ++-
 drivers/infiniband/hw/mlx5/umr.h                   |   9 +-
 drivers/infiniband/sw/rxe/rxe_mmap.c               |  19 +-
 drivers/infiniband/sw/rxe/rxe_net.c                |   6 +-
 drivers/infiniband/sw/rxe/rxe_ns.c                 |   4 +-
 drivers/infiniband/sw/rxe/rxe_resp.c               |  33 +-
 drivers/infiniband/sw/siw/siw_cm.c                 |  30 +-
 drivers/infiniband/ulp/srpt/ib_srpt.c              |   5 +-
 drivers/input/misc/ims-pcu.c                       | 131 +++-
 drivers/iommu/amd/amd_iommu_types.h                |  11 +-
 drivers/iommu/amd/init.c                           |   7 +-
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c         |   2 +-
 drivers/iommu/dma-iommu.c                          |   2 +-
 drivers/iommu/intel/iommu.c                        |   6 +-
 drivers/iommu/intel/pasid.c                        |   4 +-
 drivers/iommu/iommufd/pages.c                      |  10 +-
 drivers/irqchip/exynos-combiner.c                  |   4 -
 drivers/irqchip/irq-crossbar.c                     |  10 +-
 drivers/irqchip/irq-gic-v3-its.c                   |   6 +-
 drivers/irqchip/irq-riscv-imsic-early.c            |  15 +-
 drivers/irqchip/irq-ts4800.c                       |  10 +
 drivers/leds/uleds.c                               |   3 +-
 drivers/mailbox/imx-mailbox.c                      |   3 +-
 drivers/mailbox/mailbox-mpfs.c                     |   2 +-
 drivers/mailbox/mailbox.c                          |  26 +-
 drivers/mailbox/mtk-adsp-mailbox.c                 |   9 +-
 drivers/md/dm-bufio.c                              |   4 +-
 drivers/md/dm-era-target.c                         |  10 +-
 drivers/md/dm-integrity.c                          |  12 +-
 drivers/md/dm-ioctl.c                              |   4 +-
 drivers/md/dm-log.c                                |   3 +
 drivers/md/dm-pcache/dm_pcache.c                   |   8 +
 drivers/md/dm-stats.c                              |  10 +-
 drivers/md/dm-thin-metadata.c                      |  67 +-
 drivers/md/dm-verity-fec.c                         |   4 +-
 drivers/md/dm-verity-fec.h                         |   2 +-
 drivers/md/dm-verity-loadpin.c                     |   2 +-
 drivers/md/dm-verity-target.c                      |  16 +-
 drivers/md/dm-verity.h                             |   2 +-
 drivers/md/dm.c                                    |  24 +-
 drivers/md/md-bitmap.c                             |   9 +-
 drivers/md/md-bitmap.h                             |   2 +-
 drivers/md/md-llbitmap.c                           |  13 +-
 drivers/md/md.c                                    |  27 +-
 drivers/md/md.h                                    |   5 +
 drivers/md/raid1.c                                 |  54 +-
 drivers/md/raid10.c                                |  57 +-
 drivers/md/raid5.c                                 |  55 +-
 drivers/media/platform/qcom/camss/camss-vfe.c      |   2 +-
 .../media/platform/qcom/iris/iris_platform_gen1.c  |   2 +-
 drivers/media/platform/qcom/iris/iris_probe.c      |   7 +
 drivers/media/platform/qcom/venus/core.c           |   7 +-
 drivers/media/platform/qcom/venus/core.h           |   1 +
 drivers/media/platform/qcom/venus/helpers.c        |   4 +-
 drivers/media/platform/qcom/venus/hfi_parser.c     |   6 +-
 drivers/media/platform/qcom/venus/hfi_platform.c   |  24 -
 drivers/media/platform/qcom/venus/hfi_platform.h   |   2 -
 .../media/platform/qcom/venus/hfi_platform_v4.c    |  20 +-
 .../media/platform/qcom/venus/hfi_platform_v6.c    |  16 +-
 drivers/media/platform/qcom/venus/pm_helpers.c     |   8 +-
 drivers/media/platform/rockchip/rga/rga-hw.c       |   2 +-
 drivers/media/platform/rockchip/rga/rga-hw.h       |   2 +-
 drivers/media/platform/synopsys/dw-mipi-csi2rx.c   |  15 +-
 drivers/media/usb/uvc/uvc_status.c                 |  28 +-
 drivers/media/usb/uvc/uvc_video.c                  | 179 ++++--
 drivers/media/v4l2-core/v4l2-common.c              |   1 +
 drivers/memory/tegra/mc.c                          |  14 +
 drivers/memory/tegra/tegra186-emc.c                |   4 +-
 drivers/memstick/core/ms_block.c                   |   4 +
 drivers/mfd/cs42l43.c                              |   2 +-
 drivers/mfd/rsmu_i2c.c                             |   6 +-
 drivers/mfd/rsmu_spi.c                             |   5 +-
 drivers/mfd/sm501.c                                |   4 +-
 drivers/mfd/tps6586x.c                             |   2 +-
 drivers/mmc/core/block.c                           |   3 +-
 drivers/mmc/core/mmc_test.c                        |  18 +-
 drivers/mmc/host/sdhci-esdhc-imx.c                 |  91 ++-
 drivers/mmc/host/sdhci-of-dwcmshc.c                |  14 +-
 drivers/mmc/host/vub300.c                          |  36 +-
 drivers/mtd/devices/mchp23k256.c                   |   2 +-
 drivers/mtd/devices/slram.c                        |  22 +-
 drivers/mtd/maps/vmu-flash.c                       |   7 +-
 drivers/mtd/mtd_virt_concat.c                      |   4 +-
 drivers/mtd/nand/onenand/onenand_samsung.c         |   7 +-
 drivers/mtd/nand/raw/fsl_ifc_nand.c                |   9 +-
 drivers/mtd/nand/raw/lpc32xx_mlc.c                 |  12 +-
 drivers/mtd/nand/raw/lpc32xx_slc.c                 |  12 +-
 drivers/mtd/nand/raw/nand_base.c                   |  24 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c       |   2 +-
 drivers/mtd/spi-nor/Kconfig                        |   1 -
 drivers/mtd/spi-nor/debugfs.c                      |   1 +
 drivers/mtd/spi-nor/spansion.c                     |   4 +-
 drivers/mtd/spi-nor/swp.c                          |  11 +-
 drivers/net/amt.c                                  |  10 +-
 drivers/net/bareudp.c                              |   4 +-
 drivers/net/bonding/bond_3ad.c                     |  27 +-
 drivers/net/bonding/bond_main.c                    |   1 +
 drivers/net/bonding/bond_netlink.c                 |  16 +
 drivers/net/bonding/bond_options.c                 |  27 +
 drivers/net/can/usb/esd_usb.c                      |   5 +-
 drivers/net/dsa/mxl862xx/mxl862xx-host.c           |  18 +-
 drivers/net/dsa/qca/qca8k-leds.c                   |   3 +-
 drivers/net/dsa/realtek/rtl8366rb-leds.c           |   8 +-
 drivers/net/dsa/sja1105/sja1105_ptp.c              |   2 +-
 drivers/net/ethernet/airoha/airoha_eth.c           |   6 +-
 drivers/net/ethernet/airoha/airoha_ppe.c           |   9 +-
 drivers/net/ethernet/airoha/airoha_ppe_debugfs.c   |   2 -
 drivers/net/ethernet/amazon/ena/ena_netdev.c       |  23 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c    |   3 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c          |  58 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.h          |   6 +
 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c  |   1 +
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     |  23 +-
 drivers/net/ethernet/cadence/macb_main.c           |  29 +-
 .../ethernet/cavium/liquidio/cn23xx_pf_device.c    |  18 +-
 drivers/net/ethernet/cavium/liquidio/lio_main.c    |  27 -
 .../net/ethernet/cavium/liquidio/octeon_device.h   |   3 -
 .../net/ethernet/cavium/liquidio/octeon_mailbox.c  |  33 +-
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c         |   8 -
 .../net/ethernet/freescale/dpaa2/dpaa2-switch.c    |  10 +-
 drivers/net/ethernet/freescale/enetc/enetc.c       |   7 +
 drivers/net/ethernet/freescale/enetc/enetc4_pf.c   |   3 +
 drivers/net/ethernet/freescale/fman/fman.c         |   4 +-
 drivers/net/ethernet/freescale/gianfar.c           |  16 +-
 drivers/net/ethernet/google/gve/gve_rx_dqo.c       |  28 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c |  31 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    | 108 +++-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |   1 +
 drivers/net/ethernet/ibm/emac/core.c               |  13 +-
 drivers/net/ethernet/intel/e1000e/ich8lan.c        |   3 +
 drivers/net/ethernet/intel/e1000e/netdev.c         |  15 +-
 drivers/net/ethernet/intel/i40e/i40e_debug.h       |   2 +-
 drivers/net/ethernet/intel/ice/ice_common.c        |   1 -
 drivers/net/ethernet/intel/ice/ice_dpll.c          |  20 +-
 drivers/net/ethernet/intel/ice/ice_eswitch.c       |   4 +-
 drivers/net/ethernet/intel/ice/ice_ethtool.c       |  12 +-
 drivers/net/ethernet/intel/ice/ice_main.c          |  16 +-
 drivers/net/ethernet/intel/ice/ice_vf_lib.c        |   2 +-
 drivers/net/ethernet/intel/idpf/virtchnl2.h        |  12 +-
 drivers/net/ethernet/intel/igc/igc_main.c          |   2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c      |   3 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h      |   1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c      |   2 +-
 drivers/net/ethernet/marvell/mvneta.c              |   3 +
 .../net/ethernet/marvell/octeontx2/af/cn20k/npc.c  |   9 +-
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |  31 +-
 drivers/net/ethernet/marvell/octeontx2/af/mcs.c    |   6 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_cn10k.c  |   9 +
 .../ethernet/marvell/octeontx2/af/rvu_debugfs.c    |  59 +-
 .../ethernet/marvell/octeontx2/af/rvu_devlink.c    |  27 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |  15 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_npc.c    |  40 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c |   2 +-
 .../ethernet/marvell/octeontx2/nic/cn10k_macsec.c  |  10 +-
 .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c   |  83 ++-
 .../net/ethernet/marvell/octeontx2/nic/otx2_vf.c   |  22 +-
 .../net/ethernet/marvell/prestera/prestera_main.c  |   2 +-
 drivers/net/ethernet/mediatek/mtk_eth_soc.c        |  10 +-
 drivers/net/ethernet/mediatek/mtk_ppe.c            |   4 +-
 drivers/net/ethernet/mediatek/mtk_wed_debugfs.c    |   6 +-
 drivers/net/ethernet/mediatek/mtk_wed_mcu.c        |   8 +-
 drivers/net/ethernet/mellanox/mlx5/core/Makefile   |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |  12 +
 .../ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c |  37 +-
 .../ethernet/mellanox/mlx5/core/en_accel/macsec.c  |  47 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  14 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c |   9 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    |   3 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h  |  17 +-
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c |  24 +
 .../net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c  |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c  | 507 +++++++++------
 drivers/net/ethernet/mellanox/mlx5/core/lag/lag.h  | 102 ++-
 .../net/ethernet/mellanox/mlx5/core/lag/mpesw.c    |  41 +-
 .../ethernet/mellanox/mlx5/core/lag/shared_fdb.c   | 235 +++++++
 .../net/ethernet/mellanox/mlx5/core/lib/devcom.c   |   8 +
 .../net/ethernet/mellanox/mlx5/core/lib/devcom.h   |   1 +
 .../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c  |   8 +-
 .../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.h  |   6 +-
 .../net/ethernet/mellanox/mlx5/core/lib/port_tun.c |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c   |  10 +
 drivers/net/ethernet/mellanox/mlx5/core/lib/sd.h   |  10 +
 drivers/net/ethernet/mellanox/mlx5/core/lib/st.c   |   1 +
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |  12 +-
 .../ethernet/mellanox/mlx5/core/steering/hws/bwc.c |   1 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     |   2 +-
 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  |   1 +
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c         |   9 +-
 drivers/net/ethernet/meta/fbnic/fbnic_netdev.c     |   7 +-
 drivers/net/ethernet/meta/fbnic/fbnic_pci.c        |   4 +
 drivers/net/ethernet/meta/fbnic/fbnic_rpc.c        |   2 +
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.c       |  11 +-
 drivers/net/ethernet/microchip/lan743x_main.c      |   2 +-
 .../ethernet/microchip/lan966x/lan966x_vcap_impl.c |   5 +-
 .../ethernet/microchip/sparx5/sparx5_switchdev.c   |   4 +-
 .../ethernet/microchip/sparx5/sparx5_vcap_impl.c   |   5 +-
 drivers/net/ethernet/microchip/vcap/vcap_api.c     |  72 ++-
 drivers/net/ethernet/microchip/vcap/vcap_api.h     |   3 +-
 .../net/ethernet/microchip/vcap/vcap_api_debugfs.c |   8 +-
 .../microchip/vcap/vcap_api_debugfs_kunit.c        |   3 +-
 .../net/ethernet/microchip/vcap/vcap_api_kunit.c   |   3 +-
 .../net/ethernet/microchip/vcap/vcap_api_private.h |   3 +
 drivers/net/ethernet/microsoft/mana/gdma_main.c    |   2 +
 drivers/net/ethernet/microsoft/mana/mana_bpf.c     |   3 +-
 drivers/net/ethernet/microsoft/mana/mana_en.c      |  80 ++-
 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.c     |  26 +-
 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h     |   5 +-
 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c  |  82 +--
 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h  |  14 +
 drivers/net/ethernet/oa_tc6.c                      |  14 +-
 .../net/ethernet/pensando/ionic/ionic_ethtool.c    |  11 +-
 drivers/net/ethernet/qlogic/qede/qede_fp.c         |   9 +-
 .../net/ethernet/qualcomm/rmnet/rmnet_handlers.c   |   5 +-
 drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h    |   1 +
 .../net/ethernet/qualcomm/rmnet/rmnet_map_data.c   |  78 ++-
 .../net/ethernet/stmicro/stmmac/dwmac-spacemit.c   |  13 +-
 drivers/net/ethernet/sun/sungem.c                  |  13 +-
 drivers/net/ethernet/sunplus/spl2sw_phy.c          |   6 +-
 drivers/net/ethernet/ti/icssg/icssg_common.c       | 120 ++--
 drivers/net/ethernet/wangxun/libwx/wx_lib.c        |   1 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h       |   1 +
 drivers/net/geneve.c                               |  24 +-
 drivers/net/gtp.c                                  |  10 +-
 drivers/net/ieee802154/ca8210.c                    |   9 +-
 drivers/net/ipa/ipa_smp2p.c                        |  30 +-
 drivers/net/macsec.c                               |   9 +-
 drivers/net/mdio/Kconfig                           |   3 +-
 drivers/net/netconsole.c                           |  12 +-
 drivers/net/ovpn/udp.c                             |   2 +-
 drivers/net/pfcp.c                                 |   5 +-
 drivers/net/phy/realtek/realtek_main.c             |   3 +-
 drivers/net/phy/sfp.c                              |   1 +
 drivers/net/pse-pd/pse_core.c                      |   6 +-
 drivers/net/thunderbolt/main.c                     |   8 +-
 drivers/net/usb/gl620a.c                           |   6 +-
 drivers/net/usb/lan78xx.c                          |  55 +-
 drivers/net/usb/net1080.c                          |   2 +-
 drivers/net/veth.c                                 |   2 +
 drivers/net/virtio_net.c                           |  27 +-
 drivers/net/vxlan/vxlan_core.c                     |  14 +-
 drivers/net/wan/ixp4xx_hss.c                       |   4 +-
 drivers/net/wireguard/socket.c                     |   8 +-
 drivers/net/wireless/ath/ath11k/mhi.c              |   4 +-
 drivers/net/wireless/ath/ath11k/pci.c              |   8 +
 drivers/net/wireless/ath/ath12k/ahb.c              |  25 +-
 drivers/net/wireless/ath/ath12k/dp.c               |  10 +-
 drivers/net/wireless/ath/ath12k/dp_mon.c           |   6 +-
 drivers/net/wireless/ath/ath12k/mac.c              |  21 +-
 drivers/net/wireless/ath/ath12k/pci.c              |   2 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c      |   4 +-
 drivers/net/wireless/ath/ath9k/xmit.c              |   5 +
 drivers/net/wireless/ath/wcn36xx/smd.c             |  13 +
 .../broadcom/brcm80211/brcmfmac/cyw/core.c         |   6 +
 drivers/net/wireless/marvell/libertas_tf/main.c    |   2 +-
 drivers/net/wireless/marvell/mwifiex/cfg80211.c    |   2 +-
 drivers/net/wireless/marvell/mwifiex/join.c        |   1 -
 drivers/net/wireless/mediatek/mt76/channel.c       |   2 +-
 drivers/net/wireless/mediatek/mt76/mac80211.c      |   4 +-
 drivers/net/wireless/mediatek/mt76/mt7615/init.c   |   1 -
 drivers/net/wireless/mediatek/mt76/mt7915/mac.c    |  10 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mac.c    |   5 +-
 drivers/net/wireless/mediatek/mt76/mt7921/pci.c    |  17 +-
 drivers/net/wireless/mediatek/mt76/mt7925/mac.c    |  20 +-
 drivers/net/wireless/mediatek/mt76/mt7925/main.c   |   4 +-
 drivers/net/wireless/mediatek/mt76/mt7925/pci.c    |   4 +-
 .../net/wireless/mediatek/mt76/mt7925/testmode.c   |   5 +
 drivers/net/wireless/mediatek/mt76/mt792x_core.c   |   4 +-
 drivers/net/wireless/mediatek/mt76/mt7996/dma.c    |   2 +-
 drivers/net/wireless/mediatek/mt76/mt7996/mac.c    |  35 +-
 drivers/net/wireless/mediatek/mt76/mt7996/main.c   |   9 +-
 drivers/net/wireless/mediatek/mt76/mt7996/mcu.c    |   5 +-
 drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h |   3 +-
 drivers/net/wireless/mediatek/mt76/mt7996/pci.c    |   2 +-
 drivers/net/wireless/mediatek/mt76/tx.c            |   2 +-
 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c     |  12 +-
 drivers/net/wireless/realtek/rtw88/pci.c           |  13 +-
 drivers/net/wireless/realtek/rtw89/core.h          |   3 +
 drivers/net/wireless/realtek/rtw89/fw.c            |   2 +-
 drivers/net/wireless/realtek/rtw89/pci.c           |   8 +-
 drivers/net/wireless/ti/wlcore/main.c              |  23 +-
 drivers/net/wwan/iosm/iosm_ipc_mux_codec.c         |  40 +-
 drivers/net/wwan/t7xx/t7xx_hif_cldma.c             |   3 +
 drivers/net/wwan/t7xx/t7xx_port_wwan.c             |   2 +
 drivers/ntb/hw/epf/ntb_hw_epf.c                    |  81 ++-
 drivers/ntb/ntb_transport.c                        |  10 +-
 drivers/nvdimm/btt.c                               |  14 +-
 drivers/nvdimm/nd.h                                |  11 +-
 drivers/nvdimm/region_devs.c                       |  66 +-
 drivers/nvme/host/apple.c                          |  12 +-
 drivers/nvme/host/core.c                           |   4 +-
 drivers/nvme/host/pci.c                            |   9 +-
 drivers/nvme/target/core.c                         |   2 +-
 drivers/nvme/target/fabrics-cmd-auth.c             |  26 +-
 drivers/nvme/target/rdma.c                         |  18 +-
 drivers/nvme/target/tcp.c                          |  11 +-
 drivers/of/cpu.c                                   |   2 +-
 drivers/of/dynamic.c                               |   1 -
 drivers/of/of_reserved_mem.c                       |  28 +-
 drivers/of/overlay.c                               |  15 +
 drivers/of/platform.c                              |   5 -
 drivers/opp/core.c                                 |   5 +-
 drivers/pci/controller/dwc/pci-meson.c             |  13 +-
 .../pci/controller/dwc/pcie-designware-debugfs.c   |  10 +-
 drivers/pci/controller/dwc/pcie-designware.c       |  16 +-
 drivers/pci/controller/dwc/pcie-designware.h       |   1 +
 drivers/pci/controller/dwc/pcie-intel-gw.c         |  46 +-
 drivers/pci/controller/dwc/pcie-qcom.c             |  43 +-
 drivers/pci/controller/pci-loongson.c              |  31 +-
 drivers/pci/controller/pcie-iproc-bcma.c           |   2 +-
 drivers/pci/controller/pcie-iproc-platform.c       |   2 +-
 drivers/pci/controller/pcie-iproc.c                |   1 -
 drivers/pci/controller/pcie-iproc.h                |   2 -
 drivers/pci/controller/pcie-mediatek-gen3.c        |   4 +-
 drivers/pci/controller/pcie-mediatek.c             |  19 +-
 drivers/pci/controller/pcie-rcar-host.c            |   1 -
 drivers/pci/endpoint/functions/pci-epf-ntb.c       |  21 +-
 drivers/pci/endpoint/functions/pci-epf-vntb.c      | 130 +++-
 drivers/pci/msi/msi.c                              |   4 +-
 drivers/pci/pci.c                                  |   3 -
 drivers/pci/pwrctrl/core.c                         |  26 +-
 drivers/pci/rom.c                                  | 149 ++++-
 drivers/phy/freescale/phy-fsl-imx8qm-lvds-phy.c    |  26 +-
 drivers/phy/phy-can-transceiver.c                  |   3 +
 drivers/pinctrl/Kconfig                            |   1 +
 drivers/pinctrl/cirrus/pinctrl-cs42l43.c           |   6 +-
 drivers/pinctrl/mediatek/mtk-eint.c                |   6 +-
 drivers/pinctrl/mediatek/pinctrl-airoha.c          | 122 +++-
 drivers/pinctrl/mediatek/pinctrl-mt8167.c          |   2 +-
 drivers/pinctrl/mediatek/pinctrl-mt8516.c          |   2 +-
 drivers/pinctrl/meson/pinctrl-amlogic-a4.c         |  15 +-
 drivers/pinctrl/meson/pinctrl-meson.c              |   2 +-
 drivers/pinctrl/nuvoton/pinctrl-ma35.c             |   3 +-
 drivers/pinctrl/nuvoton/pinctrl-ma35d1.c           | 470 ++++++++------
 drivers/pinctrl/pinconf-generic.c                  |   5 +-
 drivers/pinctrl/qcom/tlmm-test.c                   |  19 +-
 drivers/pinctrl/renesas/pinctrl-rzg2l.c            |   8 +-
 drivers/pinctrl/spacemit/pinctrl-k1.c              |   2 +-
 drivers/pinctrl/sunxi/pinctrl-sun55i-a523-r.c      |   1 -
 drivers/pinctrl/sunxi/pinctrl-sun55i-a523.c        |   1 -
 drivers/pinctrl/sunxi/pinctrl-sunxi.c              |   2 +-
 drivers/platform/chrome/chromeos_privacy_screen.c  |   3 +
 drivers/platform/chrome/chromeos_tbmc.c            |   6 +-
 drivers/platform/chrome/wilco_ec/event.c           |   8 +-
 drivers/platform/x86/amd/pmc/pmc-quirks.c          |  39 ++
 drivers/platform/x86/amd/pmc/pmc.c                 |  83 ++-
 drivers/platform/x86/amd/pmc/pmc.h                 |   2 +
 drivers/platform/x86/bitland-mifs-wmi.c            |   8 +
 drivers/platform/x86/classmate-laptop.c            |  12 +-
 drivers/platform/x86/dell/dell-laptop.c            |   5 +
 drivers/platform/x86/hp/hp-wmi.c                   |   8 +
 .../x86/intel/speed_select_if/isst_tpmi_core.c     |   2 +-
 drivers/platform/x86/intel/vsec.c                  |  17 +-
 drivers/platform/x86/intel/vsec_tpmi.c             |  25 +-
 drivers/platform/x86/xo15-ebook.c                  |   7 +-
 drivers/pmdomain/imx/imx8m-blk-ctrl.c              |  46 +-
 drivers/pmdomain/imx/imx93-blk-ctrl.c              |  60 +-
 drivers/pmdomain/mediatek/mtk-pm-domains.c         |  40 +-
 drivers/power/sequencing/core.c                    |   9 +-
 drivers/power/supply/bq257xx_charger.c             |   7 +-
 drivers/power/supply/charger-manager.c             |   6 +-
 drivers/power/supply/cpcap-battery.c               |  11 +-
 drivers/power/supply/max17042_battery.c            |   3 +-
 drivers/power/supply/power_supply_core.c           |  11 +-
 drivers/pwm/pwm-imx27.c                            |   8 +-
 drivers/pwm/pwm-rzg2l-gpt.c                        |   8 +-
 drivers/rapidio/devices/tsi721.c                   |   3 +-
 drivers/regulator/core.c                           |   4 +-
 drivers/regulator/ltc3676.c                        |  10 +-
 drivers/remoteproc/qcom_common.c                   |  14 +-
 drivers/remoteproc/qcom_q6v5_wcss.c                |  23 +-
 drivers/remoteproc/xlnx_r5_remoteproc.c            |  46 +-
 drivers/reset/reset-imx7.c                         |   6 +
 drivers/reset/reset-sunxi.c                        |   4 +-
 drivers/rpmsg/qcom_glink_native.c                  |   2 -
 drivers/rpmsg/rpmsg_core.c                         |  43 +-
 drivers/rpmsg/virtio_rpmsg_bus.c                   |   1 -
 drivers/rtc/rtc-abx80x.c                           |   3 +-
 drivers/rtc/rtc-cmos.c                             |   6 +
 drivers/rtc/rtc-ds1307.c                           |  30 +-
 drivers/rtc/rtc-isl1208.c                          |  15 +-
 drivers/rtc/rtc-mpfs.c                             |   2 +-
 drivers/rtc/rtc-msc313.c                           |   4 +-
 drivers/rtc/rtc-renesas-rtca3.c                    |   2 +-
 drivers/s390/char/monwriter.c                      |   3 +
 drivers/s390/crypto/pkey_api.c                     |   8 +-
 drivers/s390/crypto/pkey_pckmo.c                   |   4 +
 drivers/s390/crypto/zcrypt_cex2a.c                 |   0
 drivers/s390/crypto/zcrypt_cex2a.h                 |   0
 drivers/s390/crypto/zcrypt_cex2c.c                 |   0
 drivers/s390/crypto/zcrypt_cex2c.h                 |   0
 drivers/scsi/elx/efct/efct_hw.c                    |   2 +
 drivers/scsi/elx/efct/efct_unsol.c                 |   1 +
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c             |  12 +-
 drivers/scsi/hpsa.c                                |   4 +
 drivers/scsi/lpfc/lpfc_init.c                      |   3 +-
 drivers/scsi/pm8001/pm8001_ctl.c                   |   5 +-
 drivers/scsi/scsi_scan.c                           |   2 +-
 drivers/scsi/scsi_transport_sas.c                  | 101 ++-
 drivers/scsi/sg.c                                  |   7 +-
 drivers/scsi/smartpqi/smartpqi_init.c              |   2 +-
 drivers/soc/fsl/qe/qe.c                            |   3 +
 drivers/soc/fsl/qe/qe_ports_ic.c                   |  21 +-
 drivers/soc/mediatek/mt8167-mmsys.h                |  11 +-
 drivers/soc/ti/k3-ringacc.c                        |   4 +-
 drivers/soc/xilinx/zynqmp_power.c                  |  47 +-
 drivers/soundwire/generic_bandwidth_allocation.c   |  57 +-
 drivers/soundwire/intel_ace2x.c                    |   1 +
 drivers/soundwire/stream.c                         |   7 +
 drivers/spi/spi-atcspi200.c                        |  13 +-
 drivers/spi/spi-atmel.c                            | 133 ++--
 drivers/spi/spi-dw.h                               |   1 +
 drivers/spi/spi-ep93xx.c                           |   1 +
 drivers/spi/spi-hisi-kunpeng.c                     |   6 +-
 drivers/spi/spi-imx.c                              |  19 +-
 drivers/spi/spi-meson-spifc.c                      |   1 +
 drivers/spi/spi-rpc-if.c                           |   6 +-
 drivers/spi/spi-rzv2h-rspi.c                       |   4 +-
 drivers/spi/spi-sh-msiof.c                         |  10 +-
 drivers/spi/spi-uniphier.c                         |   4 +-
 drivers/spi/spi-xilinx.c                           |  11 +-
 drivers/spi/spi.c                                  |   5 -
 drivers/staging/media/atomisp/i2c/atomisp-gc2235.c |  29 +-
 drivers/staging/media/atomisp/pci/atomisp_cmd.c    |   6 +-
 drivers/staging/media/atomisp/pci/sh_css.c         |   8 +-
 drivers/staging/media/sunxi/cedrus/cedrus.c        |   4 +-
 drivers/staging/most/video/video.c                 |   7 +-
 drivers/staging/nvec/nvec.c                        |   4 +-
 drivers/staging/rtl8723bs/core/rtw_security.c      |   2 +-
 drivers/target/iscsi/iscsi_target_auth.c           |   6 +-
 drivers/target/loopback/tcm_loop.c                 |  64 --
 drivers/target/target_core_fabric_lib.c            |  89 ++-
 drivers/target/target_core_internal.h              |   3 +-
 drivers/target/target_core_pr.c                    |  12 +-
 drivers/thermal/intel/therm_throt.c                |   7 +-
 drivers/thermal/testing/command.c                  |  48 +-
 drivers/thermal/testing/thermal_testing.h          |   8 +
 drivers/thermal/testing/zone.c                     |   7 +-
 drivers/thermal/thermal_hwmon.c                    | 156 ++---
 drivers/thunderbolt/debugfs.c                      |   8 +-
 drivers/tty/serial/8250/8250_omap.c                |   3 +-
 drivers/tty/serial/max310x.c                       |  12 +
 drivers/tty/serial/msm_serial.c                    |   3 +-
 drivers/ufs/core/ufs_trace.h                       |  36 +-
 drivers/ufs/core/ufshcd.c                          |  36 +-
 drivers/usb/atm/ueagle-atm.c                       |  94 ++-
 drivers/usb/host/max3421-hcd.c                     |   8 +
 drivers/vdpa/octeon_ep/octep_vdpa_main.c           |  20 +-
 drivers/vdpa/vdpa_user/iova_domain.c               |   2 +-
 drivers/vdpa/vdpa_user/vduse_dev.c                 | 197 +++++-
 drivers/vfio/pci/qat/main.c                        |  18 +-
 drivers/vfio/pci/xe/main.c                         |   2 -
 drivers/vhost/net.c                                |  15 +-
 drivers/vhost/vdpa.c                               |  29 +-
 drivers/vhost/vhost.c                              |  11 +-
 drivers/video/backlight/ktd2801-backlight.c        |   1 +
 drivers/video/fbdev/aty/radeon_base.c              |   1 +
 drivers/video/fbdev/broadsheetfb.c                 |   8 +-
 drivers/video/fbdev/carminefb.c                    |   1 +
 drivers/video/fbdev/core/fbcon.c                   |  10 +-
 drivers/video/fbdev/efifb.c                        |   1 +
 drivers/video/fbdev/hecubafb.c                     |   6 +-
 drivers/video/fbdev/i740fb.c                       |   1 +
 drivers/video/fbdev/metronomefb.c                  |   8 +-
 drivers/video/fbdev/nvidia/nvidia.c                |   1 +
 drivers/video/fbdev/s3fb.c                         |   1 +
 drivers/video/fbdev/sm501fb.c                      |  16 +-
 drivers/video/fbdev/sm712.h                        |   2 +-
 drivers/video/fbdev/tdfxfb.c                       |   1 +
 drivers/video/fbdev/tridentfb.c                    |   1 +
 drivers/video/fbdev/uvesafb.c                      |   4 +-
 drivers/video/fbdev/vesafb.c                       |   1 +
 drivers/virtio/virtio_rtc_driver.c                 |  28 +-
 drivers/watchdog/sama5d4_wdt.c                     |  48 +-
 drivers/watchdog/sp5100_tco.c                      |   3 +-
 drivers/watchdog/sprd_wdt.c                        |   5 +-
 drivers/watchdog/watchdog_core.c                   |   3 +
 drivers/xen/gntdev.c                               |   8 +-
 drivers/xen/pvcalls-front.c                        |  88 ++-
 drivers/xen/xen-scsiback.c                         |  30 +-
 fs/9p/vfs_inode.c                                  |  28 +-
 fs/9p/vfs_inode_dotl.c                             |   4 +-
 fs/afs/callback.c                                  |  17 +-
 fs/afs/cell.c                                      |  27 +-
 fs/afs/cm_security.c                               |   3 +-
 fs/afs/cmservice.c                                 |   7 +-
 fs/afs/dir.c                                       |  40 +-
 fs/afs/dynroot.c                                   |   2 +-
 fs/afs/fs_operation.c                              |   2 +-
 fs/afs/inode.c                                     |  15 +-
 fs/afs/internal.h                                  |   3 +-
 fs/afs/rxrpc.c                                     |  16 +-
 fs/afs/super.c                                     |   5 +-
 fs/afs/vl_list.c                                   |  10 +-
 fs/afs/volume.c                                    |   2 +-
 fs/bpf_fs_kfuncs.c                                 |  10 +-
 fs/btrfs/compression.c                             |  18 +-
 fs/btrfs/delalloc-space.c                          |   2 +
 fs/btrfs/disk-io.c                                 |   2 +-
 fs/btrfs/extent-tree.c                             |   5 +-
 fs/btrfs/inode.c                                   |   2 +-
 fs/btrfs/lzo.c                                     |  11 +
 fs/btrfs/reflink.c                                 | 101 +--
 fs/btrfs/space-info.c                              |   2 +
 fs/btrfs/space-info.h                              |  11 +
 fs/btrfs/super.c                                   |   4 +-
 fs/btrfs/zoned.c                                   |  64 +-
 fs/cachefiles/namei.c                              |   3 +-
 fs/configfs/dir.c                                  |  57 +-
 fs/crypto/fscrypt_private.h                        |  32 +-
 fs/crypto/keyring.c                                | 216 +++----
 fs/dlm/midcomms.c                                  |   4 +-
 fs/efs/file.c                                      |  21 +-
 fs/erofs/inode.c                                   |   5 +-
 fs/erofs/super.c                                   |   4 +-
 fs/eventpoll.c                                     | 609 ++++++++++++------
 fs/exfat/balloc.c                                  |   2 +-
 fs/exfat/dir.c                                     |  48 +-
 fs/exfat/exfat_fs.h                                | 131 +++-
 fs/exfat/fatent.c                                  |   4 +-
 fs/exfat/file.c                                    |   8 +-
 fs/exfat/inode.c                                   |  26 +-
 fs/exfat/namei.c                                   |  26 +-
 fs/exfat/super.c                                   |   5 +-
 fs/ext2/file.c                                     |   9 +-
 fs/ext4/ext4.h                                     |  20 +
 fs/ext4/fast_commit.c                              |  50 +-
 fs/ext4/inode.c                                    |   3 +-
 fs/ext4/ioctl.c                                    |  15 +-
 fs/ext4/namei.c                                    |   2 +-
 fs/f2fs/data.c                                     |  29 +
 fs/f2fs/f2fs.h                                     |   1 +
 fs/f2fs/segment.c                                  |   8 +
 fs/f2fs/xattr.c                                    |   6 +-
 fs/fhandle.c                                       |   2 +-
 fs/fs-writeback.c                                  |   5 -
 fs/hfs/inode.c                                     |   2 +-
 fs/hfsplus/btree.c                                 |   2 +
 fs/hfsplus/xattr.c                                 |   1 -
 fs/iomap/bio.c                                     |  13 +-
 fs/iomap/buffered-io.c                             |   2 +-
 fs/iomap/direct-io.c                               |   7 +-
 fs/iomap/ioend.c                                   |   8 +-
 fs/jbd2/journal.c                                  |   2 +
 fs/kernfs/dir.c                                    |  33 +-
 fs/kernfs/file.c                                   |  13 +-
 fs/kernfs/inode.c                                  |  36 +-
 fs/kernfs/kernfs-internal.h                        |  24 +-
 fs/kernfs/mount.c                                  |   2 +-
 fs/lockd/lockd.h                                   |   8 +
 fs/lockd/svc4proc.c                                |  19 +-
 fs/lockd/svcproc.c                                 |   2 +-
 fs/lockd/svcsubs.c                                 |   7 +-
 fs/minix/minix.h                                   |   2 +-
 fs/namei.c                                         |   4 +
 fs/netfs/read_retry.c                              |   7 +-
 fs/netfs/write_issue.c                             |  18 +-
 fs/netfs/write_retry.c                             |   7 +-
 fs/nfs/callback_proc.c                             |   9 +-
 fs/nfs/delegation.c                                |   9 +-
 fs/nfs/filelayout/filelayout.c                     |   2 +
 fs/nfs/flexfilelayout/flexfilelayout.c             |  29 +
 fs/nfs/flexfilelayout/flexfilelayout.h             |  16 +
 fs/nfs/fs_context.c                                |   8 +-
 fs/nfs/internal.h                                  |  12 +-
 fs/nfs/nfs4proc.c                                  |  22 +-
 fs/nfs/pnfs.c                                      |   4 +-
 fs/nfs/pnfs_nfs.c                                  |   2 +-
 fs/nfs/read.c                                      |  25 +-
 fs/nfs/write.c                                     |  14 +-
 fs/nfsd/nfs4state.c                                |  16 +-
 fs/nilfs2/namei.c                                  |   2 +-
 fs/nilfs2/super.c                                  |   2 -
 fs/ntfs/aops.c                                     |  23 +-
 fs/ntfs/attrib.c                                   | 345 +++++++---
 fs/ntfs/attrib.h                                   |   4 +
 fs/ntfs/attrlist.c                                 |  20 +-
 fs/ntfs/dir.c                                      |  79 +--
 fs/ntfs/ea.c                                       |  16 +-
 fs/ntfs/index.c                                    | 297 ++++++---
 fs/ntfs/index.h                                    |  12 +-
 fs/ntfs/inode.c                                    |  38 +-
 fs/ntfs/logfile.c                                  |   2 +-
 fs/ntfs/mft.c                                      | 137 +---
 fs/ntfs/namei.c                                    |  67 +-
 fs/ntfs/runlist.c                                  |  12 +-
 fs/ntfs/super.c                                    |  53 +-
 fs/ntfs3/attrib.c                                  |  10 +-
 fs/ntfs3/frecord.c                                 |  17 +-
 fs/ntfs3/fslog.c                                   | 147 ++++-
 fs/ntfs3/index.c                                   |  45 +-
 fs/ntfs3/inode.c                                   |   9 +-
 fs/ntfs3/lznt.c                                    |   2 +-
 fs/ntfs3/namei.c                                   |   2 +-
 fs/ntfs3/ntfs_fs.h                                 |   3 +-
 fs/ntfs3/run.c                                     |  14 +-
 fs/ocfs2/alloc.c                                   |   2 +-
 fs/ocfs2/aops.c                                    |  13 +-
 fs/ocfs2/buffer_head_io.c                          |   7 +-
 fs/ocfs2/dlm/dlmdebug.c                            |  16 +-
 fs/ocfs2/dlmglue.c                                 |  17 +
 fs/ocfs2/inode.c                                   | 206 +++++-
 fs/ocfs2/journal.c                                 |  13 +-
 fs/ocfs2/journal.h                                 |   3 +
 fs/ocfs2/move_extents.c                            |   4 +-
 fs/ocfs2/ocfs2.h                                   |   2 -
 fs/ocfs2/quota_local.c                             |   2 +-
 fs/ocfs2/refcounttree.c                            |   9 +-
 fs/ocfs2/stack_user.c                              |  10 +-
 fs/ocfs2/super.c                                   |   2 -
 fs/ocfs2/sysfile.c                                 |   9 +-
 fs/orangefs/dir.c                                  |   7 +-
 fs/overlayfs/copy_up.c                             |  12 +-
 fs/overlayfs/inode.c                               |   4 +-
 fs/pidfs.c                                         |  45 +-
 fs/proc/generic.c                                  |   9 +-
 fs/proc/page.c                                     |   2 +-
 fs/proc/task_mmu.c                                 |  74 ++-
 fs/resctrl/rdtgroup.c                              |  33 +-
 fs/smb/client/cifs_fs_sb.h                         |   1 +
 fs/smb/client/cifsfs.c                             |  12 +
 fs/smb/client/connect.c                            |   4 +
 fs/smb/client/file.c                               |   6 +
 fs/smb/client/fs_context.c                         | 102 +--
 fs/smb/client/inode.c                              |  30 +-
 fs/smb/client/ioctl.c                              |  12 +-
 fs/smb/client/misc.c                               |   8 +
 fs/smb/client/reparse.c                            |  17 +-
 fs/smb/client/smb1pdu.h                            |   5 -
 fs/smb/client/smb2ops.c                            |  38 +-
 fs/smb/client/smb2pdu.h                            |   4 -
 fs/smb/common/fscc.h                               |  18 +
 fs/smb/server/auth.c                               |  47 +-
 fs/smb/server/auth.h                               |   7 +-
 fs/smb/server/mgmt/user_session.c                  |   4 +-
 fs/smb/server/mgmt/user_session.h                  |   1 +
 fs/smb/server/misc.c                               |  33 -
 fs/smb/server/misc.h                               |   1 -
 fs/smb/server/oplock.c                             |   6 +
 fs/smb/server/smb2pdu.c                            | 171 +++--
 fs/smb/server/smb2pdu.h                            |   3 -
 fs/smb/server/smbacl.c                             |   7 +-
 fs/smb/server/vfs.c                                |  55 +-
 fs/smb/server/vfs_cache.c                          |  29 +-
 fs/super.c                                         |  11 +-
 fs/sysfs/file.c                                    |   4 +
 fs/udf/super.c                                     |   2 +-
 fs/xattr.c                                         | 265 ++++----
 fs/xfs/xfs_aops.c                                  |   3 +-
 fs/xfs/xfs_rtalloc.c                               |   8 +
 fs/xfs/xfs_zone_alloc.c                            |  11 +-
 fs/xfs/xfs_zone_alloc.h                            |   1 +
 fs/xfs/xfs_zone_gc.c                               |   4 +-
 include/acpi/platform/aclinuxex.h                  |   1 +
 include/asm-generic/bitops/lock.h                  |  22 +-
 include/asm-generic/uaccess.h                      |   3 +-
 include/dt-bindings/clock/qcom,x1e80100-camcc.h    |   3 +
 include/dt-bindings/power/fsl,imx93-power.h        |   1 +
 include/linux/amba/bus.h                           |   5 -
 include/linux/arm-smccc.h                          |   5 +
 include/linux/bpf-cgroup.h                         |   5 +-
 include/linux/bpf.h                                |   2 +
 include/linux/bpf_lsm.h                            |   6 +
 include/linux/cdx/cdx_bus.h                        |   4 -
 include/linux/device.h                             |   5 +-
 include/linux/edac.h                               |   3 +
 include/linux/filelock.h                           |   2 +-
 include/linux/firmware.h                           |  10 +
 .../linux/firmware/samsung/exynos-acpm-protocol.h  |  10 +-
 include/linux/firmware/xlnx-zynqmp.h               |  21 +
 include/linux/fs.h                                 |   1 +
 include/linux/fwnode.h                             |   3 +
 include/linux/hfs_common.h                         |   1 +
 include/linux/host1x.h                             |   7 +
 include/linux/hyperv.h                             |   5 -
 include/linux/i3c/master.h                         |  14 +-
 include/linux/ieee80211-eht.h                      |  12 +-
 include/linux/ieee80211-s1g.h                      |   2 +-
 include/linux/inetdevice.h                         |   5 +
 include/linux/iomap.h                              |   2 +
 include/linux/iommu.h                              |   1 +
 include/linux/kernfs.h                             |  11 +-
 include/linux/liveupdate.h                         |   9 +-
 include/linux/mfd/rohm-bd72720.h                   |   1 -
 include/linux/netdevice.h                          |   4 +
 include/linux/nfs_page.h                           |   1 +
 include/linux/nfs_xdr.h                            |   1 -
 include/linux/rhashtable-types.h                   |  22 +-
 include/linux/rpmsg.h                              |   4 -
 include/linux/shmem_fs.h                           |   3 +-
 include/linux/sockptr.h                            |   2 +-
 include/linux/sunrpc/clnt.h                        |   1 +
 include/linux/uaccess.h                            |  27 +-
 include/linux/virtio.h                             |   2 +
 include/linux/vmalloc.h                            |   4 +-
 include/linux/xattr.h                              |  35 +-
 include/net/addrconf.h                             |  10 +-
 include/net/bluetooth/hci.h                        |   5 +-
 include/net/bluetooth/l2cap.h                      |  10 +-
 include/net/bond_options.h                         |   1 +
 include/net/bonding.h                              |   1 +
 include/net/dst_metadata.h                         |   7 +-
 include/net/fib_rules.h                            |   5 +
 include/net/gue.h                                  |   2 +-
 include/net/ip_fib.h                               |  12 +-
 include/net/ip_vs.h                                |   3 +-
 include/net/mana/mana.h                            |   8 +
 include/net/netfilter/ipv4/nf_conntrack_ipv4.h     |   4 +
 include/net/netfilter/nf_conntrack_expect.h        |  17 +-
 include/net/netfilter/nf_conntrack_extend.h        |  12 -
 include/net/netfilter/nf_conntrack_helper.h        |  18 +-
 include/net/netfilter/nf_conntrack_timeout.h       |  27 +-
 include/net/netfilter/nf_dup_netdev.h              |  36 +-
 include/net/netfilter/nf_flow_table.h              |   5 +-
 include/net/netfilter/nf_queue.h                   |   1 +
 include/net/netfilter/nft_meta.h                   |   2 +
 include/net/sch_generic.h                          |  32 +-
 include/net/sctp/sctp.h                            |   3 +-
 include/net/tc_act/tc_pedit.h                      |  18 +-
 include/net/tcp.h                                  |   9 +
 include/net/udp_tunnel.h                           |   4 +-
 include/net/xfrm.h                                 |  15 +-
 include/rdma/frmr_pools.h                          |   3 +-
 include/rdma/ib_umem.h                             |   4 +
 include/rdma/ib_verbs.h                            |   5 +
 include/rdma/rdma_vt.h                             |  20 -
 include/soc/spacemit/k3-syscon.h                   |   4 +-
 include/sound/soc-dapm.h                           |   1 +
 include/trace/events/dma_fence.h                   |  40 +-
 include/uapi/linux/bpf.h                           |   2 +
 include/uapi/linux/if_link.h                       |   1 +
 include/uapi/linux/iommufd.h                       |  12 +-
 include/uapi/linux/netfilter/nf_conntrack_common.h |   1 +
 include/uapi/rdma/bnxt_re-abi.h                    |   7 +-
 include/ufs/ufshcd.h                               |   3 -
 init/initramfs_test.c                              |  17 +-
 io_uring/bpf-ops.c                                 |   2 +
 kernel/bpf/arena.c                                 |  61 +-
 kernel/bpf/arraymap.c                              |   8 +-
 kernel/bpf/bpf_lru_list.c                          | 165 +++--
 kernel/bpf/bpf_lru_list.h                          |  25 +-
 kernel/bpf/bpf_lsm.c                               |  23 +
 kernel/bpf/cgroup.c                                | 168 +++--
 kernel/bpf/core.c                                  |   2 +-
 kernel/bpf/devmap.c                                |  12 +
 kernel/bpf/disasm.c                                |   5 +-
 kernel/bpf/hashtab.c                               |  32 +-
 kernel/bpf/helpers.c                               |  17 +-
 kernel/bpf/inode.c                                 |  13 +-
 kernel/bpf/map_in_map.c                            |   5 +-
 kernel/bpf/map_iter.c                              |   4 +
 kernel/bpf/states.c                                |  13 +-
 kernel/bpf/syscall.c                               |  35 +-
 kernel/bpf/verifier.c                              |  56 +-
 kernel/cgroup/cpuset.c                             |   7 +-
 kernel/cpu.c                                       |  20 +-
 kernel/exit.c                                      |   7 +-
 kernel/fork.c                                      |   9 +-
 kernel/kcov.c                                      |   4 +-
 kernel/kexec_core.c                                |   8 +-
 kernel/liveupdate/kexec_handover.c                 |  32 +-
 kernel/liveupdate/luo_file.c                       |   5 +-
 kernel/liveupdate/luo_flb.c                        |  52 +-
 kernel/liveupdate/luo_session.c                    |  99 ++-
 kernel/locking/spinlock_rt.c                       |  27 +-
 kernel/power/qos.c                                 |  11 +-
 kernel/sched/core.c                                |   1 +
 kernel/sched/cpufreq_schedutil.c                   |   1 +
 kernel/sched/debug.c                               |   3 +
 kernel/sched/fair.c                                | 211 +++---
 kernel/signal.c                                    |  10 +-
 kernel/taskstats.c                                 |  62 +-
 kernel/time/alarmtimer.c                           |   8 +-
 kernel/time/posix-cpu-timers.c                     | 187 ++++--
 kernel/time/posix-timers.c                         |   6 +-
 kernel/time/posix-timers.h                         |   4 +-
 kernel/time/tick-sched.c                           |  11 +-
 kernel/time/time.c                                 |   2 +-
 kernel/time/timer_migration.h                      |  18 +-
 kernel/trace/bpf_trace.c                           |  22 +-
 kernel/trace/fprobe.c                              |  10 +
 kernel/trace/ring_buffer.c                         |   8 +-
 kernel/trace/trace.c                               |   2 +-
 kernel/trace/trace_eprobe.c                        |   2 +-
 kernel/trace/trace_events_hist.c                   |  41 +-
 kernel/trace/trace_events_user.c                   |  43 +-
 kernel/trace/trace_osnoise.c                       |   4 +-
 kernel/trace/trace_probe.c                         | 174 ++++-
 kernel/trace/trace_probe.h                         |   7 +-
 kernel/trace/trace_remote.c                        |  18 +-
 kernel/workqueue.c                                 |   2 +-
 lib/Kconfig.debug                                  |   5 +
 lib/alloc_tag.c                                    |   9 +-
 lib/base64.c                                       |   3 +-
 lib/crypto/Kconfig                                 |   3 +-
 lib/fonts/font_acorn_8x8.c                         |   5 +
 lib/locking-selftest.c                             |   7 +-
 lib/rhashtable.c                                   |  17 +-
 lib/test_hmm.c                                     |   6 +-
 lib/test_meminit.c                                 |   2 +-
 lib/tests/kunit_iov_iter.c                         |  12 +-
 lib/tests/liveupdate.c                             |   3 +
 lib/usercopy.c                                     |   4 +-
 lib/vsprintf.c                                     |  36 +-
 mm/compaction.c                                    |   7 +-
 mm/damon/core.c                                    |  59 +-
 mm/damon/sysfs-schemes.c                           |  17 +-
 mm/huge_memory.c                                   |   3 +
 mm/hugetlb.c                                       |   7 +-
 mm/memory_hotplug.c                                |   2 +-
 mm/mm_init.c                                       |  47 +-
 mm/numa_emulation.c                                |  17 +-
 mm/shmem.c                                         |  50 +-
 mm/slub.c                                          |   7 +-
 mm/sparse-vmemmap.c                                |  20 +-
 net/9p/client.c                                    |   2 +
 net/9p/trans_rdma.c                                |  19 +-
 net/9p/trans_virtio.c                              |   5 +
 net/atm/common.c                                   |   2 +
 net/batman-adv/distributed-arp-table.c             |  30 +-
 net/batman-adv/fragmentation.c                     |   8 +-
 net/batman-adv/gateway_client.c                    |   3 +-
 net/batman-adv/main.c                              |  13 +-
 net/batman-adv/mesh-interface.c                    |  17 +-
 net/batman-adv/mesh-interface.h                    |   2 +
 net/batman-adv/multicast_forw.c                    |   7 +-
 net/batman-adv/routing.c                           |   3 +-
 net/batman-adv/translation-table.c                 |   5 +-
 net/bluetooth/6lowpan.c                            |  83 ++-
 net/bluetooth/eir.c                                |   8 +-
 net/bluetooth/hci_codec.c                          |   2 +-
 net/bluetooth/hci_core.c                           |   2 +
 net/bluetooth/hci_event.c                          |   7 +
 net/bluetooth/iso.c                                |  31 +-
 net/bluetooth/l2cap_core.c                         |  94 ++-
 net/bluetooth/l2cap_sock.c                         | 103 ++-
 net/bluetooth/mgmt.c                               |   2 +
 net/bluetooth/msft.c                               |   2 +-
 net/bluetooth/sco.c                                |  15 +-
 net/bluetooth/smp.c                                |  27 +-
 net/bpf/test_run.c                                 |   8 +-
 net/bridge/br_cfm.c                                |   6 +
 net/bridge/br_cfm_netlink.c                        |   4 +-
 net/bridge/br_if.c                                 |   3 +
 net/bridge/br_stp.c                                |   3 +-
 net/bridge/netfilter/nft_meta_bridge.c             |  23 +-
 net/can/bcm.c                                      | 654 ++++++++++++++-----
 net/can/isotp.c                                    | 298 ++++++---
 net/core/dev.c                                     |   9 +-
 net/core/fib_rules.c                               |   6 +-
 net/core/filter.c                                  |  28 +-
 net/core/flow_dissector.c                          |  12 +-
 net/core/lwt_bpf.c                                 |  12 +
 net/core/lwtunnel.c                                |   6 +
 net/core/netdev-genl.c                             |   4 +-
 net/core/netdev_rx_queue.c                         |   8 +-
 net/devlink/rate.c                                 |  25 +-
 net/ethtool/netlink.h                              |  28 +
 net/ethtool/rss.c                                  |  14 +-
 net/handshake/genl.c                               |   2 +-
 net/ieee802154/core.c                              |  49 +-
 net/ieee802154/header_ops.c                        |   9 +-
 net/ieee802154/ieee802154.h                        |  17 +
 net/ieee802154/netlink.c                           |  36 +-
 net/ife/ife.c                                      |   2 +-
 net/ipv4/fib_trie.c                                |   4 +
 net/ipv4/fou_core.c                                |   9 +-
 net/ipv4/igmp.c                                    |  63 +-
 net/ipv4/inet_connection_sock.c                    |   1 +
 net/ipv4/ip_vti.c                                  |   3 +
 net/ipv4/ipip.c                                    |   3 +
 net/ipv4/netfilter/nf_nat_h323.c                   |  12 +
 net/ipv4/netfilter/nf_nat_pptp.c                   |  14 +-
 net/ipv4/netfilter/nf_nat_snmp_basic_main.c        |  27 +-
 net/ipv4/netfilter/nf_reject_ipv4.c                |   2 +-
 net/ipv4/tcp_bbr.c                                 |   2 +-
 net/ipv4/tcp_ipv4.c                                |   4 +-
 net/ipv4/tcp_output.c                              |   8 +-
 net/ipv4/udp_bpf.c                                 |   9 +
 net/ipv4/udp_tunnel_core.c                         |  10 +-
 net/ipv4/udp_tunnel_nic.c                          |   2 +-
 net/ipv4/xfrm4_input.c                             |   2 -
 net/ipv6/addrconf.c                                |  55 +-
 net/ipv6/ioam6_iptunnel.c                          |   8 +-
 net/ipv6/ip6_fib.c                                 |  17 +-
 net/ipv6/ip6_gre.c                                 |   6 +
 net/ipv6/ip6_tunnel.c                              |  10 +
 net/ipv6/ip6_vti.c                                 |   3 +
 net/ipv6/mcast.c                                   |  40 +-
 net/ipv6/ndisc.c                                   |   8 +-
 net/ipv6/netfilter.c                               |   4 +-
 net/ipv6/netfilter/ip6t_ah.c                       |   5 +
 net/ipv6/netfilter/ip6t_hbh.c                      |   1 +
 net/ipv6/netfilter/ip6t_rt.c                       |   3 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c            |   3 +-
 net/ipv6/route.c                                   |   9 +-
 net/ipv6/seg6.c                                    |   3 +
 net/ipv6/sit.c                                     |   3 +
 net/ipv6/xfrm6_input.c                             |   2 -
 net/kcm/kcmsock.c                                  |   8 +-
 net/l2tp/l2tp_core.c                               |   2 +-
 net/llc/af_llc.c                                   |   1 +
 net/llc/llc_conn.c                                 |   1 -
 net/mac80211/main.c                                |   3 +-
 net/mac80211/rx.c                                  |  34 +-
 net/mac80211/tx.c                                  |  17 +-
 net/mac80211/util.c                                |   3 +
 net/mac802154/iface.c                              |   2 +-
 net/mac802154/scan.c                               |   1 +
 net/netfilter/ipset/ip_set_bitmap_gen.h            |   4 +-
 net/netfilter/ipset/ip_set_bitmap_ip.c             |   2 +-
 net/netfilter/ipset/ip_set_bitmap_ipmac.c          |   2 +-
 net/netfilter/ipset/ip_set_bitmap_port.c           |   2 +-
 net/netfilter/ipset/ip_set_core.c                  |   4 +-
 net/netfilter/ipset/ip_set_hash_gen.h              |  12 +-
 net/netfilter/ipvs/ip_vs_app.c                     |  10 +-
 net/netfilter/ipvs/ip_vs_conn.c                    |   4 +-
 net/netfilter/ipvs/ip_vs_core.c                    |  36 +-
 net/netfilter/ipvs/ip_vs_proto_sctp.c              |  18 +-
 net/netfilter/ipvs/ip_vs_proto_tcp.c               |  11 +-
 net/netfilter/ipvs/ip_vs_proto_udp.c               |   3 +-
 net/netfilter/ipvs/ip_vs_xmit.c                    |   6 +-
 net/netfilter/nf_conncount.c                       |  23 +-
 net/netfilter/nf_conntrack_amanda.c                |  39 +-
 net/netfilter/nf_conntrack_bpf.c                   |  35 +-
 net/netfilter/nf_conntrack_broadcast.c             |   4 +
 net/netfilter/nf_conntrack_core.c                  | 122 ++--
 net/netfilter/nf_conntrack_ecache.c                |   2 +-
 net/netfilter/nf_conntrack_expect.c                | 184 +++---
 net/netfilter/nf_conntrack_extend.c                |  32 +-
 net/netfilter/nf_conntrack_ftp.c                   |  11 +-
 net/netfilter/nf_conntrack_h323_main.c             | 129 ++--
 net/netfilter/nf_conntrack_helper.c                |  94 ++-
 net/netfilter/nf_conntrack_irc.c                   |  11 +-
 net/netfilter/nf_conntrack_netbios_ns.c            |  20 +-
 net/netfilter/nf_conntrack_netlink.c               |  32 +-
 net/netfilter/nf_conntrack_pptp.c                  |  92 +--
 net/netfilter/nf_conntrack_proto_gre.c             |  70 ++
 net/netfilter/nf_conntrack_sane.c                  |   8 +-
 net/netfilter/nf_conntrack_seqadj.c                |  19 +-
 net/netfilter/nf_conntrack_sip.c                   |  66 +-
 net/netfilter/nf_conntrack_snmp.c                  |  21 +-
 net/netfilter/nf_conntrack_tftp.c                  |   5 +-
 net/netfilter/nf_conntrack_timeout.c               |  27 +-
 net/netfilter/nf_dup_netdev.c                      |  15 +-
 net/netfilter/nf_flow_table_core.c                 |  12 +-
 net/netfilter/nf_flow_table_ip.c                   | 107 +---
 net/netfilter/nf_flow_table_path.c                 |   7 +-
 net/netfilter/nf_nat_core.c                        |  10 +
 net/netfilter/nf_nat_sip.c                         |  23 +
 net/netfilter/nf_queue.c                           |  14 +
 net/netfilter/nf_synproxy_core.c                   |  40 +-
 net/netfilter/nf_tables_api.c                      |   3 +
 net/netfilter/nfnetlink_cthelper.c                 |  81 ++-
 net/netfilter/nfnetlink_cttimeout.c                | 112 ++--
 net/netfilter/nfnetlink_osf.c                      |   6 +-
 net/netfilter/nfnetlink_queue.c                    |   3 +
 net/netfilter/nft_compat.c                         |  24 +-
 net/netfilter/nft_ct.c                             |  29 +-
 net/netfilter/nft_fib.c                            |   9 +
 net/netfilter/nft_fib_netdev.c                     |  29 +-
 net/netfilter/nft_fwd_netdev.c                     |  17 +-
 net/netfilter/nft_lookup.c                         |  10 +-
 net/netfilter/nft_meta.c                           |   5 +-
 net/netfilter/nft_payload.c                        |  16 +-
 net/netfilter/nft_set_pipapo.c                     |  34 +-
 net/netfilter/nft_set_pipapo.h                     |   8 +
 net/netfilter/nft_set_rbtree.c                     |   8 +-
 net/netfilter/nft_synproxy.c                       |   9 +-
 net/netfilter/xt_CT.c                              |   2 +-
 net/netfilter/xt_cluster.c                         |   2 +-
 net/netfilter/xt_connmark.c                        |  14 +-
 net/netfilter/xt_nat.c                             |   9 +
 net/netfilter/xt_physdev.c                         |   5 -
 net/netfilter/xt_rateest.c                         |   2 +-
 net/netfilter/xt_u32.c                             |  12 +-
 net/openvswitch/conntrack.c                        |   2 +-
 net/openvswitch/flow_netlink.c                     | 201 ++++--
 net/psample/psample.c                              |   6 +-
 net/qrtr/af_qrtr.c                                 |   2 +-
 net/rxrpc/ar-internal.h                            |   6 +-
 net/rxrpc/call_accept.c                            |  25 +-
 net/rxrpc/call_event.c                             |   5 +-
 net/rxrpc/call_object.c                            |   2 +
 net/rxrpc/conn_client.c                            |   2 +-
 net/rxrpc/conn_event.c                             |   9 +-
 net/rxrpc/input.c                                  |  39 +-
 net/rxrpc/local_object.c                           |   2 +-
 net/rxrpc/oob.c                                    |  12 +-
 net/rxrpc/recvmsg.c                                |  23 +-
 net/rxrpc/rxgk.c                                   |   3 +-
 net/rxrpc/sendmsg.c                                |   3 +-
 net/sched/act_api.c                                |  13 +-
 net/sched/act_bpf.c                                |   2 +-
 net/sched/act_ct.c                                 |  13 +-
 net/sched/act_pedit.c                              |  13 +-
 net/sched/cls_api.c                                |  25 +-
 net/sched/cls_bpf.c                                |  10 +-
 net/sched/cls_flow.c                               |  12 +-
 net/sched/sch_api.c                                |   2 +-
 net/sched/sch_cake.c                               |  13 +-
 net/sched/sch_cbs.c                                |   4 +-
 net/sched/sch_choke.c                              |   8 +-
 net/sched/sch_codel.c                              |  48 +-
 net/sched/sch_drr.c                                |  12 +-
 net/sched/sch_dualpi2.c                            | 122 ++--
 net/sched/sch_etf.c                                |   8 +-
 net/sched/sch_ets.c                                |   4 +-
 net/sched/sch_fq.c                                 |   6 +-
 net/sched/sch_fq_codel.c                           |  48 +-
 net/sched/sch_fq_pie.c                             |   4 +-
 net/sched/sch_generic.c                            |  51 +-
 net/sched/sch_hfsc.c                               |  28 +-
 net/sched/sch_hhf.c                                |  34 +-
 net/sched/sch_htb.c                                |  18 +-
 net/sched/sch_mq.c                                 |   5 +-
 net/sched/sch_mqprio.c                             |  18 +-
 net/sched/sch_multiq.c                             |   6 +-
 net/sched/sch_netem.c                              |  10 +-
 net/sched/sch_prio.c                               |   4 +-
 net/sched/sch_qfq.c                                |   6 +-
 net/sched/sch_red.c                                |   4 +-
 net/sched/sch_sfb.c                                |   4 +-
 net/sched/sch_sfq.c                                |   9 +-
 net/sched/sch_skbprio.c                            |   4 +-
 net/sched/sch_taprio.c                             |   6 +-
 net/sched/sch_tbf.c                                |   6 +-
 net/sched/sch_teql.c                               | 128 ++--
 net/sctp/diag.c                                    |  67 +-
 net/sctp/protocol.c                                |  13 +-
 net/sctp/sm_make_chunk.c                           |  15 +-
 net/sctp/sm_statefuns.c                            |  64 +-
 net/sctp/socket.c                                  |  38 +-
 net/smc/smc_cdc.c                                  |  15 +-
 net/socket.c                                       |  30 +-
 net/sunrpc/clnt.c                                  |  19 +-
 net/sunrpc/svc.c                                   |  10 +
 net/sunrpc/svcsock.c                               |  10 +
 net/sunrpc/sysfs.c                                 |   4 +-
 net/sunrpc/xdr.c                                   |  14 +-
 net/sunrpc/xprtrdma/backchannel.c                  |   5 +-
 net/sunrpc/xprtrdma/frwr_ops.c                     |   2 +-
 net/sunrpc/xprtrdma/rpc_rdma.c                     | 157 +++--
 net/sunrpc/xprtrdma/transport.c                    |  68 +-
 net/sunrpc/xprtrdma/verbs.c                        | 126 +++-
 net/sunrpc/xprtrdma/xprt_rdma.h                    |   4 +-
 net/sunrpc/xprtsock.c                              |  16 +-
 net/tipc/bearer.c                                  |   1 +
 net/tipc/core.c                                    |   9 +-
 net/tipc/discover.c                                |  14 +-
 net/tipc/name_distr.c                              |  13 +-
 net/tipc/netlink.c                                 |  12 +
 net/tipc/socket.c                                  |   9 +-
 net/tipc/udp_media.c                               |  53 +-
 net/tls/tls_sw.c                                   |  11 +
 net/wireless/nl80211.c                             |   2 +-
 net/wireless/pmsr.c                                |   4 +-
 net/wireless/scan.c                                |   5 +-
 net/xfrm/espintcp.c                                |  34 +-
 net/xfrm/xfrm_input.c                              |  29 +-
 net/xfrm/xfrm_interface_core.c                     |   3 +
 net/xfrm/xfrm_nat_keepalive.c                      |  15 +-
 net/xfrm/xfrm_policy.c                             |  27 +-
 net/xfrm/xfrm_state.c                              |  26 +-
 net/xfrm/xfrm_user.c                               |  20 +-
 rust/Makefile                                      |   2 +-
 rust/helpers/uaccess.c                             |   2 +-
 rust/kernel/alloc/kvec.rs                          |   4 +-
 rust/kernel/devres.rs                              |   6 +-
 samples/damon/mtier.c                              |   3 +
 samples/trace_events/trace-events-sample.c         |   4 +
 scripts/kconfig/conf.c                             |   6 +-
 scripts/livepatch/klp-build                        |  41 +-
 security/apparmor/af_unix.c                        |  65 +-
 security/apparmor/apparmorfs.c                     | 113 +++-
 security/apparmor/domain.c                         |  58 +-
 security/apparmor/file.c                           |  12 +-
 security/apparmor/include/apparmorfs.h             |  12 +
 security/apparmor/label.c                          |   2 +-
 security/apparmor/lsm.c                            |   2 +-
 security/apparmor/net.c                            |   1 +
 security/apparmor/policy.c                         |  20 +-
 security/apparmor/policy_unpack.c                  |   6 +-
 security/apparmor/procattr.c                       |   2 +
 security/apparmor/task.c                           |   2 +-
 security/integrity/evm/evm_secfs.c                 |  16 +-
 security/integrity/ima/ima_appraise.c              |   5 +-
 security/integrity/ima/ima_policy.c                |   3 +-
 security/keys/keyring.c                            |   2 +-
 security/landlock/fs.c                             |  14 +
 security/landlock/fs.h                             |  10 +
 security/landlock/net.c                            |  11 +-
 security/landlock/task.c                           |  11 +
 security/selinux/hooks.c                           |  80 ++-
 sound/core/init.c                                  |  11 +-
 sound/core/pcm_compat.c                            |   4 +-
 sound/core/pcm_native.c                            |   7 +-
 sound/core/seq/oss/seq_oss_event.c                 |   6 +-
 sound/core/seq/oss/seq_oss_event.h                 |   3 +-
 sound/core/seq/oss/seq_oss_ioctl.c                 |   5 +-
 sound/core/seq/oss/seq_oss_midi.c                  |   6 +-
 sound/core/seq/oss/seq_oss_midi.h                  |   2 +-
 sound/core/seq/oss/seq_oss_readq.c                 |  77 ++-
 sound/core/seq/oss/seq_oss_rw.c                    |   5 +-
 sound/core/seq/seq_clientmgr.c                     |  33 +-
 sound/core/seq/seq_fifo.c                          |  52 +-
 sound/core/seq/seq_memory.c                        |   2 +-
 sound/core/seq/seq_midi.c                          |  55 +-
 sound/drivers/aloop.c                              |   1 -
 sound/hda/codecs/conexant.c                        |   3 -
 sound/hda/codecs/realtek/alc269.c                  |  12 +-
 sound/hda/codecs/side-codecs/tas2781_hda_i2c.c     |   3 +
 sound/hda/codecs/side-codecs/tas2781_hda_spi.c     |   3 +
 sound/hda/controllers/Kconfig                      |   2 +-
 sound/hda/core/regmap.c                            |   4 +-
 sound/soc/amd/acp/acp-sdw-legacy-mach.c            |   7 +-
 sound/soc/amd/acp/acp-sdw-sof-mach.c               |   7 +-
 sound/soc/codecs/adau1372.c                        |   5 +
 sound/soc/codecs/aw88261.c                         |  12 +-
 sound/soc/codecs/cs35l56-shared.c                  |   4 +-
 sound/soc/codecs/cs35l56.c                         |  27 +-
 sound/soc/codecs/cs530x.c                          |  29 +-
 sound/soc/codecs/cs530x.h                          |   6 -
 sound/soc/codecs/hdac_hdmi.c                       |   4 +-
 sound/soc/codecs/lpass-va-macro.c                  |   7 +-
 sound/soc/codecs/rt5575-spi.c                      |   2 +-
 sound/soc/codecs/sma1307.c                         |  35 +-
 sound/soc/codecs/tlv320aic3x.c                     |  25 +-
 sound/soc/codecs/wm_adsp.c                         |   7 +
 sound/soc/fsl/fsl_asrc_dma.c                       |  20 +
 sound/soc/fsl/fsl_audmix.c                         |   6 +
 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c         |  23 +-
 sound/soc/mediatek/mt8189/mt8189-afe-pcm.c         |  38 +-
 sound/soc/mediatek/mt8192/mt8192-afe-pcm.c         |  21 +-
 sound/soc/meson/aiu-acodec-ctrl.c                  |   3 +
 sound/soc/meson/aiu-codec-ctrl.c                   |   3 +
 sound/soc/qcom/qdsp6/q6apm.c                       |   8 +
 sound/soc/renesas/rcar/rsnd.h                      |   2 +-
 sound/soc/sdca/sdca_asoc.c                         |   3 +
 sound/soc/sdw_utils/soc_sdw_utils.c                |   1 +
 sound/soc/soc-dapm.c                               |  49 +-
 sound/soc/soc-topology.c                           |  37 +-
 sound/soc/sof/intel/Kconfig                        |   6 +-
 sound/soc/sof/ipc3-control.c                       |  79 ++-
 sound/soc/sof/ipc4-control.c                       |  34 +-
 sound/soc/sof/topology.c                           |   7 +-
 sound/soc/tegra/tegra210_ahub.c                    |   4 +-
 sound/usb/fcp.c                                    |   2 +
 sound/usb/midi2.c                                  |   5 +
 sound/usb/mixer_scarlett2.c                        | 201 +++++-
 sound/usb/qcom/mixer_usb_offload.c                 |   2 +-
 sound/usb/qcom/qc_audio_offload.c                  |  30 +-
 sound/xen/xen_snd_front_alsa.c                     |  17 +-
 sound/xen/xen_snd_front_evtchnl.c                  |  28 +-
 sound/xen/xen_snd_front_evtchnl.h                  |   6 +-
 tools/bpf/bpftool/cgroup.c                         |  14 +-
 tools/bpf/bpftool/gen.c                            |   2 +-
 tools/bpf/bpftool/net.c                            |   4 +-
 tools/include/nolibc/getopt.h                      |   2 +-
 tools/include/nolibc/stackprotector.h              |   3 +-
 tools/include/uapi/linux/bpf.h                     |   2 +
 tools/include/uapi/linux/if_link.h                 |   2 +
 tools/lib/api/fs/fs.c                              |  19 +-
 tools/lib/bpf/btf.c                                |   4 +-
 tools/lib/bpf/gen_loader.c                         |  81 ++-
 tools/lib/bpf/libbpf.c                             |   9 +-
 tools/lib/bpf/strset.c                             |  62 +-
 tools/lib/bpf/usdt.c                               |  16 +-
 tools/lib/symbol/kallsyms.c                        |   5 +-
 tools/net/ynl/Makefile                             |   2 +-
 tools/net/ynl/generated/Makefile                   |   2 +-
 tools/net/ynl/lib/Makefile                         |   2 +-
 tools/objtool/elf.c                                |  75 +--
 tools/objtool/include/objtool/elf.h                |  32 +-
 tools/objtool/klp-diff.c                           | 133 ++--
 tools/perf/Makefile.config                         |   1 +
 tools/perf/arch/common.c                           |   4 +-
 tools/perf/arch/powerpc/util/auxtrace.c            |   6 +
 tools/perf/arch/x86/tests/amd-ibs-period.c         |   2 +-
 tools/perf/bench/inject-buildid.c                  |   9 +-
 tools/perf/builtin-annotate.c                      |   3 +-
 tools/perf/builtin-buildid-list.c                  |   4 +-
 tools/perf/builtin-c2c.c                           |  28 +-
 tools/perf/builtin-diff.c                          |   3 +-
 tools/perf/builtin-inject.c                        | 172 ++++-
 tools/perf/builtin-record.c                        |   2 +
 tools/perf/builtin-report.c                        |   7 +-
 tools/perf/builtin-sched.c                         | 177 +++--
 tools/perf/builtin-script.c                        |   6 +-
 tools/perf/builtin-stat.c                          |  50 +-
 tools/perf/pmu-events/amd_metrics.py               |   2 +-
 tools/perf/pmu-events/metric.py                    |   1 -
 tools/perf/tests/code-reading.c                    |   7 +-
 tools/perf/tests/dlfilter-test.c                   |   8 +-
 tools/perf/tests/pmu-events.c                      |  24 +-
 tools/perf/tests/sample-parsing.c                  |   5 +-
 tools/perf/ui/browser.c                            |   3 +
 tools/perf/ui/browsers/annotate.c                  |   5 +-
 tools/perf/util/Build                              |   1 +
 tools/perf/util/annotate-data.c                    |  27 +-
 tools/perf/util/arm-spe.c                          |  28 +-
 tools/perf/util/auxtrace.c                         |   3 +-
 tools/perf/util/bpf-event.c                        |  52 +-
 tools/perf/util/bpf-event.h                        |   4 +-
 tools/perf/util/bpf-utils.c                        |  16 +
 tools/perf/util/build-id.c                         |   7 +-
 tools/perf/util/callchain.c                        |  15 +
 tools/perf/util/callchain.h                        |   1 +
 tools/perf/util/config.c                           |   4 +
 tools/perf/util/cpumap.c                           |  49 +-
 tools/perf/util/cs-etm-base.c                      |   4 +-
 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c    |  21 +-
 tools/perf/util/cs-etm.c                           | 310 ++++++---

103 lines not shown · raw message

Part of this message is not shown here. View the raw message.

author maintainer
#2 lore raw

PATCH 2/2077 iommu/vt-d: Clear Present bit before tearing down scalable-mode context entry

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Michael Bommarito <[email protected]>

[ Upstream commit f46452c3df7a8d8a5addc0926e76ef19ea7da0a0 ]

device_pasid_table_teardown() zeroes the 128-bit scalable-mode context entry with context_clear_entry() while the Present bit is still set. This creates a window where the hardware can fetch a torn entry, with some fields already zeroed while Present is still set, leading to unpredictable behavior or spurious faults. The context-cache invalidation is issued only after the entry has been zeroed, and intel_pasid_free_table() then frees the PASID directory pages, so the IOMMU can keep walking a stale Present=1 entry that points at freed memory.

While x86 provides strong write ordering, the compiler may reorder the two 64-bit writes to the entry, and the hardware fetch is not guaranteed to be atomic with respect to multiple CPU writes.

Commit c1e4f1dccbe9d ("iommu/vt-d: Clear Present bit before tearing down context entry") fixed this exact pattern in domain_context_clear_one() and the copied-context path, but device_pasid_table_teardown() was not converted.

Align it with the "Guidance to Software for Invalidations" in the VT-d spec, Section 6.5.3.3, using the same ownership handshake as the sibling
fix: clear only the Present bit, flush it to the IOMMU, perform the context-cache invalidation, and only then zero the rest of the entry.

Fixes 81e921fd32161 ("iommu/vt-d: Fix NULL domain on device release")
Assisted-by Claude:claude-opus-4-7
---
 drivers/iommu/intel/pasid.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/iommu/intel/pasid.c +3 -1
@@ -748,10 +748,12 @@ static void device_pasid_table_teardown(
 	}
 
 	did = context_domain_id(context);
-	context_clear_entry(context);
+	context_clear_present(context);
 	__iommu_flush_cache(iommu, context, sizeof(*context));
 	spin_unlock(&iommu->lock);
 	intel_context_flush_no_pasid(info, context, did);
+	context_clear_entry(context);
+	__iommu_flush_cache(iommu, context, sizeof(*context));
 }
 
 static int pci_pasid_table_teardown(struct pci_dev *pdev, u16 alias, void *data)
author maintainer
#1 lore raw

PATCH 1/2077 crypto: algif_skcipher - force synchronous processing

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Muhammet Kaan KILINÇ <[email protected]>

The AIO/async path in skcipher_recvmsg() passes the socket-wide ctx->iv directly into the skcipher request. After io_submit() the socket lock is dropped and the request is processed asynchronously by a worker (e.g. cryptd), which dereferences ctx->iv only later.

A concurrent sendmsg(ALG_SET_IV) on the same socket can overwrite ctx->iv inside this window, so the in-flight request runs under an attacker-controlled IV. For CTR and other stream modes this causes IV/keystream reuse and allows an unprivileged user to recover the plaintext of a concurrent operation.

Snapshotting ctx->iv into per-request storage for the async path is not sufficient here. For ciphers with statesize == 0 - which includes cbc and ctr - skcipher_prepare_alg() installs skcipher_noimport()/ skcipher_noexport(), so ctx->state carries nothing and the MSG_MORE inter-chunk IV chaining is carried solely by the in-place req->iv writeback. A snapshot redirects that writeback into per-request memory that af_alg_free_resources() releases on completion, so AIO + MSG_MORE with cbc/ctr would silently produce wrong output. Writing the IV back from the completion callback instead is not possible either: that would require lock_sock() there, but the callback can run in softirq/atomic context, so it must not sleep.

Make the operation synchronous instead. ctx->iv is then only ever dereferenced under the socket lock held by recvmsg(), which removes the race, and the req->iv writeback lands in ctx->iv as before, which keeps MSG_MORE chaining intact for statesize == 0 ciphers. The ctx->state import/export path is unchanged for ciphers that do have state.

This is equivalent to the upstream resolution: commit fcc77d33a34c ("net: Remove support for AIO on sockets") removed the AIO socket path across net/ entirely, producing the same end state for this file - algif_skcipher never processes an AIO request asynchronously. After this patch, _skcipher_recvmsg() matches mainline's crypto/algif_skcipher.c as it stands today, including the same now-dead -EIOCBQUEUED check. This patch deviates from that commit deliberately: rather than removing AIO socket support tree-wide, which would be far too invasive for stable, it removes only the AIO branch in crypto/algif_skcipher.c. io_submit() now completes synchronously, which is valid for the AIO interface; AF_ALG async is rarely used in practice.

The -EIOCBQUEUED check in skcipher_recvmsg() is now dead but harmless, and is left alone to keep the fix minimal.

Fixes e870456d8e7c ("crypto: algif_skcipher - overhaul memory management")
---
 crypto/algif_skcipher.c | 75 +++++++++++++----------------------------
 1 file changed, 24 insertions(+), 51 deletions(-)
crypto/algif_skcipher.c +24 -51
index ba0a17fd95aca2..35ebc3e0201b04 100644
@@ -79,20 +79,6 @@ static int algif_skcipher_export(struct sock *sk, struct skcipher_request *req)
 	return err;
 }
 
-static void algif_skcipher_done(void *data, int err)
-{
-	struct af_alg_async_req *areq = data;
-	struct sock *sk = areq->sk;
-
-	if (err)
-		goto out;
-
-	err = algif_skcipher_export(sk, &areq->cra_u.skcipher_req);
-
-out:
-	af_alg_async_cb(data, err);
-}
-
 static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg,
 			     size_t ignored, int flags)
 {
@@ -171,43 +157,30 @@ static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg,
 		cflags |= CRYPTO_SKCIPHER_REQ_CONT;
 	}
 
-	if (msg->msg_iocb && !is_sync_kiocb(msg->msg_iocb)) {
-		/* AIO operation */
-		sock_hold(sk);
-		areq->iocb = msg->msg_iocb;
-
-		/* Remember output size that will be generated. */
-		areq->outlen = len;
-
-		skcipher_request_set_callback(&areq->cra_u.skcipher_req,
-					      cflags |
-					      CRYPTO_TFM_REQ_MAY_SLEEP,
-					      algif_skcipher_done, areq);
-		err = ctx->enc ?
-			crypto_skcipher_encrypt(&areq->cra_u.skcipher_req) :
-			crypto_skcipher_decrypt(&areq->cra_u.skcipher_req);
-
-		/* AIO operation in progress */
-		if (err == -EINPROGRESS)
-			return -EIOCBQUEUED;
-
-		sock_put(sk);
-	} else {
-		/* Synchronous operation */
-		skcipher_request_set_callback(&areq->cra_u.skcipher_req,
-					      cflags |
-					      CRYPTO_TFM_REQ_MAY_SLEEP |
-					      CRYPTO_TFM_REQ_MAY_BACKLOG,
-					      crypto_req_done, &ctx->wait);
-		err = crypto_wait_req(ctx->enc ?
-			crypto_skcipher_encrypt(&areq->cra_u.skcipher_req) :
-			crypto_skcipher_decrypt(&areq->cra_u.skcipher_req),
-						 &ctx->wait);
-
-		if (!err)
-			err = algif_skcipher_export(
-				sk, &areq->cra_u.skcipher_req);
-	}
+	/*
+	 * Force synchronous processing.  The async (AIO) path passed the
+	 * socket-wide ctx->iv into the request, which the worker
+	 * dereferenced after the socket lock had been dropped, letting a
+	 * concurrent sendmsg(ALG_SET_IV) inject an attacker IV.  Mainline
+	 * removed the AIO socket path in commit fcc77d33a34c ("net: Remove
+	 * support for AIO on sockets"); the minimal stable fix is to always
+	 * complete synchronously, so ctx->iv is only ever dereferenced under
+	 * the socket lock.  This also keeps the IV chaining intact: for
+	 * ciphers with statesize == 0 (e.g. ctr, cbc) the chained IV is
+	 * carried by the req->iv writeback into ctx->iv, which is only
+	 * consistent on the synchronous path.
+	 */
+	skcipher_request_set_callback(&areq->cra_u.skcipher_req,
+				      cflags |
+				      CRYPTO_TFM_REQ_MAY_SLEEP |
+				      CRYPTO_TFM_REQ_MAY_BACKLOG,
+				      crypto_req_done, &ctx->wait);
+	err = crypto_wait_req(ctx->enc ?
+		crypto_skcipher_encrypt(&areq->cra_u.skcipher_req) :
+		crypto_skcipher_decrypt(&areq->cra_u.skcipher_req),
+				 &ctx->wait);
+	if (!err)
+		err = algif_skcipher_export(sk, &areq->cra_u.skcipher_req);
 
 free:
 	af_alg_free_resources(areq);
Signature · 1 line
2.53.0
author maintainer
#3 lore raw

PATCH 3/2077 crypto: sun4i-ss - Remove insecure and unused rng_alg

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Eric Biggers <[email protected]>

commit b2c41fa9dd8fc740c489e060b199165771f268d1 upstream.

Remove sun4i_ss_rng, as it is insecure and unused:

- It has multiple vulnerabilities. sun4i_ss_prng_seed() is missing locking and has a buffer overflow. sun4i_ss_prng_generate() fails to fill the entire buffer with cryptographic random bytes, because it rounds the destination length down and also doesn't actually wait for the hardware to be ready before pulling bytes from it.

- No user of this code is known. It's usable only theoretically via the "rng" algorithm type of AF_ALG. But userspace actually just uses the actual Linux RNG (/dev/random etc) instead. And rng_algs don't contribute entropy to the actual Linux RNG either. (This may have been confused with hwrng, which does contribute entropy.)

The sun4i_ss_prng_seed() buffer overflow was reported by Tianchu Chen and discovered by Atuin - Automated Vulnerability Discovery Engine

There's no point in fixing all these vulnerabilities individually when this is unused code, so let's just remove it.

---
 arch/arm/configs/sunxi_defconfig              |  1 -
 drivers/crypto/allwinner/Kconfig              |  8 ---
 drivers/crypto/allwinner/sun4i-ss/Makefile    |  1 -
 .../crypto/allwinner/sun4i-ss/sun4i-ss-core.c | 36 ----------
 .../crypto/allwinner/sun4i-ss/sun4i-ss-prng.c | 69 -------------------
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h  | 20 ------
 6 files changed, 135 deletions(-)
 delete mode 100644 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c
arch/arm/configs/sunxi_defconfig +0 -1
index a83d29fed17563..f4b8d8f7dbefbb 100644
@@ -170,7 +170,6 @@ CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y
 CONFIG_CRYPTO_DEV_SUN4I_SS=y
-CONFIG_CRYPTO_DEV_SUN4I_SS_PRNG=y
 CONFIG_CRYPTO_DEV_SUN8I_CE=y
 CONFIG_CRYPTO_DEV_SUN8I_SS=y
 CONFIG_DMA_CMA=y
drivers/crypto/allwinner/Kconfig +0 -8
index 7270e5fbc57387..1048f8e95ba803 100644
@@ -25,14 +25,6 @@ config CRYPTO_DEV_SUN4I_SS
 	  To compile this driver as a module, choose M here: the module
 	  will be called sun4i-ss.
 
-config CRYPTO_DEV_SUN4I_SS_PRNG
-	bool "Support for Allwinner Security System PRNG"
-	depends on CRYPTO_DEV_SUN4I_SS
-	select CRYPTO_RNG
-	help
-	  Select this option if you want to provide kernel-side support for
-	  the Pseudo-Random Number Generator found in the Security System.
-
 config CRYPTO_DEV_SUN4I_SS_DEBUG
 	bool "Enable sun4i-ss stats"
 	depends on CRYPTO_DEV_SUN4I_SS
drivers/crypto/allwinner/sun4i-ss/Makefile +0 -1
index c0a2797d316827..06a9ae81f9f808 100644
@@ -1,4 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
 obj-$(CONFIG_CRYPTO_DEV_SUN4I_SS) += sun4i-ss.o
 sun4i-ss-y += sun4i-ss-core.o sun4i-ss-hash.o sun4i-ss-cipher.o
-sun4i-ss-$(CONFIG_CRYPTO_DEV_SUN4I_SS_PRNG) += sun4i-ss-prng.o
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c +0 -36
index 58a76e2ba64e25..35ef0930e77f1a 100644
@@ -213,23 +213,6 @@ static struct sun4i_ss_alg_template ss_algs[] = {
 		}
 	}
 },
-#ifdef CONFIG_CRYPTO_DEV_SUN4I_SS_PRNG
-{
-	.type = CRYPTO_ALG_TYPE_RNG,
-	.alg.rng = {
-		.base = {
-			.cra_name		= "stdrng",
-			.cra_driver_name	= "sun4i_ss_rng",
-			.cra_priority		= 300,
-			.cra_ctxsize		= 0,
-			.cra_module		= THIS_MODULE,
-		},
-		.generate               = sun4i_ss_prng_generate,
-		.seed                   = sun4i_ss_prng_seed,
-		.seedsize               = SS_SEED_LEN / BITS_PER_BYTE,
-	}
-},
-#endif
 };
 
 static int sun4i_ss_debugfs_show(struct seq_file *seq, void *v)
@@ -247,12 +230,6 @@ static int sun4i_ss_debugfs_show(struct seq_file *seq, void *v)
 				   ss_algs[i].stat_req, ss_algs[i].stat_opti, ss_algs[i].stat_fb,
 				   ss_algs[i].stat_bytes);
 			break;
-		case CRYPTO_ALG_TYPE_RNG:
-			seq_printf(seq, "%s %s reqs=%lu tsize=%lu\n",
-				   ss_algs[i].alg.rng.base.cra_driver_name,
-				   ss_algs[i].alg.rng.base.cra_name,
-				   ss_algs[i].stat_req, ss_algs[i].stat_bytes);
-			break;
 		case CRYPTO_ALG_TYPE_AHASH:
 			seq_printf(seq, "%s %s reqs=%lu\n",
 				   ss_algs[i].alg.hash.halg.base.cra_driver_name,
@@ -471,13 +448,6 @@ static int sun4i_ss_probe(struct platform_device *pdev)
 				goto error_alg;
 			}
 			break;
-		case CRYPTO_ALG_TYPE_RNG:
-			err = crypto_register_rng(&ss_algs[i].alg.rng);
-			if (err) {
-				dev_err(ss->dev, "Fail to register %s\n",
-					ss_algs[i].alg.rng.base.cra_name);
-			}
-			break;
 		}
 	}
 
@@ -497,9 +467,6 @@ static int sun4i_ss_probe(struct platform_device *pdev)
 		case CRYPTO_ALG_TYPE_AHASH:
 			crypto_unregister_ahash(&ss_algs[i].alg.hash);
 			break;
-		case CRYPTO_ALG_TYPE_RNG:
-			crypto_unregister_rng(&ss_algs[i].alg.rng);
-			break;
 		}
 	}
 error_pm:
@@ -520,9 +487,6 @@ static void sun4i_ss_remove(struct platform_device *pdev)
 		case CRYPTO_ALG_TYPE_AHASH:
 			crypto_unregister_ahash(&ss_algs[i].alg.hash);
 			break;
-		case CRYPTO_ALG_TYPE_RNG:
-			crypto_unregister_rng(&ss_algs[i].alg.rng);
-			break;
 		}
 	}
 
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c deleted +0 -69

69 lines not on this page · raw message

drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h +0 -20
index 6c5d4aa6453c7f..f7d1c79ac677d8 100644
@@ -31,8 +31,6 @@
 #include <crypto/internal/skcipher.h>
 #include <crypto/aes.h>
 #include <crypto/internal/des.h>
-#include <crypto/internal/rng.h>
-#include <crypto/rng.h>
 
 #define SS_CTL            0x00
 #define SS_KEY0           0x04
@@ -62,10 +60,6 @@
 
 /* SS_CTL configuration values */
 
-/* PRNG generator mode - bit 15 */
-#define SS_PRNG_ONESHOT		(0 << 15)
-#define SS_PRNG_CONTINUE	(1 << 15)
-
 /* IV mode for hash */
 #define SS_IV_ARBITRARY		(1 << 14)
 
@@ -94,14 +88,10 @@
 #define SS_OP_3DES		(2 << 4)
 #define SS_OP_SHA1		(3 << 4)
 #define SS_OP_MD5		(4 << 4)
-#define SS_OP_PRNG		(5 << 4)
 
 /* Data end bit - bit 2 */
 #define SS_DATA_END		(1 << 2)
 
-/* PRNG start bit - bit 1 */
-#define SS_PRNG_START		(1 << 1)
-
 /* SS Enable bit - bit 0 */
 #define SS_DISABLED		(0 << 0)
 #define SS_ENABLED		(1 << 0)
@@ -128,9 +118,6 @@
 #define SS_RXFIFO_EMP_INT_ENABLE	(1 << 2)
 #define SS_TXFIFO_AVA_INT_ENABLE	(1 << 0)
 
-#define SS_SEED_LEN 192
-#define SS_DATA_LEN 160
-
 /*
  * struct ss_variant - Describe SS hardware variant
  * @sha1_in_be:		The SHA1 digest is given by SS in BE, and so need to be inverted.
@@ -151,9 +138,6 @@ struct sun4i_ss_ctx {
 	char buf[4 * SS_RX_MAX];/* buffer for linearize SG src */
 	char bufo[4 * SS_TX_MAX]; /* buffer for linearize SG dst */
 	spinlock_t slock; /* control the use of the device */
-#ifdef CONFIG_CRYPTO_DEV_SUN4I_SS_PRNG
-	u32 seed[SS_SEED_LEN / BITS_PER_LONG];
-#endif
 	struct dentry *dbgfs_dir;
 	struct dentry *dbgfs_stats;
 };
@@ -164,7 +148,6 @@ struct sun4i_ss_alg_template {
 	union {
 		struct skcipher_alg crypto;
 		struct ahash_alg hash;
-		struct rng_alg rng;
 	} alg;
 	struct sun4i_ss_ctx *ss;
 	unsigned long stat_req;
@@ -231,6 +214,3 @@ int sun4i_ss_des_setkey(struct crypto_skcipher *tfm, const u8 *key,
 			unsigned int keylen);
 int sun4i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key,
 			 unsigned int keylen);
-int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
-			   unsigned int slen, u8 *dst, unsigned int dlen);
-int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
Signature · 1 line
2.53.0
author maintainer
#5 lore raw

PATCH 5/2077 ALSA: hda/realtek: Add quirk for TongFang X6xx45xU

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Eckhart Mohr <[email protected]>

commit d595255241e5fec0c94adeebf2565524398e37c5 upstream.

Fix microphone detection on built in headphone jack for some devices.

---
 sound/hda/codecs/realtek/alc269.c |    1 +
 1 file changed, 1 insertion(+)
sound/hda/codecs/realtek/alc269.c +1 -0
@@ -7840,6 +7840,7 @@ static const struct hda_quirk alc269_fix
 	SND_PCI_QUIRK(0x1d05, 0x300f, "TongFang X6AR5xxY", ALC2XX_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d05, 0x3019, "TongFang X6FR5xxY", ALC2XX_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d05, 0x3031, "TongFang X6AR55xU", ALC2XX_FIXUP_HEADSET_MIC),
+	SND_PCI_QUIRK(0x1d05, 0x3034, "TongFang X6xx45xU", ALC2XX_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d17, 0x3288, "Haier Boyue G42", ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS),
 	SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
author maintainer
#14 lore raw

PATCH 14/2077 media: uvcvideo: Relax the constrains for interpolating the hw clock

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ricardo Ribalda <[email protected]>

commit 1719d78f832dda8dd3f09a867ba74e05d6f11308 upstream.

In the initial version we set the min value to 250msec. Looks like 100msec can also provide a good value.

Now that we are at it, add a macro to make it cleaner.

---
 drivers/media/usb/uvc/uvc_video.c |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
drivers/media/usb/uvc/uvc_video.c +12 -5
@@ -494,6 +494,13 @@ static int uvc_commit_video(struct uvc_s
  * Clocks and timestamps
  */
 
+/*
+ * The accuracy of the hardware timestamping depends on having enough data to
+ * interpolate between the different clock domains. This value is sof cycles,
+ * this is, milliseconds.
+ */
+#define UVC_MIN_HW_TIMESTAMP_DIFF 100
+
 static inline ktime_t uvc_video_get_time(void)
 {
 	if (uvc_clock_param == CLOCK_MONOTONIC)
@@ -853,13 +860,13 @@ void uvc_video_clock_update(struct uvc_s
 	 * buffer, but RAM is expensive these days, specially the infinitely
 	 * big.
 	 *
-	 * The value of 1/4th of a second was determined by running Android's
-	 * CTS on different devices.
+	 * The value of UVC_MIN_HW_TIMESTAMP_DIFF was determined by running
+	 * Android's CTS on different devices.
 	 *
-	 * dev_sof runs at 1KHz, and we have a fixed point precision of
-	 * 16 bits.
+	 * y1 and y2 are dev_sof with a fixed point precision of 16 bits.
 	 */
-	if (clock->size != clock->count && (y2 - y1) < ((1000 / 4) << 16))
+	if (clock->size != clock->count &&
+	    (y2 - y1) < (UVC_MIN_HW_TIMESTAMP_DIFF << 16))
 		goto done;
 
 	y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2
author maintainer
#15 lore raw

PATCH 15/2077 media: uvcvideo: Fix sequence number when no EOF

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ricardo Ribalda <[email protected]>

commit f078966ca1fb1b3865d8e6bbe2705cfd277fc637 upstream.

If the driver could not detect the EOF, the sequence number is increased twice:
1) When we enter uvc_video_decode_start() with the old buffer and FID has flipped => We return -EAGAIN and last_fid is not flipped
2) When we enter uvc_video_decode_start() with the new buffer.

Fix this issue by moving the new frame detection logic earlier in uvc_video_decode_start().

This also has some nice side affects:

- The error status from the new packet will no longer get propagated to the previous frame-buffer.
- uvc_video_clock_decode() will no longer update the previous frame buf->stf with info from the new packet.
- uvc_video_clock_decode() and uvc_video_stats_decode() will no longer get called twice for the same packet.

---
 drivers/media/usb/uvc/uvc_video.c |   92 +++++++++++++++++++-------------------
 1 file changed, 47 insertions(+), 45 deletions(-)
drivers/media/usb/uvc/uvc_video.c +47 -45
@@ -1196,6 +1196,53 @@ static int uvc_video_decode_start(struct
 	fid = data[1] & UVC_STREAM_FID;
 
 	/*
+	 * Mark the buffer as done if we're at the beginning of a new frame.
+	 * End of frame detection is better implemented by checking the EOF
+	 * bit (FID bit toggling is delayed by one frame compared to the EOF
+	 * bit), but some devices don't set the bit at end of frame (and the
+	 * last payload can be lost anyway). We thus must check if the FID has
+	 * been toggled.
+	 *
+	 * stream->last_fid is initialized to -1, and buf->bytesused to 0,
+	 * so the first isochronous frame will never trigger an end of frame
+	 * detection.
+	 *
+	 * Empty buffers (bytesused == 0) don't trigger end of frame detection
+	 * as it doesn't make sense to return an empty buffer. This also
+	 * avoids detecting end of frame conditions at FID toggling if the
+	 * previous payload had the EOF bit set.
+	 */
+	if (fid != stream->last_fid && buf && buf->bytesused != 0) {
+		uvc_dbg(stream->dev, FRAME,
+			"Frame complete (FID bit toggled)\n");
+		buf->state = UVC_BUF_STATE_READY;
+
+		return -EAGAIN;
+	}
+
+	/*
+	 * Some cameras, when running two parallel streams (one MJPEG alongside
+	 * another non-MJPEG stream), are known to lose the EOF packet for a frame.
+	 * We can detect the end of a frame by checking for a new SOI marker, as
+	 * the SOI always lies on the packet boundary between two frames for
+	 * these devices.
+	 */
+	if (stream->dev->quirks & UVC_QUIRK_MJPEG_NO_EOF &&
+	    (stream->cur_format->fcc == V4L2_PIX_FMT_MJPEG ||
+	     stream->cur_format->fcc == V4L2_PIX_FMT_JPEG) &&
+	    buf && buf->bytesused != 0) {
+		const u8 *packet = data + header_len;
+
+		if (len >= header_len + 2 &&
+		    packet[0] == 0xff && packet[1] == JPEG_MARKER_SOI) {
+			buf->state = UVC_BUF_STATE_READY;
+			buf->error = 1;
+			stream->last_fid ^= UVC_STREAM_FID;
+			return -EAGAIN;
+		}
+	}
+
+	/*
 	 * Increase the sequence number regardless of any buffer states, so
 	 * that discontinuous sequence numbers always indicate lost frames.
 	 */
@@ -1262,51 +1309,6 @@ static int uvc_video_decode_start(struct
 			meta_buf->state = UVC_BUF_STATE_ACTIVE;
 	}
 
-	/*
-	 * Mark the buffer as done if we're at the beginning of a new frame.
-	 * End of frame detection is better implemented by checking the EOF
-	 * bit (FID bit toggling is delayed by one frame compared to the EOF
-	 * bit), but some devices don't set the bit at end of frame (and the
-	 * last payload can be lost anyway). We thus must check if the FID has
-	 * been toggled.
-	 *
-	 * stream->last_fid is initialized to -1, so the first isochronous
-	 * frame will never trigger an end of frame detection.
-	 *
-	 * Empty buffers (bytesused == 0) don't trigger end of frame detection
-	 * as it doesn't make sense to return an empty buffer. This also
-	 * avoids detecting end of frame conditions at FID toggling if the
-	 * previous payload had the EOF bit set.
-	 */
-	if (fid != stream->last_fid && buf->bytesused != 0) {
-		uvc_dbg(stream->dev, FRAME,
-			"Frame complete (FID bit toggled)\n");
-		buf->state = UVC_BUF_STATE_READY;
-		return -EAGAIN;
-	}
-
-	/*
-	 * Some cameras, when running two parallel streams (one MJPEG alongside
-	 * another non-MJPEG stream), are known to lose the EOF packet for a frame.
-	 * We can detect the end of a frame by checking for a new SOI marker, as
-	 * the SOI always lies on the packet boundary between two frames for
-	 * these devices.
-	 */
-	if (stream->dev->quirks & UVC_QUIRK_MJPEG_NO_EOF &&
-	    (stream->cur_format->fcc == V4L2_PIX_FMT_MJPEG ||
-	    stream->cur_format->fcc == V4L2_PIX_FMT_JPEG)) {
-		const u8 *packet = data + header_len;
-
-		if (len >= header_len + 2 &&
-		    packet[0] == 0xff && packet[1] == JPEG_MARKER_SOI &&
-		    buf->bytesused != 0) {
-			buf->state = UVC_BUF_STATE_READY;
-			buf->error = 1;
-			stream->last_fid ^= UVC_STREAM_FID;
-			return -EAGAIN;
-		}
-	}
-
 	stream->last_fid = fid;
 
 	return header_len;
author maintainer
#16 lore raw

PATCH 16/2077 dt-bindings: media: sun4i-a10-video-engine: Add interconnect properties

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Chen-Yu Tsai <[email protected]>

commit 018f2dc3a42098d3b04edd1480adc51d268adb14 upstream.

The Allwinner video engine sits behind the MBUS that is represented as an interconnect.

Make sure that the interconnect properties are valid in the binding.

Fixes d41662e52a03 ("media: dt-bindings: media: allwinner,sun4i-a10-video-engine: Add R40 compatible")
---
 Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml |   10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +10 -0
@@ -63,6 +63,16 @@ properties:
       CMA pool to use for buffers allocation instead of the default
       CMA pool.
 
+  # FIXME: This should be made required eventually once every SoC will
+  # have the MBUS declared.
+  interconnects:
+    maxItems: 1
+
+  # FIXME: This should be made required eventually once every SoC will
+  # have the MBUS declared.
+  interconnect-names:
+    const: dma-mem
+
 required:
   - compatible
   - reg
author maintainer
#17 lore raw

PATCH 17/2077 dt-bindings: power: imx93: Add MIPI PHY power domain

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Guoniu Zhou <[email protected]>

commit 6aa38ef0eab32df5409b72d62509de6ba09cea50 upstream.

Add MIPI PHY power domain for shared PHY resources used by both MIPI DSI and CSI blocks.

---
 include/dt-bindings/power/fsl,imx93-power.h |    1 +
 1 file changed, 1 insertion(+)
include/dt-bindings/power/fsl,imx93-power.h +1 -0
@@ -11,5 +11,6 @@
 #define IMX93_MEDIABLK_PD_PXP			2
 #define IMX93_MEDIABLK_PD_LCDIF			3
 #define IMX93_MEDIABLK_PD_ISI			4
+#define IMX93_MEDIABLK_PD_MIPI_PHY		5
 
 #endif
author maintainer
#18 lore raw

PATCH 18/2077 serial: msm: Disable DMA for kernel console UART

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Stephan Gerhold <[email protected]>

commit 22dd2777e6c180e1c945b00f6d18550979436324 upstream.

At the moment, concurrent writes from userspace and the kernel to the console can trigger a race condition that results in an infinite loop of the same messages printed over and over again. This is most likely to happen during system startup or shutdown when the init system starts/stops a large number of system services that interact with various kernel code.

When userspace writes to the TTY device, the driver initiates an asynchronous DMA transfer and releases the port lock. At the same moment, the kernel printk path might grab the port lock and re-configure the UART controller for PIO, without waiting for the DMA operation to complete. It seems like this collision results in zero progress being reported for the DMA engine, so the same text is printed to the console over and over again.

For the kernel console, we want a reliable output path that will be functional even during crashes etc. So rather than implementing complex code to synchronize the kernel console write routines with the userspace DMA write routines, simply disable DMA for the console UART instance.

Similar checks exist in many other serial drivers, e.g. 8250_port.c, imx.c, sh-sci.c etc.

---
 drivers/tty/serial/msm_serial.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/tty/serial/msm_serial.c +2 -1
@@ -1228,7 +1228,8 @@ static int msm_startup(struct uart_port
 	data |= MSM_UART_MR1_AUTO_RFR_LEVEL0 & rfr_level;
 	msm_write(port, data, MSM_UART_MR1);
 
-	if (msm_port->is_uartdm) {
+	/* Disable DMA for console to prevent PIO/DMA collisions */
+	if (msm_port->is_uartdm && !uart_console(port)) {
 		msm_request_tx_dma(msm_port, msm_port->uart.mapbase);
 		msm_request_rx_dma(msm_port, msm_port->uart.mapbase);
 	}
author maintainer
#19 lore raw

PATCH 19/2077 serial: max310x: implement gpio_chip::get_direction()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Tapio Reijonen <[email protected]>

commit a483b1a91b33b7533280e7c3efd2bc1275caef18 upstream.

It's strongly recommended for GPIO drivers to always implement the .get_direction() callback - even when the direction is tracked in software. The GPIO core emits a warning when the callback is missing and a user reads the direction of a line, e.g. via /sys/kernel/debug/gpio.

The MAX310X keeps the GPIO direction in the GPIOCFG register (a set bit selects output), which the existing direction_input/output callbacks already program, so the current direction can be read back directly.

---
 drivers/tty/serial/max310x.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/tty/serial/max310x.c +12 -0
@@ -1212,6 +1212,17 @@ static int max310x_gpio_set(struct gpio_
 	return 0;
 }
 
+static int max310x_gpio_get_direction(struct gpio_chip *chip, unsigned int offset)
+{
+	struct max310x_port *s = gpiochip_get_data(chip);
+	struct uart_port *port = &s->p[offset / 4].port;
+	unsigned int val;
+
+	val = max310x_port_read(port, MAX310X_GPIOCFG_REG);
+
+	return val & BIT(offset % 4) ? GPIO_LINE_DIRECTION_OUT : GPIO_LINE_DIRECTION_IN;
+}
+
 static int max310x_gpio_direction_input(struct gpio_chip *chip, unsigned int offset)
 {
 	struct max310x_port *s = gpiochip_get_data(chip);
@@ -1421,6 +1432,7 @@ static int max310x_probe(struct device *
 	s->gpio.owner		= THIS_MODULE;
 	s->gpio.parent		= dev;
 	s->gpio.label		= devtype->name;
+	s->gpio.get_direction	= max310x_gpio_get_direction;
 	s->gpio.direction_input	= max310x_gpio_direction_input;
 	s->gpio.get		= max310x_gpio_get;
 	s->gpio.direction_output= max310x_gpio_direction_output;
author maintainer
#20 lore raw

PATCH 20/2077 serial: 8250_omap: clear rx_running on zero-length DMA completes

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Matthias Feser <[email protected]>

commit 061b627ba534230a18ec4d7251562af12325d06a upstream.

On AM33xx RX DMA only triggers when the FIFO reaches the configured threshold (typically 48 bytes). For smaller bursts no DMA request is issued and the FIFO is drained by RX timeout.

In this case __dma_rx_do_complete() can legitimately see count == 0.

The current code exits early in this case and does not clear dma->rx_running, leaving the DMA state inconsistent. This can prevent RX DMA from restarting and may cause omap_8250_rx_dma_flush() to fail, marking DMA as broken.

Fix this by clearing dma->rx_running once the DMA transfer has completed or been terminated, even if no data was transferred.

Fixes a5fd8945a478 ("serial: 8250: 8250_omap.c: Clear DMA RX running status only after DMA termination is done")
Cc stable <[email protected]>
---
 drivers/tty/serial/8250/8250_omap.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/tty/serial/8250/8250_omap.c +2 -1
@@ -944,11 +944,12 @@ static void __dma_rx_do_complete(struct
 				dev_err(p->port.dev, "teardown incomplete\n");
 		}
 	}
+
+	dma->rx_running = 0;
 	if (!count)
 		goto out;
 	ret = tty_insert_flip_string(tty_port, dma->rx_buf, count);
 
-	dma->rx_running = 0;
 	p->port.icount.rx += ret;
 	p->port.icount.buf_overrun += count - ret;
 out:
author maintainer
#21 lore raw

PATCH 21/2077 rxrpc: serialize kernel accept preallocation with socket teardown

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Li Daming <[email protected]>

commit dc175389b18c29a5303ee83169ec653adfae3e17 upstream.

rxrpc_kernel_charge_accept() reads rx->backlog without any socket/backlog synchronization and passes that raw pointer into rxrpc_service_prealloc_one(). A concurrent rxrpc_discard_prealloc() sets rx->backlog = NULL and frees the backlog rings, so a kernel preallocation worker can keep using a freed struct rxrpc_backlog while updating *_backlog_head/tail and array slots.

Serialize the state check and backlog lookup with the socket lock, and reject kernel preallocation once teardown has disabled listening or discarded the service backlog.

---
 net/rxrpc/call_accept.c |   25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)
net/rxrpc/call_accept.c +19 -6
@@ -471,13 +471,26 @@ int rxrpc_kernel_charge_accept(struct so
 			       unsigned long user_call_ID, gfp_t gfp,
 			       unsigned int debug_id)
 {
-	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
-	struct rxrpc_backlog *b = rx->backlog;
+	struct rxrpc_backlog *b;
+	struct rxrpc_sock *rx;
+	struct sock *sk;
+	int ret;
 
-	if (sock->sk->sk_state == RXRPC_CLOSE)
-		return -ESHUTDOWN;
+	sk = sock->sk;
+	rx = rxrpc_sk(sk);
 
-	return rxrpc_service_prealloc_one(rx, b, notify_rx, user_call_ID,
-					  gfp, debug_id);
+	lock_sock(sk);
+	if (sk->sk_state != RXRPC_SERVER_LISTENING || !rx->backlog) {
+		ret = -ESHUTDOWN;
+		goto out;
+	}
+
+	b = rx->backlog;
+	ret = rxrpc_service_prealloc_one(rx, b, notify_rx, user_call_ID,
+					 gfp, debug_id);
+
+out:
+	release_sock(sk);
+	return ret;
 }
 EXPORT_SYMBOL(rxrpc_kernel_charge_accept);
author maintainer
#22 lore raw

PATCH 22/2077 rxrpc: rxrpc_verify_data ensure rx_dec_buffer alloc

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Jeffrey Altman <[email protected]>

commit 16c8ae9735c5bd7e54dd7478d6348e0fc860842d upstream.

rxrpc_recvmsg_data() calls rxrpc_verify_data() whenever the rxrpc_call.rx_dec_buffer is unallocated and assumes that upon successful return that rx_dec_buffer must be allocated. However, rxrpc_verify_data() does not request an allocation if the rxrpc_skb_priv.len is zero.

In addition, failure to allocate rx_dec_buffer will result in a call to skb_copy_bits() with a NULL destination which can trigger a NULL pointer dereference.

To prevent these issues rxrpc_verify_data() is modified to always attempt to allocate the rxrpc_call.rx_dec_buffer if it is NULL.

This issue was identified with assistance of a private sashiko instance.

Fixes d2bc90cf6c75cb ("rxrpc: Fix DATA decrypt vs splice() by copying data to buffer in recvmsg")
cc Jiayuan Chen <[email protected]>
cc Marc Dionne <[email protected]>
---
 net/rxrpc/recvmsg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/rxrpc/recvmsg.c +1 -1
@@ -161,7 +161,7 @@ static int rxrpc_verify_data(struct rxrp
 	struct rxrpc_skb_priv *sp = rxrpc_skb(skb);
 	int ret;
 
-	if (sp->len > call->rx_dec_bsize) {
+	if (sp->len > call->rx_dec_bsize || !call->rx_dec_buffer) {
 		/* Make sure we can hold a 1412-byte jumbo subpacket and make
 		 * sure that the buffer size is aligned to a crypto blocksize.
 		 */
author maintainer
#23 lore raw

PATCH 23/2077 rxrpc: Dont move a peeked OOB message onto the pending queue

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Hyunwoo Kim <[email protected]>

commit 5801cff7d5d7b4e9d877dfb627b23eb63167f02c upstream.

rxrpc_recvmsg_oob() takes a received oob message off recvmsg_oobq and, if a response is needed, moves it onto the pending_oobq tree. However, only the unlink from recvmsg_oobq is guarded by MSG_PEEK; the move onto pending_oobq always runs.

As a result, reading a challenge with MSG_PEEK leaves the skb on recvmsg_oobq while also adding it to pending_oobq. Since struct sk_buff's rbnode shares storage with its next and prev pointers, rb_insert_color() overwrites the list linkage, and the skb, which holds a single reference, becomes reachable from both queues at once.

When the socket is closed both queues are drained in turn. While draining recvmsg_oobq, __skb_unlink() follows the next and prev pointers that rbnode has overwritten and writes to a bad address. Also, as the skb holds a single reference but is freed from each queue, both the skb and the connection reference it holds are released twice. This leads to memory corruption and to a use-after-free caused by the connection refcount underflow.

MSG_PEEK does not consume the message from the queue, so only unlink it from recvmsg_oobq and then move it onto pending_oobq or free it when the message is actually consumed.

Fixes 5800b1cf3fd8 ("rxrpc: Allow CHALLENGEs to the passed to the app for a RESPONSE")
cc Marc Dionne <[email protected]>
cc Simon Horman <[email protected]>
---
 net/rxrpc/recvmsg.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
net/rxrpc/recvmsg.c +6 -5
@@ -262,12 +262,13 @@ static int rxrpc_recvmsg_oob(struct sock
 		break;
 	}
 
-	if (!(flags & MSG_PEEK))
+	if (!(flags & MSG_PEEK)) {
 		skb_unlink(skb, &rx->recvmsg_oobq);
-	if (need_response)
-		rxrpc_add_pending_oob(rx, skb);
-	else
-		rxrpc_free_skb(skb, rxrpc_skb_put_oob);
+		if (need_response)
+			rxrpc_add_pending_oob(rx, skb);
+		else
+			rxrpc_free_skb(skb, rxrpc_skb_put_oob);
+	}
 	return ret;
 }
 
author maintainer
#6 lore raw

PATCH 6/2077 ALSA: hda: conexant: Remove mic bias threshold override

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Zhang Heng <[email protected]>

commit f52524da7084c1a54683ae9fbc73e93fff19dd64 upstream.

Remove the mic bias current comparator threshold override (NID 0x1c, verb 0x320, value 0x010) from Conexant codec driver.

This override was originally intended to support volume up/down controls on headsets with inline remote controls, but it causes microphone detection failures on some headsets with impedance less than 1k ohm.

After consulting with the vendor's engineers, it was confirmed that this setting is board-specific and should be handled by BIOS/firmware rather than the generic codec driver, especially since inline remote support is not currently implemented.

Fixes 7aeb25908648 ("ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140")
---
 sound/hda/codecs/conexant.c |    3 ---
 1 file changed, 3 deletions(-)
sound/hda/codecs/conexant.c +0 -3
@@ -162,9 +162,6 @@ static void cx_fixup_headset_recog(struc
 {
 	unsigned int mic_present;
 
-	/* fix some headset type recognize fail issue, such as EDIFIER headset */
-	/* set micbias output current comparator threshold from 66% to 55%. */
-	snd_hda_codec_write(codec, 0x1c, 0, 0x320, 0x010);
 	/* set OFF voltage for DFET from -1.2V to -0.8V, set headset micbias register
 	 * value adjustment trim from 2.2K ohms to 2.0K ohms.
 	 */
author maintainer
#24 lore raw

PATCH 24/2077 rxrpc: Fix UAF in rxgk_issue_challenge()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit 107a4cb0d47e735830f852d83970d5c81f8e1e08 upstream.

Fix rxgk_issue_challenge() to free the page containing the challenge content after invoking the tracepoint as the whdr passed to the tracepoint points into the page just freed.

Fixes 9d1d2b59341f ("rxrpc: rxgk: Implement the yfs-rxgk security class (GSSAPI)")
cc Simon Horman <[email protected]>
---
 net/rxrpc/rxgk.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
net/rxrpc/rxgk.c +2 -1
@@ -687,16 +687,17 @@ static int rxgk_issue_challenge(struct r
 	ret = do_udp_sendmsg(conn->local->socket, &msg, len);
 	if (ret > 0)
 		rxrpc_peer_mark_tx(conn->peer);
-	__free_page(page);
 
 	if (ret < 0) {
 		trace_rxrpc_tx_fail(conn->debug_id, serial, ret,
 				    rxrpc_tx_point_rxgk_challenge);
+		__free_page(page);
 		return -EAGAIN;
 	}
 
 	trace_rxrpc_tx_packet(conn->debug_id, whdr,
 			      rxrpc_tx_point_rxgk_challenge);
+	__free_page(page);
 	_leave(" = 0");
 	return 0;
 }
author maintainer
#25 lore raw

PATCH 25/2077 rxrpc: Fix socket notification race

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit e66f8f32f50116670dbbee5bc9e692cd2cd0c8f8 upstream.

There's a race between rxrpc_recvmsg() and rxrpc_notify_socket(), whereby the latter's attempt to avoid disabling interrupts and taking the socket's recvmsg_lock if the call is already queued may happen simultaneously with the former's discarding of a call that has nothing queued.

Fix this by removing the shortcut. Note that this only affects userspace's use of AF_RXRPC; the AFS filesystem driver doesn't use the socket queue.

---
 net/rxrpc/recvmsg.c |    2 --
 1 file changed, 2 deletions(-)
net/rxrpc/recvmsg.c +0 -2
@@ -27,8 +27,6 @@ void rxrpc_notify_socket(struct rxrpc_ca
 
 	_enter("%d", call->debug_id);
 
-	if (!list_empty(&call->recvmsg_link))
-		return;
 	if (test_bit(RXRPC_CALL_RELEASED, &call->flags)) {
 		rxrpc_see_call(call, rxrpc_call_see_notify_released);
 		return;
author maintainer
#26 lore raw

PATCH 26/2077 rxrpc: Fix leak of released call in recvmsg(MSG_PEEK)

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit 4bdb9e471f5b1ac9cbe4add5de7ff085a0ec303c upstream.

Fix rxrpc_recvmsg() to also drop the ref it holds on an already-released call if MSG_PEEK is in force (the function holds a ref on the call irrespective of whether MSG_PEEK is specified or not).

---
 net/rxrpc/recvmsg.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
net/rxrpc/recvmsg.c +1 -2
@@ -528,8 +528,7 @@ try_again:
 	if (test_bit(RXRPC_CALL_RELEASED, &call->flags)) {
 		rxrpc_see_call(call, rxrpc_call_see_already_released);
 		mutex_unlock(&call->user_mutex);
-		if (!(flags & MSG_PEEK))
-			rxrpc_put_call(call, rxrpc_call_put_recvmsg);
+		rxrpc_put_call(call, rxrpc_call_put_recvmsg);
 		goto try_again;
 	}
 
author maintainer
#27 lore raw

PATCH 27/2077 rxrpc: Fix potential infinite loop in rxrpc_recvmsg()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit 67a0332f442ef07713cd2d9c13d59db0f1c23648 upstream.

Fix the wait in rxrpc_recvmsg() also take check the oob queue.

---
 net/rxrpc/recvmsg.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
net/rxrpc/recvmsg.c +2 -1
@@ -436,7 +436,8 @@ try_again:
 		return -EAGAIN;
 	}
 
-	if (list_empty(&rx->recvmsg_q)) {
+	if (list_empty(&rx->recvmsg_q) &&
+	    skb_queue_empty_lockless(&rx->recvmsg_oobq)) {
 		ret = -EWOULDBLOCK;
 		if (timeo == 0) {
 			call = NULL;
author maintainer
#28 lore raw

PATCH 28/2077 rxrpc: Fix rxrpc_rotate_tx_rotate() to check theres something to rotate

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit a5462da5a349fc7f17ad5ebd899380260d03e7ed upstream.

Fix rxrpc_rotate_tx_rotate() to check that there's something in the transmission buffer to be rotated before it attempts to rotate anything.

---
 net/rxrpc/input.c |    3 +++
 1 file changed, 3 insertions(+)
net/rxrpc/input.c +3 -0
@@ -236,6 +236,9 @@ static bool rxrpc_rotate_tx_window(struc
 		call->acks_lowest_nak = to;
 	}
 
+	if (after(seq, to))
+		return false;
+
 	/* We may have a left over fully-consumed buffer at the front that we
 	 * couldn't drop before (rotate_and_keep below).
 	 */
author maintainer
#29 lore raw

PATCH 29/2077 rxrpc: Fix oob challenge leak in cleanup after notification failure

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit 092275882aec4a70ba55c3efb66fff947c81656a upstream.

Fix rxrpc_notify_socket_oob() to return an indication of failure in the event that it failed to queue a packet and fix rxrpc_post_challenge() to clean up the connection ref in such an event.

---
 net/rxrpc/ar-internal.h |    4 ++--
 net/rxrpc/conn_event.c  |    9 +++++++--
 net/rxrpc/oob.c         |    7 +++++--
 3 files changed, 14 insertions(+), 6 deletions(-)
net/rxrpc/ar-internal.h +2 -2
@@ -1355,9 +1355,9 @@ static inline struct rxrpc_net *rxrpc_ne
 }
 
 /*
- * out_of_band.c
+ * oob.c
  */
-void rxrpc_notify_socket_oob(struct rxrpc_call *call, struct sk_buff *skb);
+bool rxrpc_notify_socket_oob(struct rxrpc_call *call, struct sk_buff *skb);
 void rxrpc_add_pending_oob(struct rxrpc_sock *rx, struct sk_buff *skb);
 int rxrpc_sendmsg_oob(struct rxrpc_sock *rx, struct msghdr *msg, size_t len);
 
net/rxrpc/conn_event.c +7 -2
@@ -436,7 +436,7 @@ static bool rxrpc_post_challenge(struct
 	struct rxrpc_skb_priv *sp = rxrpc_skb(skb);
 	struct rxrpc_call *call = NULL;
 	struct rxrpc_sock *rx;
-	bool respond = false;
+	bool respond = false, queued = false;
 
 	sp->chall.conn =
 		rxrpc_get_connection(conn, rxrpc_conn_get_challenge_input);
@@ -472,8 +472,13 @@ static bool rxrpc_post_challenge(struct
 	}
 
 	if (call)
-		rxrpc_notify_socket_oob(call, skb);
+		queued = rxrpc_notify_socket_oob(call, skb);
 	rcu_read_unlock();
+	if (call && !queued) {
+		rxrpc_put_connection(conn, rxrpc_conn_put_challenge_input);
+		sp->chall.conn = NULL;
+		return false;
+	}
 
 	if (!call)
 		rxrpc_post_packet_to_conn(conn, skb);
net/rxrpc/oob.c +5 -2
@@ -32,11 +32,12 @@ struct rxrpc_oob_params {
  * Post an out-of-band message for attention by the socket or kernel service
  * associated with a reference call.
  */
-void rxrpc_notify_socket_oob(struct rxrpc_call *call, struct sk_buff *skb)
+bool rxrpc_notify_socket_oob(struct rxrpc_call *call, struct sk_buff *skb)
 {
 	struct rxrpc_skb_priv *sp = rxrpc_skb(skb);
 	struct rxrpc_sock *rx;
 	struct sock *sk;
+	bool queued = false;
 
 	rcu_read_lock();
 
@@ -49,6 +50,7 @@ void rxrpc_notify_socket_oob(struct rxrp
 			skb->skb_mstamp_ns = rx->oob_id_counter++;
 			rxrpc_get_skb(skb, rxrpc_skb_get_post_oob);
 			skb_queue_tail(&rx->recvmsg_oobq, skb);
+			queued = true;
 
 			trace_rxrpc_notify_socket(call->debug_id, sp->hdr.serial);
 			if (rx->app_ops)
@@ -56,11 +58,12 @@ void rxrpc_notify_socket_oob(struct rxrp
 		}
 
 		spin_unlock_irq(&rx->recvmsg_lock);
-		if (!rx->app_ops && !sock_flag(sk, SOCK_DEAD))
+		if (queued && !rx->app_ops && !sock_flag(sk, SOCK_DEAD))
 			sk->sk_data_ready(sk);
 	}
 
 	rcu_read_unlock();
+	return queued;
 }
 
 /*
author maintainer
#30 lore raw

PATCH 30/2077 rxrpc: Fix ACKALL packet handling

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Wyatt Feng <[email protected]>

commit 9b6ce594808580b2a19e6e1aa459ef56c0153ac1 upstream.

rxrpc_input_ackall() accepts ACKALL packets without checking whether the call is in a state that can legitimately have outstanding transmit buffers. A forged ACKALL can therefore reach a new service call in RXRPC_CALL_SERVER_RECV_REQUEST before any reply packets have been queued.

In that state call->tx_top is zero and call->tx_queue is NULL, so rxrpc_rotate_tx_window() dereferences a NULL txqueue and triggers a null-pointer dereference.

Fix the handling of ACKALL packets by the following means:

(1) Add two new call states: RXRPC_CALL_CLIENT_PRE_SEND which indicates that the client call is connected, but nothing has been transmitted as yet; and RXRPC_CALL_CLIENT_AWAIT_ACK, which indicates that everything has been transmitted at least once, but we're now waiting for the stuff remaining in the Tx buffer to be ACK'd (retransmissions may still happen).

The RXRPC_CALL_CLIENT_PRE_SEND state is set when the call is assigned a channel and transitions to RXRPC_CALL_CLIENT_SEND_REQUEST when the first packet is transmitted.

RXRPC_CALL_CLIENT_AWAIT_REPLY is then narrowed in scope to indicate that all Tx packets have been ACK'd and we're now waiting for the reply to be received.

(2) As per Wyatt Feng's original patch[1], the ACKALL handler then checks that the call state is one in which there might be stuff in the Tx buffer to ACK, but now this includes AWAIT_ACK rather than AWAIT_REPLY. ACKALL packets are ignored if received in the wrong state.

Note that unlike Wyatt Feng's patch, it's no longer necessary to check to see if the Tx buffer exists as this the state set now covers this.

(3) Make the ACKALL handler use call->tx_transmitted rather than call->tx_top as the former is explicitly the highest packet seq number transmitted, whereas the latter has a looser definition.

Thanks to Jeffrey Altman for a description of the history of the ACKALL packet[1].

---
 net/rxrpc/ar-internal.h |    2 ++
 net/rxrpc/call_event.c  |    5 ++++-
 net/rxrpc/call_object.c |    2 ++
 net/rxrpc/conn_client.c |    2 +-
 net/rxrpc/input.c       |   23 +++++++++++++++++++----
 net/rxrpc/sendmsg.c     |    3 ++-
 6 files changed, 30 insertions(+), 7 deletions(-)
net/rxrpc/ar-internal.h +2 -0
@@ -650,7 +650,9 @@ enum rxrpc_call_event {
 enum rxrpc_call_state {
 	RXRPC_CALL_UNINITIALISED,
 	RXRPC_CALL_CLIENT_AWAIT_CONN,	/* - client waiting for connection to become available */
+	RXRPC_CALL_CLIENT_PRE_SEND,	/* - client is connected, but hasn't sent anything yet */
 	RXRPC_CALL_CLIENT_SEND_REQUEST,	/* - client sending request phase */
+	RXRPC_CALL_CLIENT_AWAIT_ACK,	/* - client awaiting ACKs of request */
 	RXRPC_CALL_CLIENT_AWAIT_REPLY,	/* - client awaiting reply */
 	RXRPC_CALL_CLIENT_RECV_REPLY,	/* - client receiving reply phase */
 	RXRPC_CALL_SERVER_PREALLOC,	/* - service preallocation */
net/rxrpc/call_event.c +4 -1
@@ -178,7 +178,7 @@ static void rxrpc_close_tx_phase(struct
 
 	switch (__rxrpc_call_state(call)) {
 	case RXRPC_CALL_CLIENT_SEND_REQUEST:
-		rxrpc_set_call_state(call, RXRPC_CALL_CLIENT_AWAIT_REPLY);
+		rxrpc_set_call_state(call, RXRPC_CALL_CLIENT_AWAIT_ACK);
 		break;
 	case RXRPC_CALL_SERVER_SEND_REPLY:
 		rxrpc_set_call_state(call, RXRPC_CALL_SERVER_AWAIT_ACK);
@@ -244,6 +244,8 @@ static void rxrpc_transmit_fresh_data(st
 				break;
 		} while (req.n < limit && before(seq, send_top));
 
+		if (__rxrpc_call_state(call) == RXRPC_CALL_CLIENT_PRE_SEND)
+			rxrpc_set_call_state(call, RXRPC_CALL_CLIENT_SEND_REQUEST);
 		if (txb->flags & RXRPC_LAST_PACKET) {
 			rxrpc_close_tx_phase(call);
 			tq = NULL;
@@ -267,6 +269,7 @@ void rxrpc_transmit_some_data(struct rxr
 		fallthrough;
 
 	case RXRPC_CALL_SERVER_SEND_REPLY:
+	case RXRPC_CALL_CLIENT_PRE_SEND:
 	case RXRPC_CALL_CLIENT_SEND_REQUEST:
 		if (!rxrpc_tx_window_space(call))
 			return;
net/rxrpc/call_object.c +2 -0
@@ -18,7 +18,9 @@
 const char *const rxrpc_call_states[NR__RXRPC_CALL_STATES] = {
 	[RXRPC_CALL_UNINITIALISED]		= "Uninit  ",
 	[RXRPC_CALL_CLIENT_AWAIT_CONN]		= "ClWtConn",
+	[RXRPC_CALL_CLIENT_PRE_SEND]		= "ClPreSnd",
 	[RXRPC_CALL_CLIENT_SEND_REQUEST]	= "ClSndReq",
+	[RXRPC_CALL_CLIENT_AWAIT_ACK]		= "ClAwtAck",
 	[RXRPC_CALL_CLIENT_AWAIT_REPLY]		= "ClAwtRpl",
 	[RXRPC_CALL_CLIENT_RECV_REPLY]		= "ClRcvRpl",
 	[RXRPC_CALL_SERVER_PREALLOC]		= "SvPrealc",
net/rxrpc/conn_client.c +1 -1
@@ -449,7 +449,7 @@ static void rxrpc_activate_one_channel(s
 	trace_rxrpc_connect_call(call);
 	call->tx_last_sent = ktime_get_real();
 	rxrpc_start_call_timer(call);
-	rxrpc_set_call_state(call, RXRPC_CALL_CLIENT_SEND_REQUEST);
+	rxrpc_set_call_state(call, RXRPC_CALL_CLIENT_PRE_SEND);
 	wake_up(&call->waitq);
 }
 
net/rxrpc/input.c +19 -4
@@ -181,7 +181,8 @@ void rxrpc_congestion_degrade(struct rxr
 	if (call->cong_ca_state != RXRPC_CA_SLOW_START &&
 	    call->cong_ca_state != RXRPC_CA_CONGEST_AVOIDANCE)
 		return;
-	if (__rxrpc_call_state(call) == RXRPC_CALL_CLIENT_AWAIT_REPLY)
+	if (__rxrpc_call_state(call) == RXRPC_CALL_CLIENT_AWAIT_ACK ||
+	    __rxrpc_call_state(call) == RXRPC_CALL_CLIENT_AWAIT_REPLY)
 		return;
 
 	rtt = ns_to_ktime(call->srtt_us * (NSEC_PER_USEC / 8));
@@ -359,6 +360,7 @@ static void rxrpc_end_tx_phase(struct rx
 
 	switch (__rxrpc_call_state(call)) {
 	case RXRPC_CALL_CLIENT_SEND_REQUEST:
+	case RXRPC_CALL_CLIENT_AWAIT_ACK:
 	case RXRPC_CALL_CLIENT_AWAIT_REPLY:
 		if (reply_begun) {
 			rxrpc_set_call_state(call, RXRPC_CALL_CLIENT_RECV_REPLY);
@@ -697,6 +699,7 @@ static void rxrpc_input_data(struct rxrp
 
 	switch (__rxrpc_call_state(call)) {
 	case RXRPC_CALL_CLIENT_SEND_REQUEST:
+	case RXRPC_CALL_CLIENT_AWAIT_ACK:
 	case RXRPC_CALL_CLIENT_AWAIT_REPLY:
 		/* Received data implicitly ACKs all of the request
 		 * packets we sent when we're acting as a client.
@@ -1157,10 +1160,12 @@ static void rxrpc_input_ack(struct rxrpc
 	if (hard_ack + 1 == 0)
 		return rxrpc_proto_abort(call, 0, rxrpc_eproto_ackr_zero);
 
-	/* Ignore ACKs unless we are or have just been transmitting. */
+	/* Ignore ACKs unless we are transmitting or are waiting for
+	 * acknowledgement of the packets we've just been transmitting.
+	 */
 	switch (__rxrpc_call_state(call)) {
 	case RXRPC_CALL_CLIENT_SEND_REQUEST:
-	case RXRPC_CALL_CLIENT_AWAIT_REPLY:
+	case RXRPC_CALL_CLIENT_AWAIT_ACK:
 	case RXRPC_CALL_SERVER_SEND_REPLY:
 	case RXRPC_CALL_SERVER_AWAIT_ACK:
 		break;
@@ -1218,7 +1223,17 @@ static void rxrpc_input_ackall(struct rx
 {
 	struct rxrpc_ack_summary summary = { 0 };
 
-	if (rxrpc_rotate_tx_window(call, call->tx_top, &summary))
+	switch (__rxrpc_call_state(call)) {
+	case RXRPC_CALL_CLIENT_SEND_REQUEST:
+	case RXRPC_CALL_CLIENT_AWAIT_ACK:
+	case RXRPC_CALL_SERVER_SEND_REPLY:
+	case RXRPC_CALL_SERVER_AWAIT_ACK:
+		break;
+	default:
+		return;
+	}
+
+	if (rxrpc_rotate_tx_window(call, call->tx_transmitted, &summary))
 		rxrpc_end_tx_phase(call, false, rxrpc_eproto_unexpected_ackall);
 }
 
net/rxrpc/sendmsg.c +2 -1
@@ -366,7 +366,8 @@ reload:
 	if (state >= RXRPC_CALL_COMPLETE)
 		goto maybe_error;
 	ret = -EPROTO;
-	if (state != RXRPC_CALL_CLIENT_SEND_REQUEST &&
+	if (state != RXRPC_CALL_CLIENT_PRE_SEND &&
+	    state != RXRPC_CALL_CLIENT_SEND_REQUEST &&
 	    state != RXRPC_CALL_SERVER_ACK_REQUEST &&
 	    state != RXRPC_CALL_SERVER_SEND_REPLY) {
 		/* Request phase complete for this client call */
author maintainer
#31 lore raw

PATCH 31/2077 rxrpc: Fix the reception of a reply packet before data transmission

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit a58e33405acd2584e730c1da72635f822ada6b49 upstream.

Fix rxrpc_receiving_reply() to handle the reception of an apparent reply DATA packet before rxrpc has had a chance to send any request DATA packets on a client call by checking to see if the call has been exposed yet by sending the first packet.

Without this, rxrpc_rotate_tx_window() might oops.

Also fix rxrpc_rotate_tx_window() to handle the Tx queue being empty by changing the do...while loop into a while loop, just in case a call is abnormally terminated by an early reply before the last request packet is transmitted.

---
 net/rxrpc/input.c |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
net/rxrpc/input.c +10 -3
@@ -251,7 +251,7 @@ static bool rxrpc_rotate_tx_window(struc
 		tq = call->tx_queue;
 	}
 
-	do {
+	while (before_eq(seq, to)) {
 		unsigned int ix = seq - call->tx_qbase;
 
 		_debug("tq=%x seq=%x i=%d f=%x", tq->qbase, seq, ix, tq->bufs[ix]->flags);
@@ -321,8 +321,7 @@ static bool rxrpc_rotate_tx_window(struc
 				break;
 			}
 		}
-
-	} while (before_eq(seq, to));
+	}
 
 	if (trace)
 		trace_rxrpc_rack_update(call, summary);
@@ -397,6 +396,14 @@ static bool rxrpc_receiving_reply(struct
 		trace_rxrpc_timer_can(call, rxrpc_timer_trace_delayed_ack);
 	}
 
+	/* Deal with an apparent reply coming in before we've got the request
+	 * queued or transmitted.
+	 */
+	if (!test_bit(RXRPC_CALL_EXPOSED, &call->flags)) {
+		rxrpc_proto_abort(call, top, rxrpc_eproto_early_reply);
+		return false;
+	}
+
 	if (!test_bit(RXRPC_CALL_TX_LAST, &call->flags)) {
 		if (!rxrpc_rotate_tx_window(call, top, &summary)) {
 			rxrpc_proto_abort(call, top, rxrpc_eproto_early_reply);
author maintainer
#32 lore raw

PATCH 32/2077 rxrpc: Fix leak of connection from OOB challenge

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit 4b28876e78fd60979afa91fd2ec6ad9cc8b7a6d0 upstream.

Fix leak of connection object from OOB challenge queue when response is provided by userspace.

---
 net/rxrpc/oob.c |    5 +++++
 1 file changed, 5 insertions(+)
net/rxrpc/oob.c +5 -0
@@ -213,6 +213,11 @@ static int rxrpc_respond_to_oob(struct r
 		break;
 	}
 
+	switch (skb->mark) {
+	case RXRPC_OOB_CHALLENGE:
+		rxrpc_put_connection(sp->chall.conn, rxrpc_conn_put_oob);
+		break;
+	}
 	rxrpc_free_skb(skb, rxrpc_skb_put_oob);
 	return ret;
 }
author maintainer
#33 lore raw

PATCH 33/2077 rxrpc: Fix double unlock in rxrpc_recvmsg()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit a2f299b4d5510147fa8629a6aba2869bbcc88aea upstream.

Fix a double unlock in rxrpc_recvmsg() when dealing with OOB messages.

---
 net/rxrpc/recvmsg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/rxrpc/recvmsg.c +1 -1
@@ -470,7 +470,7 @@ try_again:
 		release_sock(&rx->sk);
 		if (ret == -EAGAIN)
 			goto try_again;
-		goto error_no_call;
+		goto error_trace;
 	}
 
 	/* Find the next call and dequeue it if we're not just peeking.  If we
author maintainer
#7 lore raw

PATCH 7/2077 ALSA: hda: Fix cached processing coefficient verbs

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Xu Rao <[email protected]>

commit f67be28fdf8b5d31ac1cc1152bb17250f9f8f513 upstream.

Intel HD Audio defines Coefficient Index and Processing Coefficient as separate audio widget controls in the Audio Widget Verb Definitions:
Coefficient Index selects the coefficient slot, while Processing Coefficient accesses the value at the selected slot.

hda_reg_read_coef() selects the slot with AC_VERB_SET_COEF_INDEX, but then uses AC_VERB_GET_COEF_INDEX for the value read. That reads back the selected index instead of the coefficient value. hda_reg_write_coef() has the same issue and builds the value write from AC_VERB_GET_COEF_INDEX instead of AC_VERB_SET_PROC_COEF.

This only affects the regmap coefficient cache path used by codecs that set codec->cache_coef. Direct coefficient helpers already use the normal SET_COEF_INDEX followed by GET_PROC_COEF or SET_PROC_COEF sequence, which is likely why this has not been noticed widely.

Use AC_VERB_GET_PROC_COEF for cached coefficient reads and AC_VERB_SET_PROC_COEF for cached coefficient writes.

Fixes 40ba66a702b8 ("ALSA: hda - Add cache support for COEF read/write")
---
 sound/hda/core/regmap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/hda/core/regmap.c +2 -2
@@ -214,7 +214,7 @@ static int hda_reg_read_coef(struct hdac
 	err = snd_hdac_exec_verb(codec, verb, 0, NULL);
 	if (err < 0)
 		return err;
-	verb = (reg & ~0xfffff) | (AC_VERB_GET_COEF_INDEX << 8);
+	verb = (reg & ~0xfffff) | (AC_VERB_GET_PROC_COEF << 8);
 	return snd_hdac_exec_verb(codec, verb, 0, val);
 }
 
@@ -232,7 +232,7 @@ static int hda_reg_write_coef(struct hda
 	err = snd_hdac_exec_verb(codec, verb, 0, NULL);
 	if (err < 0)
 		return err;
-	verb = (reg & ~0xfffff) | (AC_VERB_GET_COEF_INDEX << 8) |
+	verb = (reg & ~0xfffff) | (AC_VERB_SET_PROC_COEF << 8) |
 		(val & 0xffff);
 	return snd_hdac_exec_verb(codec, verb, 0, NULL);
 }
author maintainer
#34 lore raw

PATCH 34/2077 afs: Fix netns teardown to cancel the preallocation charger

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit 47694fbc9d24ab6bf210f91e8efe06a10a478064 upstream.

Fix the teardown of an afs network namespace to make sure it cancels the work item that keeps the preallocated rxrpc call/conn/peer queue charged before incoming calls are disabled (i.e. listen 0).

Also, if net->live is false because the afs netns is being deleted, make afs_charge_preallocation() skip charging and make afs_rx_new_call() avoid requeuing the charger.

(This was found by AI review).

Fixes 00e907127e6f ("rxrpc: Preallocate peers, conns and calls for incoming service requests")
cc Li Daming <[email protected]>
cc Ren Wei <[email protected]>
cc Marc Dionne <[email protected]>
cc Jeffrey Altman <[email protected]>
---
 fs/afs/rxrpc.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
fs/afs/rxrpc.c +4 -2
@@ -127,6 +127,7 @@ void afs_close_socket(struct afs_net *ne
 {
 	_enter("");
 
+	cancel_work_sync(&net->charge_preallocation_work);
 	kernel_listen(net->socket, 0);
 	flush_workqueue(afs_async_calls);
 
@@ -742,7 +743,7 @@ void afs_charge_preallocation(struct wor
 		container_of(work, struct afs_net, charge_preallocation_work);
 	struct afs_call *call = net->spare_incoming_call;
 
-	for (;;) {
+	while (READ_ONCE(net->live)) {
 		if (!call) {
 			call = afs_alloc_call(net, &afs_RXCMxxxx, GFP_KERNEL);
 			if (!call)
@@ -792,7 +793,8 @@ static void afs_rx_new_call(struct sock
 	if (!call->server)
 		trace_afs_cm_no_server(call, rxrpc_kernel_remote_srx(call->peer));
 
-	queue_work(afs_wq, &net->charge_preallocation_work);
+	if (net->live)
+		queue_work(afs_wq, &net->charge_preallocation_work);
 }
 
 /*
author maintainer
#8 lore raw

PATCH 8/2077 ALSA: hda/realtek: Fix speakers on Legion Pro 7 16ARX8H with codec SSID 17aa:38a7

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Damien Laine <[email protected]>

commit d35dfb6329accfe1cfa0b57e35214b5cbbe0f9ae upstream.

Some units of the Lenovo Legion Pro 7 16ARX8H (82WS) report codec subsystem ID 17aa:38a7 instead of 17aa:38a8. Since only 38a8 has a codec SSID quirk, these machines fall through to the PCI SSID match 17aa:386f (Legion Pro 7i 16IAX7) and get ALC287_FIXUP_CS35L41_I2C_2, which probes the Cirrus amplifiers of the Intel variant. The TI TAS2781 amplifier (ACPI TIAS2781:00) present on this AMD variant is never bound and the internal speakers remain silent.

Add a codec SSID quirk for 17aa:38a7 pointing to ALC287_FIXUP_TAS2781_I2C, mirroring the existing 38a8 entry.

Tested on a Legion Pro 7 16ARX8H (82WS, BIOS LPCN62WW): with the codec SSID overridden to 17aa:38a8 via the HDA patch loader, the TAS2781 amplifier binds and the internal speakers work.

---
 sound/hda/codecs/realtek/alc269.c |    1 +
 1 file changed, 1 insertion(+)
sound/hda/codecs/realtek/alc269.c +1 -0
@@ -7723,6 +7723,7 @@ static const struct hda_quirk alc269_fix
 	HDA_CODEC_QUIRK(0x17aa, 0x386e, "Legion Y9000X 2022 IAH7", ALC287_FIXUP_CS35L41_I2C_2),
 	SND_PCI_QUIRK(0x17aa, 0x386e, "Yoga Pro 7 14ARP8", ALC285_FIXUP_SPEAKER2_TO_DAC1),
 	HDA_CODEC_QUIRK(0x17aa, 0x38a8, "Legion Pro 7 16ARX8H", ALC287_FIXUP_TAS2781_I2C), /* this must match before PCI SSID 17aa:386f below */
+	HDA_CODEC_QUIRK(0x17aa, 0x38a7, "Legion Pro 7 16ARX8H", ALC287_FIXUP_TAS2781_I2C), /* this must match before PCI SSID 17aa:386f below */
 	SND_PCI_QUIRK(0x17aa, 0x386f, "Legion Pro 7i 16IAX7", ALC287_FIXUP_CS35L41_I2C_2),
 	SND_PCI_QUIRK(0x17aa, 0x3870, "Lenovo Yoga 7 14ARB7", ALC287_FIXUP_YOGA7_14ARB7_I2C),
 	SND_PCI_QUIRK(0x17aa, 0x3877, "Lenovo Legion 7 Slim 16ARHA7", ALC287_FIXUP_CS35L41_I2C_2),
author maintainer
#9 lore raw

PATCH 9/2077 media: uvcvideo: Use hw timestaming if the clock buffer is full

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ricardo Ribalda <[email protected]>

commit ede7de6e6b3db552d10ac50557d69c50d1b08486 upstream.

In some situations, even with a full clock buffer, it does not contain 250msec of data. This results in the driver jumping back from software to hardware timestapsing creating a nasty artifact in the video.

If the clock buffer is full, use it to calculate the timestamp instead of defaulting to software stamps, the reduced accuracy is less visible than jumping from one timestamping mechanism to the other.

---
 drivers/media/usb/uvc/uvc_video.c |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
drivers/media/usb/uvc/uvc_video.c +12 -5
@@ -833,15 +833,22 @@ void uvc_video_clock_update(struct uvc_s
 		y2 += 2048 << 16;
 
 	/*
-	 * Have at least 1/4 of a second of timestamps before we
-	 * try to do any calculation. Otherwise we do not have enough
-	 * precision. This value was determined by running Android CTS
-	 * on different devices.
+	 * If the buffer is not full, we want to gather at least 1/4th of
+	 * timestamps before using HW timestamping. We do this to avoid jitter
+	 * on the initial frames.
+	 *
+	 * If the buffer is full we would use it regardless of how much data
+	 * it represents. This could be solved with an infinite big circular
+	 * buffer, but RAM is expensive these days, specially the infinitely
+	 * big.
+	 *
+	 * The value of 1/4th of a second was determined by running Android's
+	 * CTS on different devices.
 	 *
 	 * dev_sof runs at 1KHz, and we have a fixed point precision of
 	 * 16 bits.
 	 */
-	if ((y2 - y1) < ((1000 / 4) << 16))
+	if (clock->size != clock->count && (y2 - y1) < ((1000 / 4) << 16))
 		goto done;
 
 	y = (u64)(y2 - y1) * (1ULL << 31) + (u64)y1 * (u64)x2
author maintainer
#10 lore raw

PATCH 10/2077 media: uvcvideo: Avoid partial metadata buffers

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ricardo Ribalda <[email protected]>

commit a15b773fe4ffa450b56347cc506b2d1405600f5d upstream.

If the metadata queue that is empty receives a new buffer while we are in the middle of processing a frame, the first metadata buffer will contain partial information.

Avoid this by tracking the state of the metadata buffer and making sure that it is in sync with the data buffer.

Now that we are at it, make sure that we skip buffers of size 1 or 0. They are not allowed by the spec... but it is a simple check to add and better be safe than sorry.

---
 drivers/media/usb/uvc/uvc_video.c |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
drivers/media/usb/uvc/uvc_video.c +9 -4
@@ -1156,7 +1156,9 @@ static void uvc_video_stats_stop(struct
  * uvc_video_decode_end will never be called with a NULL buffer.
  */
 static int uvc_video_decode_start(struct uvc_streaming *stream,
-		struct uvc_buffer *buf, const u8 *data, int len)
+				  struct uvc_buffer *buf,
+				  struct uvc_buffer *meta_buf,
+				  const u8 *data, int len)
 {
 	u8 header_len;
 	u8 fid;
@@ -1229,6 +1231,8 @@ static int uvc_video_decode_start(struct
 
 		/* TODO: Handle PTS and SCR. */
 		buf->state = UVC_BUF_STATE_ACTIVE;
+		if (meta_buf)
+			meta_buf->state = UVC_BUF_STATE_ACTIVE;
 	}
 
 	/*
@@ -1431,7 +1435,7 @@ static void uvc_video_decode_meta(struct
 	ktime_t time;
 	const u8 *scr;
 
-	if (!meta_buf || length == 2)
+	if (length <= 2 || !meta_buf || meta_buf->state != UVC_BUF_STATE_ACTIVE)
 		return;
 
 	has_pts = mem[1] & UVC_STREAM_PTS;
@@ -1548,7 +1552,7 @@ static void uvc_video_decode_isoc(struct
 		/* Decode the payload header. */
 		mem = urb->transfer_buffer + urb->iso_frame_desc[i].offset;
 		do {
-			ret = uvc_video_decode_start(stream, buf, mem,
+			ret = uvc_video_decode_start(stream, buf, meta_buf, mem,
 				urb->iso_frame_desc[i].actual_length);
 			if (ret == -EAGAIN)
 				uvc_video_next_buffers(stream, &buf, &meta_buf);
@@ -1597,7 +1601,8 @@ static void uvc_video_decode_bulk(struct
 	 */
 	if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) {
 		do {
-			ret = uvc_video_decode_start(stream, buf, mem, len);
+			ret = uvc_video_decode_start(stream, buf, meta_buf, mem,
+						     len);
 			if (ret == -EAGAIN)
 				uvc_video_next_buffers(stream, &buf, &meta_buf);
 		} while (ret == -EAGAIN);
author maintainer
#11 lore raw

PATCH 11/2077 media: uvcvideo: Fix buffer sequence in frame gaps

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ricardo Ribalda <[email protected]>

commit 2f24ac8dd87983a55f0498898f34a5f2b735b802 upstream.

In UVC, the FID flips with every frame. For every FID flip, we increase the stream sequence number.

Now, if a FID flips multiple times and there is no data transferred between the flips, the buffer sequence number will be set to the value of the stream sequence number after the first flip.

Userspace uses the buffer sequence number to determine if there have been missing frames. With the current behaviour, userspace will think that the gap is in the wrong location.

This patch modifies uvc_video_decode_start() to provide the correct buffer sequence number and timestamp.

Fixes 650b95feee35 ("[media] uvcvideo: Generate discontinuous sequence numbers when frames are lost")
---
 drivers/media/usb/uvc/uvc_video.c |   17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
drivers/media/usb/uvc/uvc_video.c +13 -4
@@ -1185,6 +1185,19 @@ static int uvc_video_decode_start(struct
 		stream->sequence++;
 		if (stream->sequence)
 			uvc_video_stats_update(stream);
+
+		/*
+		 * On a FID flip initialize sequence number and timestamp.
+		 *
+		 * The driver already takes care of injecting FID flips for
+		 * UVC_QUIRK_STREAM_NO_FID and UVC_QUIRK_MJPEG_NO_EOF.
+		 */
+		if (buf) {
+			buf->buf.field = V4L2_FIELD_NONE;
+			buf->buf.sequence = stream->sequence;
+			buf->buf.vb2_buf.timestamp =
+					ktime_to_ns(uvc_video_get_time());
+		}
 	}
 
 	uvc_video_clock_decode(stream, buf, data, len);
@@ -1225,10 +1238,6 @@ static int uvc_video_decode_start(struct
 			return -ENODATA;
 		}
 
-		buf->buf.field = V4L2_FIELD_NONE;
-		buf->buf.sequence = stream->sequence;
-		buf->buf.vb2_buf.timestamp = ktime_to_ns(uvc_video_get_time());
-
 		/* TODO: Handle PTS and SCR. */
 		buf->state = UVC_BUF_STATE_ACTIVE;
 		if (meta_buf)
author maintainer
#12 lore raw

PATCH 12/2077 media: uvcvideo: Fix dev_sof filtering in hw timestamp

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ricardo Ribalda <[email protected]>

commit edc1917599c5339aedc83135cade66517e0a2972 upstream.

To avoid filling the clock circular buffer with duplicated data we only add it if the new value sof is different than the last added sof.

The issue is that we compare the unprocess sof with the processed sof. If there is a sof_offset, or UVC_QUIRK_INVALID_DEVICE_SOF is enabled, the comparison will not work as expected.

This patch moves the comparison to the right place.

---
 drivers/media/usb/uvc/uvc_video.c |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
drivers/media/usb/uvc/uvc_video.c +10 -9
@@ -583,16 +583,7 @@ uvc_video_clock_decode(struct uvc_stream
 	if (!has_scr)
 		return;
 
-	/*
-	 * To limit the amount of data, drop SCRs with an SOF identical to the
-	 * previous one. This filtering is also needed to support UVC 1.5, where
-	 * all the data packets of the same frame contains the same SOF. In that
-	 * case only the first one will match the host_sof.
-	 */
 	sample.dev_sof = get_unaligned_le16(&data[header_size - 2]);
-	if (sample.dev_sof == stream->clock.last_sof)
-		return;
-
 	sample.dev_stc = get_unaligned_le32(&data[header_size - 6]);
 
 	/*
@@ -664,6 +655,16 @@ uvc_video_clock_decode(struct uvc_stream
 	}
 
 	sample.dev_sof = (sample.dev_sof + stream->clock.sof_offset) & 2047;
+
+	/*
+	 * To limit the amount of data, drop SCRs with an SOF identical to the
+	 * previous one. This filtering is also needed to support UVC 1.5, where
+	 * all the data packets of the same frame contains the same SOF. In that
+	 * case only the first one will match the host_sof.
+	 */
+	if (sample.dev_sof == stream->clock.last_sof)
+		return;
+
 	uvc_video_clock_add_sample(&stream->clock, &sample);
 	stream->clock.last_sof = sample.dev_sof;
 }
author maintainer
#13 lore raw

PATCH 13/2077 media: uvcvideo: Do not add clock samples with small sof delta

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ricardo Ribalda <[email protected]>

commit ba649fff36c1fe68489a86d00285224907edd436 upstream.

Some UVC 1.1 cameras running in fast isochronous mode tend to spam the USB host with a lot of empty packets. These packets contain clock information and are added to the clock buffer but do not add any accuracy to the calculation. In fact, it is quite the opposite, in our calculations, only the first and the last timestamp is used, and we only have 32 slots.

Ignore the samples that will produce less than MIN_HW_TIMESTAMP_DIFF data.

---
 drivers/media/usb/uvc/uvc_video.c |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
drivers/media/usb/uvc/uvc_video.c +12 -2
@@ -537,6 +537,15 @@ static void uvc_video_clock_add_sample(s
 	spin_unlock_irqrestore(&clock->lock, flags);
 }
 
+static inline u16 sof_diff(u16 a, u16 b)
+{
+	/*
+	 * Because the result is modulo 2048 (via & 2047), we do not need a
+	 * special case for a < b.
+	 */
+	return (a - b) & 2047;
+}
+
 static void
 uvc_video_clock_decode(struct uvc_streaming *stream, struct uvc_buffer *buf,
 		       const u8 *data, int len)
@@ -657,12 +666,13 @@ uvc_video_clock_decode(struct uvc_stream
 	sample.dev_sof = (sample.dev_sof + stream->clock.sof_offset) & 2047;
 
 	/*
-	 * To limit the amount of data, drop SCRs with an SOF identical to the
+	 * To limit the amount of data, drop SCRs with an SOF similar to the
 	 * previous one. This filtering is also needed to support UVC 1.5, where
 	 * all the data packets of the same frame contains the same SOF. In that
 	 * case only the first one will match the host_sof.
 	 */
-	if (sample.dev_sof == stream->clock.last_sof)
+	if (sof_diff(sample.dev_sof, stream->clock.last_sof) <=
+	    (UVC_MIN_HW_TIMESTAMP_DIFF / stream->clock.size))
 		return;
 
 	uvc_video_clock_add_sample(&stream->clock, &sample);
author maintainer
#4 lore raw

PATCH 4/2077 media: uvcvideo: Fix deadlock if uvc_status_stop is called from async_ctrl.work

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Sean Anderson <[email protected]>

[ Upstream commit 6d27f92c54ce28cfbd2a8a479a96d6f4a781b7d2 ]

If a UVC camera has an asynchronous control, uvc_status_stop may be called from async_ctrl.work:

uvc_ctrl_status_event_work()

    uvc_ctrl_status_event()
        uvc_ctrl_clear_handle()
	    uvc_pm_put()
	        uvc_status_put()
		    uvc_status_stop()
		        cancel_work_sync()

This will cause a deadlock, since cancel_work_sync will wait for uvc_ctrl_status_event_work to complete before returning.

Fix this by returning early from uvc_status_stop if we are currently in the work function. flush_status now remains false until uvc_status_start is called again, ensuring that uvc_ctrl_status_event_work won't resubmit the URB.

---
 drivers/media/usb/uvc/uvc_status.c | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)
drivers/media/usb/uvc/uvc_status.c +19 -9
index 65f5356bebb399..b632cf5e3fe9b2 100644
@@ -316,6 +316,16 @@ static int uvc_status_start(struct uvc_device *dev, gfp_t flags)
 	if (!dev->int_urb)
 		return 0;
 
+	/*
+	 * If the previous uvc_status_stop() call was from the async work,
+	 * the work may still be running. Wait for it to finish before we submit
+	 * the urb.
+	 */
+	flush_work(&dev->async_ctrl.work);
+
+	/* Clear the flush status if we were previously stopped. */
+	smp_store_release(&dev->flush_status, false);
+
 	return usb_submit_urb(dev->int_urb, flags);
 }
 
@@ -336,6 +346,15 @@ static void uvc_status_stop(struct uvc_device *dev)
 	 */
 	smp_store_release(&dev->flush_status, true);
 
+	/*
+	 * If we are called from the event work function, the URB is guaranteed
+	 * to not be in flight as it has completed and has not been resubmitted.
+	 * There's no need to cancel the work (which would deadlock), or to kill
+	 * the URB.
+	 */
+	if (current_work() == &w->work)
+		return;
+
 	/*
 	 * Cancel any pending asynchronous work. If any status event was queued,
 	 * process it synchronously.
@@ -354,15 +373,6 @@ static void uvc_status_stop(struct uvc_device *dev)
 	 */
 	if (cancel_work_sync(&w->work))
 		uvc_ctrl_status_event(w->chain, w->ctrl, w->data);
-
-	/*
-	 * From this point, there are no events on the queue and the status URB
-	 * is dead. No events will be queued until uvc_status_start() is called.
-	 * The barrier is needed to make sure that flush_status is visible to
-	 * uvc_ctrl_status_event_work() when uvc_status_start() will be called
-	 * again.
-	 */
-	smp_store_release(&dev->flush_status, false);
 }
 
 int uvc_status_resume(struct uvc_device *dev)
Signature · 1 line
2.53.0
author maintainer
#36 lore raw

PATCH 36/2077 afs: handle CB.InitCallBackState3 requests without a server record

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Nan Li <[email protected]>

commit f3cf725cd284b7912d5522babb44721bf38c8887 upstream.

The cache manager callback path now attaches the server record to an incoming call through the rxrpc peer's app data. That association is not guaranteed to exist for every callback request, and most callback handlers already tolerate that case.

Make CB.InitCallBackState3 follow the same pattern by checking whether a server record was attached before using it. If the peer is not mapped to a server record, trace the request and ignore it, matching the existing behaviour for other unmatched callback requests.

This keeps the callback handler consistent with the rest of the cache manager service and avoids depending on peer state that may not be available for a given request.

---
 fs/afs/cmservice.c |    5 +++++
 1 file changed, 5 insertions(+)
fs/afs/cmservice.c +5 -0
@@ -364,6 +364,11 @@ static int afs_deliver_cb_init_call_back
 	if (!afs_check_call_state(call, AFS_CALL_SV_REPLYING))
 		return afs_io_error(call, afs_io_error_cm_reply);
 
+	if (!call->server) {
+		trace_afs_cm_no_server_u(call, call->request);
+		return 0;
+	}
+
 	if (memcmp(call->request, &call->server->_uuid, sizeof(call->server->_uuid)) != 0) {
 		pr_notice("Callback UUID does not match fileserver UUID\n");
 		trace_afs_cm_no_server_u(call, call->request);
author maintainer
#45 lore raw

PATCH 45/2077 drm/rockchip: inno-hdmi: Switch to drmm_kzalloc()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Cristian Ciocaltea <[email protected]>

[ Upstream commit 3cc50e7f73fcf79f28660b9d91566b13cb62e520 ]

Driver makes use of drmm_encoder_init() to initialize the encoder and automatically handle the cleanup by registering drm_encoder_cleanup() with drmm_add_action().

However, the internal structure containing the encoder part gets allocated with devm_kzalloc(), which happens while component_bind_all() is being called from Rockchip DRM driver. The component framework further ensures it is deallocated as part of releasing all the resources claimed during bind, which is triggered from component_unbind_all().

When the reference to the DRM device gets eventually dropped via drm_dev_put() in rockchip_drm_unbind(), drmm_encoder_alloc_release() attempts to access the now released encoder structure, leading to use-after-free.

Ensure driver's internal structure is still reachable on encoder cleanup by switching from a device-managed allocation to a drm-managed one.

Fixes 969325a2597e ("drm/rockchip: inno-hdmi: Convert to drm bridge")
---
 drivers/gpu/drm/rockchip/inno_hdmi-rockchip.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/rockchip/inno_hdmi-rockchip.c +2 -1
index 97c20500f79012..28e6fb09aae735 100644
@@ -14,6 +14,7 @@
 
 #include <drm/bridge/inno_hdmi.h>
 #include <drm/drm_bridge_connector.h>
+#include <drm/drm_managed.h>
 #include <drm/drm_of.h>
 
 #include "rockchip_drm_drv.h"
@@ -90,7 +91,7 @@ static int inno_hdmi_rockchip_bind(struct device *dev, struct device *master, vo
 	const struct inno_hdmi_plat_data *plat_data;
 	int ret;
 
-	hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL);
+	hdmi = drmm_kzalloc(drm, sizeof(*hdmi), GFP_KERNEL);
 	if (!hdmi)
 		return -ENOMEM;
 
Signature · 1 line
2.53.0
author maintainer
#46 lore raw

PATCH 46/2077 drm/rockchip: dw_dp: Switch to drmm_kzalloc()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Cristian Ciocaltea <[email protected]>

[ Upstream commit ed9da8d23020352ad24c528db09b5acdd78b81fd ]

Driver makes use of drmm_encoder_init() to initialize the encoder and automatically handle the cleanup by registering drm_encoder_cleanup() with drmm_add_action().

However, the internal structure containing the encoder part gets allocated with devm_kzalloc(), which happens while component_bind_all() is being called from Rockchip DRM driver. The component framework further ensures it is deallocated as part of releasing all the resources claimed during bind, which is triggered from component_unbind_all().

When the reference to the DRM device gets eventually dropped via drm_dev_put() in rockchip_drm_unbind(), drmm_encoder_alloc_release() attempts to access the now released encoder structure, leading to use-after-free.

Ensure driver's internal structure is still reachable on encoder cleanup by switching from a device-managed allocation to a drm-managed one.

Fixes d68ba7bac955 ("drm/rockchip: Add RK3588 DPTX output support")
---
 drivers/gpu/drm/rockchip/dw_dp-rockchip.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/rockchip/dw_dp-rockchip.c +2 -1
index dac3d202971eda..532af476d250a5 100644
@@ -13,6 +13,7 @@
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_bridge.h>
 #include <drm/drm_bridge_connector.h>
+#include <drm/drm_managed.h>
 #include <drm/drm_of.h>
 #include <drm/drm_print.h>
 #include <drm/drm_probe_helper.h>
@@ -82,7 +83,7 @@ static int dw_dp_rockchip_bind(struct device *dev, struct device *master, void *
 	struct drm_connector *connector;
 	int ret;
 
-	dp = devm_kzalloc(dev, sizeof(*dp), GFP_KERNEL);
+	dp = drmm_kzalloc(drm_dev, sizeof(*dp), GFP_KERNEL);
 	if (!dp)
 		return -ENOMEM;
 
Signature · 1 line
2.53.0
author maintainer
#47 lore raw

PATCH 47/2077 drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Cristian Ciocaltea <[email protected]>

[ Upstream commit 9456381d8b60bb7dd42f2f04afe5ee4ce6e0bc12 ]

Attempting to access driver data in the platform driver ->remove() callback may lead to a null pointer dereference since there is no guaranty that the component ->bind() callback invoking platform_set_drvdata() was executed.

A common scenario is when Rockchip DRM driver didn't manage to run component_bind_all() because of an (unrelated) error causing early return from rockchip_drm_bind().

Drop the unnecessary call to platform_get_drvdata() and, instead, reference the target device structure via platform_device.

Fixes d68ba7bac955 ("drm/rockchip: Add RK3588 DPTX output support")
---
 drivers/gpu/drm/rockchip/dw_dp-rockchip.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/rockchip/dw_dp-rockchip.c +1 -3
index 532af476d250a5..8945a245398ca4 100644
@@ -133,9 +133,7 @@ static int dw_dp_probe(struct platform_device *pdev)
 
 static void dw_dp_remove(struct platform_device *pdev)
 {
-	struct rockchip_dw_dp *dp = platform_get_drvdata(pdev);
-
-	component_del(dp->dev, &dw_dp_rockchip_component_ops);
+	component_del(&pdev->dev, &dw_dp_rockchip_component_ops);
 }
 
 static const struct dw_dp_plat_data rk3588_dp_plat_data = {
Signature · 1 line
2.53.0
author maintainer
#48 lore raw

PATCH 48/2077 drm/rockchip: Test for imported buffers with drm_gem_is_imported()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Thomas Zimmermann <[email protected]>

[ Upstream commit 9fc0da81916250f343599a4dd259f097196bf0fb ]

Instead of testing import_attach for imported GEM buffers, invoke drm_gem_is_imported() to do the test. The test itself does not change.

---
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/rockchip/rockchip_drm_gem.c +1 -1
index 09d14a072d274e..b188539dca0b25 100644
@@ -334,7 +334,7 @@ void rockchip_gem_free_object(struct drm_gem_object *obj)
 	struct rockchip_drm_private *private = drm->dev_private;
 	struct rockchip_gem_object *rk_obj = to_rockchip_obj(obj);
 
-	if (obj->import_attach) {
+	if (drm_gem_is_imported(obj)) {
 		if (private->domain) {
 			rockchip_gem_iommu_unmap(rk_obj);
 		} else {
Signature · 1 line
2.53.0
author maintainer
#49 lore raw

PATCH 49/2077 drm/tidss: Drop extra drm_mode_config_reset() call

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Tomi Valkeinen <[email protected]>

[ Upstream commit f468fef38716f667e805e0fa2c497c6b9c325bb9 ]

We are calling drm_mode_config_reset() twice at probe time. There's no reason for this and the second call can be removed, reducing work at probe time slightly.

Fixes 32a1795f57ee ("drm/tidss: New driver for TI Keystone platform Display SubSystem")
---
 drivers/gpu/drm/tidss/tidss_kms.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/tidss/tidss_kms.c +0 -2
index 8bb93194e5ac68..b4779c09a1bfa5 100644
@@ -287,8 +287,6 @@ int tidss_modeset_init(struct tidss_device *tidss)
 	if (ret)
 		return ret;
 
-	drm_mode_config_reset(ddev);
-
 	dev_dbg(tidss->dev, "%s done\n", __func__);
 
 	return 0;
Signature · 1 line
2.53.0
author maintainer
#50 lore raw

PATCH 50/2077 drm/gpusvm: Reject VMAs with VM_IO or VM_PFNMAP when creating SVM ranges

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Matthew Brost <[email protected]>

[ Upstream commit b82a225e57a334335a21462b75ee2223bc6efe6d ]

VMAs marked with VM_IO or VM_PFNMAP are not backed by struct page objects, which GPUSVM requires in order to operate correctly. In particular, get_pages() relies on hmm_range_fault() to resolve struct pages for the target range.

Attempting to create an SVM range on such VMAs results in repeated get_pages() failures and can lead to an infinite loop inside a driver’s page‑fault handler. Prevent this by rejecting ranges on VM_IO or VM_PFNMAP VMAs and returning -EIO.

Fixes 99624bdff867 ("drm/gpusvm: Add support for GPU Shared Virtual Memory")
---
 drivers/gpu/drm/drm_gpusvm.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/gpu/drm/drm_gpusvm.c +5 -0
index 4b928fda5b127f..7993e85c05661f 100644
@@ -1065,6 +1065,11 @@ drm_gpusvm_range_find_or_insert(struct drm_gpusvm *gpusvm,
 		goto err_notifier_remove;
 	}
 
+	if (vas->vm_flags & (VM_IO | VM_PFNMAP)) {
+		err = -EIO;
+		goto err_notifier_remove;
+	}
+
 	range = drm_gpusvm_range_find(notifier, fault_addr, fault_addr + 1);
 	if (range)
 		goto out_mmunlock;
Signature · 1 line
2.53.0
author maintainer
#51 lore raw

PATCH 51/2077 accel/amdxdna: Create shared functions for AIE2 and AIE4

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Lizhi Hou <[email protected]>

[ Upstream commit 5a55a5da1f01274c07359b09abec952ec9f05105 ]

The AIE4 platform uses a mailbox management channel mechanism similar to AIE2 to communicate with the firmware.

Create aie.h and aie.c and move the functions and structures that can be shared by both platforms from the AIE2-specific files into these common files. This allows AIE2 and AIE4 to reuse the same implementation and reduces code duplication.

Stable-dep-of: 6e87001fe19f ("accel/amdxdna: Adjust size for copy_to_user()")

---
 drivers/accel/amdxdna/Makefile          |   1 +
 drivers/accel/amdxdna/aie.c             |  89 +++++++++++++++
 drivers/accel/amdxdna/aie.h             |  31 ++++++
 drivers/accel/amdxdna/aie2_ctx.c        |   4 +-
 drivers/accel/amdxdna/aie2_error.c      |  12 +--
 drivers/accel/amdxdna/aie2_message.c    | 138 +++++++++---------------
 drivers/accel/amdxdna/aie2_pci.c        | 107 ++++++------------
 drivers/accel/amdxdna/aie2_pci.h        |  26 +----
 drivers/accel/amdxdna/aie2_pm.c         |   6 +-
 drivers/accel/amdxdna/aie2_smu.c        |  22 ++--
 drivers/accel/amdxdna/amdxdna_pci_drv.h |   8 ++
 drivers/accel/amdxdna/npu1_regs.c       |   4 +-
 drivers/accel/amdxdna/npu4_regs.c       |   4 +-
 drivers/accel/amdxdna/npu5_regs.c       |   2 +-
 drivers/accel/amdxdna/npu6_regs.c       |   2 +-
 15 files changed, 246 insertions(+), 210 deletions(-)
 create mode 100644 drivers/accel/amdxdna/aie.c
 create mode 100644 drivers/accel/amdxdna/aie.h
drivers/accel/amdxdna/Makefile +1 -0
index cf9bf19dedb9e5..5c7911554c46ee 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
 amdxdna-y := \
+	aie.o \
 	aie2_ctx.o \
 	aie2_error.o \
 	aie2_message.o \
drivers/accel/amdxdna/aie.c new file +89 -0

89 lines not on this page · raw message

drivers/accel/amdxdna/aie.h new file +31 -0
new file mode 100644
index 00000000000000..1bea14b79c7c92
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2026, Advanced Micro Devices, Inc.
+ */
+#ifndef _AIE_H_
+#define _AIE_H_
+
+#include "amdxdna_pci_drv.h"
+#include "amdxdna_mailbox.h"
+
+struct aie_device {
+	struct amdxdna_dev *xdna;
+	struct mailbox_channel *mgmt_chann;
+	struct xdna_mailbox_chann_res mgmt_x2i;
+	struct xdna_mailbox_chann_res mgmt_i2x;
+	u32 mgmt_chan_idx;
+	u32 mgmt_prot_major;
+	u32 mgmt_prot_minor;
+	unsigned long feature_mask;
+};
+
+#define DECLARE_AIE_MSG(name, op) \
+	DECLARE_XDNA_MSG_COMMON(name, op, -1)
+#define AIE_FEATURE_ON(aie, feature) test_bit(feature, &(aie)->feature_mask)
+
+void aie_dump_mgmt_chann_debug(struct aie_device *aie);
+void aie_destroy_chann(struct aie_device *aie, struct mailbox_channel **chann);
+int aie_send_mgmt_msg_wait(struct aie_device *aie, struct xdna_mailbox_msg *msg);
+int aie_check_protocol(struct aie_device *aie, u32 fw_major, u32 fw_minor);
+
+#endif /* _AIE_H_ */
drivers/accel/amdxdna/aie2_ctx.c +2 -2
index eed3d0ec541336..2dc69900ca0107 100644
@@ -515,7 +515,7 @@ static int aie2_alloc_resource(struct amdxdna_hwctx *hwctx)
 	struct alloc_requests *xrs_req;
 	int ret;
 
-	if (AIE2_FEATURE_ON(xdna->dev_handle, AIE2_TEMPORAL_ONLY)) {
+	if (AIE_FEATURE_ON(&xdna->dev_handle->aie, AIE2_TEMPORAL_ONLY)) {
 		hwctx->num_unused_col = xdna->dev_handle->total_col - hwctx->num_col;
 		hwctx->num_col = xdna->dev_handle->total_col;
 		return aie2_create_context(xdna->dev_handle, hwctx);
@@ -552,7 +552,7 @@ static void aie2_release_resource(struct amdxdna_hwctx *hwctx)
 	struct amdxdna_dev *xdna = hwctx->client->xdna;
 	int ret;
 
-	if (AIE2_FEATURE_ON(xdna->dev_handle, AIE2_TEMPORAL_ONLY)) {
+	if (AIE_FEATURE_ON(&xdna->dev_handle->aie, AIE2_TEMPORAL_ONLY)) {
 		ret = aie2_destroy_context(xdna->dev_handle, hwctx);
 		if (ret && ret != -ENODEV)
 			XDNA_ERR(xdna, "Destroy temporal only context failed, ret %d", ret);
drivers/accel/amdxdna/aie2_error.c +6 -6
index 58abb59b615350..9d20e956c020ec 100644
@@ -249,12 +249,12 @@ static u32 aie2_error_backtrack(struct amdxdna_dev_hdl *ndev, void *err_info, u3
 		enum aie_error_category cat;
 
 		cat = aie_get_error_category(err->row, err->event_id, err->mod_type);
-		XDNA_ERR(ndev->xdna, "Row: %d, Col: %d, module %d, event ID %d, category %d",
+		XDNA_ERR(ndev->aie.xdna, "Row: %d, Col: %d, module %d, event ID %d, category %d",
 			 err->row, err->col, err->mod_type,
 			 err->event_id, cat);
 
 		if (err->col >= 32) {
-			XDNA_WARN(ndev->xdna, "Invalid column number");
+			XDNA_WARN(ndev->aie.xdna, "Invalid column number");
 			break;
 		}
 
@@ -294,7 +294,7 @@ static void aie2_error_worker(struct work_struct *err_work)
 
 	e = container_of(err_work, struct async_event, work);
 
-	xdna = e->ndev->xdna;
+	xdna = e->ndev->aie.xdna;
 
 	if (e->resp.status == MAX_AIE2_STATUS_CODE)
 		return;
@@ -329,7 +329,7 @@ static void aie2_error_worker(struct work_struct *err_work)
 
 void aie2_error_async_events_free(struct amdxdna_dev_hdl *ndev)
 {
-	struct amdxdna_dev *xdna = ndev->xdna;
+	struct amdxdna_dev *xdna = ndev->aie.xdna;
 	struct async_events *events;
 
 	events = ndev->async_events;
@@ -344,7 +344,7 @@ void aie2_error_async_events_free(struct amdxdna_dev_hdl *ndev)
 
 int aie2_error_async_events_alloc(struct amdxdna_dev_hdl *ndev)
 {
-	struct amdxdna_dev *xdna = ndev->xdna;
+	struct amdxdna_dev *xdna = ndev->aie.xdna;
 	u32 total_col = ndev->total_col;
 	u32 total_size = ASYNC_BUF_SIZE * total_col;
 	struct async_events *events;
@@ -402,7 +402,7 @@ int aie2_error_async_events_alloc(struct amdxdna_dev_hdl *ndev)
 
 int aie2_get_array_async_error(struct amdxdna_dev_hdl *ndev, struct amdxdna_drm_get_array *args)
 {
-	struct amdxdna_dev *xdna = ndev->xdna;
+	struct amdxdna_dev *xdna = ndev->aie.xdna;
 
 	drm_WARN_ON(&xdna->ddev, !mutex_is_locked(&xdna->dev_lock));
 
drivers/accel/amdxdna/aie2_message.c +49 -89

346 lines not on this page · raw message

drivers/accel/amdxdna/aie2_pci.c +35 -72

234 lines not on this page · raw message

drivers/accel/amdxdna/aie2_pci.h +5 -21
index efcf4be035f048..90fb0aafaf406c 100644
@@ -10,6 +10,7 @@
 #include <linux/limits.h>
 #include <linux/semaphore.h>
 
+#include "aie.h"
 #include "aie2_msg_priv.h"
 #include "amdxdna_mailbox.h"
 
@@ -20,7 +21,7 @@
 #define AIE2_DEVM_BASE	0x4000000
 #define AIE2_DEVM_SIZE	SZ_64M
 
-#define NDEV2PDEV(ndev) (to_pci_dev((ndev)->xdna->ddev.dev))
+#define NDEV2PDEV(ndev) (to_pci_dev((ndev)->aie.xdna->ddev.dev))
 
 #define AIE2_SRAM_OFF(ndev, addr) ((addr) - (ndev)->priv->sram_dev_addr)
 #define AIE2_MBOX_OFF(ndev, addr) ((addr) - (ndev)->priv->mbox_dev_addr)
@@ -45,7 +46,7 @@
 ({ \
 	typeof(ndev) _ndev = (ndev); \
 	((_ndev)->priv->mbox_size) ? (_ndev)->priv->mbox_size : \
-	pci_resource_len(NDEV2PDEV(_ndev), (_ndev)->xdna->dev_info->mbox_bar); \
+	pci_resource_len(NDEV2PDEV(_ndev), (_ndev)->aie.xdna->dev_info->mbox_bar); \
 })
 
 #if IS_ENABLED(CONFIG_AMD_PMF)
@@ -203,23 +204,16 @@ struct aie2_exec_msg_ops {
 };
 
 struct amdxdna_dev_hdl {
-	struct amdxdna_dev		*xdna;
+	struct aie_device		aie;
 	const struct amdxdna_dev_priv	*priv;
 	void			__iomem *sram_base;
 	void			__iomem *smu_base;
 	void			__iomem *mbox_base;
 	struct psp_device		*psp_hdl;
 
-	struct xdna_mailbox_chann_res	mgmt_x2i;
-	struct xdna_mailbox_chann_res	mgmt_i2x;
-	u32				mgmt_chan_idx;
-	u32				mgmt_prot_major;
-	u32				mgmt_prot_minor;
-
 	u32				total_col;
 	struct aie_version		version;
 	struct aie_metadata		metadata;
-	unsigned long			feature_mask;
 	struct aie2_exec_msg_ops	*exec_msg_ops;
 
 	/* power management and clock*/
@@ -237,7 +231,6 @@ struct amdxdna_dev_hdl {
 
 	/* Mailbox and the management channel */
 	struct mailbox			*mbox;
-	struct mailbox_channel		*mgmt_chann;
 	struct async_events		*async_events;
 
 	enum aie2_dev_status		dev_status;
@@ -266,21 +259,12 @@ enum aie2_fw_feature {
 	AIE2_FEATURE_MAX
 };
 
-struct aie2_fw_feature_tbl {
-	u64 features;
-	u32 major;
-	u32 max_minor;
-	u32 min_minor;
-};
-
 #define AIE2_ALL_FEATURES	GENMASK_ULL(AIE2_FEATURE_MAX - 1, AIE2_NPU_COMMAND)
-#define AIE2_FEATURE_ON(ndev, feature)	test_bit(feature, &(ndev)->feature_mask)
 
 struct amdxdna_dev_priv {
 	const char			*fw_path;
 	const struct rt_config		*rt_config;
 	const struct dpm_clk_freq	*dpm_clk_tbl;
-	const struct aie2_fw_feature_tbl *fw_feature_tbl;
 
 #define COL_ALIGN_NONE   0
 #define COL_ALIGN_NATURE 1
@@ -306,7 +290,7 @@ extern const struct dpm_clk_freq npu1_dpm_clk_table[];
 extern const struct dpm_clk_freq npu4_dpm_clk_table[];
 extern const struct rt_config npu1_default_rt_cfg[];
 extern const struct rt_config npu4_default_rt_cfg[];
-extern const struct aie2_fw_feature_tbl npu4_fw_feature_table[];
+extern const struct amdxdna_fw_feature_tbl npu4_fw_feature_table[];
 
 /* aie2_smu.c */
 int aie2_smu_init(struct amdxdna_dev_hdl *ndev);
drivers/accel/amdxdna/aie2_pm.c +3 -3
index 29bd4403a94d44..5ec6728d04fd5b 100644
@@ -31,14 +31,14 @@ int aie2_pm_set_dpm(struct amdxdna_dev_hdl *ndev, u32 dpm_level)
 {
 	int ret;
 
-	ret = amdxdna_pm_resume_get_locked(ndev->xdna);
+	ret = amdxdna_pm_resume_get_locked(ndev->aie.xdna);
 	if (ret)
 		return ret;
 
 	ret = ndev->priv->hw_ops.set_dpm(ndev, dpm_level);
 	if (!ret)
 		ndev->dpm_level = dpm_level;
-	amdxdna_pm_suspend_put(ndev->xdna);
+	amdxdna_pm_suspend_put(ndev->aie.xdna);
 
 	return ret;
 }
@@ -81,7 +81,7 @@ int aie2_pm_init(struct amdxdna_dev_hdl *ndev)
 
 int aie2_pm_set_mode(struct amdxdna_dev_hdl *ndev, enum amdxdna_power_mode_type target)
 {
-	struct amdxdna_dev *xdna = ndev->xdna;
+	struct amdxdna_dev *xdna = ndev->aie.xdna;
 	u32 clk_gating, dpm_level;
 	int ret;
 
drivers/accel/amdxdna/aie2_smu.c +11 -11
index d8c31924e501ba..727637dac3a8d0 100644
@@ -46,7 +46,7 @@ static int aie2_smu_exec(struct amdxdna_dev_hdl *ndev, u32 reg_cmd,
 	ret = readx_poll_timeout(readl, SMU_REG(ndev, SMU_RESP_REG), resp,
 				 resp, AIE2_INTERVAL, AIE2_TIMEOUT);
 	if (ret) {
-		XDNA_ERR(ndev->xdna, "smu cmd %d timed out", reg_cmd);
+		XDNA_ERR(ndev->aie.xdna, "smu cmd %d timed out", reg_cmd);
 		return ret;
 	}
 
@@ -54,7 +54,7 @@ static int aie2_smu_exec(struct amdxdna_dev_hdl *ndev, u32 reg_cmd,
 		*out = readl(SMU_REG(ndev, SMU_OUT_REG));
 
 	if (resp != SMU_RESULT_OK) {
-		XDNA_ERR(ndev->xdna, "smu cmd %d failed, 0x%x", reg_cmd, resp);
+		XDNA_ERR(ndev->aie.xdna, "smu cmd %d failed, 0x%x", reg_cmd, resp);
 		return -EINVAL;
 	}
 
@@ -69,7 +69,7 @@ int npu1_set_dpm(struct amdxdna_dev_hdl *ndev, u32 dpm_level)
 	ret = aie2_smu_exec(ndev, AIE2_SMU_SET_MPNPUCLK_FREQ,
 			    ndev->priv->dpm_clk_tbl[dpm_level].npuclk, &freq);
 	if (ret) {
-		XDNA_ERR(ndev->xdna, "Set npu clock to %d failed, ret %d\n",
+		XDNA_ERR(ndev->aie.xdna, "Set npu clock to %d failed, ret %d\n",
 			 ndev->priv->dpm_clk_tbl[dpm_level].npuclk, ret);
 		return ret;
 	}
@@ -78,7 +78,7 @@ int npu1_set_dpm(struct amdxdna_dev_hdl *ndev, u32 dpm_level)
 	ret = aie2_smu_exec(ndev, AIE2_SMU_SET_HCLK_FREQ,
 			    ndev->priv->dpm_clk_tbl[dpm_level].hclk, &freq);
 	if (ret) {
-		XDNA_ERR(ndev->xdna, "Set h clock to %d failed, ret %d\n",
+		XDNA_ERR(ndev->aie.xdna, "Set h clock to %d failed, ret %d\n",
 			 ndev->priv->dpm_clk_tbl[dpm_level].hclk, ret);
 		return ret;
 	}
@@ -87,7 +87,7 @@ int npu1_set_dpm(struct amdxdna_dev_hdl *ndev, u32 dpm_level)
 	ndev->max_tops = 2 * ndev->total_col;
 	ndev->curr_tops = ndev->max_tops * freq / 1028;
 
-	XDNA_DBG(ndev->xdna, "MP-NPU clock %d, H clock %d\n",
+	XDNA_DBG(ndev->aie.xdna, "MP-NPU clock %d, H clock %d\n",
 		 ndev->npuclk_freq, ndev->hclk_freq);
 
 	return 0;
@@ -99,14 +99,14 @@ int npu4_set_dpm(struct amdxdna_dev_hdl *ndev, u32 dpm_level)
 
 	ret = aie2_smu_exec(ndev, AIE2_SMU_SET_HARD_DPMLEVEL, dpm_level, NULL);
 	if (ret) {
-		XDNA_ERR(ndev->xdna, "Set hard dpm level %d failed, ret %d ",
+		XDNA_ERR(ndev->aie.xdna, "Set hard dpm level %d failed, ret %d ",
 			 dpm_level, ret);
 		return ret;
 	}
 
 	ret = aie2_smu_exec(ndev, AIE2_SMU_SET_SOFT_DPMLEVEL, dpm_level, NULL);
 	if (ret) {
-		XDNA_ERR(ndev->xdna, "Set soft dpm level %d failed, ret %d",
+		XDNA_ERR(ndev->aie.xdna, "Set soft dpm level %d failed, ret %d",
 			 dpm_level, ret);
 		return ret;
 	}
@@ -116,7 +116,7 @@ int npu4_set_dpm(struct amdxdna_dev_hdl *ndev, u32 dpm_level)
 	ndev->max_tops = NPU4_DPM_TOPS(ndev, ndev->max_dpm_level);
 	ndev->curr_tops = NPU4_DPM_TOPS(ndev, dpm_level);
 
-	XDNA_DBG(ndev->xdna, "MP-NPU clock %d, H clock %d\n",
+	XDNA_DBG(ndev->aie.xdna, "MP-NPU clock %d, H clock %d\n",
 		 ndev->npuclk_freq, ndev->hclk_freq);
 
 	return 0;
@@ -132,13 +132,13 @@ int aie2_smu_init(struct amdxdna_dev_hdl *ndev)
 	 */
 	ret = aie2_smu_exec(ndev, AIE2_SMU_POWER_OFF, 0, NULL);
 	if (ret) {
-		XDNA_ERR(ndev->xdna, "Access power failed, ret %d", ret);
+		XDNA_ERR(ndev->aie.xdna, "Access power failed, ret %d", ret);
 		return ret;
 	}
 
 	ret = aie2_smu_exec(ndev, AIE2_SMU_POWER_ON, 0, NULL);
 	if (ret) {
-		XDNA_ERR(ndev->xdna, "Power on failed, ret %d", ret);
+		XDNA_ERR(ndev->aie.xdna, "Power on failed, ret %d", ret);
 		return ret;
 	}
 
@@ -152,5 +152,5 @@ void aie2_smu_fini(struct amdxdna_dev_hdl *ndev)
 	ndev->priv->hw_ops.set_dpm(ndev, 0);
 	ret = aie2_smu_exec(ndev, AIE2_SMU_POWER_OFF, 0, NULL);
 	if (ret)
-		XDNA_ERR(ndev->xdna, "Power off failed, ret %d", ret);
+		XDNA_ERR(ndev->aie.xdna, "Power off failed, ret %d", ret);
 }
drivers/accel/amdxdna/amdxdna_pci_drv.h +8 -0
index 0661749917d684..5e0bf565a1ae6b 100644
@@ -66,6 +66,13 @@ struct amdxdna_dev_ops {
 	int (*get_array)(struct amdxdna_client *client, struct amdxdna_drm_get_array *args);
 };
 
+struct amdxdna_fw_feature_tbl {
+	u64 features;
+	u32 major;
+	u32 max_minor;
+	u32 min_minor;
+};
+
 /*
  * struct amdxdna_dev_info - Device hardware information
  * Record device static information, like reg, mbox, PSP, SMU bar index
@@ -83,6 +90,7 @@ struct amdxdna_dev_info {
 	size_t				dev_mem_size;
 	char				*vbnv;
 	const struct amdxdna_dev_priv	*dev_priv;
+	const struct amdxdna_fw_feature_tbl *fw_feature_tbl;
 	const struct amdxdna_dev_ops	*ops;
 };
 
drivers/accel/amdxdna/npu1_regs.c +2 -2
index 1320e924e54824..2ea7568a2e995a 100644
@@ -65,7 +65,7 @@ const struct dpm_clk_freq npu1_dpm_clk_table[] = {
 	{ 0 }
 };
 
-static const struct aie2_fw_feature_tbl npu1_fw_feature_table[] = {
+static const struct amdxdna_fw_feature_tbl npu1_fw_feature_table[] = {
 	{ .major = 5, .min_minor = 7 },
 	{ .features = BIT_U64(AIE2_NPU_COMMAND), .major = 5, .min_minor = 8 },
 	{ 0 }
@@ -75,7 +75,6 @@ static const struct amdxdna_dev_priv npu1_dev_priv = {
 	.fw_path        = "amdnpu/1502_00/",
 	.rt_config	= npu1_default_rt_cfg,
 	.dpm_clk_tbl	= npu1_dpm_clk_table,
-	.fw_feature_tbl = npu1_fw_feature_table,
 	.col_align	= COL_ALIGN_NONE,
 	.mbox_dev_addr  = NPU1_MBOX_BAR_BASE,
 	.mbox_size      = 0, /* Use BAR size */
@@ -120,5 +119,6 @@ const struct amdxdna_dev_info dev_npu1_info = {
 	.vbnv              = "RyzenAI-npu1",
 	.device_type       = AMDXDNA_DEV_TYPE_KMQ,
 	.dev_priv          = &npu1_dev_priv,
+	.fw_feature_tbl    = npu1_fw_feature_table,
 	.ops               = &aie2_ops,
 };
drivers/accel/amdxdna/npu4_regs.c +2 -2
index 619bff042e52c6..9689c56c83beb0 100644
@@ -88,7 +88,7 @@ const struct dpm_clk_freq npu4_dpm_clk_table[] = {
 	{ 0 }
 };
 
-const struct aie2_fw_feature_tbl npu4_fw_feature_table[] = {
+const struct amdxdna_fw_feature_tbl npu4_fw_feature_table[] = {
 	{ .major = 6, .min_minor = 12 },
 	{ .features = BIT_U64(AIE2_NPU_COMMAND), .major = 6, .min_minor = 15 },
 	{ .features = BIT_U64(AIE2_PREEMPT), .major = 6, .min_minor = 12 },
@@ -102,7 +102,6 @@ static const struct amdxdna_dev_priv npu4_dev_priv = {
 	.fw_path        = "amdnpu/17f0_10/",
 	.rt_config	= npu4_default_rt_cfg,
 	.dpm_clk_tbl	= npu4_dpm_clk_table,
-	.fw_feature_tbl = npu4_fw_feature_table,
 	.col_align	= COL_ALIGN_NATURE,
 	.mbox_dev_addr  = NPU4_MBOX_BAR_BASE,
 	.mbox_size      = 0, /* Use BAR size */
@@ -147,5 +146,6 @@ const struct amdxdna_dev_info dev_npu4_info = {
 	.vbnv              = "RyzenAI-npu4",
 	.device_type       = AMDXDNA_DEV_TYPE_KMQ,
 	.dev_priv          = &npu4_dev_priv,
+	.fw_feature_tbl    = npu4_fw_feature_table,
 	.ops               = &aie2_ops, /* NPU4 can share NPU1's callback */
 };
drivers/accel/amdxdna/npu5_regs.c +1 -1
index c0ac5daf32ee5c..98ee8780f3f5c7 100644
@@ -66,7 +66,6 @@ static const struct amdxdna_dev_priv npu5_dev_priv = {
 	.fw_path        = "amdnpu/17f0_11/",
 	.rt_config	= npu4_default_rt_cfg,
 	.dpm_clk_tbl	= npu4_dpm_clk_table,
-	.fw_feature_tbl = npu4_fw_feature_table,
 	.col_align	= COL_ALIGN_NATURE,
 	.mbox_dev_addr  = NPU5_MBOX_BAR_BASE,
 	.mbox_size      = 0, /* Use BAR size */
@@ -111,5 +110,6 @@ const struct amdxdna_dev_info dev_npu5_info = {
 	.vbnv              = "RyzenAI-npu5",
 	.device_type       = AMDXDNA_DEV_TYPE_KMQ,
 	.dev_priv          = &npu5_dev_priv,
+	.fw_feature_tbl    = npu4_fw_feature_table,
 	.ops               = &aie2_ops,
 };
drivers/accel/amdxdna/npu6_regs.c +1 -1
index ce591ed0d4832e..31400cca5ec4c9 100644
@@ -66,7 +66,6 @@ static const struct amdxdna_dev_priv npu6_dev_priv = {
 	.fw_path        = "amdnpu/17f0_10/",
 	.rt_config	= npu4_default_rt_cfg,
 	.dpm_clk_tbl	= npu4_dpm_clk_table,
-	.fw_feature_tbl = npu4_fw_feature_table,
 	.col_align	= COL_ALIGN_NATURE,
 	.mbox_dev_addr  = NPU6_MBOX_BAR_BASE,
 	.mbox_size      = 0, /* Use BAR size */
@@ -112,5 +111,6 @@ const struct amdxdna_dev_info dev_npu6_info = {
 	.vbnv              = "RyzenAI-npu6",
 	.device_type       = AMDXDNA_DEV_TYPE_KMQ,
 	.dev_priv          = &npu6_dev_priv,
+	.fw_feature_tbl    = npu4_fw_feature_table,
 	.ops               = &aie2_ops,
 };
Signature · 1 line
2.53.0
author maintainer
#52 lore raw

PATCH 52/2077 accel/amdxdna: Adjust size for copy_to_user()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Lizhi Hou <[email protected]>

[ Upstream commit 6e87001fe19f251e2ae14373bc76554358a13df2 ]

The amount of data returned to user space should be limited by the buffer size provided by the application. If the buffer is smaller than the data size, return only the portion that fits instead of failing.

---
 drivers/accel/amdxdna/aie2_error.c   |  5 ++-
 drivers/accel/amdxdna/aie2_message.c | 20 ++++++----
 drivers/accel/amdxdna/aie2_pci.c     | 59 ++++++++++++++++------------
 3 files changed, 50 insertions(+), 34 deletions(-)
drivers/accel/amdxdna/aie2_error.c +4 -1
index 9d20e956c020ec..70007b4363cd02 100644
@@ -406,8 +406,11 @@ int aie2_get_array_async_error(struct amdxdna_dev_hdl *ndev, struct amdxdna_drm_
 
 	drm_WARN_ON(&xdna->ddev, !mutex_is_locked(&xdna->dev_lock));
 
+	if (!args->num_element)
+		return -EINVAL;
+
 	args->num_element = 1;
-	args->element_size = sizeof(ndev->last_async_err);
+	args->element_size = min(args->element_size, sizeof(ndev->last_async_err));
 	if (copy_to_user(u64_to_user_ptr(args->buffer),
 			 &ndev->last_async_err, args->element_size))
 		return -EFAULT;
drivers/accel/amdxdna/aie2_message.c +12 -8
index ccf87b1aa1ccc5..0a619e55902b58 100644
@@ -369,12 +369,13 @@ int aie2_query_status(struct amdxdna_dev_hdl *ndev, char __user *buf,
 {
 	DECLARE_AIE_MSG(aie_column_info, MSG_OP_QUERY_COL_STATUS);
 	struct amdxdna_dev *xdna = ndev->aie.xdna;
-	u32 buf_sz = size, aie_bitmap = 0;
+	u32 buf_sz, aie_bitmap = 0;
 	struct amdxdna_client *client;
 	dma_addr_t dma_addr;
 	u8 *buff_addr;
 	int ret;
 
+	buf_sz = ndev->metadata.cols * ndev->metadata.size;
 	buff_addr = aie2_alloc_msg_buffer(ndev, &buf_sz, &dma_addr);
 	if (IS_ERR(buff_addr))
 		return PTR_ERR(buff_addr);
@@ -398,13 +399,14 @@ int aie2_query_status(struct amdxdna_dev_hdl *ndev, char __user *buf,
 
 	XDNA_DBG(xdna, "Query NPU status completed");
 
-	if (size < resp.size) {
+	if (buf_sz < resp.size) {
 		ret = -EINVAL;
-		XDNA_ERR(xdna, "Bad buffer size. Available: %u. Needs: %u", size, resp.size);
+		XDNA_ERR(xdna, "Bad buffer size. Available: %u. Needs: %u", buf_sz, resp.size);
 		goto fail;
 	}
 
-	if (copy_to_user(buf, buff_addr, resp.size)) {
+	size = min(size, resp.size);
+	if (copy_to_user(buf, buff_addr, size)) {
 		ret = -EFAULT;
 		XDNA_ERR(xdna, "Failed to copy NPU status to user space");
 		goto fail;
@@ -424,13 +426,14 @@ int aie2_query_telemetry(struct amdxdna_dev_hdl *ndev,
 	DECLARE_AIE_MSG(get_telemetry, MSG_OP_GET_TELEMETRY);
 	struct amdxdna_dev *xdna = ndev->aie.xdna;
 	dma_addr_t dma_addr;
-	u32 buf_sz = size;
+	u32 buf_sz;
 	u8 *addr;
 	int ret;
 
 	if (header->type >= MAX_TELEMETRY_TYPE)
 		return -EINVAL;
 
+	buf_sz = min(size, SZ_4M);
 	addr = aie2_alloc_msg_buffer(ndev, &buf_sz, &dma_addr);
 	if (IS_ERR(addr))
 		return PTR_ERR(addr);
@@ -446,13 +449,14 @@ int aie2_query_telemetry(struct amdxdna_dev_hdl *ndev,
 		goto free_buf;
 	}
 
-	if (size < resp.size) {
+	if (buf_sz < resp.size) {
 		ret = -EINVAL;
-		XDNA_ERR(xdna, "Bad buffer size. Available: %u. Needs: %u", size, resp.size);
+		XDNA_ERR(xdna, "Bad buffer size. Available: %u. Needs: %u", buf_sz, resp.size);
 		goto free_buf;
 	}
 
-	if (copy_to_user(buf, addr, resp.size)) {
+	size = min(size, resp.size);
+	if (copy_to_user(buf, addr, size)) {
 		ret = -EFAULT;
 		XDNA_ERR(xdna, "Failed to copy telemetry to user space");
 		goto free_buf;
drivers/accel/amdxdna/aie2_pci.c +34 -25

189 lines not on this page · raw message

Signature · 1 line
2.53.0
author maintainer
#53 lore raw

PATCH 53/2077 accel/amdxdna: Handle DETACH_DEBUG_BO through config_debug_bo path

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Max Zhen <[email protected]>

[ Upstream commit f844177c6811fd322aa84ed5c32f0e39743446c2 ]

Route DETACH_DEBUG_BO through aie2_config_debug_bo() the same way as ATTACH_DEBUG_BO.

The scheduler switch in aie2_sched_job_run() already handles ATTACH_DEBUG_BO with aie2_config_debug_bo(), but DETACH_DEBUG_BO was not included in that path. Add an explicit fallthrough so both attach and detach operations use the same handler.

This fixes debug BO detach handling by ensuring the detach command is processed by the expected configuration path.

Fixes 7ea046838021 ("accel/amdxdna: Support firmware debug buffer")
---
 drivers/accel/amdxdna/aie2_ctx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/accel/amdxdna/aie2_ctx.c +1 -0
index 2dc69900ca0107..d719000c453252 100644
@@ -360,6 +360,7 @@ aie2_sched_job_run(struct drm_sched_job *sched_job)
 			ret = aie2_sync_bo(hwctx, job, aie2_sched_drvcmd_resp_handler);
 			break;
 		case ATTACH_DEBUG_BO:
+		case DETACH_DEBUG_BO:
 			ret = aie2_config_debug_bo(hwctx, job, aie2_sched_drvcmd_resp_handler);
 			break;
 		default:
Signature · 1 line
2.53.0
author maintainer
#54 lore raw

PATCH 54/2077 accel/amdxdna: Fix iommu_map_sgtable() return value handling

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Lizhi Hou <[email protected]>

[ Upstream commit 1bcfa4c4e88a554d1b6f98f4e3f886288581cbb4 ]

iommu_map_sgtable() returns negative error codes on failure, but the result is stored in an unsigned variable. This prevents proper error detection.

Change the variable type to ssize_t so negative error values can be handled correctly.

---
 drivers/accel/amdxdna/amdxdna_iommu.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
drivers/accel/amdxdna/amdxdna_iommu.c +8 -1
index 4626434d4180cf..2676cfcfabee0d 100644
@@ -40,7 +40,7 @@ int amdxdna_iommu_map_bo(struct amdxdna_dev *xdna, struct amdxdna_gem_obj *abo)
 	struct sg_table *sgt;
 	dma_addr_t dma_addr;
 	struct iova *iova;
-	size_t size;
+	ssize_t size;
 
 	if (abo->type != AMDXDNA_BO_DEV_HEAP && abo->type != AMDXDNA_BO_SHMEM)
 		return 0;
@@ -65,7 +65,14 @@ int amdxdna_iommu_map_bo(struct amdxdna_dev *xdna, struct amdxdna_gem_obj *abo)
 
 	size = iommu_map_sgtable(xdna->domain, dma_addr, sgt,
 				 IOMMU_READ | IOMMU_WRITE);
+	if (size < 0) {
+		XDNA_ERR(xdna, "iommu_map_sgtable failed: %zd", size);
+		__free_iova(&xdna->iovad, iova);
+		return size;
+	}
+
 	if (size < abo->mem.size) {
+		iommu_unmap(xdna->domain, dma_addr, size);
 		__free_iova(&xdna->iovad, iova);
 		return -ENXIO;
 	}
Signature · 1 line
2.53.0
author maintainer
#37 lore raw

PATCH 37/2077 afs: Fix further netns teardown to cancel the preallocation charger

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit 2daf8ac812c3d78c642fe7652f62e29df5e3da20 upstream.

When an afs network namespace is torn down, it cancels and waits for the work item that keeps the preallocated rxrpc call/conn/peer queue charged before disabling incoming (i.e. listen 0), but there's a small window in which it can be requeued by an incoming call wending through the I/O thread.

Fix this by cancelling the charger work item again after reducing the listen backlog to zero.

---
 fs/afs/rxrpc.c |    5 +++++
 1 file changed, 5 insertions(+)
fs/afs/rxrpc.c +5 -0
@@ -128,8 +128,13 @@ void afs_close_socket(struct afs_net *ne
 	_enter("");
 
 	cancel_work_sync(&net->charge_preallocation_work);
+	/* Future work items should now see ->live is false. */
+
 	kernel_listen(net->socket, 0);
+
+	/* Make sure work items are no longer running. */
 	flush_workqueue(afs_async_calls);
+	cancel_work_sync(&net->charge_preallocation_work);
 
 	if (net->spare_incoming_call) {
 		afs_put_call(net->spare_incoming_call);
author maintainer
#55 lore raw

PATCH 55/2077 accel/amdxdna: Fix order of canceled mailbox messages

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Lizhi Hou <[email protected]>

[ Upstream commit c83ad8ea6b0a53f1ed61ae0b4b9606bdfe338b33 ]

Mailbox message IDs are allocated cyclically. When destroying a mailbox channel, pending messages are canceled starting from message ID 0. This results in an incorrect cancellation order when the ID of the last posted message wraps around and is smaller than the ID of the first posted message.

Fix this by canceling pending messages starting from the next available message ID, ensuring the correct ordering across wraparound.

Fixes a37d78470bcc ("accel/amdxdna: Replace idr api with xarray")
---
 drivers/accel/amdxdna/amdxdna_mailbox.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/accel/amdxdna/amdxdna_mailbox.c +3 -1
index e681a090752df4..d3639a2ea23951 100644
@@ -538,7 +538,9 @@ void xdna_mailbox_stop_channel(struct mailbox_channel *mb_chann)
 	drain_workqueue(mb_chann->work_q);
 
 	/* We can clean up and release resources */
-	xa_for_each(&mb_chann->chan_xa, msg_id, mb_msg)
+	xa_for_each_start(&mb_chann->chan_xa, msg_id, mb_msg, mb_chann->next_msgid)
+		mailbox_release_msg(mb_chann, mb_msg);
+	xa_for_each_range(&mb_chann->chan_xa, msg_id, mb_msg, 0, mb_chann->next_msgid - 1)
 		mailbox_release_msg(mb_chann, mb_msg);
 	xa_destroy(&mb_chann->chan_xa);
 
Signature · 1 line
2.53.0
author maintainer
#56 lore raw

PATCH 56/2077 dma-fence: Fix potential tracepoint null pointer dereferences

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Tvrtko Ursulin <[email protected]>

[ Upstream commit e94b9f01543cc6a83538c2c2cc645a424d3015ca ]

Trace_dma_fence_signaled, trace_dma_fence_wait_end and trace_dma_fence_destroy can all currently dereference a null fence->ops pointer after it has been reset on fence signalling.

Lets use the safe string getters for most tracepoints to avoid this class of a problem, while for the signal tracepoint we move it to before ops are cleared to avoid losing the driver and timeline name information. Apart from moving it we also need to add a new tracepoint class to bypass the safe name getters since the signaled bit is already set.

For dma_fence_init we also need to use the new tracepoint class since the rcu read lock is not held there, and we can do the same for the enable signaling since there we are certain the fence cannot be signaled while we are holding the lock and have even validated the fence->ops.

Fixes 541c8f2468b9 ("dma-buf: detach fence ops on signal v3")
Cc Christian König <[email protected]>
Cc Philipp Stanner <[email protected]>
Cc Boris Brezillon <[email protected]>
---
 drivers/dma-buf/dma-fence.c      |  3 ++-
 include/trace/events/dma_fence.h | 40 +++++++++++++++++++++++++++-----
 2 files changed, 36 insertions(+), 7 deletions(-)
drivers/dma-buf/dma-fence.c +2 -1
index a2aa82f4eedd49..b3bfa6943a8e13 100644
@@ -363,6 +363,8 @@ void dma_fence_signal_timestamp_locked(struct dma_fence *fence,
 				      &fence->flags)))
 		return;
 
+	trace_dma_fence_signaled(fence);
+
 	/*
 	 * When neither a release nor a wait operation is specified set the ops
 	 * pointer to NULL to allow the fence structure to become independent
@@ -377,7 +379,6 @@ void dma_fence_signal_timestamp_locked(struct dma_fence *fence,
 
 	fence->timestamp = timestamp;
 	set_bit(DMA_FENCE_FLAG_TIMESTAMP_BIT, &fence->flags);
-	trace_dma_fence_signaled(fence);
 
 	list_for_each_entry_safe(cur, tmp, &cb_list, node) {
 		INIT_LIST_HEAD(&cur->node);
include/trace/events/dma_fence.h +34 -6
index 3abba45c0601a4..5b10a9e06fb4ec 100644
@@ -9,12 +9,40 @@
 
 struct dma_fence;
 
+DECLARE_EVENT_CLASS(dma_fence,
+
+	TP_PROTO(struct dma_fence *fence),
+
+	TP_ARGS(fence),
+
+	TP_STRUCT__entry(
+		__string(driver, dma_fence_driver_name(fence))
+		__string(timeline, dma_fence_timeline_name(fence))
+		__field(unsigned int, context)
+		__field(unsigned int, seqno)
+	),
+
+	TP_fast_assign(
+		__assign_str(driver);
+		__assign_str(timeline);
+		__entry->context = fence->context;
+		__entry->seqno = fence->seqno;
+	),
+
+	TP_printk("driver=%s timeline=%s context=%u seqno=%u",
+		  __get_str(driver), __get_str(timeline), __entry->context,
+		  __entry->seqno)
+);
+
 /*
  * Safe only for call sites which are guaranteed to not race with fence
- * signaling,holding the fence->lock and having checked for not signaled, or the
- * signaling path itself.
+ * signaling, holding the fence->lock and having checked for not signaled, or
+ * the signaling path itself.
+ *
+ * TODO: Remove the need for this event class when drivers switch to independent
+ *       fences.
  */
-DECLARE_EVENT_CLASS(dma_fence,
+DECLARE_EVENT_CLASS(dma_fence_ops,
 
 	TP_PROTO(struct dma_fence *fence),
 
@@ -46,7 +74,7 @@ DEFINE_EVENT(dma_fence, dma_fence_emit,
 	TP_ARGS(fence)
 );
 
-DEFINE_EVENT(dma_fence, dma_fence_init,
+DEFINE_EVENT(dma_fence_ops, dma_fence_init,
 
 	TP_PROTO(struct dma_fence *fence),
 
@@ -60,14 +88,14 @@ DEFINE_EVENT(dma_fence, dma_fence_destroy,
 	TP_ARGS(fence)
 );
 
-DEFINE_EVENT(dma_fence, dma_fence_enable_signal,
+DEFINE_EVENT(dma_fence_ops, dma_fence_enable_signal,
 
 	TP_PROTO(struct dma_fence *fence),
 
 	TP_ARGS(fence)
 );
 
-DEFINE_EVENT(dma_fence, dma_fence_signaled,
+DEFINE_EVENT(dma_fence_ops, dma_fence_signaled,
 
 	TP_PROTO(struct dma_fence *fence),
 
Signature · 1 line
2.53.0
author maintainer
#57 lore raw

PATCH 57/2077 accel/amdxdna: Fix fatal_error_info layout in firmware interface

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Max Zhen <[email protected]>

[ Upstream commit 2d1e82f1224f3109481bb0ed3683e54b09b978e3 ]

Adjust struct fatal_error_info to match the expected driver/firmware interface layout.

The structure is used to retrieve debug information from firmware when a command becomes stuck on the device. The reserved field currently uses 128 u32 entries, which makes the structure larger than intended and causes the layout to no longer match the firmware definition.

Reduce the reserved array size from 128 to 127 entries so the structure matches the expected interface format.

Fixes 25854131c04a ("accel/amdxdna: Support retrieving hardware context debug information")
---
 drivers/accel/amdxdna/aie2_msg_priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/amdxdna/aie2_msg_priv.h +1 -1
index f18e89a39e3571..4a01d73209bbf7 100644
@@ -460,7 +460,7 @@ struct fatal_error_info {
 	__u32 exception_pc;       /* Program Counter at the time of the exception */
 	__u32 app_module;         /* Error module name */
 	__u32 task_index;         /* Index of the task in which the error occurred */
-	__u32 reserved[128];
+	__u32 reserved[127];
 };
 
 struct app_health_report {
Signature · 1 line
2.53.0
author maintainer
#58 lore raw

PATCH 58/2077 accel/amdxdna: Fix memory leak in amdxdna_iommu_alloc()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Felix Gu <[email protected]>

[ Upstream commit 432fafdc9a3122a7bee5b2bfd23dcf2dc262a3d7 ]

In amdxdna_iommu_alloc(), if iommu_map() fails after successfully allocating both iova and cpu_addr, the code jumps to free_iova which only frees the iova, leaking the allocated pages.

Fixes ece3e8980907 ("accel/amdxdna: Allow forcing IOVA-based DMA via module parameter")
---
 drivers/accel/amdxdna/amdxdna_iommu.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/accel/amdxdna/amdxdna_iommu.c +3 -1
index 2676cfcfabee0d..5a9f06183487fd 100644
@@ -117,10 +117,12 @@ void *amdxdna_iommu_alloc(struct amdxdna_dev *xdna, size_t size, dma_addr_t *dma
 			iova_align(&xdna->iovad, size),
 			IOMMU_READ | IOMMU_WRITE, GFP_KERNEL);
 	if (ret)
-		goto free_iova;
+		goto free_cpu_addr;
 
 	return cpu_addr;
 
+free_cpu_addr:
+	free_pages((unsigned long)cpu_addr, get_order(size));
 free_iova:
 	__free_iova(&xdna->iovad, iova);
 	return ERR_PTR(ret);
Signature · 1 line
2.53.0
author maintainer
#59 lore raw

PATCH 59/2077 drm/gpuvm: Do not prepare NULL objects

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Jonathan Cavitt <[email protected]>

[ Upstream commit 88f059f6f6f589bd78e2ceb05a1339a8c10b8626 ]

Statis analysis issue:

drm_gpuvm_prepare_range issues an exec_object_prepare call to all drm_gem_objects mapped between addr and addr + range. However, it is possible (albeit very unlikely) that the objects found through drm_gpuvm_for_each_va_range (as connected to va->gem) are NULL, as seen in other functions such as drm_gpuva_link and drm_gpuva_unlink_defer.

Do not prepare NULL objects.

Fixes 50c1a36f594b ("drm/gpuvm: track/lock/validate external/evicted objects")
Cc Matthew Brost <[email protected]>
Cc Thomas Hellström <[email protected]>
---
 drivers/gpu/drm/drm_gpuvm.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_gpuvm.c +3 -0
index 44acfe4120d243..f56719e9f4350a 100644
@@ -1322,6 +1322,9 @@ drm_gpuvm_prepare_range(struct drm_gpuvm *gpuvm, struct drm_exec *exec,
 	drm_gpuvm_for_each_va_range(va, gpuvm, addr, end) {
 		struct drm_gem_object *obj = va->gem.obj;
 
+		if (unlikely(!obj))
+			continue;
+
 		ret = exec_prepare_obj(exec, obj, num_fences);
 		if (ret)
 			return ret;
Signature · 1 line
2.53.0
author maintainer
#60 lore raw

PATCH 60/2077 accel/amdxdna: Guard management mailbox channel cleanup against NULL pointer

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Max Zhen <[email protected]>

[ Upstream commit 506255d46bdb93a281cf39e72abbca124f5c7a1b ]

The management mailbox channel cleanup helpers can be called from error handling paths when mgmt_chann has already been destroyed.

Add NULL checks to xdna_mailbox_free_channel() and xdna_mailbox_stop_channel() so the cleanup path safely returns instead of dereferencing a NULL mailbox channel pointer.

---
 drivers/accel/amdxdna/amdxdna_mailbox.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/accel/amdxdna/amdxdna_mailbox.c +6 -0
index d3639a2ea23951..13c20bb3890c93 100644
@@ -485,6 +485,9 @@ struct mailbox_channel *xdna_mailbox_alloc_channel(struct mailbox *mb)
 
 void xdna_mailbox_free_channel(struct mailbox_channel *mb_chann)
 {
+	if (!mb_chann)
+		return;
+
 	destroy_workqueue(mb_chann->work_q);
 	kfree(mb_chann);
 }
@@ -531,6 +534,9 @@ void xdna_mailbox_stop_channel(struct mailbox_channel *mb_chann)
 	struct mailbox_msg *mb_msg;
 	unsigned long msg_id;
 
+	if (!mb_chann)
+		return;
+
 	/* Disable an irq and wait. This might sleep. */
 	free_irq(mb_chann->msix_irq, mb_chann);
 
Signature · 1 line
2.53.0
author maintainer
#61 lore raw

PATCH 61/2077 drm/amdgpu: fix integer overflow in amdgpu_gem_align_pitch()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Werner Kasselman <[email protected]>

[ Upstream commit fc3659f178d4a65599167d5a648bbeef4b0d4446 ]

amdgpu_gem_align_pitch() is passed u32 width and cpp from dumb buffer creation but uses signed int internally. The round-up add and the aligned * cpp multiplication can overflow, returning zero or a negative pitch. A zero pitch propagates to a zero-sized GEM object allocation that reaches userspace via DRM_IOCTL_MODE_CREATE_DUMB.

Switch the helper to unsigned int and use check_add_overflow() / check_mul_overflow() so wraparound returns zero. Reject a zero pitch or size in amdgpu_mode_dumb_create() rather than allocating a zero- byte BO.

Fixes 8e911ab770f7 ("drm: amdgpu: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +17 -8
index fe6d988e7f245c..1120f8225ac020 100644
@@ -27,6 +27,7 @@
  */
 #include <linux/ktime.h>
 #include <linux/module.h>
+#include <linux/overflow.h>
 #include <linux/pagemap.h>
 #include <linux/pci.h>
 #include <linux/dma-buf.h>
@@ -1228,13 +1229,14 @@ int amdgpu_gem_list_handles_ioctl(struct drm_device *dev, void *data,
 	return ret;
 }
 
-static int amdgpu_gem_align_pitch(struct amdgpu_device *adev,
-				  int width,
-				  int cpp,
-				  bool tiled)
+static unsigned int amdgpu_gem_align_pitch(struct amdgpu_device *adev,
+					   unsigned int width,
+					   unsigned int cpp,
+					   bool tiled)
 {
-	int aligned = width;
-	int pitch_mask = 0;
+	unsigned int aligned = width;
+	unsigned int pitch_mask = 0;
+	unsigned int pitch;
 
 	switch (cpp) {
 	case 1:
@@ -1249,9 +1251,12 @@ static int amdgpu_gem_align_pitch(struct amdgpu_device *adev,
 		break;
 	}
 
-	aligned += pitch_mask;
+	if (check_add_overflow(aligned, pitch_mask, &aligned))
+		return 0;
 	aligned &= ~pitch_mask;
-	return aligned * cpp;
+	if (check_mul_overflow(aligned, cpp, &pitch))
+		return 0;
+	return pitch;
 }
 
 int amdgpu_mode_dumb_create(struct drm_file *file_priv,
@@ -1278,8 +1283,12 @@ int amdgpu_mode_dumb_create(struct drm_file *file_priv,
 
 	args->pitch = amdgpu_gem_align_pitch(adev, args->width,
 					     DIV_ROUND_UP(args->bpp, 8), 0);
+	if (!args->pitch)
+		return -EINVAL;
 	args->size = (u64)args->pitch * args->height;
 	args->size = ALIGN(args->size, PAGE_SIZE);
+	if (!args->size)
+		return -EINVAL;
 	domain = amdgpu_bo_get_preferred_domain(adev,
 				amdgpu_display_supported_domains(adev, flags));
 	r = amdgpu_gem_object_create(adev, args->size, 0, domain, flags,
Signature · 1 line
2.53.0
author maintainer
#62 lore raw

PATCH 62/2077 drm/amdkfd: fix redundant MQD iterations in GFX v12.1

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Alex Sierra <[email protected]>

[ Upstream commit 9315a1e2bdf1ba4aace856cabcb5f9f3a5c09202 ]

The init_mqd_v12_1 function and its sub-call update_mqd_v12_1 both independently iterate over XCC-specific MQDs. This nested iteration is redundant and can cause MQDs in different queues to be overwritten. This patch removes the duplicate loop logic to prevent queue corruption.

Fixes 01bbc4a4b947 ("drm/amdkfd: Add MQD manager for GFX 12.1.0")
---
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c +5 -1
index c90c0d99b1e3f3..475589b924e90a 100644
@@ -32,6 +32,10 @@
 #include "amdgpu_amdkfd.h"
 #include "kfd_device_queue_manager.h"
 
+static void update_mqd(struct mqd_manager *mm, void *mqd,
+		       struct queue_properties *q,
+		       struct mqd_update_info *minfo);
+
 static inline struct v12_1_compute_mqd *get_mqd(void *mqd)
 {
 	return (struct v12_1_compute_mqd *)mqd;
@@ -215,7 +219,7 @@ static void init_mqd(struct mqd_manager *mm, void **mqd,
 	*mqd = m;
 	if (gart_addr)
 		*gart_addr = addr;
-	mm->update_mqd(mm, m, q, NULL);
+	update_mqd(mm, m, q, NULL);
 }
 
 static int load_mqd(struct mqd_manager *mm, void *mqd,
Signature · 1 line
2.53.0
author maintainer
#63 lore raw

PATCH 63/2077 drm/radeon: fix integer overflow in radeon_align_pitch()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Werner Kasselman <[email protected]>

[ Upstream commit ce3b24eb3ee8f82de851535f516bf21f83e82259 ]

radeon_align_pitch() has the same kind of overflow issue as the old amdgpu helper: both the alignment round-up add and the final 'aligned * cpp' calculation can overflow signed int.

If that wraps, radeon_mode_dumb_create() can end up returning an invalid pitch or creating a zero-sized dumb buffer.

Fix this by using check_add_overflow() for the alignment round-up and check_mul_overflow() for the final pitch calculation, returning 0 on overflow. Also reject zero pitch and size in radeon_mode_dumb_create().

Found via AST-based call-graph analysis using sqry.

Fixes ff72145badb8 ("drm: dumb scanout create/mmap for intel/radeon (v3)")
---
 drivers/gpu/drm/radeon/radeon_gem.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/radeon_gem.c +11 -2
index 20fc87409f2e4a..8ce180e22d1d1d 100644
@@ -28,6 +28,7 @@
 
 #include <linux/debugfs.h>
 #include <linux/iosys-map.h>
+#include <linux/overflow.h>
 #include <linux/pci.h>
 
 #include <drm/drm_device.h>
@@ -812,6 +813,7 @@ int radeon_align_pitch(struct radeon_device *rdev, int width, int cpp, bool tile
 	int aligned = width;
 	int align_large = (ASIC_IS_AVIVO(rdev)) || tiled;
 	int pitch_mask = 0;
+	int pitch;
 
 	switch (cpp) {
 	case 1:
@@ -826,9 +828,12 @@ int radeon_align_pitch(struct radeon_device *rdev, int width, int cpp, bool tile
 		break;
 	}
 
-	aligned += pitch_mask;
+	if (check_add_overflow(aligned, pitch_mask, &aligned))
+		return 0;
 	aligned &= ~pitch_mask;
-	return aligned * cpp;
+	if (check_mul_overflow(aligned, cpp, &pitch))
+		return 0;
+	return pitch;
 }
 
 int radeon_mode_dumb_create(struct drm_file *file_priv,
@@ -842,8 +847,12 @@ int radeon_mode_dumb_create(struct drm_file *file_priv,
 
 	args->pitch = radeon_align_pitch(rdev, args->width,
 					 DIV_ROUND_UP(args->bpp, 8), 0);
+	if (!args->pitch)
+		return -EINVAL;
 	args->size = (u64)args->pitch * args->height;
 	args->size = ALIGN(args->size, PAGE_SIZE);
+	if (!args->size)
+		return -EINVAL;
 
 	r = radeon_gem_object_create(rdev, args->size, 0,
 				     RADEON_GEM_DOMAIN_VRAM, 0,
Signature · 1 line
2.53.0
author maintainer
#64 lore raw

PATCH 64/2077 drm/radeon: fix memory leak in radeon_ring_restore() on lock failure

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Yuho Choi <[email protected]>

[ Upstream commit 82f1d6042611d45b8b9de423bbcb4e0ced9ec62b ]

radeon_ring_restore() takes ownership of the data buffer allocated by radeon_ring_backup(). The caller (radeon_gpu_reset()) only frees it in the non-restore branch; in the restore branch it relies on radeon_ring_restore() to free it.

If radeon_ring_lock() fails, the function returned early without calling kvfree(data), leaking the ring backup buffer on every GPU reset that fails at the lock stage. During repeated GPU resets this causes cumulative kernel memory exhaustion.

Free data before returning the error.

Fixes 55d7c22192be ("drm/radeon: implement ring saving on reset v4")
---
 drivers/gpu/drm/radeon/radeon_ring.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_ring.c +3 -1
index 581ae20c46e4b5..a5dff072c1ac03 100644
@@ -356,8 +356,10 @@ int radeon_ring_restore(struct radeon_device *rdev, struct radeon_ring *ring,
 
 	/* restore the saved ring content */
 	r = radeon_ring_lock(rdev, ring, size);
-	if (r)
+	if (r) {
+		kvfree(data);
 		return r;
+	}
 
 	for (i = 0; i < size; ++i) {
 		radeon_ring_write(ring, data[i]);
Signature · 1 line
2.53.0
author maintainer
#38 lore raw

PATCH 38/2077 afs: Fix uncancelled rxrpc OOB message handler

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Howells <[email protected]>

commit a4057e58b07005d0fe0491bdbf1868c1491909ee upstream.

Fix AFS to cancel its OOB message processing (typically to respond to security challenges). Also move OOB message processing to afs_wq so that it's also waited for and make the OOB handler just return if the net namespace is no longer live.

---
 fs/afs/cm_security.c |    3 ++-
 fs/afs/rxrpc.c       |    5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
fs/afs/cm_security.c +2 -1
@@ -101,7 +101,8 @@ void afs_process_oob_queue(struct work_s
 	struct sk_buff *oob;
 	enum rxrpc_oob_type type;
 
-	while ((oob = rxrpc_kernel_dequeue_oob(net->socket, &type))) {
+	while (READ_ONCE(net->live) &&
+	       (oob = rxrpc_kernel_dequeue_oob(net->socket, &type))) {
 		switch (type) {
 		case RXRPC_OOB_CHALLENGE:
 			afs_respond_to_challenge(oob);
fs/afs/rxrpc.c +4 -1
@@ -128,6 +128,7 @@ void afs_close_socket(struct afs_net *ne
 	_enter("");
 
 	cancel_work_sync(&net->charge_preallocation_work);
+	cancel_work_sync(&net->rx_oob_work);
 	/* Future work items should now see ->live is false. */
 
 	kernel_listen(net->socket, 0);
@@ -148,6 +149,7 @@ void afs_close_socket(struct afs_net *ne
 
 	kernel_sock_shutdown(net->socket, SHUT_RDWR);
 	flush_workqueue(afs_async_calls);
+	cancel_work_sync(&net->rx_oob_work);
 	net->socket->sk->sk_user_data = NULL;
 	sock_release(net->socket);
 	key_put(net->fs_cm_token_key);
@@ -989,5 +991,6 @@ static void afs_rx_notify_oob(struct soc
 {
 	struct afs_net *net = sk->sk_user_data;
 
-	schedule_work(&net->rx_oob_work);
+	if (READ_ONCE(net->live))
+		queue_work(afs_wq, &net->rx_oob_work);
 }
author maintainer
#65 lore raw

PATCH 65/2077 libbpf: Report error when a negative kprobe offset is specified

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Aaron Tomlin <[email protected]>

[ Upstream commit ad35d8018669fd2eea76e3f74eb050fd3d2fb690 ]

In attach_kprobe(), the parsing logic uses sscanf() to extract the target function name and offset from the section definition. Currently, if a user specifies a negative offset (e.g., SEC("kprobe/func+-100")), the input is not explicitly caught and reported as an error.

This commit updates the logic to explicitly notify the user when a negative integer is provided. To facilitate this check, the offset variable is changed from unsigned long to long so that sscanf() can accurately capture a negative input for evaluation.

If a negative offset is detected, the loader will now print an informative warning stating that the offset must be non-negative, and return -EINVAL.

Additionally, free(func) is called in this new error path to prevent a memory leak, as the function name string is dynamically allocated by sscanf().

---
 tools/lib/bpf/libbpf.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
tools/lib/bpf/libbpf.c +8 -1
index 3a80a018fc7d50..83aae7a39d36de 100644
@@ -12280,7 +12280,7 @@ bpf_program__attach_kprobe_multi_opts(const struct bpf_program *prog,
 static int attach_kprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link)
 {
 	DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, opts);
-	unsigned long offset = 0;
+	long offset = 0;
 	const char *func_name;
 	char *func;
 	int n;
@@ -12302,6 +12302,13 @@ static int attach_kprobe(const struct bpf_program *prog, long cookie, struct bpf
 		pr_warn("kprobe name is invalid: %s\n", func_name);
 		return -EINVAL;
 	}
+
+	if (offset < 0) {
+		free(func);
+		pr_warn("kprobe offset must be a non-negative integer: %li\n", offset);
+		return -EINVAL;
+	}
+
 	if (opts.retprobe && offset != 0) {
 		free(func);
 		pr_warn("kretprobes do not support offset specification\n");
Signature · 1 line
2.53.0
author maintainer
#66 lore raw

PATCH 66/2077 selftests/bpf: Fix off-by-one in bpf_cpumask_populate related selftest

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Matt Bobrowski <[email protected]>

[ Upstream commit 0aa6378695b8c67146130812f635f07c4898f171 ]

The test_populate test uses >= instead of > when checking if the runtime nr_cpus exceeds the bit capacity of a cpumask_t.

On a system where the physical CPU core count perfectly matches the CONFIG_NR_CPUS upper bound (e.g. nr_cpus = 512 and CONFIG_NR_CPUS = 512), the condition nr_cpus >= CPUMASK_TEST_MASKLEN * 8 evaluates to true (512 >= 512). This incorrectly causes the test to fail with an error value of 3.

A 512-bit cpumask_t provides enough bits (indices 0 through 511) to represent 512 CPUs. The subsequent bpf_for(i, 0, nr_cpus) loop iterates up to nr_cpus - 1 (511), which perfectly aligns with the maximum valid index of the bitmask.

Change the condition to nr_cpus > CPUMASK_TEST_MASKLEN * 8 to fix the false positive failure on these systems.

---
 tools/testing/selftests/bpf/progs/cpumask_success.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/progs/cpumask_success.c +1 -1
index 0e04c31b91c0c0..774706e7b058b9 100644
@@ -866,7 +866,7 @@ int BPF_PROG(test_populate, struct task_struct *task, u64 clone_flags)
 	 * access NR_CPUS, the upper bound for nr_cpus, so we infer
 	 * it from the size of cpumask_t.
 	 */
-	if (nr_cpus < 0 || nr_cpus >= CPUMASK_TEST_MASKLEN * 8) {
+	if (nr_cpus < 0 || nr_cpus > CPUMASK_TEST_MASKLEN * 8) {
 		err = 3;
 		goto out;
 	}
Signature · 1 line
2.53.0
author maintainer
#67 lore raw

PATCH 67/2077 dt-bindings: timer: Remove sifive,fine-ctr-bits property

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Nick Hu <[email protected]>

[ Upstream commit 1ccca10755107bc8c649937d1ba69651d1ef9da2 ]

The counter width can be inferred from the compatible string, making the explicit "sifive,fine-ctr-bits" property redundant. Remove the property to simplify the bindings.

---
 .../devicetree/bindings/timer/sifive,clint.yaml  | 16 ----------------
 1 file changed, 16 deletions(-)
Documentation/devicetree/bindings/timer/sifive,clint.yaml +0 -16
index 3c16b260db040d..051edb1da0d739 100644
@@ -72,22 +72,6 @@ properties:
     minItems: 1
     maxItems: 4095
 
-  sifive,fine-ctr-bits:
-    maximum: 15
-    description: The width in bits of the fine counter.
-
-if:
-  properties:
-    compatible:
-      contains:
-        const: sifive,clint2
-then:
-  required:
-    - sifive,fine-ctr-bits
-else:
-  properties:
-    sifive,fine-ctr-bits: false
-
 additionalProperties: false
 
 required:
Signature · 1 line
2.53.0
author maintainer
#68 lore raw

PATCH 68/2077 wifi: ath12k: Fix invalid IRQ requests during AHB probe

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Aaradhana Sahu <[email protected]>

[ Upstream commit 590182b72213ef04977ab0b16b8dadfcfd25ff73 ]

ath12k_ahb_config_ext_irq() iterates over ATH12K_EXT_IRQ_NUM_MAX (16) entries while checking TX ring masks, but the tcl_to_wbm_rbm_map array contains only DP_TCL_NUM_RING_MAX (4) valid elements.

When the iterator (j) is greater than or equal to DP_TCL_NUM_RING_MAX, it accesses tcl_to_wbm_rbm_map[j] out of bounds. This results in reading uninitialized memory for wbm_ring_num, causing the driver to evaluate incorrect BIT() conditions and request IRQs for rings that do not have an assigned interrupt line or device tree entry.

This leads to request_irq() failures with -ENXIO or -EINVAL during ath12k AHB probe.

Fix this by splitting the loop into two separate loops: one iterating over DP_TCL_NUM_RING_MAX for TX ring, and another iterating over ATH12K_EXT_IRQ_NUM_MAX for remaining IRQ entries.
Also add a bounds check for num_irq.

Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.6-01275-QCAHKSWPL_SILICONZ-1

---
 drivers/net/wireless/ath/ath12k/ahb.c | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)
drivers/net/wireless/ath/ath12k/ahb.c +15 -10
index 2dcf0a52e4c15b..30733a244454e5 100644
@@ -583,31 +583,36 @@ static int ath12k_ahb_config_ext_irq(struct ath12k_base *ab)
 		netif_napi_add(irq_grp->napi_ndev, &irq_grp->napi,
 			       ath12k_ahb_ext_grp_napi_poll);
 
-		for (j = 0; j < ATH12K_EXT_IRQ_NUM_MAX; j++) {
-			/* For TX ring, ensure that the ring mask and the
-			 * tcl_to_wbm_rbm_map point to the same ring number.
-			 */
+		for (j = 0; j < DP_TCL_NUM_RING_MAX; j++) {
 			if (ring_mask->tx[i] &
-			    BIT(ab->hal.tcl_to_wbm_rbm_map[j].wbm_ring_num)) {
+			    BIT(ab->hal.tcl_to_wbm_rbm_map[j].wbm_ring_num) &&
+			    num_irq < ATH12K_EXT_IRQ_NUM_MAX) {
 				irq_grp->irqs[num_irq++] =
 					wbm2host_tx_completions_ring1 - j;
 			}
+		}
 
-			if (ring_mask->rx[i] & BIT(j)) {
+		for (j = 0; j < ATH12K_EXT_IRQ_NUM_MAX; j++) {
+			if (ring_mask->rx[i] & BIT(j) &&
+			    num_irq < ATH12K_EXT_IRQ_NUM_MAX) {
 				irq_grp->irqs[num_irq++] =
 					reo2host_destination_ring1 - j;
 			}
 
-			if (ring_mask->rx_err[i] & BIT(j))
+			if (ring_mask->rx_err[i] & BIT(j) &&
+			    num_irq < ATH12K_EXT_IRQ_NUM_MAX)
 				irq_grp->irqs[num_irq++] = reo2host_exception;
 
-			if (ring_mask->rx_wbm_rel[i] & BIT(j))
+			if (ring_mask->rx_wbm_rel[i] & BIT(j) &&
+			    num_irq < ATH12K_EXT_IRQ_NUM_MAX)
 				irq_grp->irqs[num_irq++] = wbm2host_rx_release;
 
-			if (ring_mask->reo_status[i] & BIT(j))
+			if (ring_mask->reo_status[i] & BIT(j) &&
+			    num_irq < ATH12K_EXT_IRQ_NUM_MAX)
 				irq_grp->irqs[num_irq++] = reo2host_status;
 
-			if (ring_mask->rx_mon_dest[i] & BIT(j))
+			if (ring_mask->rx_mon_dest[i] & BIT(j) &&
+			    num_irq < ATH12K_EXT_IRQ_NUM_MAX)
 				irq_grp->irqs[num_irq++] =
 					rxdma2host_monitor_destination_mac1;
 		}
Signature · 1 line
2.53.0
author maintainer
#69 lore raw

PATCH 69/2077 libbpf: Fix deduplication of typedef with base definitions

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Antoine Tenart <[email protected]>

[ Upstream commit 0831b110eb4591e4ad8c5fd0d8f0f3f9979a5ff5 ]

When deduplicating definitions for a module, typedef defined in the base are not removed. This is because the hash used for base types differs from the one used in the deduplication logic in btf_dedup_struct_type.

This was introduced by the referenced commit when moving the typedef deduplication logic handling from btf_dedup_ref_type to btf_dedup_struct_type, as this also changed the hash logic (btf_hash_common to btf_hash_typedef).

This also impacts other types referencing those typedef (e.g. const). In my test, the BTF section size of the openvswitch module went from 31KB to 45KB.

Fixes 3781413465df ("libbpf: Fix BTF dedup to support recursive typedef definitions").
---
 tools/lib/bpf/btf.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/lib/bpf/btf.c +3 -1
index ceb57b46a8782a..771aeaa0262b29 100644
@@ -4578,12 +4578,14 @@ static int btf_dedup_prep(struct btf_dedup *d)
 		case BTF_KIND_RESTRICT:
 		case BTF_KIND_PTR:
 		case BTF_KIND_FWD:
-		case BTF_KIND_TYPEDEF:
 		case BTF_KIND_FUNC:
 		case BTF_KIND_FLOAT:
 		case BTF_KIND_TYPE_TAG:
 			h = btf_hash_common(t);
 			break;
+		case BTF_KIND_TYPEDEF:
+			h = btf_hash_typedef(t);
+			break;
 		case BTF_KIND_INT:
 		case BTF_KIND_DECL_TAG:
 			h = btf_hash_int_decl_tag(t);
Signature · 1 line
2.53.0
author maintainer
#70 lore raw

PATCH 70/2077 drm/amd/pm: remove trailing semicolon from AMDGPU_PM_POLICY_ATTR macro

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Yang Wang <[email protected]>

[ Upstream commit 0d892afb52d2b940d891b6b52dc9f04debef2d81 ]

macros should not include a trailing semicolon as per kernel coding style (checkpatch.pl warning).

move the semicolon from the macro definition to the invocation sites instead.

checkpatch.pl logs:
WARNING: macros should not use a trailing semicolon
+#define AMDGPU_PM_POLICY_ATTR(_name, _id) \
+ static struct amdgpu_pm_policy_attr pm_policy_attr_##_name = { \
+ .dev_attr = __ATTR(_name, 0644, amdgpu_get_pm_policy_attr, \
+ amdgpu_set_pm_policy_attr), \
+ .id = PP_PM_POLICY_##_id, \
+ };

Fixes 4d154b1ca580 ("drm/amd/pm: Add support for DPM policies")
---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/pm/amdgpu_pm.c +3 -3
index 736304e73ca4d1..024bfdb7c1571c 100644
@@ -2505,12 +2505,12 @@ static ssize_t amdgpu_set_pm_policy_attr(struct device *dev,
 		.dev_attr = __ATTR(_name, 0644, amdgpu_get_pm_policy_attr, \
 				   amdgpu_set_pm_policy_attr),             \
 		.id = PP_PM_POLICY_##_id,                                  \
-	};
+	}
 
 #define AMDGPU_PM_POLICY_ATTR_VAR(_name) pm_policy_attr_##_name.dev_attr.attr
 
-AMDGPU_PM_POLICY_ATTR(soc_pstate, SOC_PSTATE)
-AMDGPU_PM_POLICY_ATTR(xgmi_plpd, XGMI_PLPD)
+AMDGPU_PM_POLICY_ATTR(soc_pstate, SOC_PSTATE);
+AMDGPU_PM_POLICY_ATTR(xgmi_plpd, XGMI_PLPD);
 
 static struct attribute *pm_policy_attrs[] = {
 	&AMDGPU_PM_POLICY_ATTR_VAR(soc_pstate),
Signature · 1 line
2.53.0
author maintainer
#71 lore raw

PATCH 71/2077 spi: atcspi200: fix use-after-free when driver unbind

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Felix Gu <[email protected]>

[ Upstream commit 565bdf45125a05aa8f622f58f598283f46ba43f4 ]

DMA resource is initialized after SPI controller registration. So when driver unbind, this can trigger a use-after-free when DMA is torn down while the controller is still alive and triggers DMA transfers.

Fixes 34e3815ea459 ("spi: atcspi200: Add ATCSPI200 SPI controller driver")
---
 drivers/spi/spi-atcspi200.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
drivers/spi/spi-atcspi200.c +7 -6
index 3832d9db3cbf84..c5cf1aa2d67438 100644
@@ -575,12 +575,6 @@ static int atcspi_probe(struct platform_device *pdev)
 	if (ret)
 		goto free_controller;
 
-	ret = devm_spi_register_controller(&pdev->dev, host);
-	if (ret) {
-		dev_err_probe(spi->dev, ret,
-			      "Failed to register SPI controller\n");
-		goto free_controller;
-	}
 	spi->use_dma = false;
 	if (ATCSPI_DMA_SUPPORT) {
 		ret = atcspi_configure_dma(spi);
@@ -591,6 +585,13 @@ static int atcspi_probe(struct platform_device *pdev)
 			spi->use_dma = true;
 	}
 
+	ret = devm_spi_register_controller(&pdev->dev, host);
+	if (ret) {
+		dev_err_probe(spi->dev, ret,
+			      "Failed to register SPI controller\n");
+		goto free_controller;
+	}
+
 	return 0;
 
 free_controller:
Signature · 1 line
2.53.0
author maintainer
#72 lore raw

PATCH 72/2077 selftests/bpf: Use local type for flow_offload_tuple_rhash in xdp_flowtable

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Gregory Bell <[email protected]>

[ Upstream commit ac985e7bf840e34a8dafe0808cc571fd85896c30 ]

Define flow_offload_tuple_rhash___local and use it in place of the forward-declared kernel type for the bpf_xdp_flow_lookup kfunc return type and tuplehash variable. This is consistent with how bpf_flowtable_opts___local is already handled in the same file and avoids relying on a forward declaration of the struct.

Fixes eeb23b54e447 ("selftests/bpf: fix compilation failure when CONFIG_NF_FLOW_TABLE=m")
---
 tools/testing/selftests/bpf/progs/xdp_flowtable.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
tools/testing/selftests/bpf/progs/xdp_flowtable.c +5 -2
index 7fdc7b23ee7498..e67daa02749d54 100644
@@ -15,7 +15,10 @@ struct bpf_flowtable_opts___local {
 	s32 error;
 };
 
-struct flow_offload_tuple_rhash *
+struct flow_offload_tuple_rhash___local {
+};
+
+struct flow_offload_tuple_rhash___local *
 bpf_xdp_flow_lookup(struct xdp_md *, struct bpf_fib_lookup *,
 		    struct bpf_flowtable_opts___local *, u32) __ksym;
 
@@ -67,7 +70,7 @@ int xdp_flowtable_do_lookup(struct xdp_md *ctx)
 {
 	void *data_end = (void *)(long)ctx->data_end;
 	struct bpf_flowtable_opts___local opts = {};
-	struct flow_offload_tuple_rhash *tuplehash;
+	struct flow_offload_tuple_rhash___local *tuplehash;
 	struct bpf_fib_lookup tuple = {
 		.ifindex = ctx->ingress_ifindex,
 	};
Signature · 1 line
2.53.0
author maintainer
#73 lore raw

PATCH 73/2077 selftests/bpf: Use local type for bpf_fou_encap in test_tunnel_kern

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Gregory Bell <[email protected]>

[ Upstream commit afb0450be061907a0f5d36bd8b010ca30eda3d3b ]

Replace the forward-declared struct bpf_fou_encap with the existing bpf_fou_encap___local type in the bpf_skb_set_fou_encap and bpf_skb_get_fou_encap declarations. This removes the need for the forward declaration and the explicit casts at each call.

Fixes d17f9b370df6 ("selftests/bpf: Fix compilation failure when CONFIG_NET_FOU!=y")
---
 .../testing/selftests/bpf/progs/test_tunnel_kern.c  | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
tools/testing/selftests/bpf/progs/test_tunnel_kern.c +6 -7
index 32127f1cd6872e..30f1de458669d3 100644
@@ -6,6 +6,7 @@
  * modify it under the terms of version 2 of the GNU General Public
  * License as published by the Free Software Foundation.
  */
+#define BPF_NO_KFUNC_PROTOTYPES
 #include "vmlinux.h"
 #include <bpf/bpf_core_read.h>
 #include <bpf/bpf_helpers.h>
@@ -36,12 +37,10 @@ enum bpf_fou_encap_type___local {
 	FOU_BPF_ENCAP_GUE___local,
 };
 
-struct bpf_fou_encap;
-
 int bpf_skb_set_fou_encap(struct __sk_buff *skb_ctx,
-			  struct bpf_fou_encap *encap, int type) __ksym;
+			  struct bpf_fou_encap___local *encap, int type) __ksym;
 int bpf_skb_get_fou_encap(struct __sk_buff *skb_ctx,
-			  struct bpf_fou_encap *encap) __ksym;
+			  struct bpf_fou_encap___local *encap) __ksym;
 struct xfrm_state *
 bpf_xdp_get_xfrm_state(struct xdp_md *ctx, struct bpf_xfrm_state_opts *opts,
 		       u32 opts__sz) __ksym;
@@ -781,7 +780,7 @@ int ipip_gue_set_tunnel(struct __sk_buff *skb)
 	encap.sport = 0;
 	encap.dport = bpf_htons(5555);
 
-	ret = bpf_skb_set_fou_encap(skb, (struct bpf_fou_encap *)&encap,
+	ret = bpf_skb_set_fou_encap(skb, &encap,
 				    bpf_core_enum_value(enum bpf_fou_encap_type___local,
 							FOU_BPF_ENCAP_GUE___local));
 	if (ret < 0) {
@@ -820,7 +819,7 @@ int ipip_fou_set_tunnel(struct __sk_buff *skb)
 	encap.sport = 0;
 	encap.dport = bpf_htons(5555);
 
-	ret = bpf_skb_set_fou_encap(skb, (struct bpf_fou_encap *)&encap,
+	ret = bpf_skb_set_fou_encap(skb, &encap,
 				    FOU_BPF_ENCAP_FOU___local);
 	if (ret < 0) {
 		log_err(ret);
@@ -843,7 +842,7 @@ int ipip_encap_get_tunnel(struct __sk_buff *skb)
 		return TC_ACT_SHOT;
 	}
 
-	ret = bpf_skb_get_fou_encap(skb, (struct bpf_fou_encap *)&encap);
+	ret = bpf_skb_get_fou_encap(skb, &encap);
 	if (ret < 0) {
 		log_err(ret);
 		return TC_ACT_SHOT;
Signature · 1 line
2.53.0
author maintainer
#74 lore raw

PATCH 74/2077 Documentation: proc: fix section numbering in table of contents

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Baolin Liu <[email protected]>

[ Upstream commit 97a7bd8c2c58a6d820df563d1d0f68aafec45477 ]

Commit e24ccaaf7ec4 ("block: remove last remaining traces of IDE documentation") removed the IDE section but left its table of contents entry behind.
Fix the stale entry and renumber the following sections.

Fixes e24ccaaf7ec4 ("block: remove last remaining traces of IDE documentation")

Message-ID: <[email protected]>

---
 Documentation/filesystems/proc.rst | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
Documentation/filesystems/proc.rst +7 -7
index db6167befb7b2c..3c6e4f52f3e4ef 100644
@@ -23,13 +23,13 @@ fixes/update part 1.1  Stefani Seibold <[email protected]>    June 9 2009
   1	Collecting System Information
   1.1	Process-Specific Subdirectories
   1.2	Kernel data
-  1.3	IDE devices in /proc/ide
-  1.4	Networking info in /proc/net
-  1.5	SCSI info
-  1.6	Parallel port info in /proc/parport
-  1.7	TTY info in /proc/tty
-  1.8	Miscellaneous kernel statistics in /proc/stat
-  1.9	Ext4 file system parameters
+  1.3	Networking info in /proc/net
+  1.4	SCSI info
+  1.5	Parallel port info in /proc/parport
+  1.6	TTY info in /proc/tty
+  1.7	Miscellaneous kernel statistics in /proc/stat
+  1.8	Ext4 file system parameters
+  1.9	/proc/consoles - Shows registered system consoles
 
   2	Modifying System Parameters
 
Signature · 1 line
2.53.0
author maintainer
#39 lore raw

PATCH 39/2077 fbcon: fix NULL pointer dereference for a console without vc_data

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ian Bridges <[email protected]>

commit 5fae9a928482d4845bca169a3a098789203a1ca4 upstream.

fbcon_new_modelist() runs when a framebuffer's modelist changes. For each console mapped to it with fb_display[i].mode set, it reads vc_cons[i].d and passes the vc_num to fbcon_set_disp(). This assumes a console with a mode set has a vc_data, but it can be NULL. fbcon_set_disp() sets fb_display[i].mode before it checks vc_data, and fbcon_deinit() leaves the mode set after the vc_data is freed. fbcon_new_modelist() then dereferences the NULL vc_data.

Keep fb_display[i].mode set only while the console has a vc_data. Check vc_data before setting the mode in fbcon_set_disp(), and clear the mode in fbcon_deinit(). The existing mode check in fbcon_new_modelist() then skips such consoles.

---
 drivers/video/fbdev/core/fbcon.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/video/fbdev/core/fbcon.c +4 -3
@@ -1274,6 +1274,7 @@ static void fbcon_deinit(struct vc_data
 	int idx;
 
 	fbcon_free_font(p);
+	p->mode = NULL;
 	idx = con2fb_map[vc->vc_num];
 
 	if (idx == -1)
@@ -1445,14 +1446,14 @@ static void fbcon_set_disp(struct fb_inf
 
 	p = &fb_display[unit];
 
-	if (var_to_display(p, var, info))
-		return;
-
 	vc = vc_cons[unit].d;
 
 	if (!vc)
 		return;
 
+	if (var_to_display(p, var, info))
+		return;
+
 	default_mode = vc->vc_display_fg;
 	svc = *default_mode;
 	t = &fb_display[svc->vc_num];
author maintainer
#75 lore raw

PATCH 75/2077 arm64: dts: rockchip: Fix vdec register blocks order on RK3576

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Cristian Ciocaltea <[email protected]>

[ Upstream commit 63fd2f6aa402a105fa22ede6f3c35dafd64827a5 ]

When building device trees for the RK3576 based boards, DTC shows the following complaint:

rk3576.dtsi:1282.30-1304.5: Warning (simple_bus_reg): /soc/video-codec@27b00000: simple-bus unit address format error, expected "27b00100"

Since the video decoder support for the aforementioned SoC in mainline driver and devicetrees hasn't been released yet (just landed in v7.0-rc1), fix the issue by providing the register blocks using the 'link,function,cache' listing, which follows the address-based order as shown in the vendor's datasheet and, implicitly, ensures the unit address points to the primary register range.

Fixes da0de806d8b4 ("arm64: dts: rockchip: Add the vdpu383 Video Decoder on rk3576")
---
 arch/arm64/boot/dts/rockchip/rk3576.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/rockchip/rk3576.dtsi +3 -3
index 28175d8200d57c..e12a2a0cfb8916 100644
@@ -1281,10 +1281,10 @@ gpu: gpu@27800000 {
 
 		vdec: video-codec@27b00000 {
 			compatible = "rockchip,rk3576-vdec";
-			reg = <0x0 0x27b00100 0x0 0x500>,
-			      <0x0 0x27b00000 0x0 0x100>,
+			reg = <0x0 0x27b00000 0x0 0x100>,
+			      <0x0 0x27b00100 0x0 0x500>,
 			      <0x0 0x27b00600 0x0 0x100>;
-			reg-names = "function", "link", "cache";
+			reg-names = "link", "function", "cache";
 			interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cru ACLK_RKVDEC_ROOT>, <&cru HCLK_RKVDEC>,
 				 <&cru ACLK_RKVDEC_ROOT_BAK>, <&cru CLK_RKVDEC_CORE>,
Signature · 1 line
2.53.0
author maintainer
#76 lore raw

PATCH 76/2077 arm64: dts: rockchip: Update vdec register blocks order on RK3588

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Cristian Ciocaltea <[email protected]>

[ Upstream commit b481c11cd20a114c4df35f3b1ecd28b05e622067 ]

With the introduction of the RK3588 SoC, three register blocks have been provided for the video decoder unit instead of just one, which are further referenced in the vendor's datasheet by 'link table', 'function' and 'cache'. The former is present at the top of the listing, starting at video decoder unit base address, but the binding got this wrong initially, i.e. the 'function' block got listed before the 'link' one.

Since the video decoder support for the aforementioned SoC in mainline driver and devicetrees hasn't been released yet (just landed in v7.0-rc1), address the problem by providing the register blocks for vdec0 & vdec1 nodes using the 'link,function,cache' listing, which ensures the unit address points to the primary register range.

This aligns with a similar fix for RK3576, where DTC also complained about the bus address format.

Fixes f61731bd6062 ("arm64: dts: rockchip: Add the vdpu381 Video Decoders on RK3588")
---
 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi +6 -6
index 4fb8888c281c8c..d4dc057e31f0e3 100644
@@ -1355,10 +1355,10 @@ vepu121_3_mmu: iommu@fdbac800 {
 
 	vdec0: video-codec@fdc38000 {
 		compatible = "rockchip,rk3588-vdec";
-		reg = <0x0 0xfdc38100 0x0 0x500>,
-		      <0x0 0xfdc38000 0x0 0x100>,
+		reg = <0x0 0xfdc38000 0x0 0x100>,
+		      <0x0 0xfdc38100 0x0 0x500>,
 		      <0x0 0xfdc38600 0x0 0x100>;
-		reg-names = "function", "link", "cache";
+		reg-names = "link", "function", "cache";
 		interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH 0>;
 		clocks = <&cru ACLK_RKVDEC0>, <&cru HCLK_RKVDEC0>, <&cru CLK_RKVDEC0_CA>,
 			 <&cru CLK_RKVDEC0_CORE>, <&cru CLK_RKVDEC0_HEVC_CA>;
@@ -1387,10 +1387,10 @@ vdec0_mmu: iommu@fdc38700 {
 
 	vdec1: video-codec@fdc40000 {
 		compatible = "rockchip,rk3588-vdec";
-		reg = <0x0 0xfdc40100 0x0 0x500>,
-		      <0x0 0xfdc40000 0x0 0x100>,
+		reg = <0x0 0xfdc40000 0x0 0x100>,
+		      <0x0 0xfdc40100 0x0 0x500>,
 		      <0x0 0xfdc40600 0x0 0x100>;
-		reg-names = "function", "link", "cache";
+		reg-names = "link", "function", "cache";
 		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>;
 		clocks = <&cru ACLK_RKVDEC1>, <&cru HCLK_RKVDEC1>, <&cru CLK_RKVDEC1_CA>,
 			 <&cru CLK_RKVDEC1_CORE>, <&cru CLK_RKVDEC1_HEVC_CA>;
Signature · 1 line
2.53.0
author maintainer
#77 lore raw

PATCH 77/2077 arm64: dts: rockchip: fix Ethernet PHY not found on PX30 Cobra

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Quentin Schulz <[email protected]>

[ Upstream commit 6598ed3586a4b1cc79423666e66b9861631a6c7e ]

When not passing the PHY ID with an ethernet-phy-idX.Y compatible property, the MDIO bus will attempt to auto-detect the PHY by reading its registers and then probing the appropriate driver. For this to work, the PHY needs to be in a working state.

Unfortunately, the net subsystem doesn't control the PHY reset GPIO when attempting to auto-detect the PHY. This means the PHY needs to be in a working state when entering the Linux kernel. This historically has been the case for this device, but only because the bootloader was taking care of initializing the Ethernet controller even when not using it. We're attempting to support the removal of the network stack in the bootloader, which means the Linux kernel will be entered with the PHY still in reset and now Ethernet doesn't work anymore.

The devices in the field only ever had a TI DP83825, so let's simply bypass the auto-detection mechanism entirely by passing the appropriate PHY IDs via the compatible.

Fixes bb510ddc9d3e ("arm64: dts: rockchip: add px30-cobra base dtsi and board variants")
---
 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/px30-cobra.dtsi +1 -1
index b7e669d8ba4d14..add917af5de783 100644
@@ -397,7 +397,7 @@ &io_domains {
 
 &mdio {
 	dp83825: ethernet-phy@0 {
-		compatible = "ethernet-phy-ieee802.3-c22";
+		compatible = "ethernet-phy-id2000.a140";
 		reg = <0x0>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&phy_rst>;
Signature · 1 line
2.53.0
author maintainer
#78 lore raw

PATCH 78/2077 arm64: dts: rockchip: Fix gmac0 reset pin for NanoPi R5S

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Diederik de Haas <[email protected]>

[ Upstream commit c83c4a09d4c01c91d6c52d6d4d77a06892a3e83b ]

According to the NanoPi R5S 2204 schematic on page 6, GPIO0_C4 is for GMAC0_INT/PMEB_GPIO0_C4, while GPIO0_C5 is for GMAC0_RSTn_GPIO0_C5. While the 'reset-gpios' property was set correctly, the corresponding pinctrl didn't match that.

Next to fixing the pinctrl definition, also change the node name and phandle to match what is used in the schematic.

Fixes c6629b9a6738 ("arm64: dts: rockchip: Add FriendlyElec Nanopi R5S")
---
 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts +3 -3
index 718d1a2da8e568..90ce6f0e1dcff7 100644
@@ -98,7 +98,7 @@ &mdio0 {
 	rgmii_phy0: ethernet-phy@1 {
 		compatible = "ethernet-phy-ieee802.3-c22";
 		reg = <1>;
-		pinctrl-0 = <&eth_phy0_reset_pin>;
+		pinctrl-0 = <&gmac0_rstn_gpio0_c5_pin>;
 		pinctrl-names = "default";
 	};
 };
@@ -132,8 +132,8 @@ &pcie3x2 {
 
 &pinctrl {
 	gmac0 {
-		eth_phy0_reset_pin: eth-phy0-reset-pin {
-			rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
+		gmac0_rstn_gpio0_c5_pin: gmac0-rstn-gpio0-c5-pin {
+			rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
 		};
 	};
 
Signature · 1 line
2.53.0
author maintainer
#79 lore raw

PATCH 79/2077 ima: Fix sigv3 signature handling for EVM_IMA_XATTR_DIGSIG

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Kamlesh Kumar <[email protected]>

[ Upstream commit 398ee113f15c1e8e62535e54f22fb4db340c7835 ]

ima_get_hash_algo() only recognizes version 2 signatures when the xattr type is EVM_IMA_XATTR_DIGSIG. Since sigv3 signatures also use EVM_IMA_XATTR_DIGSIG as the xattr type, version 3 must be accepted as well to correctly determine the hash algorithm.

Additionally, ima_validate_rule() does not include IMA_SIGV3_REQUIRED in the allowed flags bitmask for MODULE_CHECK, KEXEC_KERNEL_CHECK, and KEXEC_INITRAMFS_CHECK hook functions. As a result, policy rules with "appraise_type=sigv3" are rejected for these functions.

Add version 3 to the accepted versions in ima_get_hash_algo() for EVM_IMA_XATTR_DIGSIG, and add IMA_SIGV3_REQUIRED to the allowed flags for MODULE_CHECK, KEXEC_KERNEL_CHECK, and KEXEC_INITRAMFS_CHECK in ima_validate_rule().

Fixes de4c44a7f559 ("ima: add support to require IMA sigv3 signatures")
---
 security/integrity/ima/ima_appraise.c | 5 +++--
 security/integrity/ima/ima_policy.c   | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
security/integrity/ima/ima_appraise.c +3 -2
index de963b9f363447..2dd231567710a5 100644
@@ -195,8 +195,9 @@ enum hash_algo ima_get_hash_algo(const struct evm_ima_xattr_data *xattr_value,
 		return sig->hash_algo;
 	case EVM_IMA_XATTR_DIGSIG:
 		sig = (typeof(sig))xattr_value;
-		if (sig->version != 2 || xattr_len <= sizeof(*sig)
-		    || sig->hash_algo >= HASH_ALGO__LAST)
+		if ((sig->version != 2 && sig->version != 3) ||
+		    xattr_len <= sizeof(*sig) ||
+		    sig->hash_algo >= HASH_ALGO__LAST)
 			return ima_hash_algo;
 		return sig->hash_algo;
 	case IMA_XATTR_DIGEST_NG:
security/integrity/ima/ima_policy.c +2 -1
index f7f940a7692234..b1c010e8eb1387 100644
@@ -1313,7 +1313,8 @@ static bool ima_validate_rule(struct ima_rule_entry *entry)
 				     IMA_GID | IMA_EGID |
 				     IMA_FGROUP | IMA_DIGSIG_REQUIRED |
 				     IMA_PERMIT_DIRECTIO | IMA_MODSIG_ALLOWED |
-				     IMA_CHECK_BLACKLIST | IMA_VALIDATE_ALGOS))
+				     IMA_CHECK_BLACKLIST | IMA_VALIDATE_ALGOS |
+				     IMA_SIGV3_REQUIRED))
 			return false;
 
 		break;
Signature · 1 line
2.53.0
author maintainer
#80 lore raw

PATCH 80/2077 dt-bindings: net: bluetooth: qualcomm: Fix WCN6855 regulator names

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Konrad Dybcio <[email protected]>

[ Upstream commit 63b35a29d7ad2cafb0076f8b002b30fb74df053a ]

Commit 5f4f954bba12 ("dt-bindings: bluetooth: bring the HW description closer to reality for wcn6855") changed the vddrfa1p7-supply to 1p8 for whatever reason.

The schematics footprint for this chip definitely says 7 on the input leg and the driver still expects 1p7. Bring it back.

---
 .../devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.yaml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.yaml +2 -5
index 45630067d3c8ed..0beda26ae8bb45 100644
@@ -50,9 +50,6 @@ properties:
     description: VDD_RFA_1P7 supply regulator handle
     deprecated: true
 
-  vddrfa1p8-supply:
-    description: VDD_RFA_1P8 supply regulator handle
-
   vddrfacmn-supply:
     description: VDD_RFA_CMN supply regulator handle
 
@@ -68,7 +65,7 @@ required:
   - vddbtcmx-supply
   - vddrfa0p8-supply
   - vddrfa1p2-supply
-  - vddrfa1p8-supply
+  - vddrfa1p7-supply
   - vddrfacmn-supply
   - vddwlcx-supply
   - vddwlmx-supply
@@ -91,7 +88,7 @@ examples:
             vddbtcmx-supply = <&vreg_pmu_btcmx_0p8>;
             vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
             vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
-            vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
+            vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
             vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
             vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
             vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
Signature · 1 line
2.53.0
author maintainer
#81 lore raw

PATCH 81/2077 x86/bug: Add printf() validation to HAVE_ARCH_BUG_FORMAT_ARGS WARNs

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Sean Christopherson <[email protected]>

[ Upstream commit 40c4b47f41b95dff743c841536cb64014e65ef0c ]

Add explicit printf() validation for x86-64's newfangled WARN implementation, as most (all?) compilers fail to detect basic formatting issues without the annotation. E.g. even goofs like printing a u64 as a string aren't detected:

  WARN_ONCE(1, "Bad message, %s", vcpu->arch.last_guest_tsc);

32-bit x86 doesn't support HAVE_ARCH_BUG_FORMAT_ARGS and uses generic implementations that provide printf() validation. This means there's now a big blind spot is code that is strictly x86-64. Inconveniently, new features are also frequently x86-64-only.

Fix the blind 64-bit blind spot.

[ dhansen: changelog tweaks to flesh out the 64-bit-only details ]

Fixes 5b472b6e5bd9 ("x86_64/bug: Implement __WARN_printf()")
Fixes 11bb4944f014 ("x86/bug: Implement WARN_ONCE()")
---
 arch/x86/include/asm/bug.h | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/include/asm/bug.h +2 -0
index 80c1696d8d5978..bf3c802654d18a 100644
@@ -153,6 +153,7 @@ struct arch_va_list {
 	struct sysv_va_list args;
 };
 extern void *__warn_args(struct arch_va_list *args, struct pt_regs *regs);
+static __always_inline __printf(1, 2) void __WARN_validate_printf(const char *fmt, ...) { }
 #endif /* __ASSEMBLER__ */
 
 #define __WARN_bug_entry(flags, format) ({				\
@@ -172,6 +173,7 @@ extern void *__warn_args(struct arch_va_list *args, struct pt_regs *regs);
 #define __WARN_print_arg(flags, format, arg...)				\
 do {									\
 	int __flags = (flags) | BUGFLAG_WARNING | BUGFLAG_ARGS ;	\
+	__WARN_validate_printf(format, ## arg);				\
 	static_call_mod(WARN_trap)(__WARN_bug_entry(__flags, format), ## arg); \
 	asm (""); /* inhibit tail-call optimization */			\
 } while (0)
Signature · 1 line
2.53.0
author maintainer
#40 lore raw

PATCH 40/2077 fbcon: Use correct type for vc_resize() return value

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Jiacheng Yu <[email protected]>

commit 84202754fb1727dc3ee87f47104e4162ecc8ba3a upstream.

The return value of vc_resize() is int, but fbcon_set_disp() stores it in an unsigned long variable. While the !ret check happens to work correctly by coincidence (negative values become large positive values), the types should match. Use int instead.

Eliminates the following W=3 warning:

drivers/video/fbdev/core/fbcon.c: In function 'fbcon_set_disp':
drivers/video/fbdev/core/fbcon.c:1494:14: warning: implicit conversion from 'int' to 'unsigned long' [-Wconversion]

Fixes af0db3c1f898 ("fbdev: Fix vmalloc out-of-bounds write in fast_imageblit")
Cc [email protected] # v6.17+
---
 drivers/video/fbdev/core/fbcon.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/video/fbdev/core/fbcon.c +1 -2
@@ -1441,8 +1441,7 @@ static void fbcon_set_disp(struct fb_inf
 	struct vc_data **default_mode, *vc;
 	struct vc_data *svc;
 	struct fbcon_par *par = info->fbcon_par;
-	int rows, cols;
-	unsigned long ret = 0;
+	int rows, cols, ret;
 
 	p = &fb_display[unit];
 
author maintainer
#41 lore raw

PATCH 41/2077 soc: fsl: qe_ports_ic: Add missing cleanup on device removal

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Felix Gu <[email protected]>

[ Upstream commit 7dad18a179741dbad9f40799e549fa9111987c0c ]

Add a devm action handler to properly clean up the irq_domain and chained handler when the device is removed.

Fixes f0bcd784e1b7 ("soc: fsl: qe: Add an interrupt controller for QUICC Engine Ports")
---
 drivers/soc/fsl/qe/qe_ports_ic.c | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
drivers/soc/fsl/qe/qe_ports_ic.c +15 -6
index 8e2107e2cde5b2..5e3fae19f31417 100644
@@ -17,6 +17,7 @@
 struct qepic_data {
 	void __iomem *reg;
 	struct irq_domain *host;
+	int irq;
 };
 
 static void qepic_mask(struct irq_data *d)
@@ -92,11 +93,18 @@ static const struct irq_domain_ops qepic_host_ops = {
 	.map = qepic_host_map,
 };
 
+static void qepic_remove(void *res)
+{
+	struct qepic_data *data = res;
+
+	irq_set_chained_handler_and_data(data->irq, NULL, NULL);
+	irq_domain_remove(data->host);
+}
+
 static int qepic_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
 	struct qepic_data *data;
-	int irq;
 
 	data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL);
 	if (!data)
@@ -106,17 +114,18 @@ static int qepic_probe(struct platform_device *pdev)
 	if (IS_ERR(data->reg))
 		return PTR_ERR(data->reg);
 
-	irq = platform_get_irq(pdev, 0);
-	if (irq < 0)
-		return irq;
+	data->irq = platform_get_irq(pdev, 0);
+	if (data->irq < 0)
+		return data->irq;
 
 	data->host = irq_domain_add_linear(dev->of_node, 32, &qepic_host_ops, data);
 	if (!data->host)
 		return -ENODEV;
 
-	irq_set_chained_handler_and_data(irq, qepic_cascade, data);
+	irq_set_chained_handler_and_data(data->irq, qepic_cascade, data);
+
+	return devm_add_action_or_reset(dev, qepic_remove, data);
 
-	return 0;
 }
 
 static const struct of_device_id qepic_match[] = {
Signature · 1 line
2.53.0
author maintainer
#42 lore raw

PATCH 42/2077 openrisc: mm: Fix section mismatch between map_page and __set_fixmap

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Stafford Horne <[email protected]>

[ Upstream commit 431400d49cac4bac944fc2d989921003314667ae ]

This warning was reported by the kernel test robot:

WARNING: modpost: vmlinux: section mismatch in reference: __set_fixmap+0x84 (section: .text.unlikely) -> map_page.isra.0 (section: .init.text)

With commit 4735037b5d9b ("openrisc: Add text patching API support") the __set_fixmap function was moved out of the .init.text section. However, the map_page helper that it uses was not moved. This was not noticed on gcc 15.1.0 where map_page gets inlined unlike [email protected] which uses gcc 10.5.0.

Fix this by also moving the map_page helper function out of the init section.

---
 arch/openrisc/mm/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/openrisc/mm/init.c +1 -1
index 89d8c6df885511..db7c844faeeb62 100644
@@ -193,7 +193,7 @@ void __init mem_init(void)
 	return;
 }
 
-static int __init map_page(unsigned long va, phys_addr_t pa, pgprot_t prot)
+static int map_page(unsigned long va, phys_addr_t pa, pgprot_t prot)
 {
 	p4d_t *p4d;
 	pud_t *pud;
Signature · 1 line
2.53.0
author maintainer
#43 lore raw

PATCH 43/2077 clocksource/drivers/sun5i: Handle error returns from devm_reset_control_get_optional_exclusive()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Chen Ni <[email protected]>

[ Upstream commit fed9f727cc3f91dde8278961269419083502b40e ]

The devm_reset_control_get_optional_exclusive() function may return an ERR_PTR in case of genuine reset control acquisition errors, not just NULL which indicates the legitimate absence of an optional reset.

Add an IS_ERR() check after the call in sun5i_timer_probe(). On error, return the error code to ensure proper failure handling rather than proceeding with invalid pointers.

Fixes 7e5bac610d2f ("clocksource/drivers/sun5i: Convert to platform device driver")
---
 drivers/clocksource/timer-sun5i.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/clocksource/timer-sun5i.c +3 -0
index f827d3f98f60e6..d7e012992170b7 100644
@@ -286,6 +286,9 @@ static int sun5i_timer_probe(struct platform_device *pdev)
 	}
 
 	rstc = devm_reset_control_get_optional_exclusive(dev, NULL);
+	if (IS_ERR(rstc))
+		return dev_err_probe(dev, PTR_ERR(rstc),
+				     "failed to get reset\n");
 	if (rstc)
 		reset_control_deassert(rstc);
 
Signature · 1 line
2.53.0
author maintainer
#44 lore raw

PATCH 44/2077 accel/amdxdna: Fix leak when pinning ubuf pages

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Max Zhen <[email protected]>

[ Upstream commit d946347edc4f0a7b846325323d77e936a4c90d0f ]

When pin_user_pages_fast() returns fewer pages than requested, the pages that were successfully pinned are not released, leading to a leak.

Fix this by unpinning any partially pinned pages before returning failure.

Fixes bd72d4acda10 ("accel/amdxdna: Support user space allocated buffer")
---
 drivers/accel/amdxdna/amdxdna_ubuf.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/accel/amdxdna/amdxdna_ubuf.c +8 -4
index 85390e3cc9f982..0e0cd69cd1fbfc 100644
@@ -146,13 +146,17 @@ struct dma_buf *amdxdna_get_ubuf(struct drm_device *dev,
 		ret = pin_user_pages_fast(va_ent[i].vaddr, npages,
 					  FOLL_WRITE | FOLL_LONGTERM,
 					  &ubuf->pages[start]);
-		if (ret < 0 || ret != npages) {
-			ret = -ENOMEM;
+		if (ret >= 0) {
+			start += ret;
+			if (ret != npages) {
+				XDNA_ERR(xdna, "Partially pinned pages %d/%u", ret, npages);
+				ret = -ENOMEM;
+				goto destroy_pages;
+			}
+		} else {
 			XDNA_ERR(xdna, "Failed to pin pages ret %d", ret);
 			goto destroy_pages;
 		}
-
-		start += ret;
 	}
 
 	exp_info.ops = &amdxdna_ubuf_dmabuf_ops;
Signature · 1 line
2.53.0
author maintainer
#35 lore raw

PATCH 35/2077 afs: fix NULL pointer dereference in afs_get_tree()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Matvey Kovalev <[email protected]>

commit 0b70716081c6462be9b2928ad736d0d527b09678 upstream.

afs_alloc_sbi() uses kzalloc for memory allocation. And, if ctx->dyn_root is not null, as->cell and as->volume are null. In trace_afs_get_tree() they are dereferenced.

KASAN error message:

KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 2 PID: 18478 Comm: syz-executor.7 Not tainted 5.10.246-syzkaller #0
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
RIP: 0010:perf_trace_afs_get_tree+0x1d9/0x550

include/trace/events/afs.h:1365

Call Trace:
trace_afs_get_tree include/trace/events/afs.h:1365 [inline]
afs_get_tree+0x922/0x1350 fs/afs/super.c:599
vfs_get_tree+0x8e/0x300 fs/super.c:1572
do_new_mount fs/namespace.c:3011 [inline]
path_mount+0x14a5/0x2220 fs/namespace.c:3341
do_mount fs/namespace.c:3354 [inline]
__do_sys_mount fs/namespace.c:3562 [inline]
__se_sys_mount fs/namespace.c:3539 [inline]
__x64_sys_mount+0x283/0x300 fs/namespace.c:3539
 do_syscall_64+0x33/0x50 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x67/0xd1

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

---
 fs/afs/super.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
fs/afs/super.c +2 -1
@@ -587,7 +587,8 @@ static int afs_get_tree(struct fs_contex
 	}
 
 	fc->root = dget(sb->s_root);
-	trace_afs_get_tree(as->cell, as->volume);
+	if (!ctx->dyn_root)
+		trace_afs_get_tree(as->cell, as->volume);
 	_leave(" = 0 [%p]", sb);
 	return 0;
 
author maintainer
#83 lore raw

PATCH 83/2077 arm64: dts: qcom: sdm845-oneplus: Drop address from framebuffer node

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Heidelberg <[email protected]>

[ Upstream commit b379bb1470d864659ae9522b72f241a15255dce6 ]

This node has no 'reg' property, so it shouldn't have a unit address (after '@') either

Fixes b0d5c96e860c ("arm64: dts: qcom: sdm845-oneplus: Add framebuffer")
---
 arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +1 -1
index 6b7378cf4d493a..b0b9baf01ec292 100644
@@ -72,7 +72,7 @@ chosen {
 
 		stdout-path = "serial0:115200n8";
 
-		framebuffer: framebuffer@9d400000 {
+		framebuffer: framebuffer {
 			compatible = "simple-framebuffer";
 			memory-region = <&cont_splash_mem>;
 
Signature · 1 line
2.53.0
author maintainer
#92 lore raw

PATCH 92/2077 hfsplus: Add a sanity check for btree node size

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Edward Adam Davis <[email protected]>

[ Upstream commit 3f95e2661574ff13f099dd13456751933c280628 ]

Syzbot reported an uninit-value bug in [1] with a corrupted HFS+ image, during the file system mounting process, specifically while loading the catalog, a corrupted node_size value of 1 caused the rec_off argument passed to hfs_bnode_read_u16() (within hfs_bnode_find()) to be excessively large. Consequently, the function failed to return a valid value to initialize the off variable, triggering the bug [1].

Every node starts from BTree node descriptor: struct hfs_bnode_desc. So, the size of node cannot be lesser than that. However, technical specification declares that: "The node size (which is expressed in bytes) must be power of two, from 512 through 32,768, inclusive." Add a check for btree node size base on technical specification.

[1]

BUG: KMSAN: uninit-value in hfsplus_bnode_find+0x141c/0x1600 fs/hfsplus/bnode.c:584
 hfsplus_bnode_find+0x141c/0x1600 fs/hfsplus/bnode.c:584
 hfsplus_btree_open+0x169a/0x1e40 fs/hfsplus/btree.c:382
 hfsplus_fill_super+0x111f/0x2770 fs/hfsplus/super.c:553
 get_tree_bdev_flags+0x6e6/0x920 fs/super.c:1694
 get_tree_bdev+0x38/0x50 fs/super.c:1717
 hfsplus_get_tree+0x35/0x40 fs/hfsplus/super.c:709
 vfs_get_tree+0xb3/0x5d0 fs/super.c:1754
 fc_mount fs/namespace.c:1193 [inline]
---
 fs/hfsplus/btree.c         | 2 ++
 include/linux/hfs_common.h | 1 +
 2 files changed, 3 insertions(+)
fs/hfsplus/btree.c +2 -0
index 761c74ccd6531e..394542a47e6009 100644
@@ -365,6 +365,8 @@ struct hfs_btree *hfs_btree_open(struct super_block *sb, u32 id)
 	}
 
 	size = tree->node_size;
+	if (size < HFSPLUS_NODE_MINSZ || size > HFSPLUS_NODE_MXSZ)
+		goto fail_page;
 	if (!is_power_of_2(size))
 		goto fail_page;
 	if (!tree->node_count)
include/linux/hfs_common.h +1 -0
index 07dfc39630ab91..45fb4c9ff9f5ee 100644
@@ -513,6 +513,7 @@ struct hfs_btree_header_rec {
 /* HFS+ BTree misc info */
 #define HFSPLUS_TREE_HEAD			0
 #define HFSPLUS_NODE_MXSZ			32768
+#define HFSPLUS_NODE_MINSZ			512
 #define HFSPLUS_ATTR_TREE_NODE_SIZE		8192
 #define HFSPLUS_BTREE_HDR_NODE_RECS_COUNT	3
 #define HFSPLUS_BTREE_HDR_MAP_REC_INDEX		2	/* Map (bitmap) record in Header node */
Signature · 1 line
2.53.0
author maintainer
#93 lore raw

PATCH 93/2077 wifi: cfg80211: fix grammar in MLO group key error message

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Louis Kotze <[email protected]>

[ Upstream commit 9dcc1af3bbf5441f71a1e51b8d81bdf38a249607 ]

The error message emitted by nl80211_validate_key_link_id() when a group key install on an MLO wdev is missing the link ID reads "link ID must for MLO group key", which is missing the words "be set". This makes the error harder to grep and parse in userspace logs, and is reported verbatim by wpa_supplicant via its nl80211 extack relay, e.g.:

wpa_supplicant: nl80211: kernel reports: link ID must for MLO group key

The sibling error strings in the same helper already use grammatical phrasing ("link ID not allowed for pairwise key", "invalid link ID for MLO group key", "link ID not allowed for non-MLO group key"). Fix this one to match.

No functional change.

Fixes e7a7b84e3317 ("wifi: cfg80211: Add link_id parameter to various key operations for MLO")
---
 net/wireless/nl80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/wireless/nl80211.c +1 -1
index 76c537a6e8b52d..21e43e08b5d795 100644
@@ -5112,7 +5112,7 @@ static int nl80211_validate_key_link_id(struct genl_info *info,
 	if (wdev->valid_links) {
 		if (link_id == -1) {
 			GENL_SET_ERR_MSG(info,
-					 "link ID must for MLO group key");
+					 "link ID must be set for MLO group key");
 			return -EINVAL;
 		}
 		if (!(wdev->valid_links & BIT(link_id))) {
Signature · 1 line
2.53.0
author maintainer
#94 lore raw

PATCH 94/2077 arm64: tegra: Fix Tegra234 MGBE PTP clock

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Jon Hunter <[email protected]>

[ Upstream commit 8f0cc929a4bad534c5a860a53d88912cf16d9c9c ]

The Tegra MGBE PTP clock is incorrectly named as 'ptp-ref' and not 'ptp_ref' and this causing the initialisation of the PTP clock to fail. The device-tree binding doc for the device and the Tegra MGBE driver have been updated to use the correct name and so update the device-tree for Tegra234 as well.

Fixes 610cdf3186bc ("arm64: tegra: Add MGBE nodes on Tegra234")
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/nvidia/tegra234.dtsi +4 -4
index 04a95b6658caaa..18220cdac9f9bb 100644
@@ -3605,7 +3605,7 @@ ethernet@6800000 {
 				 <&bpmp TEGRA234_CLK_MGBE0_RX_PCS_M>,
 				 <&bpmp TEGRA234_CLK_MGBE0_RX_PCS>,
 				 <&bpmp TEGRA234_CLK_MGBE0_TX_PCS>;
-			clock-names = "mgbe", "mac", "mac-divider", "ptp-ref", "rx-input-m",
+			clock-names = "mgbe", "mac", "mac-divider", "ptp_ref", "rx-input-m",
 				      "rx-input", "tx", "eee-pcs", "rx-pcs-input", "rx-pcs-m",
 				      "rx-pcs", "tx-pcs";
 			resets = <&bpmp TEGRA234_RESET_MGBE0_MAC>,
@@ -3647,7 +3647,7 @@ ethernet@6900000 {
 				 <&bpmp TEGRA234_CLK_MGBE1_RX_PCS_M>,
 				 <&bpmp TEGRA234_CLK_MGBE1_RX_PCS>,
 				 <&bpmp TEGRA234_CLK_MGBE1_TX_PCS>;
-			clock-names = "mgbe", "mac", "mac-divider", "ptp-ref", "rx-input-m",
+			clock-names = "mgbe", "mac", "mac-divider", "ptp_ref", "rx-input-m",
 				      "rx-input", "tx", "eee-pcs", "rx-pcs-input", "rx-pcs-m",
 				      "rx-pcs", "tx-pcs";
 			resets = <&bpmp TEGRA234_RESET_MGBE1_MAC>,
@@ -3689,7 +3689,7 @@ ethernet@6a00000 {
 				 <&bpmp TEGRA234_CLK_MGBE2_RX_PCS_M>,
 				 <&bpmp TEGRA234_CLK_MGBE2_RX_PCS>,
 				 <&bpmp TEGRA234_CLK_MGBE2_TX_PCS>;
-			clock-names = "mgbe", "mac", "mac-divider", "ptp-ref", "rx-input-m",
+			clock-names = "mgbe", "mac", "mac-divider", "ptp_ref", "rx-input-m",
 				      "rx-input", "tx", "eee-pcs", "rx-pcs-input", "rx-pcs-m",
 				      "rx-pcs", "tx-pcs";
 			resets = <&bpmp TEGRA234_RESET_MGBE2_MAC>,
@@ -3731,7 +3731,7 @@ ethernet@6b00000 {
 				 <&bpmp TEGRA234_CLK_MGBE3_RX_PCS_M>,
 				 <&bpmp TEGRA234_CLK_MGBE3_RX_PCS>,
 				 <&bpmp TEGRA234_CLK_MGBE3_TX_PCS>;
-			clock-names = "mgbe", "mac", "mac-divider", "ptp-ref", "rx-input-m",
+			clock-names = "mgbe", "mac", "mac-divider", "ptp_ref", "rx-input-m",
 				      "rx-input", "tx", "eee-pcs", "rx-pcs-input", "rx-pcs-m",
 				      "rx-pcs", "tx-pcs";
 			resets = <&bpmp TEGRA234_RESET_MGBE3_MAC>,
Signature · 1 line
2.53.0
author maintainer
#95 lore raw

PATCH 95/2077 dt-bindings: pinctrl: nvidia,tegra234: Add missing required block

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 61b5deb5a968f7a82124f9b2591a6a151ed7273a ]

Binding should require 'reg' property, because address space cannot be missing in the hardware and is already needed by the Linux drivers. Require also 'compatible' by convention, although it is not strictly necessary.

Fixes 857982138b79 ("dt-bindings: pinctrl: Document Tegra234 pin controllers")
---
 .../bindings/pinctrl/nvidia,tegra234-pinmux-aon.yaml          | 4 ++++
 .../devicetree/bindings/pinctrl/nvidia,tegra234-pinmux.yaml   | 4 ++++
 2 files changed, 8 insertions(+)
Documentation/devicetree/bindings/pinctrl/nvidia,tegra234-pinmux-aon.yaml +4 -0
index db8224dfba2c1b..56fb9cf763ef7f 100644
@@ -58,6 +58,10 @@ patternProperties:
                     drive_soc_gpio27_pee6, drive_ao_retention_n_pee2,
                     drive_vcomp_alert_pee1, drive_hdmi_cec_pgg0 ]
 
+required:
+  - compatible
+  - reg
+
 unevaluatedProperties: false
 
 examples:
Documentation/devicetree/bindings/pinctrl/nvidia,tegra234-pinmux.yaml +4 -0
index f5a3a881dec4f0..bd305a34eee2b2 100644
@@ -115,6 +115,10 @@ patternProperties:
                     drive_sdmmc1_dat2_pj4, drive_sdmmc1_dat1_pj3,
                     drive_sdmmc1_dat0_pj2 ]
 
+required:
+  - compatible
+  - reg
+
 unevaluatedProperties: false
 
 examples:
Signature · 1 line
2.53.0
author maintainer
#96 lore raw

PATCH 96/2077 pinctrl: pinconf-generic: fix properties bitmap leak in parse_fw_cfg()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Felix Gu <[email protected]>

[ Upstream commit 352f5621b8c472bf328f452446bce85c00837223 ]

In parse_fw_cfg(), if fwnode_property_match_property_string() fails with -ENOENT, the code returns directly and leaks the bitmap.

Use __free(bitmap) for automatic cleanup to fix the leak.

Fixes 9c105255108b ("pinctrl: pinconf-generic: perform basic checks on pincfg properties")
---
 drivers/pinctrl/pinconf-generic.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/pinctrl/pinconf-generic.c +1 -4
index 64ed2830978871..07714912162809 100644
@@ -225,10 +225,9 @@ static int parse_fw_cfg(struct fwnode_handle *fwnode,
 			unsigned int count, unsigned long *cfg,
 			unsigned int *ncfg)
 {
-	unsigned long *properties;
 	int i, test;
 
-	properties = bitmap_zalloc(count, GFP_KERNEL);
+	unsigned long *properties __free(bitmap) = bitmap_zalloc(count, GFP_KERNEL);
 
 	for (i = 0; i < count; i++) {
 		u32 val;
@@ -263,7 +262,6 @@ static int parse_fw_cfg(struct fwnode_handle *fwnode,
 			if (ret) {
 				pr_err("%pfw: conflicting setting detected for %s\n",
 				       fwnode, par->property);
-				bitmap_free(properties);
 				return -EINVAL;
 			}
 		}
@@ -295,7 +293,6 @@ static int parse_fw_cfg(struct fwnode_handle *fwnode,
 		pr_err("%pfw: cannot have multiple drive configurations\n",
 		       fwnode);
 
-	bitmap_free(properties);
 	return 0;
 }
 
Signature · 1 line
2.53.0
author maintainer
#97 lore raw

PATCH 97/2077 drm/amdkfd: Validate CRIU-restored IDs before idr_alloc

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Srinivasan Shanmugam <[email protected]>

[ Upstream commit 85043dd49c2f51a37b22618168e3ae59ab92f0d6 ]

The KFD CRIU restore flow restores previously saved object IDs from userspace.

For event restore:

kfd_criu_restore_event()

      -> create_signal_event() / create_other_event()
          -> allocate_event_notification_slot()
              -> idr_alloc(..., *restore_id, *restore_id + 1, ...)

For BO restore:

criu_restore_memory_of_gpu()

      -> idr_alloc(..., bo_priv->idr_handle, ...)

In both cases, the restored ID comes from userspace-provided CRIU data.

idr_alloc() expects the ID range values to fit within signed int limits. If a restored ID is larger than INT_MAX, it can trigger a WARN in the IDR layer.

A kernel WARN is undesirable because it prints a warning trace and may cause a panic or reboot on systems with panic_on_warn enabled.

Smatch reported these paths as allowing unchecked userspace values to reach idr_alloc().

Add INT_MAX validation before using restored IDs in:

- kfd_criu_restore_event()
- criu_restore_memory_of_gpu()

If the restored ID is invalid, return -EINVAL.

This prevents invalid restore data from reaching the IDR layer and avoids WARN-triggering paths, while keeping valid restore behavior unchanged.

Fixes 40e8a766a761 ("drm/amdkfd: CRIU checkpoint and restore events")
Cc Felix Kuehling <[email protected]>
Cc David Yat Sin <[email protected]>
Cc Rajneesh Bhardwaj <[email protected]>
---
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 3 +++
 drivers/gpu/drm/amd/amdkfd/kfd_events.c  | 5 +++++
 2 files changed, 8 insertions(+)
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +3 -0
index 8785f7810157e1..78068b2c968567 100644
@@ -2362,6 +2362,9 @@ static int criu_restore_memory_of_gpu(struct kfd_process_device *pdd,
 	const bool criu_resume = true;
 	u64 offset;
 
+	if (bo_priv->idr_handle > INT_MAX)
+		return -EINVAL;
+
 	if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) {
 		if (bo_bucket->size !=
 				kfd_doorbell_process_slice(pdd->dev->kfd))
drivers/gpu/drm/amd/amdkfd/kfd_events.c +5 -0
index e65b323aafbf37..81900b49d9d5b5 100644
@@ -483,6 +483,11 @@ int kfd_criu_restore_event(struct file *devkfd,
 	}
 	*priv_data_offset += sizeof(*ev_priv);
 
+	if (ev_priv->event_id > INT_MAX) {
+		ret = -EINVAL;
+		goto exit;
+	}
+
 	if (ev_priv->user_handle) {
 		ret = kfd_kmap_event_page(p, ev_priv->user_handle);
 		if (ret)
Signature · 1 line
2.53.0
author maintainer
#98 lore raw

PATCH 98/2077 driver core: use READ_ONCE() for dev->driver in dev_has_sync_state()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Danilo Krummrich <[email protected]>

[ Upstream commit e9506871a8ea304cde48ff4a57226df2aadddae3 ]

dev_has_sync_state() reads dev->driver twice without holding device_lock() -- once for the NULL check and once to dereference ->sync_state. Some callers only hold device_links_write_lock, which doesn't prevent a concurrent unbind from clearing dev->driver via device_unbind_cleanup().

Fix it by reading dev->driver exactly once with READ_ONCE(), pairing with the WRITE_ONCE() in device_set_driver().

---
 include/linux/device.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
include/linux/device.h +4 -1
index 9c8fde6a3d866b..79a4a6549be8e3 100644
@@ -1065,9 +1065,12 @@ static inline void device_lock_assert(struct device *dev)
 
 static inline bool dev_has_sync_state(struct device *dev)
 {
+	struct device_driver *drv;
+
 	if (!dev)
 		return false;
-	if (dev->driver && dev->driver->sync_state)
+	drv = READ_ONCE(dev->driver);
+	if (drv && drv->sync_state)
 		return true;
 	if (dev->bus && dev->bus->sync_state)
 		return true;
Signature · 1 line
2.53.0
author maintainer
#99 lore raw

PATCH 99/2077 gpu: nova-core: use correct fwsignature for GA100

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Timur Tabi <[email protected]>

[ Upstream commit c1dca0cb0e761568c448a6007855fe5879ad4d37 ]

Although GA100 uses the same GSP-RM firmware as Turing, it has a different signature specifically for it.

Fixes 121ea04cd9f2 ("gpu: nova-core: add support for Turing/GA100 fwsignature")
---
 drivers/gpu/nova-core/firmware/gsp.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/nova-core/firmware/gsp.rs +1 -2
index 2fcc255c3bc81b..c423191b21f018 100644
@@ -138,8 +138,7 @@ impl GspFirmware {
                             ".fwsignature_tu11x"
                         }
                         Architecture::Turing => ".fwsignature_tu10x",
-                        // GA100 uses the same firmware as Turing
-                        Architecture::Ampere if chipset == Chipset::GA100 => ".fwsignature_tu10x",
+                        Architecture::Ampere if chipset == Chipset::GA100 => ".fwsignature_ga100",
                         Architecture::Ampere => ".fwsignature_ga10x",
                         Architecture::Ada => ".fwsignature_ad10x",
                     };
Signature · 1 line
2.53.0
author maintainer
#100 lore raw

PATCH 100/2077 wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Christos Longros <[email protected]>

[ Upstream commit 7068c379cf9aa8afe4dce4d9d82390187aa9c4d0 ]

rtw89 stores an ieee80211_hw pointer via pci_set_drvdata() at probe time, but io_error_detected() and io_resume() retrieve it as a net_device pointer. This causes netif_device_detach/attach to operate on an ieee80211_hw struct, reading and writing at wrong offsets. The adjacent io_slot_reset() already does it correctly.

Use ieee80211_stop_queues/wake_queues instead, consistent with every other queue stop/start path in the driver.

Tested on RTL8852CE by calling the handlers from a test module before and after the fix.

Fixes 16e3d93c6183 ("wifi: rtw89: pci: add PCI Express error handling")
---
 drivers/net/wireless/realtek/rtw89/pci.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/wireless/realtek/rtw89/pci.c +4 -4
index 43c61b3dc969f2..64554eb35a72cf 100644
@@ -4624,9 +4624,9 @@ EXPORT_SYMBOL(rtw89_pm_ops);
 static pci_ers_result_t rtw89_pci_io_error_detected(struct pci_dev *pdev,
 						    pci_channel_state_t state)
 {
-	struct net_device *netdev = pci_get_drvdata(pdev);
+	struct ieee80211_hw *hw = pci_get_drvdata(pdev);
 
-	netif_device_detach(netdev);
+	ieee80211_stop_queues(hw);
 
 	return PCI_ERS_RESULT_NEED_RESET;
 }
@@ -4643,12 +4643,12 @@ static pci_ers_result_t rtw89_pci_io_slot_reset(struct pci_dev *pdev)
 
 static void rtw89_pci_io_resume(struct pci_dev *pdev)
 {
-	struct net_device *netdev = pci_get_drvdata(pdev);
+	struct ieee80211_hw *hw = pci_get_drvdata(pdev);
 
 	/* ack any pending wake events, disable PME */
 	pci_enable_wake(pdev, PCI_D0, 0);
 
-	netif_device_attach(netdev);
+	ieee80211_wake_queues(hw);
 }
 
 const struct pci_error_handlers rtw89_pci_err_handler = {
Signature · 1 line
2.53.0
author maintainer
#101 lore raw

PATCH 101/2077 wifi: rtw88: fix wrong pci_get_drvdata type in AER handlers

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Chin-Yen Lee <[email protected]>

[ Upstream commit 706183dbef4a79d120d4e928f693bea50df496f8 ]

rtw88 stores an ieee80211_hw pointer via pci_set_drvdata() at probe time, but io_error_detected() and io_resume() retrieve it as a net_device pointer. This causes netif_device_detach/attach to operate on an ieee80211_hw struct, reading and writing at wrong offsets.

Use ieee80211_stop_queues/wake_queues instead, consistent with every other queue stop/start path in the driver.

Fixes cdb82c80b934 ("wifi: rtw88: pci: add PCI Express error handling")
---
 drivers/net/wireless/realtek/rtw88/pci.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/wireless/realtek/rtw88/pci.c +4 -4
index bba370ad510cf7..c56beacbb1b03f 100644
@@ -1711,9 +1711,9 @@ static void rtw_pci_napi_deinit(struct rtw_dev *rtwdev)
 static pci_ers_result_t rtw_pci_io_err_detected(struct pci_dev *pdev,
 						pci_channel_state_t state)
 {
-	struct net_device *netdev = pci_get_drvdata(pdev);
+	struct ieee80211_hw *hw = pci_get_drvdata(pdev);
 
-	netif_device_detach(netdev);
+	ieee80211_stop_queues(hw);
 
 	return PCI_ERS_RESULT_NEED_RESET;
 }
@@ -1730,12 +1730,12 @@ static pci_ers_result_t rtw_pci_io_slot_reset(struct pci_dev *pdev)
 
 static void rtw_pci_io_resume(struct pci_dev *pdev)
 {
-	struct net_device *netdev = pci_get_drvdata(pdev);
+	struct ieee80211_hw *hw = pci_get_drvdata(pdev);
 
 	/* ack any pending wake events, disable PME */
 	pci_enable_wake(pdev, PCI_D0, 0);
 
-	netif_device_attach(netdev);
+	ieee80211_wake_queues(hw);
 }
 
 const struct pci_error_handlers rtw_pci_err_handler = {
Signature · 1 line
2.53.0
author maintainer
#84 lore raw

PATCH 84/2077 arm64: dts: qcom: glymur: Fix USB simple_bus_reg warning

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit cd66b6d256f94e40922941e14d7f9390d35d072b ]

Correct the unit address of USB node in Qualcomm Glymur SoC DTSI to fix W=1 DTC warning:

glymur.dtsi:4027.23-4093.5: Warning (simple_bus_reg): /soc@0/usb@a2f8800: simple-bus unit address format error, expected "a200000"

---
 arch/arm64/boot/dts/qcom/glymur.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/glymur.dtsi +1 -1
index 82436984485d41..ab2a6b577bc9d0 100644
@@ -4016,7 +4016,7 @@ usb_2_dwc3_ss: endpoint {
 			};
 		};
 
-		usb_hs: usb@a2f8800 {
+		usb_hs: usb@a200000 {
 			compatible = "qcom,glymur-dwc3", "qcom,snps-dwc3";
 			reg = <0x0 0x0a200000 0x0 0xfc100>;
 
Signature · 1 line
2.53.0
author maintainer
#102 lore raw

PATCH 102/2077 wifi: rtw89: Correct data type for scan index to avoid infinite loop

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Shin-Yi Lin <[email protected]>

[ Upstream commit 08fdcb529df6df3562dd2b0035f88dd5be8b3c68 ]

A kernel soft lockup was observed during Wi-Fi scanning on the 6GHz band. The CPU becomes stuck in rtw89_hw_scan_add_chan_ax for over 20 seconds, leading to a system panic.

RIP points to 0f b6 c3 (movzbl %bl, %eax), which zero-extends the low 8 bits of RBX into RAX.
RBX (the counter i) has reached a huge value: 0x137466a1.

  watchdog: BUG: soft lockup - CPU#2 stuck for 26s! [kworker/u16:4:6124]
  Workqueue: events_unbound cfg80211_wiphy_work [cfg80211]
  RIP: 0010:rtw89_hw_scan_add_chan_ax+0xb3/0x6e0 [rtw89_core]
  Code: a0 48 89 45 a8 44 89 6d 9c 44 89 75 98 eb 29 66 66 2e 0f 1f
  84 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 83 c3 01
  <0f> b6 c3 41 3b 44 24 74 0f 83 0b 02 00 00 0f b6 c3 48 8d 14 80 49
  RSP: 0018:ffffcb48cbaa39f8 EFLAGS: 00000202
  RAX: 0000000000000005 RBX: 00000000137466a1 RCX: 0000000000000000
  RDX: ffff89ffc9d851a8 RSI: 0000000000004f0d RDI: 0000000096af0130
  RBP: ffffcb48cbaa3a60 R08: 0000000000000000 R09: ffff8a00b7502080
  R10: ffff8a00b75ff600 R11: 0000000000000000 R12: ffff89ffc7553870
  R13: ffff8a00b7ac8f19 R14: ffff8a00b75020d8 R15: ffff89ffc3d54d80
  FS:  0000000000000000(0000) GS:ffff8a014f962000(0000)
  knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00007558d7f9f4c4 CR3: 0000000178040001 CR4: 00000000001706f0
  Call Trace:
   <TASK>
   rtw89_hw_scan_prep_chan_list_ax+0x8a/0x400 [rtw89_core]
   rtw89_hw_scan_start+0x546/0x8a0 [rtw89_core]
   ? rtw89_fw_h2c_default_cmac_tbl+0x13c/0x1f0 [rtw89_core]
   rtw89_ops_hw_scan+0xae/0x120 [rtw89_core]
   drv_hw_scan+0xbb/0x180 [mac80211]
   __ieee80211_start_scan+0x2fc/0x750 [mac80211]
   ieee80211_request_scan+0xe/0x20 [mac80211]
   ieee80211_scan+0x123/0x190 [mac80211]
   rdev_scan+0x40/0x110 [cfg80211]
   cfg80211_scan_6ghz+0x5a1/0xa30 [cfg80211]

By objdump with source:

	for (i = 0; i < req->n_6ghz_params; i++) {

5fbc0: 83 c3 01 add $0x1,%ebx --> i++
5fbc3: 0f b6 c3 movzbl %bl,%eax --> get counter
fbc6: 41 3b 44 24 74 cmp 0x74(%r12),%eax

* RBX: 00000000137466a1 -> %bl = a1 -> EAX = 000000a1 (161)

Fixes c6aa9a9c4725 ("wifi: rtw89: add RNR support for 6 GHz scan")
---
 drivers/net/wireless/realtek/rtw89/fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtw89/fw.c +1 -1
index 17704f054727a9..089c9071b58f5b 100644
@@ -8318,7 +8318,7 @@ static int rtw89_update_6ghz_rnr_chan_ax(struct rtw89_dev *rtwdev,
 	struct sk_buff *skb;
 	bool found;
 	int ret = 0;
-	u8 i;
+	u32 i;
 
 	if (!req->n_6ghz_params)
 		return 0;
Signature · 1 line
2.53.0
author maintainer
#103 lore raw

PATCH 103/2077 wifi: rtw88: fix OOB read from firmware RX descriptor exceeding DMA buffer

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Tristan Madani <[email protected]>

[ Upstream commit 6e76e9ed273dfb4b3333a5ebbb94958cc5752ab6 ]

In rtw_pci_rx_napi(), new_len is computed as the sum of pkt_len (14-bit descriptor field, max 16383) and pkt_offset (drv_info_sz + shift, both firmware-controlled). The result can exceed RTK_PCI_RX_BUF_SIZE (11478), causing an out-of-bounds read from the pre-allocated DMA buffer when skb_put_data copies new_len bytes. The USB transport already validates this (rtw_usb_rx_data_put checks against RTW_USB_MAX_RECVBUF_SZ); the PCIe path does not.

Add a check that new_len does not exceed the DMA buffer size.

Fixes e3037485c68e ("rtw88: new Realtek 802.11ac driver")
---
 drivers/net/wireless/realtek/rtw88/pci.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/net/wireless/realtek/rtw88/pci.c +5 -0
index c56beacbb1b03f..c2bf44e880cf2d 100644
@@ -1077,6 +1077,11 @@ static u32 rtw_pci_rx_napi(struct rtw_dev *rtwdev, struct rtw_pci *rtwpci,
 		 * discard the frame if none available
 		 */
 		new_len = pkt_stat.pkt_len + pkt_offset;
+		if (unlikely(new_len > RTK_PCI_RX_BUF_SIZE)) {
+			rtw_dbg(rtwdev, RTW_DBG_RX,
+				"oversized RX packet: %u\n", new_len);
+			goto next_rp;
+		}
 		new = dev_alloc_skb(new_len);
 		if (WARN_ONCE(!new, "rx routine starvation\n"))
 			goto next_rp;
Signature · 1 line
2.53.0
author maintainer
#104 lore raw

PATCH 104/2077 wifi: rtw89: add bounds check on firmware mac_id in link lookup

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Tristan Madani <[email protected]>

[ Upstream commit 6d88244bb129755acca696f9227200f4a2d106a6 ]

The mac_id field in RX descriptors is 8 bits wide (0-255), but assoc_link_on_macid[] has only RTW89_MAX_MAC_ID_NUM (128) entries. While the driver currently assigns mac_id values below 128, the descriptor value comes from firmware and is not validated before use as an array index. Add a defensive bounds check in rtw89_assoc_link_rcu_dereference() to guard against out-of-range firmware values.

Fixes 144c6cd24b35 ("wifi: rtw89: 8922a: configure AP_LINK_PS if FW supports")
---
 drivers/net/wireless/realtek/rtw89/core.h | 3 +++
 1 file changed, 3 insertions(+)
drivers/net/wireless/realtek/rtw89/core.h +3 -0
index fd29dbbb120d2f..05adf20a65be1e 100644
@@ -6492,6 +6492,9 @@ static inline void rtw89_assoc_link_clr(struct rtw89_sta_link *rtwsta_link)
 static inline struct rtw89_sta_link *
 rtw89_assoc_link_rcu_dereference(struct rtw89_dev *rtwdev, u8 macid)
 {
+	if (unlikely(macid >= RTW89_MAX_MAC_ID_NUM))
+		return NULL;
+
 	return rcu_dereference(rtwdev->assoc_link_on_macid[macid]);
 }
 
Signature · 1 line
2.53.0
author maintainer
#105 lore raw

PATCH 105/2077 kconfig: fix potential NULL pointer dereference in conf_askvalue

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Xingjing Deng <[email protected]>

[ Upstream commit b9d21c32dca2167a614e66c9e27999b9e1c33d55 ]

In conf_askvalue(), the 'def' argument (retrieved via sym_get_string_value) can be NULL. While current call sites ensure that 'def' is valid, calling printf("%s\n", def) is technically undefined behavior and could lead to a segmentation fault on certain libc implementations if the function were called with a NULL pointer in the future.

Improve the robustness of conf_askvalue() by providing an empty string as a fallback.

Additionally, remove the redundant re-initialization of the 'line' buffer inside the !sym_is_changeable(sym) block, as it is already properly initialized at the function entry.

---
 scripts/kconfig/conf.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
scripts/kconfig/conf.c +2 -4
index a7b44cd8ae1408..c368bec5ab6016 100644
@@ -297,9 +297,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
 	line[1] = 0;
 
 	if (!sym_is_changeable(sym)) {
-		printf("%s\n", def);
-		line[0] = '\n';
-		line[1] = 0;
+		printf("%s\n", def ?: "");
 		return 0;
 	}
 
@@ -307,7 +305,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
 	case oldconfig:
 	case syncconfig:
 		if (sym_has_value(sym)) {
-			printf("%s\n", def);
+			printf("%s\n", def ?: "");
 			return 0;
 		}
 		/* fall through */
Signature · 1 line
2.53.0
author maintainer
#106 lore raw

PATCH 106/2077 soc: xilinx: Fix race condition in event registration

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Prasanna Kumar T S M <[email protected]>

[ Upstream commit fb445935338405110baca8f541a2df3b4cb8d712 ]

The zynqmp_power driver registers handlers for suspend and subsystem restart events using register_event(). However, the work structures (zynqmp_pm_init_suspend_work and zynqmp_pm_init_restart_work) used by these handlers were allocated and initialized after the registration call.

This created a race window where, if the firmware triggered an event immediately after registration but before allocation, the callback (suspend_event_callback or subsystem_restart_event_callback) would dereference a NULL pointer in work_pending(), leading to a crash.

Fix this by allocating and initializing the work structures before registering the events.

Fixes fcf544ac6439 ("soc: xilinx: Add cb event for subsystem restart")
---
 drivers/soc/xilinx/zynqmp_power.c | 43 ++++++++++++-------------------
 1 file changed, 17 insertions(+), 26 deletions(-)
drivers/soc/xilinx/zynqmp_power.c +17 -26
index 9085db1b480aa3..9dd938bd01d840 100644
@@ -303,18 +303,18 @@ static int zynqmp_pm_probe(struct platform_device *pdev)
 	 * is not available to use) or -ENODEV(Xilinx Event Manager not compiled),
 	 * then use ipi-mailbox or interrupt method.
 	 */
+	zynqmp_pm_init_suspend_work = devm_kzalloc(&pdev->dev,
+						   sizeof(struct zynqmp_pm_work_struct),
+						   GFP_KERNEL);
+	if (!zynqmp_pm_init_suspend_work)
+		return -ENOMEM;
+
+	INIT_WORK(&zynqmp_pm_init_suspend_work->callback_work,
+		  zynqmp_pm_init_suspend_work_fn);
+
 	ret = register_event(&pdev->dev, PM_INIT_SUSPEND_CB, 0, 0, false,
 			     suspend_event_callback);
 	if (!ret) {
-		zynqmp_pm_init_suspend_work = devm_kzalloc(&pdev->dev,
-							   sizeof(struct zynqmp_pm_work_struct),
-							   GFP_KERNEL);
-		if (!zynqmp_pm_init_suspend_work)
-			return -ENOMEM;
-
-		INIT_WORK(&zynqmp_pm_init_suspend_work->callback_work,
-			  zynqmp_pm_init_suspend_work_fn);
-
 		ret = zynqmp_pm_get_family_info(&pm_family_code);
 		if (ret < 0)
 			return ret;
@@ -326,14 +326,6 @@ static int zynqmp_pm_probe(struct platform_device *pdev)
 		else
 			return -ENODEV;
 
-		ret = register_event(&pdev->dev, PM_NOTIFY_CB, node_id, EVENT_SUBSYSTEM_RESTART,
-				     false, subsystem_restart_event_callback);
-		if (ret) {
-			dev_err(&pdev->dev, "Failed to Register with Xilinx Event manager %d\n",
-				ret);
-			return ret;
-		}
-
 		zynqmp_pm_init_restart_work = devm_kzalloc(&pdev->dev,
 							   sizeof(struct zynqmp_pm_work_struct),
 							   GFP_KERNEL);
@@ -342,19 +334,18 @@ static int zynqmp_pm_probe(struct platform_device *pdev)
 
 		INIT_WORK(&zynqmp_pm_init_restart_work->callback_work,
 			  zynqmp_pm_subsystem_restart_work_fn);
+
+		ret = register_event(&pdev->dev, PM_NOTIFY_CB, node_id, EVENT_SUBSYSTEM_RESTART,
+				     false, subsystem_restart_event_callback);
+		if (ret) {
+			dev_err(&pdev->dev, "Failed to Register with Xilinx Event manager %d\n",
+				ret);
+			return ret;
+		}
 	} else if (ret != -EACCES && ret != -ENODEV) {
 		dev_err(&pdev->dev, "Failed to Register with Xilinx Event manager %d\n", ret);
 		return ret;
 	} else if (of_property_present(pdev->dev.of_node, "mboxes")) {
-		zynqmp_pm_init_suspend_work =
-			devm_kzalloc(&pdev->dev,
-				     sizeof(struct zynqmp_pm_work_struct),
-				     GFP_KERNEL);
-		if (!zynqmp_pm_init_suspend_work)
-			return -ENOMEM;
-
-		INIT_WORK(&zynqmp_pm_init_suspend_work->callback_work,
-			  zynqmp_pm_init_suspend_work_fn);
 		client = devm_kzalloc(&pdev->dev, sizeof(*client), GFP_KERNEL);
 		if (!client)
 			return -ENOMEM;
Signature · 1 line
2.53.0
author maintainer
#107 lore raw

PATCH 107/2077 soc: xilinx: Shutdown and free rx mailbox channel

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Prasanna Kumar T S M <[email protected]>

[ Upstream commit fdee7c66c0d7b6869c36b9f9a915abf29ab5b550 ]

A mbox rx channel is requested using mbox_request_channel_byname() in probe. In remove callback, the rx mailbox channel is cleaned up when the rx_chan is NULL due to incorrect condition check. The mailbox channel is not shutdown and it can receive messages even after the device removal. This leads to use after free. Also the channel resources are not freed. Fix this by checking the rx_chan correctly.

Fixes ffdbae28d9d1a ("drivers: soc: xilinx: Use mailbox IPI callback")
---
 drivers/soc/xilinx/zynqmp_power.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/soc/xilinx/zynqmp_power.c +3 -1
index 9dd938bd01d840..370e61ac47d88f 100644
@@ -389,8 +389,10 @@ static void zynqmp_pm_remove(struct platform_device *pdev)
 {
 	sysfs_remove_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr);
 
-	if (!rx_chan)
+	if (rx_chan) {
 		mbox_free_channel(rx_chan);
+		rx_chan = NULL;
+	}
 }
 
 static const struct of_device_id pm_of_match[] = {
Signature · 1 line
2.53.0
author maintainer
#108 lore raw

PATCH 108/2077 pinctrl: mediatek: eint: Drop base from mtk_eint_chip_write_mask()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Chen-Yu Tsai <[email protected]>

[ Upstream commit 3ca99eed042620d12315e9272ed3ef260ca29877 ]

When support for multiple EINT base addresses was added in commit 3ef9f710efcb ("pinctrl: mediatek: Add EINT support for multiple addresses"), mtk_eint_chip_write_mask() was changed to write interrupt masks for all base addresses in one call. However the "base" parameter was left around and now causes sparse warnings:

    mtk-eint.c:428:44: warning: incorrect type in argument 2 (different address spaces)
    mtk-eint.c:428:44:    expected void [noderef] __iomem *base
    mtk-eint.c:428:44:    got void [noderef] __iomem **base
    mtk-eint.c:436:44: warning: incorrect type in argument 2 (different address spaces)
    mtk-eint.c:436:44:    expected void [noderef] __iomem *base
    mtk-eint.c:436:44:    got void [noderef] __iomem **base

Since the "base" parameter is no longer needed, just drop it.

Fixes 3ef9f710efcb ("pinctrl: mediatek: Add EINT support for multiple addresses")
Cc Hao Chang <[email protected]>
Cc Qingliang Li <[email protected]>
---
 drivers/pinctrl/mediatek/mtk-eint.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/pinctrl/mediatek/mtk-eint.c +3 -3
index 2a3c04eedc5f38..47ac92ea98c2c5 100644
@@ -246,7 +246,7 @@ static int mtk_eint_irq_set_wake(struct irq_data *d, unsigned int on)
 }
 
 static void mtk_eint_chip_write_mask(const struct mtk_eint *eint,
-				     void __iomem *base, unsigned int **buf)
+				     unsigned int **buf)
 {
 	int inst, port, port_num;
 	void __iomem *reg;
@@ -425,7 +425,7 @@ static void mtk_eint_irq_handler(struct irq_desc *desc)
 
 int mtk_eint_do_suspend(struct mtk_eint *eint)
 {
-	mtk_eint_chip_write_mask(eint, eint->base, eint->wake_mask);
+	mtk_eint_chip_write_mask(eint, eint->wake_mask);
 
 	return 0;
 }
@@ -433,7 +433,7 @@ EXPORT_SYMBOL_GPL(mtk_eint_do_suspend);
 
 int mtk_eint_do_resume(struct mtk_eint *eint)
 {
-	mtk_eint_chip_write_mask(eint, eint->base, eint->cur_mask);
+	mtk_eint_chip_write_mask(eint, eint->cur_mask);
 
 	return 0;
 }
Signature · 1 line
2.53.0
author maintainer
#109 lore raw

PATCH 109/2077 wifi: ath9k: fix OOB access from firmware tx status queue ID

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Tristan Madani <[email protected]>

[ Upstream commit 7ce2f118a2389e8f0a64068c6fe7cc7d40639be0 ]

ath_tx_edma_tasklet() accesses sc->tx.txq[ts.qid] where ts.qid is a 4-bit hardware field (0-15), but the txq array only has ATH9K_NUM_TX_QUEUES (10) entries. A qid >= 10 causes an OOB array access.

Add a bounds check on ts.qid before using it as an array index.

Fixes fce041beb03f ("ath9k: unify edma and non-edma tx code, improve tx fifo handling")
---
 drivers/net/wireless/ath/ath9k/xmit.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/net/wireless/ath/ath9k/xmit.c +5 -0
index 0ac9212e42f75e..957646b2df4ded 100644
@@ -2746,6 +2746,11 @@ void ath_tx_edma_tasklet(struct ath_softc *sc)
 			continue;
 		}
 
+		if (ts.qid >= ATH9K_NUM_TX_QUEUES) {
+			ath_dbg(common, XMIT, "invalid qid %d\n", ts.qid);
+			continue;
+		}
+
 		txq = &sc->tx.txq[ts.qid];
 
 		ath_txq_lock(sc, txq);
Signature · 1 line
2.53.0
author maintainer
#110 lore raw

PATCH 110/2077 wifi: ath11k: cancel SSR work items during PCI shutdown

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Wei Zhang <[email protected]>

[ Upstream commit 8c79aac429b583301f387374ff37c59be671df87 ]

A reboot can crash the kernel if it overlaps with WLAN firmware crash recovery (SSR). The crash is a NULL pointer dereference in the MHI teardown path while freeing DMA-backed MHI contexts.

Simplified trace:
dma_free_attrs
mhi_deinit_dev_ctxt [mhi]
ath11k_pci_power_down [ath11k_pci]
ath11k_pci_shutdown [ath11k_pci]
device_shutdown
kernel_restart

On the host side, SSR is driven by the MHI RDDM callback, which queues reset_work to perform device recovery. reset_work power-cycles the device by calling ath11k_hif_power_down() followed by ath11k_hif_power_up(). The power-down phase deinitializes MHI and frees DMA resources.

Shutdown/reboot runs fully asynchronously with this RDDM-driven SSR recovery flow. As a result, the shutdown path (ath11k_pci_shutdown() -> ath11k_pci_power_down()) can race with the SSR recovery sequence.

Fix this by canceling SSR-related work items during PCI shutdown, marking the device as unregistering, and serializing the RDDM callback path that checks and queues reset_work. This ensures that no new SSR recovery work can be queued once teardown has started, and that any in-flight recovery work is fully synchronized before device power-down, preventing MHI teardown and DMA resource freeing from running more than once.

Note: This issue only affects PCI/MHI-based devices. AHB-based ath11k devices do not queue reset_work in normal SSR flows.

Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04866.5-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1

Fixes 13da397f884d ("ath11k: add support for device recovery for QCA6390/WCN6855")
Fixes 5edbb148bc57 ("wifi: ath11k: Add firmware coredump collection support")
---
 drivers/net/wireless/ath/ath11k/mhi.c | 4 +++-
 drivers/net/wireless/ath/ath11k/pci.c | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/mhi.c +3 -1
index f994233df2bb94..a6c9ff112c68f4 100644
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: BSD-3-Clause-Clear
 /*
  * Copyright (c) 2020 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
  */
 
 #include <linux/msi.h>
@@ -282,8 +282,10 @@ static void ath11k_mhi_op_status_cb(struct mhi_controller *mhi_cntrl,
 			break;
 		}
 
+		spin_lock_bh(&ab->base_lock);
 		if (!(test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags)))
 			queue_work(ab->workqueue_aux, &ab->reset_work);
+		spin_unlock_bh(&ab->base_lock);
 
 		break;
 	default:
drivers/net/wireless/ath/ath11k/pci.c +8 -0
index 7114eca8810dbf..35bb9e7a63a207 100644
@@ -1210,6 +1210,14 @@ static void ath11k_pci_shutdown(struct pci_dev *pdev)
 	struct ath11k_pci *ab_pci = ath11k_pci_priv(ab);
 
 	ath11k_pci_set_irq_affinity_hint(ab_pci, NULL);
+
+	spin_lock_bh(&ab->base_lock);
+	set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags);
+	spin_unlock_bh(&ab->base_lock);
+
+	cancel_work_sync(&ab->reset_work);
+	cancel_work_sync(&ab->dump_work);
+
 	ath11k_pci_power_down(ab, false);
 }
 
Signature · 1 line
2.53.0
author maintainer
#111 lore raw

PATCH 111/2077 ARM: dts: am335x-sl50: Fix audio bitclock and frame master endpoint

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Jihed Chaibi <[email protected]>

[ Upstream commit 2bc564f46b00dc4f4331fc337277ff3f5fac8a4e ]

The cpu_endpoint in mcasp0 specifies the TLV320AIC3106 codec as the bitclock and frame master, but the phandles point to the codec's port node (codec_port) rather than its endpoint node (codec_endpoint).

audio-graph-card calls simple_util_parse_daifmt() with ep_codec set to the endpoint node (codec_endpoint). The function resolves the bitclock-master phandle and checks whether it equals ep_codec. Since codec_port is the parent of codec_endpoint, not the endpoint itself, the comparison always evaluates to false. This causes the mcasp0 CPU side to be silently configured as bitclock and frame master instead of the codec, which is the opposite of the intended configuration.

Fix by pointing bitclock-master and frame-master to codec_endpoint.

Fixes e5f89dbdebc5 ("ARM: dts: am335x-sl50: use audio-graph-card for sound")
---
 arch/arm/boot/dts/ti/omap/am335x-sl50.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/ti/omap/am335x-sl50.dts +2 -2
index 1dc4e344efd63e..c5259eb7d21c7e 100644
@@ -558,8 +558,8 @@ cpu_endpoint: endpoint {
 			remote-endpoint = <&codec_endpoint>;
 
 			dai-format = "dsp_b";
-			bitclock-master = <&codec_port>;
-			frame-master = <&codec_port>;
+			bitclock-master = <&codec_endpoint>;
+			frame-master = <&codec_endpoint>;
 			bitclock-inversion;
 			clocks = <&audio_mclk>;
 		};
Signature · 1 line
2.53.0
author maintainer
#85 lore raw

PATCH 85/2077 arm64: dts: qcom: glymur: Fix cache and SRAM simple_bus_reg warnings

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 46eccc1034c3740b07b58c125190bbb99247c9de ]

Correct the unit address of cache controller and SRAM nodes in Qualcomm Glymur SoC DTSI to fix W=1 DTC warnings:

glymur.dtsi:5876.36-5908.5: Warning (simple_bus_reg): /soc@0/system-cache-controller@20400000: simple-bus unit address format error, expected "21800000" glymur.dtsi:5917.23-5934.5: Warning (simple_bus_reg): /soc@0/sram@81e08000: simple-bus unit address format error, expected "81e08600"

---
 arch/arm64/boot/dts/qcom/glymur.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/glymur.dtsi +2 -2
index ab2a6b577bc9d0..7283d45ca259a8 100644
@@ -5865,7 +5865,7 @@ oobm_ss_noc: interconnect@1f300000 {
 			#interconnect-cells = <2>;
 		};
 
-		system-cache-controller@20400000 {
+		system-cache-controller@21800000 {
 			compatible = "qcom,glymur-llcc";
 			reg = <0x0 0x21800000 0x0 0x100000>,
 			      <0x0 0x21a00000 0x0 0x100000>,
@@ -5906,7 +5906,7 @@ nsp_noc: interconnect@320c0000 {
 			#interconnect-cells = <2>;
 		};
 
-		imem: sram@81e08000 {
+		imem: sram@81e08600 {
 			compatible = "mmio-sram";
 			reg = <0x0 0x81e08600 0x0 0x300>;
 
Signature · 1 line
2.53.0
author maintainer
#112 lore raw

PATCH 112/2077 ixgbe: fix unaligned u32 access in ixgbe_update_flash_X550()

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Aleksandr Loktionov <[email protected]>

[ Upstream commit eae23ec14a9c83b6af9bd616f3b86163688e2688 ]

ixgbe_host_interface_command() treats its buffer as a u32 array. The local buffer we pass in was a union of byte-sized fields, which gives it 1-byte alignment on the stack. On strict-align architectures this can cause unaligned 32-bit accesses.

Add a u32 member to union ixgbe_hic_hdr2 so the object is 4-byte aligned, and pass the u32 member when calling ixgbe_host_interface_command().

No functional change on x86; prevents unaligned accesses on architectures that enforce natural alignment.

Fixes 49425dfc7451 ("ixgbe: Add support for x550em_a 10G MAC type")
Fixes 6a14ee0cfb19 ("ixgbe: Add X550 support function pointers")
---
 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +1 -0
index 61f2ef67defdde..eb5bf3b6bbb522 100644
@@ -2798,6 +2798,7 @@ struct ixgbe_hic_hdr2_rsp {
 };
 
 union ixgbe_hic_hdr2 {
+	u32 buf[1];
 	struct ixgbe_hic_hdr2_req req;
 	struct ixgbe_hic_hdr2_rsp rsp;
 };
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c +1 -1
index 76d2fa3ef51825..4a0ccbf448a2ad 100644
@@ -1228,7 +1228,7 @@ static int ixgbe_update_flash_X550(struct ixgbe_hw *hw)
 	buffer.req.buf_lenl = FW_SHADOW_RAM_DUMP_LEN;
 	buffer.req.checksum = FW_DEFAULT_CHECKSUM;
 
-	status = ixgbe_host_interface_command(hw, &buffer, sizeof(buffer),
+	status = ixgbe_host_interface_command(hw, buffer.buf, sizeof(buffer),
 					      IXGBE_HI_COMMAND_TIMEOUT, false);
 	return status;
 }
Signature · 1 line
2.53.0
author maintainer
#113 lore raw

PATCH 113/2077 Documentation/rv: Replace stale website link

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Gabriele Monaco <[email protected]>

[ Upstream commit 49cbd359e4a7501e9d6694c072031d9ae6b2d1a5 ]

The sched monitor page was linking to Daniel's website which is now down. The main purpose of the link was to point to a source for the models from the original author and that can be found also in his published paper.

Replace the link with a reference to Daniel's "A thread synchronization model for the PREEMPT_RT Linux kernel" which can be found online and includes the models definitions as well as the work behind them (not the original patches but since they're based on a 5.0 kernel and are mostly included upstream, there's little value in keeping them in the docs).

Message-ID: <[email protected]>

---
 Documentation/trace/rv/monitor_sched.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Documentation/trace/rv/monitor_sched.rst +5 -2
index 0b96d6e147c655..d3ba7edc202f6f 100644
@@ -36,7 +36,7 @@ Specifications
 --------------
 
 The specifications included in sched are currently a work in progress, adapting the ones
-defined in by Daniel Bristot in [1].
+defined by Daniel Bristot in [1]_.
 
 Currently we included the following:
 
@@ -365,4 +365,7 @@ constraints when processing the events::
 References
 ----------
 
-[1] - https://bristot.me/linux-task-model
+.. [1] Daniel Bristot de Oliveira et al.:
+       `A thread synchronization model for the PREEMPT_RT Linux kernel
+       <https://www.iris.sssup.it/bitstream/11382/533630/1/Elsevier-JSA-2020.pdf>`_,
+       J. Syst. Archit., 2020.
Signature · 1 line
2.53.0
author maintainer
#114 lore raw

PATCH 114/2077 watchdog: sp5100_tco: Use EFCH MMIO for newer Hygon FCH

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Yingjie Gao <[email protected]>

[ Upstream commit 4f675f036cd5e9cfbe6df5f24f8338158af96a4b ]

Commit 009637de1f65 ("watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)") added Hygon vendor matching to the efch layout selection, but newer Hygon 0x790b SMBus devices still need the efch_mmio path.

The efch_mmio path enables EFCH_PM_DECODEEN_WDT_TMREN before probing the watchdog MMIO block. If firmware leaves that bit clear and the driver picks the legacy efch path instead, probe falls back to the alternate window and fails with "Watchdog hardware is disabled".

Select efch_mmio for Hygon 0x790b devices with revision 0x51 or later, matching the equivalent AMD behavior and allowing the watchdog to initialize on those systems.

Fixes 009637de1f65 ("watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)")
---
 drivers/watchdog/sp5100_tco.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/watchdog/sp5100_tco.c +2 -1
index 2bd3dc25cb0304..7e99c3b1f3676b 100644
@@ -92,7 +92,8 @@ static enum tco_reg_layout tco_reg_layout(struct pci_dev *dev)
 	    dev->device == PCI_DEVICE_ID_ATI_SBX00_SMBUS &&
 	    dev->revision < 0x40) {
 		return sp5100;
-	} else if (dev->vendor == PCI_VENDOR_ID_AMD &&
+	} else if ((dev->vendor == PCI_VENDOR_ID_AMD ||
+		    dev->vendor == PCI_VENDOR_ID_HYGON) &&
 	    sp5100_tco_pci->device == PCI_DEVICE_ID_AMD_KERNCZ_SMBUS &&
 	    sp5100_tco_pci->revision >= AMD_ZEN_SMBUS_PCI_REV) {
 		return efch_mmio;
Signature · 1 line
2.53.0
author maintainer
#115 lore raw

PATCH 115/2077 watchdog: sama5d4_wdt: Fix WDDIS detection on SAM9X60 and SAMA7G5

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Balakrishnan Sambath <[email protected]>

[ Upstream commit e8bc610b14a99d24b0916635102cc52ba41def9b ]

The driver hardcoded AT91_WDT_WDDIS (bit 15) in wdt_enabled and the probe initial state readout. SAM9X60 and SAMA7G5 use bit 12 (AT91_SAM9X60_WDDIS), causing incorrect WDDIS detection.

Introduce a per-device wddis_mask field to select the correct WDDIS bit based on the compatible string.

---
 drivers/watchdog/sama5d4_wdt.c | 48 +++++++++++++++-------------------
 1 file changed, 21 insertions(+), 27 deletions(-)
drivers/watchdog/sama5d4_wdt.c +21 -27
index 13e72918338a20..704b786cc2ec63 100644
@@ -30,6 +30,7 @@ struct sama5d4_wdt {
 	void __iomem		*reg_base;
 	u32			mr;
 	u32			ir;
+	u32			wddis_mask;
 	unsigned long		last_ping;
 	bool			need_irq;
 	bool			sam9x60_support;
@@ -48,7 +49,10 @@ MODULE_PARM_DESC(nowayout,
 	"Watchdog cannot be stopped once started (default="
 	__MODULE_STRING(WATCHDOG_NOWAYOUT) ")");
 
-#define wdt_enabled (!(wdt->mr & AT91_WDT_WDDIS))
+static inline bool wdt_enabled(struct sama5d4_wdt *wdt)
+{
+	return !(wdt->mr & wdt->wddis_mask);
+}
 
 #define wdt_read(wdt, field) \
 	readl_relaxed((wdt)->reg_base + (field))
@@ -81,12 +85,9 @@ static int sama5d4_wdt_start(struct watchdog_device *wdd)
 {
 	struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd);
 
-	if (wdt->sam9x60_support) {
+	if (wdt->sam9x60_support)
 		writel_relaxed(wdt->ir, wdt->reg_base + AT91_SAM9X60_IER);
-		wdt->mr &= ~AT91_SAM9X60_WDDIS;
-	} else {
-		wdt->mr &= ~AT91_WDT_WDDIS;
-	}
+	wdt->mr &= ~wdt->wddis_mask;
 	wdt_write(wdt, AT91_WDT_MR, wdt->mr);
 
 	return 0;
@@ -96,12 +97,9 @@ static int sama5d4_wdt_stop(struct watchdog_device *wdd)
 {
 	struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd);
 
-	if (wdt->sam9x60_support) {
+	if (wdt->sam9x60_support)
 		writel_relaxed(wdt->ir, wdt->reg_base + AT91_SAM9X60_IDR);
-		wdt->mr |= AT91_SAM9X60_WDDIS;
-	} else {
-		wdt->mr |= AT91_WDT_WDDIS;
-	}
+	wdt->mr |= wdt->wddis_mask;
 	wdt_write(wdt, AT91_WDT_MR, wdt->mr);
 
 	return 0;
@@ -117,7 +115,7 @@ static int sama5d4_wdt_ping(struct watchdog_device *wdd)
 }
 
 static int sama5d4_wdt_set_timeout(struct watchdog_device *wdd,
-				 unsigned int timeout)
+				    unsigned int timeout)
 {
 	struct sama5d4_wdt *wdt = watchdog_get_drvdata(wdd);
 	u32 value = WDT_SEC2TICKS(timeout);
@@ -140,8 +138,8 @@ static int sama5d4_wdt_set_timeout(struct watchdog_device *wdd,
 	 * If the watchdog is enabled, then the timeout can be updated. Else,
 	 * wait that the user enables it.
 	 */
-	if (wdt_enabled)
-		wdt_write(wdt, AT91_WDT_MR, wdt->mr & ~AT91_WDT_WDDIS);
+	if (wdt_enabled(wdt))
+		wdt_write(wdt, AT91_WDT_MR, wdt->mr & ~wdt->wddis_mask);
 
 	wdd->timeout = timeout;
 
@@ -184,10 +182,7 @@ static int of_sama5d4_wdt_init(struct device_node *np, struct sama5d4_wdt *wdt)
 {
 	const char *tmp;
 
-	if (wdt->sam9x60_support)
-		wdt->mr = AT91_SAM9X60_WDDIS;
-	else
-		wdt->mr = AT91_WDT_WDDIS;
+	wdt->mr = wdt->wddis_mask;
 
 	if (!of_property_read_string(np, "atmel,watchdog-type", &tmp) &&
 	    !strcmp(tmp, "software"))
@@ -213,15 +208,11 @@ static int sama5d4_wdt_init(struct sama5d4_wdt *wdt)
 	 * If the watchdog is already running, we can safely update it.
 	 * Else, we have to disable it properly.
 	 */
-	if (!wdt_enabled) {
+	if (!wdt_enabled(wdt)) {
 		reg = wdt_read(wdt, AT91_WDT_MR);
-		if (wdt->sam9x60_support && (!(reg & AT91_SAM9X60_WDDIS)))
-			wdt_write_nosleep(wdt, AT91_WDT_MR,
-					  reg | AT91_SAM9X60_WDDIS);
-		else if (!wdt->sam9x60_support &&
-			 (!(reg & AT91_WDT_WDDIS)))
+		if (!(reg & wdt->wddis_mask))
 			wdt_write_nosleep(wdt, AT91_WDT_MR,
-					  reg | AT91_WDT_WDDIS);
+					  reg | wdt->wddis_mask);
 	}
 
 	if (wdt->sam9x60_support) {
@@ -273,6 +264,9 @@ static int sama5d4_wdt_probe(struct platform_device *pdev)
 	    of_device_is_compatible(dev->of_node, "microchip,sama7g5-wdt"))
 		wdt->sam9x60_support = true;
 
+	wdt->wddis_mask = wdt->sam9x60_support ? AT91_SAM9X60_WDDIS
+						: AT91_WDT_WDDIS;
+
 	watchdog_set_drvdata(wdd, wdt);
 
 	regs = devm_platform_ioremap_resource(pdev, 0);
@@ -306,8 +300,8 @@ static int sama5d4_wdt_probe(struct platform_device *pdev)
 	watchdog_init_timeout(wdd, wdt_timeout, dev);
 
 	reg = wdt_read(wdt, AT91_WDT_MR);
-	if (!(reg & AT91_WDT_WDDIS)) {
-		wdt->mr &= ~AT91_WDT_WDDIS;
+	if (!(reg & wdt->wddis_mask)) {
+		wdt->mr &= ~wdt->wddis_mask;
 		set_bit(WDOG_HW_RUNNING, &wdd->status);
 	}
 
Signature · 1 line
2.53.0
author maintainer
#116 lore raw

PATCH 116/2077 watchdog: sprd_wdt: Remove redundant sprd_wdt_disable() on register failure

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Felix Gu <[email protected]>

[ Upstream commit 96b3cfc3b8ad0524d12fed1e08bc5df3ff345f64 ]

The driver uses devm_add_action_or_reset() to register sprd_wdt_disable() as a managed cleanup action.

When devm_watchdog_register_device() fails, the devm core will invoke the cleanup action automatically.

The explicit sprd_wdt_disable() call in the error path is therefore redundant and results in adouble cleanup.

Fixes 78d9bfad2e89 ("watchdog: sprd_wdt: Convert to use device managed functions and other improvements")
---
 drivers/watchdog/sprd_wdt.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/watchdog/sprd_wdt.c +2 -3
index 4e689b6ff1418c..aacf04616fefe2 100644
@@ -320,10 +320,9 @@ static int sprd_wdt_probe(struct platform_device *pdev)
 	watchdog_init_timeout(&wdt->wdd, 0, dev);
 
 	ret = devm_watchdog_register_device(dev, &wdt->wdd);
-	if (ret) {
-		sprd_wdt_disable(wdt);
+	if (ret)
 		return ret;
-	}
+
 	platform_set_drvdata(pdev, wdt);
 
 	return 0;
Signature · 1 line
2.53.0
author maintainer
#117 lore raw

PATCH 117/2077 media: cedrus: Fix failure to clean up hardware on probe failure

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Samuel Holland <[email protected]>

[ Upstream commit f0a22f1d602ed499a192284de5e811a73421f0c7 ]

If V4L2 device fails to register, then SRAM still be claimed and as a result driver will not be able to probe again.

cedrus 1c0e000.video-codec: Failed to claim SRAM
cedrus 1c0e000.video-codec: Failed to probe hardware
cedrus 1c0e000.video-codec: probe with driver cedrus failed with error -16

cedrus_hw_remove undoes everything that was previously done by cedrus_hw_probe, such as disabling runtime power management and releasing the claimed SRAM and reserved memory region.

Fixes 50e761516f2b ("media: platform: Add Cedrus VPU decoder driver")
---
 drivers/staging/media/sunxi/cedrus/cedrus.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/media/sunxi/cedrus/cedrus.c +3 -1
index 6600245dff0e23..27e43af6c7bd01 100644
@@ -476,7 +476,7 @@ static int cedrus_probe(struct platform_device *pdev)
 	ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev);
 	if (ret) {
 		dev_err(&pdev->dev, "Failed to register V4L2 device\n");
-		return ret;
+		goto err_hw;
 	}
 
 	vfd = &dev->vfd;
@@ -537,6 +537,8 @@ static int cedrus_probe(struct platform_device *pdev)
 	v4l2_m2m_release(dev->m2m_dev);
 err_v4l2:
 	v4l2_device_unregister(&dev->v4l2_dev);
+err_hw:
+	cedrus_hw_remove(dev);
 
 	return ret;
 }
Signature · 1 line
2.53.0
author maintainer
#118 lore raw

PATCH 118/2077 media: v4l2-common: Add YUV24 format info

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Nas Chung <[email protected]>

[ Upstream commit 968b741872914a15363af0daf24ed2e82ec355f3 ]

The YUV24 format is missing an entry in the v4l2_format_info(). The YUV24 format is the packed YUV 4:4:4 formats with 8 bits per component.

Fixes 0376a51fbe5e ("media: v4l: Add packed YUV444 24bpp pixel format")
---
 drivers/media/v4l2-core/v4l2-common.c | 1 +
 1 file changed, 1 insertion(+)
drivers/media/v4l2-core/v4l2-common.c +1 -0
index 554c591e111331..55bcd5975d9fcb 100644
@@ -281,6 +281,7 @@ const struct v4l2_format_info *v4l2_format_info(u32 format)
 		{ .format = V4L2_PIX_FMT_Y212,    .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 2, .vdiv = 1 },
 		{ .format = V4L2_PIX_FMT_Y216,    .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 2, .vdiv = 1 },
 		{ .format = V4L2_PIX_FMT_YUV48_12, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 6, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
+		{ .format = V4L2_PIX_FMT_YUV24,   .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
 		{ .format = V4L2_PIX_FMT_MT2110T, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 2, .comp_planes = 2, .bpp = { 5, 10, 0, 0 }, .bpp_div = { 4, 4, 1, 1 }, .hdiv = 2, .vdiv = 2,
 		  .block_w = { 16, 8, 0, 0 }, .block_h = { 32, 16, 0, 0 }},
 		{ .format = V4L2_PIX_FMT_MT2110R, .pixel_enc = V4L2_PIXEL_ENC_YUV, .mem_planes = 2, .comp_planes = 2, .bpp = { 5, 10, 0, 0 }, .bpp_div = { 4, 4, 1, 1 }, .hdiv = 2, .vdiv = 2,
Signature · 1 line
2.53.0
author maintainer
#119 lore raw

PATCH 119/2077 drm: verisilicon: call atomic helpers plane state check even if no CRTC

In reply to Greg Kroah-Hartman

7.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Icenowy Zheng <[email protected]>

[ Upstream commit eae3903e33797a28d0d37e693d4314d58338918e ]

The drm_atomic_helper_check_plane_state() helper function needs to be called even if the plane is bound to no CRTCs.

Remove the early return in the primary plane's atomic_check, and use NULL for crtc_state in this situation.

Fixes dbf21777caa8 ("drm: verisilicon: add a driver for Verisilicon display controllers")
---
 drivers/gpu/drm/verisilicon/vs_primary_plane.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
drivers/gpu/drm/verisilicon/vs_primary_plane.c +3 -7
index e8fcb5958615c0..a383b70f1ea0fc 100644
@@ -26,14 +26,10 @@ static int vs_primary_plane_atomic_check(struct drm_plane *plane,
 	struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
 										 plane);
 	struct drm_crtc *crtc = new_plane_state->crtc;
-	struct drm_crtc_state *crtc_state;
+	struct drm_crtc_state *crtc_state = NULL;
 
-	if (!crtc)
-		return 0;
-
-	crtc_state = drm_atomic_get_new_crtc_state(state, crtc);
-	if (WARN_ON(!crtc_state))
-		return -EINVAL;
+	if (crtc)
+		crtc_state = drm_atomic_get_new_crtc_state(state, crtc);
 
 	return drm_atomic_helper_check_plane_state(new_plane_state,
 						   crtc_state,
Signature · 1 line
2.53.0