Skip to contentSkip to conversation

6.12.119-rc1 review

PATCH Applied Greg Kroah-Hartman 15 participants 1,795 messages Nov 18 – Nov 20 Page 1 of 14

Subsystems (3)
lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

cover 6.12.119-rc1 review

This is the start of the stable review cycle for the 6.12.119 release. There are 1756 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 Fri, 20 Nov 2026 14:55:44 +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/v6.x/stable-review/patch-6.12.119-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-6.12.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>

    Linux 6.12.119-rc1

Li RongQing <[email protected]>
apparmor: avoid potential double free when remapping DFA tables

Justin Chen <[email protected]>
net: bcmgenet: if UMAC was suspended in SW_RESET, restore it to SW_RESET

Nicolai Buchwitz <[email protected]>
net: bcmgenet: stop Tx NAPI before disabling the queues

Matthew Brown <[email protected]>
ceph: fix leaked inode reference on writeback abort at umount

Baolin Liu <[email protected]>
fs/ntfs3: reject FS_IOC_SETFSLABEL on readonly mounts

Georgia Garcia <[email protected]>
apparmor: fix NULL pointer dereference in unpack_pdb

Zygmunt Krynicki <[email protected]>
apparmor: fail policy unpack on accept2 allocation failure

Shengjiu Wang <[email protected]>
remoteproc: imx_dsp_rproc: Only reset carveout memory at RPROC_OFFLINE state

Bharath SM <[email protected]>
smb: align durable reconnect v2 context to 8 byte boundary

Lijo Lazar <[email protected]>
drm/amdgpu: Fix vbios build number parsing logic

Eduard Zingerman <[email protected]>
selftests/bpf: include limits.h needed for PATH_MAX directly

John Johansen <[email protected]>
apparmor: mitigate parser generating large xtables

John Johansen <[email protected]>
apparmor: fix: accept2 being specifie even when permission table is presnt

Christian Bruel <[email protected]>
arm64: dts: st: Use 128kB size for aliased GIC400 register access on stm32mp23 SoCs

Christian Bruel <[email protected]>
arm64: dts: st: Adjust interrupt-controller for stm32mp23 SoCs

Kuniyuki Iwashima <[email protected]>
nvme-tcp: fix use-after-free of netns by kernel TCP socket.

Arnaldo Carvalho de Melo <[email protected]>

    perf libunwind: Fixup conversion perf_sample->user_regs to a pointer

Namhyung Kim <[email protected]>

    perf tools: Fix compile error on sample->user_regs

Leo Yan <[email protected]>
perf tools: Fix compilation error on arm64

Dan Carpenter <[email protected]>
platform/x86/amd/pmc: fix leak in probe()

Tony Ambardar <[email protected]>
libbpf: Fix accessing BTF.ext core_relo header

Krzysztof Kozlowski <[email protected]>
soc: qcom: pmic_glink: Drop redundant pg assignment before taking lock

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Fix 64-by-32 division cocci warnings

Steven Price <[email protected]>
irqchip/gic-v3-its: Fix over allocation in itt_alloc_pool()

Hemanth Selam <[email protected]>
selftests/cgroup: set the test plan after the setup checks

Jakub Sitnicki <[email protected]>
net: lwtunnel: Drop skb metadata before LWT encapsulation

Szymon Wilczek <[email protected]>
fs/ntfs3: fix deadlock in ni_read_folio_cmpr

Brian Norris <[email protected]>
PM: runtime: Only queue an idle check for RPM-linked suppliers (part 2)

Jérémy Jean <[email protected]>
nvmet-auth: reject incomplete DHCHAP messages

Shakeel Butt <[email protected]>
kernfs: avoid READ_ONCE() on a kgid_t in kernfs_new_node()

Damien Le Moal <[email protected]>
scsi: core: Fix additional sense code definition

Krzysztof Wilczyński <[email protected]>
PCI/sysfs: Decouple acpi_index from the optional device name element

Linus Torvalds <[email protected]>
vdpa_sim: disable page faults around vringh_need_notify_iotlb()

Mathieu Desnoyers <[email protected]>
mm: fix OOM killer inaccuracy on large many-core systems

SeongJae Park <[email protected]>
mm/damon/reclaim: use parameter context correctly

Cheng Xu <[email protected]>
RDMA/erdma: Use IRQ-safe XArray helpers for QP and CQ tables

Dominique Martinet <[email protected]>
libbpf: fix cross-endian build with newer libbpf

Imre Kaloz <[email protected]>
rtc: ds1685: do not sleep in the power-off handler

Imre Kaloz <[email protected]>
rtc: ds1685: arm the wake-up alarm at power-off only if an alarm is set

Nguyen Ngoc Thang <[email protected]>
minix: reject rmdir of a directory with a corrupted link count

Jori Koolstra <[email protected]>
Fix a drop_nlink warning in minix_rmdir

Jori Koolstra <[email protected]>
Add error handling to minix filesystem for inode corruption detection

Nickolai Zeldovich <[email protected]>
fs_pin: do not trust the pin after a spurious wakeup in pin_kill()

Nickolai Zeldovich <[email protected]>
ucount: read the parent ucounts before dropping the rlimit count

Nickolai Zeldovich <[email protected]>
splice: retry tee() instead of returning 0 when it races

Zhiyu Zhang <[email protected]>
watch_queue: keep info_id separate from rcu_head

Xiao Liang <[email protected]>
tun: drop batched packets while the device is down

John Johansen <[email protected]>
apparmor: advertise that sctp is being mediated

Jhonata Poma-Hansen <[email protected]>
netlink: check sk_rcvbuf before charging the dump skb

Eric Dumazet <[email protected]>
openvswitch: use eth_type_trans_careful() in internal_dev_recv()

Eric Dumazet <[email protected]>
net: use eth_type_trans_careful() in __dev_forward_skb2()

Sun Jian <[email protected]>
selftests/bpf: cover short IPv4/IPv6 inputs with adjust_room

Eric Dumazet <[email protected]>
loopback: use eth_type_trans_careful()

Eric Dumazet <[email protected]>
net: add eth_type_trans_careful()

Kyle Zeng <[email protected]>
tcp: initialize mapped children before route lookup

John Johansen <[email protected]>
apparmor: fix check SCTP bind, and connect permission checks

Kyle Zeng <[email protected]>
tcp: avoid double destroy in tcp_abort() of an unaccepted child

Rosen Penev <[email protected]>
net: bgmac: fix TX DMA unmapping and slot cleanup

Kyle Zeng <[email protected]>
gro: do not GRO GSO packets with inconsistent payload

Jakub Kicinski <[email protected]>
eth: bnxt: hand XDP frags over to the copybreak skb

Jakub Kicinski <[email protected]>
eth: bnxt: free XDP frags when xdp_do_redirect() fails

Jérémy Jean <[email protected]>
apparmor: check connect permission for SCTP

Wentao Liang <[email protected]>
apparmor: Fix namespace reference leak in __aa_find_or_create_ns()

Maxime Bélair <[email protected]>
apparmor: convert duplicated dfa transitions to match_char()

Maxime Bélair <[email protected]>
apparmor: fix table_size() integer overflow on 32 bit

John Johansen <[email protected]>
apparmor: add additional flags to extended permission.

John Johansen <[email protected]>
apparmor: add support for 2^24 states to the dfa state machine.

Maxime Bélair <[email protected]>
apparmor: report a label allocation failure as -ENOMEM

Jamie Nguyen <[email protected]>
selftests: net: txtimestamp: fix out-of-bounds read in raw UDP checksum

Kunhai Dai <[email protected]>
blk-iocost: publish hweights as one atomic value

Bart Van Assche <[email protected]>
block/blk-iocost: Inline iocg_lock() and iocg_unlock()

Bart Van Assche <[email protected]>
block/blk-iocost: Split ioc_rqos_throttle()

Muchun Song <[email protected]>
block: introduce init_wait_func()

Muchun Song <[email protected]>
block: remove redundant explicit memory barrier from rq_qos waiter and waker

Chris Mason <[email protected]>
rnbd-srv: publish the sess_dev at the end of OPEN

Chris Mason <[email protected]>
rnbd-srv: fix use-after-free on two CLOSE messages

Josef Bacik <[email protected]>
block/rnbd-srv: drop the sess_dev kobject unlocked

Josef Bacik <[email protected]>
block/rnbd-srv: don't free the device on a sysfs error

Josef Bacik <[email protected]>
drbd: take req_lock to skip the initial sync as peer

Josef Bacik <[email protected]>
drbd: stop the start_resync timer of a dying device

Josef Bacik <[email protected]>
block: partitions/mac: compute the sectors in 64 bits

Josef Bacik <[email protected]>
blk-mq: exit the hctxs of a queue under tag_list_lock

Josef Bacik <[email protected]>
blk-mq: quiesce a queue that joins a quiesced tag set

Josef Bacik <[email protected]>
blk-mq: don't forget a timer the driver has restarted

Josef Bacik <[email protected]>
blk-mq: don't bring back flags of a completed request

Josef Bacik <[email protected]>
blk-mq: keep sharing tags fairly after a queue update

Josef Bacik <[email protected]>
block: don't lose the status of a failed flush request

Josef Bacik <[email protected]>
block: fix use-after-free of the disk in sync_bdevs()

Dominik Maier <[email protected]>
xattr: always invoke cap_convert_nscap() for security.capability writes

Josef Bacik <[email protected]>
fork: Let nobody keep a task that may not come to life

Markus Probst <[email protected]>
rtc: s35390a: Read 24-hour mode on access

Alexandre Belloni <[email protected]>
rtc: s35390a: fix typo in comment

Nick Huang <[email protected]>
rtc: s35390a: use u8 instead of char for register buffer

André Draszik <[email protected]>

    rtc: s35390a: drop needless struct s35390a::rtc member

Markus Probst <[email protected]>
rtc: s35390a: Fix alarm not disabling

Markus Probst <[email protected]>
rtc: s35390a: Add missing newline to dev_err

Joas Antonio dos Santos <[email protected]>
net: mctp: free reassembly head skb when key_add fails on SOM

Linkui Xiao <[email protected]>
net: bridge: netlink: do not clear the vlan info dump error

Eric Dumazet <[email protected]>

    net: bridge: use atomic ops to read/change p->flags (III)

Eric Dumazet <[email protected]>
bridge: add bridge_flags_bit enum

Danielle Ratson <[email protected]>
bridge: Add internal flags for neigh_forward_grat

Eric Woudstra <[email protected]>
bridge: No DEV_PATH_BR_VLAN_UNTAG_HW for dsa foreign

Karol Kolacinski <[email protected]>
ice: E822: keep Tx timestamps disabled during offset calibration

Jacob Keller <[email protected]>
ice: set in_use only after preparing Tx timestamp index

Joas Antonio dos Santos <[email protected]>
net: dcb: initialize PFC value before calling getpfccfg

Nicolai Buchwitz <[email protected]>
net: bcmgenet: restore the Tx coalescing setting when the rings are rebuilt

Nicolai Buchwitz <[email protected]>
net: bcmgenet: recover from a failed resume

Doug Berger <[email protected]>
net: bcmgenet: revise suspend/resume

Doug Berger <[email protected]>
net: bcmgenet: introduce bcmgenet_[r|t]dma_disable

Doug Berger <[email protected]>
net: bcmgenet: consolidate dma initialization

Doug Berger <[email protected]>
net: bcmgenet: remove dma_ctrl argument

Josef Bacik <[email protected]>
blk-throttle: make blkio.reset_stats reset I/O counts

Josef Bacik <[email protected]>
blk-throttle: pass the I/O counts of a dead group on

Li Lingfeng <[email protected]>
block: flush all throttled bios when deleting the cgroup

Josef Bacik <[email protected]>
blk-iolatency: flush enable_work after going offline

Josef Bacik <[email protected]>
blk-cgroup: don't free a blkg with its punt work queued

Josef Bacik <[email protected]>
blk-cgroup: fix root io.stat byte counts on 32-bit

Josef Bacik <[email protected]>
blk-throttle: don't truncate the cgroup v1 iops limits

Chris Mason <[email protected]>

    nvmet: don't clear sq->ctrl for a Connect with sqsize 0

Chris Mason <[email protected]>
nvmet-rdma: fix double puts after a failed RDMA WRITE

Chris Mason <[email protected]>
nvmet-rdma: disable interrupts under rsp_wr_wait_lock

Chris Mason <[email protected]>
nvmet-rdma: flush nvmet-wq on module exit

Josef Bacik <[email protected]>
nvme-loop: don't BUG() if a scan runs beside a reset

Josef Bacik <[email protected]>
nvmet-tcp: don't read a removed port at Connect time

Josef Bacik <[email protected]>
nvmet: fix NULL dereference in debugfs host_traddr

Josef Bacik <[email protected]>
nvmet-tcp: stop listening when a port is removed

Josef Bacik <[email protected]>
nvmet-auth: take only AUTH_Negotiate for a negotiation

Josef Bacik <[email protected]>
nvmet: don't truncate the length of big discards

Chaitanya Kulkarni <[email protected]>
nvmet: ignore discard return value

Naveen Kumar Chaudhary <[email protected]>
kdb: unify CMD_BUFLEN definition into kdb_private.h

Rongzheng Wang <[email protected]>
nvmet: use the enabled transport when disabling a port

Qing Zhang <[email protected]>
nvmet: protect nvmet_ports_list with nvmet_config_sem

Avi Weiss <[email protected]>
nvmet: prevent double-free after metadata SGL allocation failure

Andrea Parri <[email protected]>
nvmet: zns: reject a NUMD whose byte count wraps

bui duc phuc <[email protected]>
ASoC: xilinx: formatter_pcm: Fix read-modify-write of AUD_CTRL in hw_params

Sicong Huang <[email protected]>
nfp: flower: fix use-after-free in neighbour update work

Peter Morrow <[email protected]>
net/mlx4: always create the eth and ib auxiliary devices

Feng Yang <[email protected]>

    bpf: Fix out-of-bounds btf->types write for split BTF

Ömer Mete Kaya <[email protected]>
usbnet: fix EVENT_RX_PAUSED race in usbnet_skb_return()

Florian Fainelli <[email protected]>
net: dsa: mv88e6xxx: fix 6351 family statistics snapshot

Daniel Machon <[email protected]>
net: lan966x: don't disable hardirqs in fdma tx clear path

Fernando Fernandez Mancera <[email protected]>
devlink: region: fix snapshot id leak on kernel-allocated ids

Daniel Machon <[email protected]>
net: microchip: fdma: fix DCB corruption under sustained load

Daniel Machon <[email protected]>
net: microchip: fdma: use little-endian types for descriptor fields

Daniel Machon <[email protected]>
net: lan966x: release the in-flight slot of a stale TX skb

Daniel Machon <[email protected]>
net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit

Harkirat Gill <[email protected]>
drm/amdgpu: re-enable GFXOFF for compute on GFX12

Florian Fainelli <[email protected]>
perf print_insn: Include sys/types.h for ssize_t

Paul Moses <[email protected]>
perf mmap: Preserve the consumed cursor in forward mode

Paul Moses <[email protected]>
perf mmap: Use the head selected by read_init

Len Brown <[email protected]>
x86_energy_perf_policy: Cleanup: Check fseek() in VM path

Len Brown <[email protected]>
x86_energy_perf_policy: Fix optarg keyword matching

Daniel Machon <[email protected]>
net: lan966x: do not warn on MAC entries that are not port destined

Daniel Machon <[email protected]>

    net: lan966x: do not inject uninitialised bytes past skb->len

Dudu Lu <[email protected]>
net: xps: bound the cleanup loop by the old map's num_tc

Allison Henderson <[email protected]>
net/rds: do not initialize transports after rds_init() failed

Allison Henderson <[email protected]>
net/rds: do not fail init when CONFIG_SYSCTL=n

Cheng Yongkang <[email protected]>
net: tun: hold napi_mutex when deleting NAPI in tun_detach_all()

Sally Marcher <[email protected]>
ALSA: usb-audio: Add correct datainterval in the quirks-table for Microbook II

HyeongJun An <[email protected]>
ALSA: pcmtest: Honor the enable parameter

Nicolai Buchwitz <[email protected]>
net: usb: cdc_mbim: don't enable BHs in tx_fixup under netpoll

Nicolai Buchwitz <[email protected]>
net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll

Binbin Deng <[email protected]>
net: atlantic: Unregister before clearing RXNFC rules

Paolo Abeni <[email protected]>
gtp: hold RCU in gtp_genl_send_echo_req()

Qingfang Deng <[email protected]>
pppoe: drop discovery frames with no MAC header

Tung Nguyen <[email protected]>
tipc: fix refcount panic in tipc_rcv() when receiving shared skb

Jerome Brunet <[email protected]>
clk: cdce925: Size the PLL child name buffer for any int

bui duc phuc <[email protected]>
clk: lmk04832: Handle reset GPIO lookup errors

Eric Dumazet <[email protected]>

    ipmr: clear skb->cb[] in reg_vif_xmit()

alex todadze <[email protected]>
net: stmmac: fix rx checksum offload with extended descriptors

Dudu Lu <[email protected]>
net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails

Alexandre Cassen <[email protected]>
net/sched: act_api: inherit filter offload flags only on new actions

Dudu Lu <[email protected]>
net/sched: gred: keep the qdisc lock while updating the table

Zhang Yi <[email protected]>
ASoC: codecs: es*: Modify the registers related to ALC RECOVERY

Ravi Hothi <[email protected]>
ASoC: codecs: wsa883x: Fix VI sense port channel count

Ravi Hothi <[email protected]>
ASoC: codecs: wsa884x: Fix VI sense port channel count

Srinivas Kandagatla <[email protected]>
ASoC: codecs: wsa883x: disable runtime PM on unbind

Srinivas Kandagatla <[email protected]>
ASoC: codecs: wsa884x: disable runtime PM on unbind

Hungyu Lin <[email protected]>
thermal: Fix CPU mask truncation in power limit trace event

Sasha Levin <[email protected]>
selftests/thermal: allow cross builds of the Intel tests

Aleksei Oladko <[email protected]>
selftests: fix ARCH normalization to handle command-line argument

TJ Adams <[email protected]>
block: advance iterator after copy-in for SG_DXFER_TO_FROM_DEV

Waiman Long <[email protected]>
cgroup/cpuset: Make sure compute_partition_effective_cpumask() is only called for valid partition

Nguyen Ngoc Thang <[email protected]>
libceph: reject bad connect_seq in msgr1 READY reply

Yogesh Gaur <[email protected]>
ceph: don't keep a mon_addr string that failed to parse

Xiang Mei <[email protected]>
ceph: fix off-by-one NUL termination in decode_encrypted_symlink()

Tal Zussman <[email protected]>
ceph: don't clear write_congested when collecting folios

Tal Zussman <[email protected]>
ceph: fix writeback_count leak when a bounce page allocation fails

Matthew Wilcox (Oracle) <[email protected]>
ceph: Convert ceph_move_dirty_page_in_page_array() to move_dirty_folio_in_page_array()

Tal Zussman <[email protected]>
ceph: fix error handling when the OSD client is stopping in ceph_submit_write()

Viacheslav Dubeyko <[email protected]>
ceph: fix generic/421 test failure

Alex Markuze <[email protected]>
ceph: fix page vector leak on encrypted netfs read EIO path

Xiubo Li <[email protected]>
ceph: mark the superblock active after mounting

Max Kellermann <[email protected]>
ceph: remove unused field i_cap_migration_resv

Henry Martin <[email protected]>
netlink: fix out-of-bounds bitmap access clearing stale mc groups

HyeongJun An <[email protected]>
ALSA: pcmtest: Reject invalid fill_mode values

Cen Zhang <[email protected]>
ALSA: ump: Drain sequencer callbacks before freeing their client

Takashi Iwai <[email protected]>
ALSA: seq: Notify UMP EP and FB changes

Takashi Iwai <[email protected]>
ALSA: seq: Allow system notification in atomic

Dimitris Charisis <[email protected]>
maple_tree: fix maple_range_64 crashes in RCU mode

Pedro Falcato <[email protected]>
maple_tree: Replace mt_free_one() with kfree()

Pedro Falcato <[email protected]>
maple_tree: Use kfree_rcu in ma_free_rcu

Ren Tamura <[email protected]>
tools/cgroup: sum shrinker object counts across NUMA nodes

Lorenzo Stoakes (ARM) <[email protected]>
ALSA: us122l: mark hwdep mappings VM_MIXEDMAP

Ting-Han Hou <[email protected]>
scripts/gdb: fix stack depot out-of-bounds diagnostic

Ting-Han Hou <[email protected]>
scripts/gdb: fix radix tree lookup pointer handling

Ilya Leoshkevich <[email protected]>
scripts/gdb/radix-tree: add lx-radix-tree-command

Avi Weiss <[email protected]>
profiling: fix sampling step on 64-bit big-endian systems

Edward Adam Davis <[email protected]>
kernel/reboot: avoid potential deadlocks during suspension

Aditya Sharma <[email protected]>
bpf: Remove nmi_uaccess_okay() check in bpf_send_signal_common()

Ayushman Rout <[email protected]>
bpf: Use memmove() to load bytes from an skb and an xdp_buff

Feng Yang <[email protected]>
bpf: Propagate btf_add_type() errors in btf_check_all_metas()

Haotian Zhang <[email protected]>
scsi: elx: libefc: Fix resource leak in efcport_init() error path

Dudu Lu <[email protected]>
net/sched: etf: initialise the sock_exterr_skb before filling it

Nandor Kracser <[email protected]>
tls: avoid field-spanning write when copying crypto info

Greg Thelen <[email protected]>
selftests/net: tcp_mmap: remove unused -k option and keepflag

Allison Henderson <[email protected]>
net/rds: keep the connected peer's scope id apart from the bound one

Allison Henderson <[email protected]>
net/rds: include the scope id in the sendmsg connection cache check

Gal Pressman <[email protected]>
net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys

Eric Dumazet <[email protected]>
net: fix frag_list leak in skb_segment_list() error path

Daniel Machon <[email protected]>
net: sparx5: fix tx DCB index drift in fdma xmit

Daniel Machon <[email protected]>
net: sparx5: activate FDMA tx in start()

Daniel Machon <[email protected]>

    net: sparx5: split sparx5_fdma_{start(),stop()}

Daniel Machon <[email protected]>

    net: sparx5/lan969x: do not read past skb->len when injecting a frame

Florian Fuchs <[email protected]>
ALSA: sh: aica: Fix spu_memset() stride

Gregory Price (Meta) <[email protected]>
cgroup/cpuset: check effective mems for a movable-only configuration

Xingyuan Mo <[email protected]>
sctp: reject forged cookie peer_addr with unknown address family

Jiale Yao <[email protected]>
regulator: irq: freeze deferred hardware access during suspend

Marco Crivellari <[email protected]>
regulator: irq_helper: replace use of system_wq with system_dfl_wq

Steven Rostedt <[email protected]>
cpuidle: haltpoll: Only define guest_halt_poll_ns tracepoint when used

bui duc phuc <[email protected]>
ASoC: amd: raven: Fix memory leak in acp3x_dma_close()

Michail Andreas Michalopoulos <[email protected]>
ksmbd: select CRYPTO_AES

Ivan Hu <[email protected]>
ACPICA: Initialize parser_state.aml_end in acpi_install_method()

Nickolai Zeldovich <[email protected]>
nsproxy: Fix cred leak in the error path of prepare_nsset()

Avi Weiss <[email protected]>
signal: skip blocked signals in dequeue_synchronous_signal()

Karl Mehltretter <[email protected]>
netfs: Restore selective debug mask handling

Tianyi Chen <[email protected]>
eventpoll: propagate wakeup source creation failure in ep_modify()

Nickolai Zeldovich <[email protected]>
proc/kcore: advance the vmalloc retry by the last copy, not the total

Marek Szyprowski <[email protected]>
ASoC: wm8994: follow AIF clock source changes in MCLK gating

Binbin Deng <[email protected]>
tipc: fix use-after-free of broadcast reception link at node release

Rand Deeb <[email protected]>
ata: libata-core: Ignore forced transfer modes the host does not support

Travis Howard <[email protected]>
tg3: Add Datto SIRIS 5 1U Server to restart AER quirk table

Eric Dumazet <[email protected]>
net: shrink the payload-only part of skb dataref to one bit

Tianyi Gao <[email protected]>
veth: schedule the peer's NAPI after XDP_TX when only GRO is enabled

Daniel Machon <[email protected]>
net: sparx5/lan969x: do not clobber the PSFP cycle timer update period

Willem de Bruijn <[email protected]>
virtio-net: fix frag overflow in big packets receive

Eric Joyner <[email protected]>
ionic: free port_info when probe fails after the port is set up

Nikhil P. Rao <[email protected]>
ionic: fix port_info use-after-free on firmware recovery

Sivansh Gupta <[email protected]>
mailbox: qcom-cpucp: read mbox hardware register using readq()

Deepti Jaggi <[email protected]>
mailbox: qcom-cpucp: Add support for Nord CPUCP mailbox controller

Daniel Wagner <[email protected]>
nvme-fabrics: clear the poll map if no poll queues are mapped

Daniel Wagner <[email protected]>
nvme-fabrics: limit each queue type to the number of online CPUs

Daniel Wagner <[email protected]>
nvme-fabrics: reset io_queues before computing the queue mapping

James Clark <[email protected]>
perf cs-etm: Don't add global v0 HW_IDs to unformatted queues

Arnaldo Carvalho de Melo <[email protected]>
perf cs-etm: Bounds-check CPU in cs_etm__get_queue()

Namhyung Kim <[email protected]>
perf c2c: Fix memory leaks on output fields

Waldemar Brodkorb <[email protected]>
sh: Select BINFMT_FLAT_NO_DATA_START_OFFSET for !MMU

Marek Szyprowski <[email protected]>
ASoC: samsung: midas_wm1811: run FLL1 at the AIF1 configured rate when idle

Marek Szyprowski <[email protected]>
ASoC: wm8994: fix MCLK index used for setting MCLK rate

Marek Szyprowski <[email protected]>
ASoC: wm8994: don't lose the AIF clock ratio when staying at 32kHz SYSCLK

Marek Szyprowski <[email protected]>
ASoC: wm8994: fix MCLK gating for AIF clocks sourced from MCLK2

HyeongJun An <[email protected]>
selftests: ALSA: pcmtest: Compare all captured bytes in ni_capture

Alexandre Cassen <[email protected]>
net/mlx5: HWS, fix modify header pattern compare on big-endian

Anil Kaushik <[email protected]>
gtp: hold RCU for the device lookup when adding a PDP context

Anil Kaushik <[email protected]>
gtp: set a valid genl command in PDP context get and dump replies

HyeongJun An <[email protected]>
selftests: ALSA: pcmtest: Make room for the longest fill pattern

HyeongJun An <[email protected]>
selftests: ALSA: pcmtest: Check the frame count of each transfer

Takashi Iwai <[email protected]>
platform/x86: ibm_rtl: Fix potential OOB read at signature search

Jiale Yao <[email protected]>
Drivers: hv: vmbus: Check ACPI companion before use

Cen Zhang <[email protected]>
ocfs2: initialize status waiters before publishing them

Joseph Qi <[email protected]>
ocfs2: reserve xattr value tree metadata only once

Carolina Jubran <[email protected]>
net: skbuff: don't copy alloc_cpu in skb header copies

Michail Andreas Michalopoulos <[email protected]>
ksmbd: reject FILE_ATTRIBUTE_TEMPORARY on directories

Mohammed Alquraini <[email protected]>
ksmbd: reject foreign RPC pipe handles on IPC$ read and write

Namjae Jeon <[email protected]>
ksmbd: fix fd_limit accounting across durable reconnects

ChenXiaoSong <[email protected]>
smb/server: fix trailing period in generated short names

Henry Hu <[email protected]>
ksmbd: report IPv4 and IPv6 addresses independently in iface query

ZhangGuoDong <[email protected]>
smb: move some duplicate definitions to common/smb2pdu.h

ChenXiaoSong <[email protected]>
smb: move create_durable_rsp_v2 to common/smb2pdu.h

ChenXiaoSong <[email protected]>
smb: move create_durable_handle_reconnect_v2 to common/smb2pdu.h

ChenXiaoSong <[email protected]>
smb: move create_durable_req_v2 to common/smb2pdu.h

ZhangGuoDong <[email protected]>
smb: move smb_sockaddr_in and smb_sockaddr_in6 to common/smb2pdu.h

Pali Rohár <[email protected]>
cifs: Update description about ACL permissions

Henry Hu <[email protected]>
ksmbd: fix invalid Next offset in interface info replies

Henry Hu <[email protected]>
ksmbd: fix unlocked IPv6 addr_list walk in fsctl_query_iface_info_ioctl()

Henry Hu <[email protected]>
ksmbd: fix link speed query in fsctl_query_iface_info_ioctl()

Mingming Cao <[email protected]>
ibmveth: wait for the RX poll to return before freeing the RX queue

Mingming Cao <[email protected]>
ibmveth: wait for in-flight transmits in ibmveth_close()

Mingming Cao <[email protected]>
ibmveth: return the error when set_channels cannot add TX queues

Mingming Cao <[email protected]>
ibmveth: fix netpoll races with RX replenish

Ovidiu Panait <[email protected]>
net: stmmac: Track the TX DMA threshold per queue

Kunihiko Hayashi <[email protected]>
net: stmmac: Correct usage of maximum queue number macros

Furong Xu <[email protected]>
net: stmmac: Drop useless code related to ethtool rx-copybreak

Jiale Yao <[email protected]>
team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add

Ido Schimmel <[email protected]>
ipv6: Hold RCU when emitting route hardware flags notification

Rosen Penev <[email protected]>
net: phy: marvell: keep WOL_EIE across interrupt reconfiguration

Myeonghun Pak <[email protected]>
platform/x86: gpd pocket fan: Cancel work before releasing GPIOs

Eric Dumazet <[email protected]>
ipv6: account route exceptions to the netns of their dst

Sagi Maimon <[email protected]>
net: axienet: release every RX buffer in axienet_dma_bd_release()

Ido Schimmel <[email protected]>
bridge: mcast: Delete empty MDB entry when port group creation fails

Florian Fainelli <[email protected]>
net: bcmasp: fix network filter lookup and wake filter pair allocation

Florian Fainelli <[email protected]>
net: bcmasp: account for offload header in TX short packet padding

Florian Fainelli <[email protected]>
net: bcmasp: fix OF node reference leak for phy_dn

Florian Fainelli <[email protected]>
net: bcmasp: validate minimum RX packet size in bcmasp_rx_poll()

Florian Fainelli <[email protected]>
net: bcmasp: unmap previous DMA mappings on TX map failure

Florian Fainelli <[email protected]>
net: bcmasp: fix mib counters struct alignment with ethtool stats

Myeonghun Pak <[email protected]>
net: hix5hd2: serialize timeout recovery with interface teardown

Karl Mehltretter <[email protected]>
net: phy: realtek: restore RTL8211F RGMII delays on resume

Vladimir Oltean <[email protected]>
net: phy: realtek: create rtl8211f_config_rgmii_delay()

Marek Vasut <[email protected]>
net: phy: realtek: Avoid PHYCR2 access if PHYCR2 not present

Michael Klein <[email protected]>
net: phy: realtek: add RTL8211F register defines

Daniel Braunwarth <[email protected]>
net: phy: realtek: Add support for WOL magic packet on RTL8211F

Russell King (Oracle) <[email protected]>
net: phy: realtek: disable PHY-mode EEE

Heiner Kallweit <[email protected]>
net: phy: realtek: use string choices helpers

Heiner Kallweit <[email protected]>
net: phy: move realtek PHY driver to its own subdirectory

Anirudh Virdi <[email protected]>
net: qede: initialize extack in qede_flow_spec_to_rule()

Binbin Deng <[email protected]>
octeontx2: Fix use-after-free of qos node in delete path

Rishikesh Jethwani <[email protected]>
tls: device: protect async RX resync state during device-down

Eric Dumazet <[email protected]>
tcp: tcp_metrics: use the socket netns, not the dst device netns

Fernando Fernandez Mancera <[email protected]>
net: openvswitch: drop IP fragments on SCTP set action

Fernando Fernandez Mancera <[email protected]>
net: openvswitch: skip IPv4 later fragments on TCP/UDP set actions

Linus Torvalds <[email protected]>
vhost: vringh: use get_user()/put_user() for IOTLB 16-bit accesses

Rob Herring (Arm) <[email protected]>
dt-bindings: clock: mediatek: Add MT8516 fallbacks

HyeongJun An <[email protected]>
ASoC: cs42l56: Remove the ADC Mute Switch control

Liang Hao <[email protected]>
timers: Clear pending_map on CPU hotplug

Karl Mehltretter <[email protected]>
rtc: class: Make the time32 hctosys limit configurable

Baek Kyu, Kim <[email protected]>
rtc: mpfs: Fix alarm register word order

James Hilliard <[email protected]>
net: stmmac: avoid duplicate XSK TX completions

Yongzhao Chen <[email protected]>
net: phy: qca83xx: read resolved QCA8337 link status

Matthieu Baerts (NGI0) <[email protected]>
mptcp: options: dss: avoid printing uninit csum

Matthieu Baerts (NGI0) <[email protected]>
mptcp: options: mpc: avoid printing uninit data

Pengfei Zhang <[email protected]>
net: stmmac: xgmac: do not treat TBU as a TX event

Li RongQing <[email protected]>
RDMA/mlx5: Fix CQ resize destination index mask

Jamal Hadi Salim <[email protected]>
net/sched: act_api: reject duplicate actions in a batch

Fan Wu <[email protected]>
ipe: fix enforcement audit

Manuel Ebner <[email protected]>
ipe: fix invalid sgid value in audit event documentation

Gregory Price (Meta) <[email protected]>
cgroup/cpuset: use mems_allowed_seq when checking a policy nodemask

Li RongQing <[email protected]>
block, bfq: initialize active lists for all actuators

Cen Zhang <[email protected]>
ALSA: aloop: Keep the timer source alive until card release

Tigran Mkrtchyan <[email protected]>
pNFS/flexfiles: make pg_init retry loops killable

Tigran Mkrtchyan <[email protected]>
nfsv4/pnfs: use the MDS authflavor for data server connections

Cen Zhang <[email protected]>
ALSA: pcm: Protect channel-map reads against runtime detach

Cen Zhang <[email protected]>
ALSA: jack: Pin the module while debugfs files are open

Cen Zhang <[email protected]>
ALSA: pcm: Remove channel-map controls before freeing substreams

Cen Zhang <[email protected]>
ALSA: pcmtest: Pin the module while pattern files are open

Thomas Weißschuh <[email protected]>
nios2: ksyms: Declare __mulsi3 export

Sung Byeongchan <[email protected]>
netfilter: xt_dccp: handle reserved options as single-byte

Shuangfeng He <[email protected]>
netfilter: flowtable: use the vlan id, not the full tci, in the tuple key

Julian Anastasov <[email protected]>
ipvs: fix more races around the overload flag

Jérémy Jean <[email protected]>
netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset

Alok Tiwari <[email protected]>
octeontx2-af: Fix CQ enable state tracking after AQ writes

Cen Zhang <[email protected]>
ALSA: oss: Keep emulation modules loaded until object teardown

Cen Zhang <[email protected]>
ALSA: pcm: Protect the unregister notifier traversal

Qiliang Yuan <[email protected]>
selftests/bpf: Run the cpumask map insert tests only for the test task

KaFai Wan <[email protected]>
selftests/bpf: Use _exit() in uprobe_multi_test clone-ed child

Troy Mitchell <[email protected]>
dt-bindings: vendor-prefixes: Add Sensylink

Serhat Kumral <[email protected]>
RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()

Zhiwei Zhang <[email protected]>

    RDMA/rxe: Clear pkt->qp before the early drop exits in rxe_rcv()

HyeongJun An <[email protected]>
ASoC: tlv320aic32x4: Fix definition of TAS2505 HP Driver Gain Volume control

Dmitry Torokhov <[email protected]>
ASoC: tlv320aic32x4: clean up driver code formatting and logging

Dmitry Torokhov <[email protected]>
ASoC: tlv320aic32x4: move regmap_config into i2c and spi drivers

HyeongJun An <[email protected]>
ASoC: codecs: sta350: Fix definition of limiter threshold controls

HyeongJun An <[email protected]>
ASoC: codecs: sta32x: Fix definition of limiter threshold controls

Serhat Kumral <[email protected]>
RDMA/srp: Avoid reading uninitialized has_port on srp_parse_in() failure

Leon Romanovsky <[email protected]>
RDMA/core: Reject LAG selection when source MAC lookup fails

Leon Romanovsky <[email protected]>
RDMA/core: Free unpublished port statistics after initial-read failure

Leon Romanovsky <[email protected]>
RDMA/core: Preserve the selected source GID on failed AH modification

Igor Velkov <[email protected]>
power: supply: gpio-charger: Report discharging without input power

Aleksandr Nogikh <[email protected]>
usb: gadget: dummy_hcd: prevent unbind via sysfs

Igor Skalkin <[email protected]>
usb: gadget: dummy_hcd: fix SuperSpeed ep0 maxpacket

Alexei Starovoitov <[email protected]>
bpf: Use memmove() to store bytes in an xdp_buff

Josef Bacik <[email protected]>
bpf: Use memmove() to store bytes in an skb

Josef Bacik <[email protected]>
bpf: Use the socket of a sk_lookup test run under RCU

Paul Chaignon <[email protected]>
bpf: Craft non-linear skbs in BPF_PROG_TEST_RUN

Paul Chaignon <[email protected]>
bpf: Reorder bpf_prog_test_run_skb initialization

Paul Chaignon <[email protected]>
bpf: Refactor cleanup of bpf_prog_test_run_skb

Mahe Tardy <[email protected]>
bpf: fix cgroup_skb prog test run direct packet access

Josef Bacik <[email protected]>
bpf: Keep the symbols of a program until it has ended

Alexei Starovoitov <[email protected]>
bpf: Don't take a program with a target program for an iterator

Florian Westphal <[email protected]>
netfilter: nft_compat: restrict raw table targets/matches

Florian Westphal <[email protected]>
selftests: netfilter: fix return value in zone subtest

Florian Westphal <[email protected]>
netfilter: conntrack: fix unlikely UaF in gc worker

Bjorn Andersson <[email protected]>
power: supply: qcom_battmgr: report full batteries

Alexei Starovoitov <[email protected]>
bpf: Don't take an extension for a writable raw tracepoint program

Josef Bacik <[email protected]>
bpf: Don't take an extension for an iterator program

Josef Bacik <[email protected]>
bpf: Don't bind a program to a netdev that goes away

Josef Bacik <[email protected]>

    bpf: Fix stale offload->prog pointer after realloc

Josef Bacik <[email protected]>
bpf: Bound the nesting that the BTF show code follows

Alexei Starovoitov <[email protected]>
bpf: Clear sk_refcnt of a clone before its storage is linked

Josef Bacik <[email protected]>
bpf: Update the SRH state if End.B6 fails late

Josef Bacik <[email protected]>
bpf: Pull the inner header for End.DT6 in End.BPF

Josef Bacik <[email protected]>
bpf: Validate the SRH which End.DT6 uncovers in End.BPF

Josef Bacik <[email protected]>
bpf: Read the probe of a perf event under event_mutex

Tao Chen <[email protected]>
bpf: Add show_fdinfo for perf_event

Josef Bacik <[email protected]>
bpf: Don't let bpf_skb_adjust_room() use up the MSS

Jakub Sitnicki <[email protected]>
bpf: Make bpf_skb_adjust_room metadata-safe

Jakub Sitnicki <[email protected]>
net: Helper to move packet data and metadata after skb_push/pull

Josef Bacik <[email protected]>
bpf: Look at all 64 bits of a BPF_JSET mask on 32-bit

Josef Bacik <[email protected]>
bpf: Reject sleepable programs for task_vma iterator

Joonhoe Kim <[email protected]>
power: supply: qcom_battmgr: report the USB type from USB_ADAP_TYPE

Jiayuan Chen <[email protected]>
bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields

Cen Zhang <[email protected]>
ALSA: jack: Protect the index scan against control removal

Brad Fitzpatrick <[email protected]>
gre: keep the UDP tunnel GSO type when completing GRO

Joas Antonio dos Santos <[email protected]>
calipso: update payload_len when removing the CALIPSO option

HyeongJun An <[email protected]>
ASoC: codecs: sta350: Fix definition of Ch2 and Ch3 Volume Bypass controls

HyeongJun An <[email protected]>
ASoC: codecs: sta32x: Fix definition of Ch2 and Ch3 Volume Bypass controls

HyeongJun An <[email protected]>
ASoC: codecs: tlv320adc3xxx: Fix definition of AGC Target Level control

HyeongJun An <[email protected]>
ASoC: codecs: da732x: Fix definition of ADC2 EQ Overall Volume control

Yuan Chen <[email protected]>
bpf: Claim the per-CPU send_signal irq_work before filling it

Puranjay Mohan <[email protected]>
bpf: Implement bpf_send_signal_task() kfunc

Sasha Levin <[email protected]>
ARC: Strip libgcc debug information when generating BTF

Tal Zussman <[email protected]>
btrfs: update the inode item when removing a free space inode

Tal Zussman <[email protected]>
btrfs: drop the extent maps of the written part of a failed ordered extent

Filipe Manana <[email protected]>
btrfs: remove leftover EXTENT_UPTODATE clear from an inode's io_tree

Piotr Gliźniewicz <[email protected]>
ALSA: 6fire: take stream_mutex in the Digital Thru control

Myeonghun Pak <[email protected]>
platform: cznic: turris-omnia-mcu: stop button emulation producers

Ömer Mete Kaya <[email protected]>
usbnet: fix smp_processor_id() use in preemptible context

Fabrice Derepas <[email protected]>
ima: reject a kexec buffer whose declared size exceeds the buffer

Tao Cui <[email protected]>
blk-iocost: account zone append completions in latency stats

Tao Cui <[email protected]>
blk-iocost: charge zone appends as writes

Colin Ian King <[email protected]>
selftests/bpf: Fix spelling mistakes in descr literal strings

Yuan Chen <[email protected]>
bpftool: Fix inverted tracefs validation when scanning /proc/mounts

Qiliang Yuan <[email protected]>
selftests/bpf: Expect at least one kprobe miss in missed/perf_kprobe

Matheus Alves de Almeida <[email protected]>
HID: wacom: fix wacom_intuos_irq NULL pen_input deref

Dmitriy Geels <[email protected]>
HID: logitech-hidpp: cancel reset_hi_res_work on probe failure

Cen Zhang <[email protected]>
ALSA: vmaster: Protect follower lookup and setup

Qiliang Yuan <[email protected]>
selftests/bpf: Unmount the bpffs that cgroup_hierarchical_stats mounted

Qiliang Yuan <[email protected]>
selftests/bpf: Keep the bpffs of cgroup_hierarchical_stats private

Theodor Arsenij Larionov Trichkine <[email protected]>
net: use the full socket in sk_mc_loop()

Eric Dumazet <[email protected]>
ipv4: use RCU protection in inet_netconf_get_devconf()

George Melikov <[email protected]>
bnx2x: fix header length calculation for encapsulated TSO

Muchun Song <[email protected]>
dax/bus: Return errors for invalid mapping targets

Stefano Munari <[email protected]>
net: usb: lan78xx: reject invalid EEPROM write requests

Jérémy Jean <[email protected]>
macsec: prevent AES-GCM nonce reuse after packet number wrap

KaFai Wan <[email protected]>
selftests/bpf: Fix prog_tests framework subtest count checks

Donggeun Yoo <[email protected]>
tracing: Print a signed histogram key as signed

Atharva Vartak <[email protected]>
net/smc: hold a reference on net_device returned by pnet_find_base_ndev()

Jianan Huang <[email protected]>
f2fs: quota: fix quota flush failure during filesystem freeze

pengdonglin <[email protected]>
tracing: Avoid BTF lookup in atomic context

Donggeun Yoo <[email protected]>
tracing: Clamp the printed end of a histogram bucket at U64_MAX

Donggeun Yoo <[email protected]>
tracing: Only report the stacktrace modifier on a real field

Donggeun Yoo <[email protected]>
tracing: Print the bucket size as unsigned

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix ETDM probe error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix HDMI TX startup error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix ETDM startup error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix ETDM MCLK error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Propagate IRQ lookup errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix runtime resume error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Check paired MEMIF clock enable in FE trigger

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix FE startup error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix paired memif clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix main clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix timing system clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix register access clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix tuner clock error handling

Amadeusz Sławiński <[email protected]>
ASoC: soc-component: Fix return type of snd_soc_pcm_component_pointer()

Amadeusz Sławiński <[email protected]>
ASoC: soc-ac97: Fix error handling in snd_soc_new_ac97_component()

Amadeusz Sławiński <[email protected]>
ASoC: soc-card-test: Check return value of kunit_device_register()

Amadeusz Sławiński <[email protected]>
ASoC: soc-topology-test: Check return value of kunit_device_register()

Amadeusz Sławiński <[email protected]>
ASoC: ops: Fix return value in snd_soc_limit_volume()

Amadeusz Sławiński <[email protected]>
ASoC: soc-link: Correct stream stop operations in snd_soc_link_trigger

Hongbo Li <[email protected]>
ASoC: remove unused substream in macro soc_link_mark_pop

Abraham Zukor <[email protected]>
spi: tegra114: initialize native chip selects inactive

Haotian Zhang <[email protected]>
ASoC: rockchip: fix device node reference leak in rk3288_hdmi_analog

bui duc phuc <[email protected]>
ASoC: rockchip: rk3288_hdmi_analog: Use dev_err_probe() for error handling

bui duc phuc <[email protected]>
ASoC: rockchip: rk3288_hdmi_analog: Drop redundant probe error messages

Sasha Levin <[email protected]>
selftests: keep the build status from wrapping to success

Michael Auer <[email protected]>
ASoC: qcom: sdm845: Disable the quaternary MI2S bit clock on shutdown

Robert Oscilowski <[email protected]>
ASoC: qcom: sdm845: set quaternary MI2S codec DAI to I2S format

Alexey Klimov <[email protected]>
ASoC: qcom: sdm845: add handling of secondary MI2S clock

Cezary Rojewski <[email protected]>
ASoC: Intel: avs: Prevent module info underflow

Cezary Rojewski <[email protected]>
ASoC: Intel: avs: Unprepare a stream when recovery occurs

Jacob Moroni <[email protected]>
RDMA/irdma: Fix FRWR IRDMAQPSQ_PBLADDR field population

Serhat Kumral <[email protected]>
IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()

Sasha Levin <[email protected]>
kselftest/arm64: signal: copy each test binary only once

Takashi Iwai <[email protected]>
ALSA: core: Serialize snd_refcount put and sync

Qiliang Yuan <[email protected]>
selftests/bpf: Create the vxlan devices of test_tunnel with their MAC

Jaewon Jung <[email protected]>
selftests/ftrace: Avoid unlink error on first run

Youngsung Ahn <[email protected]>

    RDMA/rxe: bound the WQE opcode before indexing rxe_wr_opcode_info[]

Honggang LI <[email protected]>
RDMA/rxe: Fix out-of-range unsigned-to-signed conversion for RDMA message in 2GiB size

xiongweimin <[email protected]>
RDMA/rxe: Hold netdev reference for transmit skbs

Youngsung Ahn <[email protected]>

    RDMA/rxe: validate inline sge_offset in finish_packet() before indexing inline_data[]

Youngsung Ahn <[email protected]>
RDMA/rxe: reject IB_WR_REG_MR from user QPs in rxe_reg_fast_mr()

Youngsung Ahn <[email protected]>
RDMA/rxe: refuse to destroy a QP with type 2 MWs still bound

Sahaj Chaudhari <[email protected]>
spi: omap2-mcspi: handle DMA setup failures

Takashi Iwai <[email protected]>
ALSA: pcm: Add refcount for races between drain and unlink

Takashi Iwai <[email protected]>
ALSA: Add simple refcount helper functions

Zhu Ling <[email protected]>
irqchip/gic: Fix UBSAN shift-out-of-bounds in GIC helpers

Fuad Tabba <[email protected]>
irqchip/gic-v3: Don't register a redistributor that was never counted

Fuad Tabba <[email protected]>
irqchip/gic-v3-its: Don't free the tables of an enabled ITS

Fuad Tabba <[email protected]>
irqchip/gic-v3-its: Don't free a vPE table shared with another ITS

Steven Price <[email protected]>
irqchip/gic-v3-its: Share ITS tables with a non-trusted hypervisor

Pengpeng Hou <[email protected]>
irqchip/riscv-imsic: Reject overlapping group index fields

Fuad Tabba <[email protected]>
irqchip/gic-v3-its: Clear vpt_page after freeing the pending table

David Howells <[email protected]>
rxrpc: Revert "rxrpc: rxperf: Fix missing decoding of terminal magic cookie"

Carolina Jubran <[email protected]>
IB/IPoIB: Cancel normal flush work on device stop

Jiayuan Chen <[email protected]>
veth: clear rx queue hint in veth_xmit

Qiliang Yuan <[email protected]>
selftests/bpf: Expect at least one tp_recursion miss in missed

Sagi Maimon <[email protected]>
net: axienet: free outstanding TX buffers in axienet_dma_bd_release()

Kyrylo Biryuk <[email protected]>
ata: libahci: re-enable FBS after error handling on a port multiplier

Long Zhao <[email protected]>
dt-bindings: vendor-prefixes: add Ambarella

Fenglin Wu <[email protected]>
spmi: pmic-arb: return 0 in spmi_pmic_arb_register_buses() on success

Xingui Yang <[email protected]>
scsi: hisi_sas: Fix spinup failure for SAS SSP devices in Active_Wait state

Damien Le Moal <[email protected]>
scsi: core: Prepare for using combined sense codes

Damien Le Moal <[email protected]>
scsi: core: Rename sense field of struct scsi_failure

Damien Le Moal <[email protected]>
scsi: core: Define all additional sense codes and their qualifiers

Damien Le Moal <[email protected]>
scsi: scsi_debug: move ASC and ASCQ definitions to scsi_proto.h

Niklas Cassel <[email protected]>
scsi: libsas: Add dev_parent_is_expander() helper

Kai Mäkisara <[email protected]>
scsi: scsi_debug: Add write support with block lengths and 4 bytes of data

Kai Mäkisara <[email protected]>
scsi: scsi_debug: Add READ BLOCK LIMITS and modify LOAD for tapes

Xingui Yang <[email protected]>
scsi: hisi_sas: Fix incorrect delay values from magic-number cleanup

Xingui Yang <[email protected]>
scsi: libsas: Fix out-of-bounds memcpy() in sas_ssp_task_response()

Nicolai Buchwitz <[email protected]>
net/mlx5e: use skb_share_check() in the loopback selftest hook

Nicolai Buchwitz <[email protected]>
net: stmmac: selftests: use skb_share_check() in the loopback receive hook

Nicolai Buchwitz <[email protected]>
net: selftests: use skb_share_check() in the loopback receive hook

Cen Zhang <[email protected]>
Bluetooth: MSFT: Serialize handle map cleanup with event processing

Kiran K <[email protected]>
Bluetooth: btintel: Zero version data before parsing TLVs

Laxman Acharya Padhya <[email protected]>
Bluetooth: btintel: propagate version TLV parsing errors

Cen Zhang <[email protected]>
Bluetooth: hci_sync: Protect IRK identity reads with RCU

Eric Dumazet <[email protected]>
Bluetooth: btmtk: fix skb double free on ISO padding failure

Cen Zhang <[email protected]>
Bluetooth: 6lowpan: Drain RCU readers on registration failure

Cen Zhang <[email protected]>
Bluetooth: msft: Lock failed probe cleanup against feature readers

Cen Zhang <[email protected]>
Bluetooth: MGMT: Reject quality report requests during unregister

Cen Zhang <[email protected]>
Bluetooth: ISO: Hold the listener during disconnect notification

Cen Zhang <[email protected]>
Bluetooth: hci_sync: Serialize devcoredump reset during device open

Cen Zhang <[email protected]>
Bluetooth: hci_core: Keep RCU protection through LTK filtering

Hitalo Souza <[email protected]>
Bluetooth: Add missing newline to bt_dev_{err,warn}_ratelimited()

Cen Zhang <[email protected]>
Bluetooth: 6LoWPAN: Use RCU-safe device list removal

Luiz Augusto von Dentz <[email protected]>
Bluetooth: MGMT: Fix leaking instance on Add Extended Advertising Parameters

Luiz Augusto von Dentz <[email protected]>
Bluetooth: MGMT: Fix pending state of instances added without HCI traffic

Luiz Augusto von Dentz <[email protected]>

    Bluetooth: HCI: Fix tracking of instances sharing handle 0x00

Luiz Augusto von Dentz <[email protected]>
Bluetooth: MGMT: Fix advertising instances with Global Advertising

Kiran K <[email protected]>
Bluetooth: btusb: Preserve event and ACL packet ordering

Zijun Hu <[email protected]>
Bluetooth: btusb: Make btusb_recv_{event,acl}() take struct hci_dev *

Chris Lu <[email protected]>
Bluetooth: btmtk: Improve BT firmware logging

Chris Lu <[email protected]>
Bluetooth: btmtk: Validate the firmware layout before parsing it

Pauli Virtanen <[email protected]>
Bluetooth: L2CAP: hold chan in l2cap_ecred_conn_rsp()

Pauli Virtanen <[email protected]>
Bluetooth: L2CAP: hold l2cap_conn::lock in l2cap_connect_cfm()

Pauli Virtanen <[email protected]>

    Bluetooth: L2CAP: take chan->lock for l2cap_chan_add/ready/del

Chris Lu <[email protected]>
Bluetooth: btmtksdio: Pass the hardware device id to mt79xx_setup()

Chris Lu <[email protected]>
Bluetooth: btmtksdio: Remove redundant firmware filename override

Mohamad Raizudeen <[email protected]>
PCI: Fix out-of-bounds MMIO read in nvme_disable_and_flr()

Marek Szyprowski <[email protected]>
ARM: 9519/1: dma-mapping: Fix wrong free function in __iommu_alloc_simple() error path

Karl Mehltretter <[email protected]>
ARM: 9492/1: alignment: fix LSR #32 and ASR #32 offset decoding

Karl Mehltretter <[email protected]>
ARM: 9486/1: set !LPAE MAX_PHYSMEM_BITS to 32 and remove supersection mappings

Atul Akella <[email protected]>
rpmsg: virtio: fix error handling in TX buffer wait

Patrick Oppenlander <[email protected]>
rpmsg: virtio: EPOLLOUT support

Dr. David Alan Gilbert <[email protected]>
rpmsg: virtio: Remove uncallable offchannel functions

Avi Weiss <[email protected]>
rpmsg: mtk: release channel OF node on device teardown

HyeongJun An <[email protected]>
ASoC: codecs: wm8510: Fix definition of ADC Inversion Switch control

HyeongJun An <[email protected]>
ASoC: codecs: wm8750: Fix definition of ALC Capture NG Type control

HyeongJun An <[email protected]>
ASoC: codecs: wm5100: Fix definition of EQ3 Band 1 Volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8737: Fix definition of zero cross switches

HyeongJun An <[email protected]>
ASoC: codecs: wm_hubs: Fix definition of MIXINR to MIXOUTR volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8955: Fix definition of Treble Cutoff control

HyeongJun An <[email protected]>
ASoC: codecs: wm8994: Fix definition of WM8958 noise gate hold time controls

HyeongJun An <[email protected]>
ASoC: codecs: wm8985: Fix definition of ADC 128x Oversampling control

HyeongJun An <[email protected]>
ASoC: codecs: wm8983: Fix definition of ADC 128x Oversampling control

HyeongJun An <[email protected]>
ASoC: codecs: wm8991: Fix definition of LOMIX AINLMUX Bypass Volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8991: Fix definition of right input PGA controls

HyeongJun An <[email protected]>
ASoC: codecs: wm8990: Fix definition of LOMIX AINLMUX Bypass Volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8990: Fix definition of right input PGA controls

Tim Douglas <[email protected]>
serial: pmac_zilog: report received breaks

Karl Mehltretter <[email protected]>
serial: ma35d1: Do not force-enable an unselected console

Muhammad Bilal <[email protected]>
platform/x86: hp-bioscfg: fix oops on short integer attribute buffer

Muhammad Bilal <[email protected]>
platform/x86: hp-bioscfg: validate SPM state returned by firmware

Muhammad Bilal <[email protected]>
platform/x86: hp-bioscfg: fix off-by-one in password length check

Cen Zhang <[email protected]>
ALSA: pcm: Unlink substreams before releasing them

Johannes Berg <[email protected]>
wifi: cfg80211: track SSID regardless of country data

Julian Anastasov <[email protected]>
ipvs: fix buffer overflow when sending sync messages

Binbin Deng <[email protected]>
module: Fix uninitialized count read of unloaded taint tracking record

Kees Cook <[email protected]>
mm/slab: Mark the kmem_buckets_create() context as a Context: section

Vlastimil Babka <[email protected]>
mm, slab: add kerneldocs for common SLAB_ flags

Karl Mehltretter <[email protected]>
thermal: ti-soc-thermal: Fix the return value in ti_bandgap_get_sensor_data() kernel-doc

Florian Fainelli <[email protected]>
tools/thermal/tmon: Fix string truncation warning in optarg copy

Weigang He <[email protected]>
thermal/drivers/sprd: validate the sensor id from the device tree

Takashi Iwai <[email protected]>
ALSA: usb-audio: Use fixed control index for us16x08 mixer elements

Cen Zhang <[email protected]>
ALSA: vmaster: Serialize hook registration with control callbacks

Takashi Iwai <[email protected]>
ALSA: line6: Use kzalloc() for PCM buffer allocation

Takashi Iwai <[email protected]>
ALSA: pcm: Protect delay DMA sync in forward and rewind, too

Takashi Iwai <[email protected]>
ALSA: jack: Fix kctl free at error in snd_jack_kctl_new()

Amadeusz Sławiński <[email protected]>
ALSA: pcm: Fix driver_tstamp value reporting

Karl Mehltretter <[email protected]>
kcov: report spurious PCs in the interrupt selftest

Karl Mehltretter <[email protected]>
resource, kunit: stop selecting GET_FREE_REGION

Nguyen Ngoc Thang <[email protected]>
ocfs2: validate chunk and block counts of the local quota file

Joseph Qi <[email protected]>
ocfs2: fix possible deadlock between nfs_sync_rwlock and fs_reclaim

Joseph Qi <[email protected]>
ocfs2: retain all security xattrs during inode creation

Zhiling Zou <[email protected]>
lib: validate in-memory LZ4 chunk length

Bart Van Assche <[email protected]>
scsi: scsi_debug: Fix a locking bug in resp_write_same()

Runyu Xiao <[email protected]>
ASoC: codecs: wcd937x: request watchdog IRQs without devm

Priyanka Mani <[email protected]>
ASoC: mediatek: mt8365: Fix out-of-bounds read in get_iir_coef()

Karl Mehltretter <[email protected]>
sh: sh7785lcr: Register the PCA9564 controller as I2C bus 0

bui duc phuc <[email protected]>
ASoC: atmel-i2s: use optional API for gclk

bui duc phuc <[email protected]>
ASoC: atmel-i2s: use optional API for muxclk

bui duc phuc <[email protected]>
ASoC: atmel-i2s: fix MCK generator error handling

bui duc phuc <[email protected]>
ASoC: intel: atom: Fix .shutdown() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: Intel: atom: Use scoped_guard() for scoped locking

bui duc phuc <[email protected]>
ASoC: intel: atom: Use __free(kfree) for stream pointer

bui duc phuc <[email protected]>
ASoC: imx-pcm-rpmsg: Fix imx_rpmsg_pcm_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: atmel: atmel-pcm-pdc: Fix atmel_pcm_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: yc: Fix acp6x_pdm_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: vangogh: Fix acp5x_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: renoir: Fix acp_pdm_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: raven: Fix acp3x_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: ps: Fix acp63_sdw_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: ps: Fix acp63_pdm_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: acp: Fix .close() being skipped on rollback

Mingxuan Guo <[email protected]>

    firmware: cs_dsp: clear dsp->running on the cs_dsp_run() error path

Yao Sang <[email protected]>
nvme: pass partition flags to passthrough checks

Sung Byeongchan <[email protected]>
nvmet-auth: reject undersized AUTH_SEND payloads

Palla Raghunath <[email protected]>
nvmet-fc: don't drop the last assoc reference in nvmet_fc_delete_ctrl()

Surabhi Gogte <[email protected]>
nvme-tcp: store and use the caller's network namespace

Peijie Shao <[email protected]>
nvme-tcp: fix selinux denied when calling sock_sendmsg

Heiko Carstens <[email protected]>
s390/uprobes: Fix off-by-one bug in emulated PER handling

Heiko Carstens <[email protected]>
s390/ptrace: Preserve ILC when updating system call number

Konrad Dybcio <[email protected]>
clk: qcom: rcg2: Clear force enable after rate failure

Konrad Dybcio <[email protected]>
clk: qcom: rcg2: Propagate force-enable status errors

Konrad Dybcio <[email protected]>
clk: qcom: rcg2: Initialize shared floor clock state

Abel Vesa <[email protected]>
clk: qcom: mmcc-msm8960: Configure PLL15 only on APQ8064

Abel Vesa <[email protected]>
clk: qcom: mmcc-sdm660: Fix MDSS AHB clock HWCG register offset

Abel Vesa <[email protected]>
clk: qcom: mmcc-msm8996: Fix FD AHB clock register offset

Konrad Dybcio <[email protected]>
clk: qcom: gcc-x1e80100: Don't poll the status bit of GCC_USB4_n_SYS_CLK

Yuho Choi <[email protected]>
bus: arm-cci: Drop cci-control-port node reference in __cci_ace_get_port()

Yuho Choi <[email protected]>
bus: arm-cci: Drop CPU node reference in cci_ace_init_ports()

Linkai Gong <[email protected]>
char: scx200_gpio: check cdev_add() return value

Sasha Levin <[email protected]>
tools: hv: remove unused rte_smp_mb()

Weigang He <[email protected]>
thermal/drivers/ti-soc-thermal: Cancel pending alert work on remove

Yogesh Gaur <[email protected]>
comedi: pcmuio: validate the IRQs supplied by userspace

Yogesh Gaur <[email protected]>
comedi: pcmmio: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: dmm32at: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: dt2814: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: ni_atmio16d: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: comedi_parport: validate the IRQ supplied by userspace

Thomas Fourier <[email protected]>
net: alacritech: fix dma_free_coherent() in error path

Weiming Shi <[email protected]>
fs/ntfs3: do not mark frame pages uptodate on read error

Konstantin Komarov <[email protected]>
fs/ntfs3: remove ntfs_bio_pages and use page cache for compressed I/O

Matthew Wilcox (Oracle) <[email protected]>
ntfs: Do not kmap pages used for reading from disk

Ethan Ferguson <[email protected]>
ntfs3: add FS_IOC_SETFSLABEL ioctl

Ethan Ferguson <[email protected]>
ntfs3: add FS_IOC_GETFSLABEL ioctl

Tapio Reijonen <[email protected]>

    serial: max310x: don't power down the port mid-transmission on close

Tapio Reijonen <[email protected]>

    serial: max310x: fix RS485 delays being programmed as bit-times

Tapio Reijonen <[email protected]>

    serial: max310x: centralize the RS485 transceiver programming

Tapio Reijonen <[email protected]>

    serial: max310x: fix breaks not reaching the wire in RS485 mode

Tapio Reijonen <[email protected]>

    serial: max310x: don't clobber the TX break bit in set_termios

Jiayuan Chen <[email protected]>
tcp_cubic: fix divide by zero and endless loop on bad module params

Jiayuan Chen <[email protected]>

    tcp_hybla: fix divide by zero on rtt0 == 0

Jiayuan Chen <[email protected]>

    tcp_bic: fix divide by zero on max_increment == 0

Jeff Chen <[email protected]>
wifi: mwifiex: append hotfix number to firmware version string

Chien Wong <[email protected]>
wifi: mac80211: reserve MME tailroom for protected beacons

Chien Wong <[email protected]>
wifi: mac80211: fix encryption tailroom

Yonatan Nachum <[email protected]>
RDMA/efa: Fix race between admin command timeout and completion

Haitam Lazaar <[email protected]>
RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses

Luca Leonardo Scorcia <[email protected]>
clocksource/drivers/timer-mediatek: Fix random crash at boot

Joas Antonio dos Santos <[email protected]>
calipso: hash the cache key, not the option start, in calipso_cache_add()

Manivannan Sadhasivam <[email protected]>
PCI: qcom: Honor IOMMU provider's #iommu-cells in qcom_pcie_config_sid_1_9_0()

Cen Zhang <[email protected]>
ALSA: pcm: Protect delay DMA sync against concurrent HW_FREE

Cen Zhang <[email protected]>
ALSA: rawmidi: Drain input work before freeing the runtime

Myeonghun Pak <[email protected]>
fbdev: gxt4500: Release WC setup on probe failure

Shyam Sundar S K <[email protected]>
platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent stale reuse

Shyam Sundar S K <[email protected]>
platform/x86/amd/pmc: Use managed APIs for mutex

Jiale Yao <[email protected]>
platform/olpc: Reserve space for a string terminator

Aleksandrova Alyona <[email protected]>
platform/x86: intel_telemetry: initialize default trace verbosity

Daasaradhi Mannava <[email protected]>
platform/x86: msi-ec: Report valid charge thresholds when unset

Ahmed Yaseen <[email protected]>
platform/x86: asus-wmi: validate custom fan curves on enable

Ali Ahmet Memiş <[email protected]>
ALSA: hda: intel: Don't free card in the probe work

Cen Zhang <[email protected]>
ALSA: jack: Remove debugfs before freeing unregistered jacks

Dan Carpenter <[email protected]>
mm/hmm/test: reject overflowing page counts

Harry Yoo (Meta) <[email protected]>
selftests/cgroup: ignore memory.reclaim -EAGAIN for zswap writeback test

Jiale Yao <[email protected]>
wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup

Jiale Yao <[email protected]>
wifi: ath11k: avoid IDR mutation during vif mgmt TX cleanup

Jiale Yao <[email protected]>
wifi: ath11k: avoid IDR mutation during pending mgmt TX cleanup

Jiale Yao <[email protected]>
wifi: ath10k: avoid IDR mutation during TX cleanup

Kunwu Chan <[email protected]>
rcutorture: Fix divide-by-zero with fwd_progress_div=1

bui duc phuc <[email protected]>
ASoC: codecs: rt5659: propagate GPIO errors

Roberto Bergantinos Corpas <[email protected]>
nfs: set gencount on protocol-specific remove

Haotian Zhang <[email protected]>
mtd: rawnand: pl353: fix clk reference leak in pl35x_nfc_setup_interface()

bui duc phuc <[email protected]>
power: supply: generic-adc-battery: Propagate charged GPIO errors

Filipe Manana <[email protected]>
btrfs: defrag: fix check to see if next extent can be defragged too

Filipe Manana <[email protected]>
btrfs: fix lost error return value in btrfs_alloc_logged_file_extent()

Filipe Manana <[email protected]>
btrfs: qgroup: fix swapped blocks existence check when tracing after COW

Qu Wenruo <[email protected]>
btrfs: qgroup: do not treat "ret > 0" as error when deleting a qgroup

Filipe Manana <[email protected]>
btrfs: fix off-by-one end offset check in report_setget_bounds()

David Sterba <[email protected]>
btrfs: accessors: inline eb bounds check and factor out the error report

David Sterba <[email protected]>
btrfs: accessors: use type sizeof constants directly

David Sterba <[email protected]>
btrfs: accessors: simplify folio bounds checks

David Sterba <[email protected]>
btrfs: accessors: delete token versions of set/get helpers

David Sterba <[email protected]>
btrfs: don't use token set/get accessors in inode.c:fill_inode_item()

David Sterba <[email protected]>
btrfs: don't use token set/get accessors for btrfs_item members

Filipe Manana <[email protected]>
btrfs: fix incomplete iteration over fs state when logging messages

Johannes Thumshirn <[email protected]>
btrfs: zoned: fix double list add in btrfs_load_block_group_zone_info

Filipe Manana <[email protected]>
btrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root()

Filipe Manana <[email protected]>
btrfs: fix off by one super block end offset calculation when writing super blocks

Qu Wenruo <[email protected]>
btrfs: refactor read_key_bytes() to remove the dest_folio parameter

Tal Zussman <[email protected]>
block: honor IOCB_NOWAIT in the block device buffered read path

Tal Zussman <[email protected]>
block: use iomap_dirty_folio for block devices

Jiale Yao <[email protected]>
ACPI: PCI: pci_link: clear driver_data before free

Adrián Larumbe <[email protected]>
drm/panfrost: Explicitly enable MMU interrupts at device init

Ali Ahmet Memiş <[email protected]>
ALSA: control_led: Fix deadlock between sysfs writes and card disconnect

Takashi Iwai <[email protected]>
ALSA: control: Relax __free() variable declarations

Mikulas Patocka <[email protected]>
dm-snapshot: make the chunk list sorted by the chunk number

Yuan Chen <[email protected]>
bpftool: Fix out-of-bounds read in kprobe_multi link info dump

Prathamesh Deshpande <[email protected]>
RDMA/mlx5: Cancel software CQ notifications before teardown

Mark Zhang <[email protected]>
RDMA/mlx5: Support driver APIs pre_destroy_cq and post_destroy_cq

Prathamesh Deshpande <[email protected]>
RDMA/mlx5: Cancel deferred page-fault EQ work before teardown

Ting-Han Hou <[email protected]>
ALSA: virtio: reset I/O message fill level on prepare

Cen Zhang <[email protected]>
ALSA: timer: Pin the module for userspace timer controllers

Anup Vishwakarma <[email protected]>
mailbox: qcom-ipcc: remove stray disable_irq_wake() call

Linkai Gong <[email protected]>
mailbox: arm_mhuv2: time out if the receiver never comes up

Beleswar Padhi <[email protected]>
mailbox: ti-msgmgr: Read exact number of trailing message bytes

Breno Leitao <[email protected]>
mailbox: pcc: Free the channel before unmapping the shared memory

Sang-Hoon Choi <[email protected]>
xhci: dbc: lock the minor IDR on registration failure

Kumar Kartikeya Dwivedi <[email protected]>
bpf, riscv: Fix stack-passed arguments for indirect trampolines

Kees Cook <[email protected]>
kbuild: Mark the initcall ordering recipe as recursive

Maxim Skokov <[email protected]>
bpf: test_run: Fix false -EBADMSG after skb leaves CHECKSUM_COMPLETE

Takashi Iwai <[email protected]>
ALSA: hda: Add NULL check for the driver pointer at unsol event work

Ting-Han Hou <[email protected]>
scripts/make_fit: Ignore schema checks when decomposing DTBs

Ting-Han Hou <[email protected]>
clang-tools: Import os for broken pipe handling

Leizhen Zhang <[email protected]>
kconfig: fix infinite loop in conf_choice() when no choice value is visible

Jiale Yao <[email protected]>
vfio/pci: Drain eventfd RCU callbacks on module exit

Leon Romanovsky <[email protected]>
PCI/P2PDMA: Gate the host bridge whitelist warning on verbose

Leon Romanovsky <[email protected]>
PCI/P2PDMA: Safely terminate ACS redirect lists

Antoni Pokusinski <[email protected]>

    rtc: abx80x: properly handle shared IRQs

Antoni Pokusinski <[email protected]>

    rtc: abx80x: fix error check after i2c_smbus_read in read_alarm()

Leo Cheng <[email protected]>
nvmem: layouts: onie-tlv: fix device_node reference leak in error path

Leo Cheng <[email protected]>
nvmem: layouts: sl28vpd: fix device_node reference leak in error path

Felix Fietkau <[email protected]>
wifi: mac80211: use link address as TA for non-MLO 4-addr station on MLD AP

Johannes Berg <[email protected]>
wifi: cfg80211: reg: protect regdb pointer with RCU

Johannes Berg <[email protected]>
wifi: mac80211: fix mbssid/rnr allocation in beacon data

Aloka Dixit <[email protected]>
wifi: mac80211: remove redundant null check in ieee80211_assign_beacon()

Johannes Berg <[email protected]>
wifi: mac80211: limit injected HT/VHT MCSes

Johannes Berg <[email protected]>
wifi: mac80211: init radiotap iter after length checks

Johannes Berg <[email protected]>
wifi: mac80211: kill wake_txqs_tasklet on unregistration

Johannes Berg <[email protected]>

    wifi: mac80211: mesh: use hlist_add_head_rcu()

Johannes Berg <[email protected]>
wifi: mac80211: clear fragment cache entry 'is_protected'

Johannes Berg <[email protected]>
wifi: ath6kl: don't take RTNL in del_virtual_intf

Takashi Iwai <[email protected]>
ALSA: hda: intel: Cancel delayed work at shutdown, too

Takashi Iwai <[email protected]>
ALSA: line6: Fix potential OOB write in line6_capture_copy()

Takashi Iwai <[email protected]>
ALSA: line6: Reject too small max packet sizes

Takashi Iwai <[email protected]>
ALSA: usb: us16x08: Fix racy accesses of mixer elements

Takashi Iwai <[email protected]>
ALSA: usb-audio: Fix data race at mixer_ctl_feature_info()

Kuninori Morimoto <[email protected]>
ALSA: usb: mixer: use snd_kcontrol_chip()

Takashi Iwai <[email protected]>
ALSA: caiaq: Fix races at MIDI URB and trigger accesses

Karl Mehltretter <[email protected]>
gpu: buddy: Drop the stale @p line from the gpu_buddy_print() kernel-doc

Jan Beulich <[email protected]>
x86/PVH: don't truncate initrd address/size

Gui-Dong Han <[email protected]>
xen/blkback: Prevent missed completion when draining I/O

Ruoyu Wang <[email protected]>
xen/pcifront: Fix PCI device reference leak in AER handling

Haotian Zhang <[email protected]>
cpufreq: qcom-cpufreq-hw: fix device node refcount leak in phandle parsing

Jake Labelle <[email protected]>
nilfs2: reject non-regular inodes in dsync recovery

Michał Kopeć <[email protected]>
ASoC: mediatek: mt8188: Constrain UL8 FE to its back end's capabilities

Kuninori Morimoto <[email protected]>
ASoC: mediatek: remove dpcm_xxx flags

Michał Kopeć <[email protected]>
ASoC: mediatek: common: Keep codec references until the card is bound

Rosen Penev <[email protected]>
crypto: talitos - init tasklets before requesting IRQs

Rosen Penev <[email protected]>
crypto: talitos - Use platform_get_irq() to retrieve interrupt

Rosen Penev <[email protected]>
crypto: talitos - use devm_platform_ioremap_resource()

Rosen Penev <[email protected]>
crypto: talitos - allocate channels with main struct

George Abraham P <[email protected]>
crypto: qat - force an edge when re-enabling all VF2PF interrupts

Takashi Iwai <[email protected]>
ALSA: hda: Don't free card at probe error in vga_switcheroo handler

Takashi Iwai <[email protected]>
ALSA: hda/intel: Move firmware loading into the probe work

Takashi Iwai <[email protected]>
ALSA: hda: Avoid non-operational GPU warning at regular device removal

Takashi Iwai <[email protected]>
ALSA: info: Fix memory leak at card removal

Takashi Iwai <[email protected]>
ALSA: seq: Fix missing direction and ump_group handling in 32bit compat ioctl

Takashi Iwai <[email protected]>

    ALSA: core: Add missing barriers for power_ref vs card->shutdown

Takashi Iwai <[email protected]>
ALSA: pcmtest: Fix a bogus pointer read in snd_pcmtst_pcm_pointer()

Takashi Iwai <[email protected]>
ALSA: usb-audio: Fix invalid UAC2/3 mixer unit matrix evaluation

Takashi Iwai <[email protected]>
ALSA: usb-audio: Check mixer matrix size for UAC2/3 at parsing

Takashi Iwai <[email protected]>
ALSA: hda: Fix potential UAF for gating jack

Krzysztof Wilczyński <[email protected]>
PCI/sysfs: Handle a malformed _DSM result in acpi_attr_is_visible()

Krzysztof Wilczyński <[email protected]>
PCI/sysfs: Stop reporting _DSM failures as -EPERM

bui duc phuc <[email protected]>
ASoC: mediatek: mt8365: Handle constraint return value in FE startup

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: Handle constraint return value in FE startup

bui duc phuc <[email protected]>
ASoC: mediatek: common: Handle constraint return value in FE startup

Melissa Wen <[email protected]>
drm/amd/display: copy function name into dcn_optc_lock_unlock_state trace event

Melissa Wen <[email protected]>
drm/amd/display: copy function name into dcn_fpu trace event

Melissa Wen <[email protected]>
drm/amd/display: use right type for amdgpu_dc_performance event entries

Melissa Wen <[email protected]>
drm/amd/display: fix vready offset assignment in dcn_optc_lock_unlock_state

Melissa Wen <[email protected]>
drm/amd/display: remove duplicated prev_p_state_change_support assignment

Melissa Wen <[email protected]>
drm/amd/display: assign missing trace entry in amdgpu_dm_dc_clocks_state

Ting-Han Hou <[email protected]>
checkkconfigsymbols.py: Parse Git status output line by line

Felix Fietkau <[email protected]>
wifi: mt76: mt792x: compute the assoc RSSI from the chain signals

Karl Mehltretter <[email protected]>
kobject: Fix the kobj_set_name reference in kset_register() kernel-doc

bui duc phuc <[email protected]>
ASoC: rockchip: rockchip_i2s: Handle runtime PM resume failures in set_fmt

John Crispin <[email protected]>
wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup

Felix Fietkau <[email protected]>
wifi: mt76: mt7996: fix PLE free page and AC queue register offsets

Cristian Papa <[email protected]>
wifi: mt76: feed the station RSSI average from the chain signals

Pengpeng Hou <[email protected]>
wifi: mt76: mt7615: validate MCU response lengths

Ahmed Naseef <[email protected]>
wifi: mt76: mt7615: read MT7663 temperature from the correct offset

Ryan Leung <[email protected]>

    wifi: mt76: fix wcid->pktid corruption in mt76_wcid_cleanup()

Cristian Papa <[email protected]>
wifi: mt76: mt7603: don't drop short frames looped back on PS entry

Jiale Yao <[email protected]>
wifi: mt76: mt7615: usb: fix source overread in mt7663u_copy

Jiale Yao <[email protected]>
wifi: mt76: usb: fix source overread in mt76u_copy

Mark Anthony Agarro <[email protected]>
wifi: mt76: mt7925: keep the join ROC until the station is authorized

Mark Anthony Agarro <[email protected]>
wifi: mt76: mt7921: keep the join ROC until the station is authorized

Jiale Yao <[email protected]>
wifi: mt76: mt76x02: validate RX padding before use

Ryan Leung <[email protected]>
wifi: mt76: fix wcid teardown ordering in mt76_reset_device()

Ryan Leung <[email protected]>
wifi: mt76: fix unlocked wcid check in mt76_tx_status_skb_add()

Ryan Leung <[email protected]>
wifi: mt76: mt7915: publish wcid before MCU add commands

Devin Wittmayer <[email protected]>
wifi: mt76: mt7921: honour FIF_FCSFAIL instead of hardcoding drop_err

Mark Anthony Agarro <[email protected]>
wifi: mt76: mt7925: honour mac80211's FIF_FCSFAIL instead of hardcoding drop_err

Devin Wittmayer <[email protected]>
wifi: mt76: mt7925: fix the lock inversion in suspend and resume

Devin Wittmayer <[email protected]>
wifi: mt76: mt7921: fix the lock inversion in suspend and resume

Felix Fietkau <[email protected]>
wifi: mt76: mt7925: restore the reset state when fw_pmctrl fails

Devin Wittmayer <[email protected]>
wifi: mt76: mt7925: check drv_pmctrl return in the PCIe reset path

Devin Wittmayer <[email protected]>
wifi: mt76: mt7921: check drv_pmctrl return in the PCIe reset path

Devin Wittmayer <[email protected]>

    wifi: mt76: mt7925: fix lock inversion between dev->mutex and iflist_mtx

Devin Wittmayer <[email protected]>

    wifi: mt76: mt7921: fix lock inversion between dev->mutex and iflist_mtx

Felix Fietkau <[email protected]>
wifi: mt76: mt7915: guard firmware memory dump write on disabled memdump

Felix Fietkau <[email protected]>
wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure

Felix Fietkau <[email protected]>
wifi: mt76: mt7996: validate firmware event lengths before parsing

Felix Fietkau <[email protected]>
wifi: mt76: mt7915: check default EEPROM firmware size before copying

Jiale Yao <[email protected]>
pinctrl: sprd: free maps on DT map failure

Leizhen Zhang <[email protected]>
gen_init_cpio: stop parsing on lines with a missing argument list

Takashi Iwai <[email protected]>
ALSA: caiaq: Allow zero-length packet handling for EP1

Priyank Rathod <[email protected]>
PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()

Joseph Qi <[email protected]>
ocfs2: reject inconsistent xattr bucket during defrag

Joseph Qi <[email protected]>
ocfs2: allow xattr bucket entries to span multiple blocks

Wilson Felipe Pereira <[email protected]>
init/main: fix false-positive kernel panic on environment variable overwrite

Wilson Felipe Pereira <[email protected]>
init/main: fix off-by-one in argv_init cleanup

Florian Schmaus <[email protected]>
selftests/epoll: fix race condition in multi-waiter wakeup tests

Joseph Qi <[email protected]>
ocfs2: fix deadlock in inline-data truncate transactions

Petr Vorel <[email protected]>
checkpatch: skip CamelCase cache for --no-tree without root

Wilson Felipe Pereira <[email protected]>
selftests/cgroup: test_zswap: fix implicit unsigned promotion bug in test_no_kmem_bypass

Li Wang <[email protected]>
selftests/cgroup: replace hardcoded page size values in test_zswap

Li Wang <[email protected]>
selftests/cgroup: use runtime page size for zswpin check

Li Wang <[email protected]>
selftests/cgroup: avoid OOM in test_swapin_nozswap

Li Wang <[email protected]>
selftests/cgroup: skip test_zswap if zswap is globally disabled

Jiayuan Chen <[email protected]>
selftests/cgroup: add test for zswap incompressible pages

Guopeng Zhang <[email protected]>
selftests/cgroup: conform test to KTAP format output

Michal Koutný <[email protected]>
selftests: cgroup: Optionally set up v1 environment

Ryusuke Konishi <[email protected]>
nilfs2: fix link count underflow when removing corrupted directory

Roberto Bergantinos Corpas <[email protected]>
NFS: return DENIED in decode_lock_denied if we cannot decode owner

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_handler(): fix race condition between transfer completion and RX FIFO interrupt

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_transfer_one(): fix setting of clock rate

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_fill_fifo(): always apply A10 FIFO fill level workaround

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_transfer_one(): fix transfers for SUN4I_FIFO_DEPTH

Linus Walleij <[email protected]>
dt-bindings: dma: dma40: Restore disabled-channels

Jason Gunthorpe <[email protected]>
efi/libstub: Free cmdline_ptr in efi_pe_entry

Vincent Mailhol <[email protected]>
efi/libstub: make local GUID variables static

Ard Biesheuvel <[email protected]>
x86/efistub: Merge PE and handover entrypoints

Ard Biesheuvel <[email protected]>
efi/libstub: Use cleanup helpers for freeing copies of the memory map

Ard Biesheuvel <[email protected]>
efi/libstub: Simplify PCI I/O handle buffer traversal

Ard Biesheuvel <[email protected]>
efi/libstub: Simplify GOP handling code

Ard Biesheuvel <[email protected]>
efi/libstub: Use C99-style for loop to traverse handle buffer

Ard Biesheuvel <[email protected]>
x86/efistub: Drop long obsolete UGA support

Nicolas Saenz Julienne <[email protected]>
x86/efi: Drop support for the EFI_PROPERTIES_TABLE

Jason Gunthorpe <[email protected]>
efi/riscv: libstub: Don't set image_size in handle_kernel_image()

Jason Gunthorpe <[email protected]>
efi/libstub: Fix error unwind freeing fdt in allocate_new_fdt_and_exit_boot()

Pengpeng Hou <[email protected]>
sh: defconfig: Enable the current M66592 UDC symbol

Florian Fuchs <[email protected]>
sh: uaccess: Require offsettable operands for 64-bit user access

Aurelien Jarno <[email protected]>
riscv: fix RVG_SYSTEM_CSR_MASK width mask

Eric Dumazet <[email protected]>
ipv4: reserve one IP ID per segment for UDP GSO packets

Eric Dumazet <[email protected]>
ipv4: fix IP ID reuse in ip_select_ident_segs()

Chen-Yu Tsai <[email protected]>
arm64: dts: allwinner: sun50i-h6: Add missing IOMMU for video engine

Chen-Yu Tsai <[email protected]>
arm64: dts: allwinner: sun50i-h6: Add missing SRAM region for video engine

Mike Snitzer <[email protected]>
pNFS/flexfiles: don't reset to MDS for v4 error when previous layout forbid it

Mike Snitzer <[email protected]>
pNFS/flexfiles: don't read through MDS when previous layout forbid it

Mike Snitzer <[email protected]>
pNFS/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS over the mdsthreshold hint

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate memcpy configuration

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate fixed physical channel indexes

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix V4B event group mapping

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix event group bounds

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix logical channel bounds check

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Reject direction changes after allocation

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate DMA specifier length

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate disabled channel indexes

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix memcpy channel parsing

Rosen Penev <[email protected]>
dmaengine: ste_dma40: turn d40_base phy_chans into a flexible array

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Put the LCPA SRAM node

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix probe LCLA free

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix LCLA allocation order

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix DMA registration unwind

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix probe IRQ leak

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Init hardware before registration

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Return IRQ_NONE when no interrupt is pending

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Handle runtime PM resume errors

Sakari Ailus <[email protected]>
dmaengine: ste_dma40: Remove redundant pm_runtime_mark_last_busy() calls

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Check runtime PM in IRQ

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix probe runtime PM disable

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix failed start cleanup

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix physical cyclic capability

Roman Demidov <[email protected]>
drm/msm/a6xx: fix use-after-free of OPP in a6xx_pm_resume

Jiale Yao <[email protected]>
wifi: ath12k: Reserve space for a string terminator

Guangshuo Li <[email protected]>
floppy: unregister platform device on add_disk failure

Yang Xiuwei <[email protected]>
floppy: avoid NULL deref in reset_interrupt when cont is cleared

Karl Mehltretter <[email protected]>
floppy: flush pending work before releasing resources on init failure

Jérémy Jean <[email protected]>
NFS: filelayout: calculate dense stripe width in 64 bits

Chuck Lever <[email protected]>
SUNRPC: treat every client-side TLS error alert as fatal

Chuck Lever <[email protected]>
SUNRPC: reject a client-side TLS alert record that is not two octets

Logan Gunthorpe <[email protected]>
dmaengine: plx_dma: fix NULL pointer deref in plx_dma_isr()

Logan Gunthorpe <[email protected]>
dmaengine: ioat: disable relaxed ordering before registering the device

Aloka Dixit <[email protected]>
Revert "wifi: mac80211: do not use old MBSSID elements"

Dan Carpenter <[email protected]>
wifi: carl9170: NUL terminate string in debugfs

Dan Carpenter <[email protected]>
wifi: b43legacy: debugfs: NUL terminate string in debugfs

Dan Carpenter <[email protected]>
wifi: b43: don't pass unterminated string to sscanf()

Dominic White <[email protected]>
wifi: cfg80211: allow zero HE OBSS PD offsets

Yibo Tan <[email protected]>
soc: qcom: pmic_pdcharger_ulog: prevent work requeue during remove

Konrad Dybcio <[email protected]>
soc: qcom: pmic_glink: Avoid losing early rpmsg probe

Krzysztof Kozlowski <[email protected]>
soc: qcom: pmic_glink: simplify locking with guard()

Mukesh Ojha <[email protected]>
firmware: qcom: tzmem: Use DO_ONCE_SLEEPABLE() in qcom_tzmem_enable()

Joonhoe Kim <[email protected]>
drm/msm/dpu: round up the compressed INTF width

Xueqin Luo <[email protected]>
cpufreq: sti: avoid NULL dereference in dev_err()

Xueqin Luo <[email protected]>
cpufreq: tegra194: fix double-pointer error in get_cpu_ndiv

Xueqin Luo <[email protected]>
cpufreq: sparc-us2e: fix frequency table index copy-paste error

Karl Mehltretter <[email protected]>
svcrdma: Fix svc_rdma_recv_cid_init() kernel-doc

hpp.iscas <[email protected]>
perf/marvell: cn10k_tad: Publish the OF module alias

Hongyan Xu <[email protected]>
ASoC: mt6359-accdet: manage private workqueues with devres

Yaozhong Li <[email protected]>
arm64: dts: rockchip: disable unused i2s0 on rk3399-firefly

Yaozhong Li <[email protected]>
arm64: dts: rockchip: fix analog headphone output on rk3399-firefly

Detlev Casanova <[email protected]>
arm64: dts: rockchip: Rename rk3566 and rk3568 HDMI audio cards

Dragan Simic <[email protected]>
arm64: dts: rockchip: Prepare RK356x SoC dtsi files for per-variant OPPs

Dragan Simic <[email protected]>
arm64: dts: rockchip: Update CPU OPP voltages in RK356x SoC dtsi

Linus Walleij <[email protected]>
ARM: dts: ux500: Use AB8505 charger compatible

Detlev Casanova <[email protected]>
arm64: dts: rockchip: Rename rk3328 HDMI audio card

Jiale Yao <[email protected]>
ASoC: rt722-sdca: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt712-sdca: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt711-sdca: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt711-sdw: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt5682-sdw: always cancel jack work on remove

Linus Walleij <[email protected]>
power: supply: ab8500_fg: Avoid reserved AB8505 CCConf bit

Linus Walleij <[email protected]>
power: supply: ab8500_fg: Finalize current measurements

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Recover inactive AB8505 charger

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Retry AB8505 USB detection

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Skip absent AB8505 main charger

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Handle detection errors

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Respect AB8505 register layout

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Decode AB8505 USB status

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Fix AC charger re-enable

Linus Walleij <[email protected]>
power: supply: ab8500: Preserve battery termination current

Linus Walleij <[email protected]>
power: supply: ab8500_btemp: Fix event temperature reporting

HyeongJun An <[email protected]>
selftests/alsa: Do not take another control's event as our own

Guangshuo Li <[email protected]>
spi: bcm63xx-hsspi: Disable runtime PM on remove

Guangshuo Li <[email protected]>
spi: fsl: unmap immr_spi_cs on remove

Johan Hovold <[email protected]>
spi: fsl: switch to managed controller allocation

Ruoyu Wang <[email protected]>
perf/dwc_pcie: Fix PCI device reference leak in probe

Dave Jiang <[email protected]>
perf/cxl: Clear stale overflow status before using a counter

Dave Jiang <[email protected]>
perf/cxl: Don't log through pmu.dev in the overflow interrupt handler

Dave Jiang <[email protected]>
perf/cxl: Validate the hardware-reported counter width

Dave Jiang <[email protected]>
perf/cxl: Unfreeze counters after handling an overflow interrupt

Dave Jiang <[email protected]>
perf/cxl: Don't share the overflow interrupt, and keep it pinned

Dave Jiang <[email protected]>
perf/cxl: Accept an overflow interrupt on MSI message number 0

Dave Jiang <[email protected]>
perf/cxl: Fix the counter overflow delta fixup

Dave Jiang <[email protected]>
perf/cxl: Clear stale event fields before reprogramming a counter

Dave Jiang <[email protected]>
perf/cxl: Program the requested event group on configurable counters

Jan Stancek <[email protected]>
.gitignore: drop Module.markers

Linus Walleij <[email protected]>
dt-bindings: power: supply: ab8500: Add AB8505 charger

Zhihao Cheng <[email protected]>

    md: Fix the null-ptr-deref of 'mddev->private' while submitting IO

Ryan Brue <[email protected]>
power: supply: bq24190_charger: don't reset registers across system suspend

Sakari Ailus <[email protected]>
power: supply: bq24190: Remove redundant pm_runtime_mark_last_busy() calls

Chen-Yu Tsai <[email protected]>
dt-bindings: media: sun4i-a10-video-engine: Fix IOMMU count for H6

Sang-Hoon Choi <[email protected]>
md/raid5: protect big_stripe_tree lookup with RCU

Linkai Gong <[email protected]>
clk: imx: composite-93: return timeout from gate enable

Li Youhong <[email protected]>
md/raid5: drain released_stripes before destroying the cache

Nguyen Ngoc Thang <[email protected]>
md: take reconfig_mutex when enabling PPL on an inactive array

Aristo Chen <[email protected]>
phy: freescale: fsl-samsung-hdmi: initialize default rate

Pei Xiao <[email protected]>
phy: freescale: fsl-samsung-hdmi: Use helper function devm_clk_get_enabled()

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Support dynamic integer

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Simplify REG21_PMS_S_MASK lookup

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Replace register defines with macro

Laurence Oberman <[email protected]>
scsi: st: Record the tape position after a successful MTLOAD

Laurence Oberman <[email protected]>
scsi: st: Restore changed drive settings after reset also for MTLOAD and MTRETEN

Niklas Cassel <[email protected]>
scsi: scsi_debug: Validate the access parameters of WRITE ATOMIC (16)

Niklas Cassel <[email protected]>
scsi: scsi_debug: Map the region written by WRITE ATOMIC (16)

Niklas Cassel <[email protected]>
scsi: scsi_debug: Refuse a short WRITE ATOMIC (16) before writing it

Niklas Cassel <[email protected]>
scsi: scsi_debug: Take the zone metadata lock before the data lock

Niklas Cassel <[email protected]>
scsi: scsi_debug: Refuse a negative physblk_exp

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Only enable USB3 when not in high-speed mode

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Handle rk_udphy_reset_deassert errors

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Avoid xHCI SErrors

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Rename mode_change to phy_needs_reinit

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Hold mutex in DP PHY configure

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Properly handle TYPEC_STATE_SAFE and TYPEC_STATE_USB

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Drop DP HPD handling

Zhang Yubing <[email protected]>
phy: rockchip: usbdp: Support single-lane DP

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Add missing mode_change update

Frank Wang <[email protected]>
phy: rockchip: usbdp: add rk3576 device match data

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Limit DP lane count to muxed lanes

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Drop seamless DP takeover

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Handle missing clock-names DT property gracefully

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Fix devm_clk_bulk_get_all check

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Do not lose USB3 PHY status

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Update mode_change after error handling

Akash Sukhavasi <[email protected]>
phy: HiSilicon: Fix error handling in hi3670_pcie_allclk_ctrl()

Joonhoe Kim <[email protected]>
drm/msm/dpu: compute the CRTC bandwidth from the state being checked

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: handle perf mode in _dpu_core_perf_crtc_update_bus()

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: drop core_clk_rate overrides from _dpu_core_perf_calc_crtc

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: make fix_core_ab_vote consistent with fix_core_ib_vote

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: change ib values to u32

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: extract bandwidth aggregation function

Joonhoe Kim <[email protected]>
drm/msm/dpu: disable the slave encoder before the master

Oleg Keri <[email protected]>
drm/msm/dp: don't report link training success after a reinit

Yuho Choi <[email protected]>
soc/tegra: flowctrl: Release OF node reference on error

Igor Velkov <[email protected]>
arm64: dts: amlogic: meson-sm1-odroid-hc4: run the SPI NOR at 40 MHz

Igor Velkov <[email protected]>
arm64: dts: amlogic: meson-sm1-odroid-hc4: mux the SPI NOR HOLD# and WP# pins

Mostafa Saleh <[email protected]>
iommu/arm-smmu-v3-test: Fix arm_smmu_v3_test_debug_print_used_bits()

Mostafa Saleh <[email protected]>
iommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs

Yuri Zaporozhets <[email protected]>
ASoC: dwc: Use OF match data again for StarFive JH7110

Matthias Goergens <[email protected]>
isofs: return long Joliet names whole

Slavin Liu <[email protected]>
clocksource/drivers/dbx500-prcmu: Check timer register mapping

Thorsten Blum <[email protected]>
hwrng: intel - return -ENOMEM when ioremap() fails

Takashi Iwai <[email protected]>
ALSA: ump: Avoid dereference with max_src_size=0

Liu Dalin <[email protected]>
rtc: ftrtc010: fix integer overflow in time calculation

Thorsten Blum <[email protected]>
hwrng: intel - return -ENOMEM when kmalloc_obj() fails

Herbert Xu <[email protected]>

    crypto: tcrypt - Avoid reading req->base after submission

Karl Mehltretter <[email protected]>
crypto: atmel - handle authenc requests without plaintext

Bartosz Szpila <[email protected]>
platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data

Hemanth Selam <[email protected]>
nvdimm/pmem: Release gendisk on probe failure

Mikko Perttunen <[email protected]>
drm/tegra: Drop reference on postfence

Mikko Perttunen <[email protected]>
drm/tegra: Don't pass an ERR_PTR to drm_syncobj_replace_fence()

Mikko Perttunen <[email protected]>
drm/tegra: Fix syncobj_in wait return value check

Lance Yang <[email protected]>
mm/memory_hotplug: fix missing rollback in __add_pages()

Chuanhong Guo <[email protected]>
pinctrl: mediatek: mt7629: fix the 2.4 GHz Wi-Fi pin mode array

Mario Limonciello <[email protected]>
cpufreq: amd-pstate: Propagate cppc_set_auto_sel() errors on mode change

Mario Limonciello <[email protected]>
cpufreq: amd-pstate: Restore previous mode when changing driver mode fails

Ian Rogers <[email protected]>
perf thread_map: Add thread_map__tgid()

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Move the LIBBPF_CURRENT_VERSION_GEQ macro to bpf-utils.h

Ian Rogers <[email protected]>
perf trace: Copy sockaddr arguments by their length

Shuming Fan <[email protected]>
ASoC: rt712: avoid duplicate reset in io_init

Yichong Chen <[email protected]>
debugfs: make debugfs_create_str() read-only

Ruoyu Wang <[email protected]>
misc: nsm: fix CBOR short-length decoding

Jasper Wise <[email protected]>
misc: nsm: mark device ready before registering the hwrng and misc device

Linkai Gong <[email protected]>
misc: enclosure: fix UAF on device_register() failure

Omar Ramadan <[email protected]>
amt: pull the AMT header behind the transport header in amt_parse_type()

Yuya Kusakabe <[email protected]>
seg6: fix HMAC validation when an extension header precedes the SRH

Mateusz Nowicki <[email protected]>
arm64: dts: st: fix sai3b unit address on stm32mp231

Weigang He <[email protected]>
ARM: vexpress: fix device_node refcount leak in vexpress_smp_dt_prepare_cpus()

Weigang He <[email protected]>
ARM: vexpress: fix device_node refcount leak in vexpress_flags_set()

Liu Dalin <[email protected]>
rtc: ftrtc010: use devm clock APIs to fix use-after-disable in remove

Liu Dalin <[email protected]>
rtc: ftrtc010: fix clock resource leak on probe failure

André Draszik <[email protected]>
rtc: ftrtc010: drop needless struct ftrtc010_rtc::rtc_dev member

Ze Huang <[email protected]>
drm/imx/lcdc: avoid duplicate clk_per enable

Karl Mehltretter <[email protected]>
OPP: Fix the return value in dev_pm_opp_get_of_node() kernel-doc

Lucas Costa <[email protected]>
staging: sm750fb: free cmap on framebuffer release

Xilin Wu <[email protected]>
drm/msm/dp: Initialize the debugfs connector pointer

Dmitry Baryshkov <[email protected]>
drm/msm/mdp5: drop cursor pipe for msm8x76

Krzysztof Kozlowski <[email protected]>
dt-bindings: display/msm: hdmi: Correct name of disallowed supplies

Krzysztof Kozlowski <[email protected]>
drm/msm: Properly handle msm_ioremap() without name

Przemek Kitszel <[email protected]>
ice: skip stats handling for channel VSIs on rebuild

Qingfang Deng <[email protected]>
ARM: mvebu: fix Cortex-A9 errata selection for Armada 38x

Matthias Goergens <[email protected]>
x86/hibernate: Ignore page-zero RAM in E820 checksum

Nicolo Giuliani <[email protected]>
dt-bindings: vendor-prefixes: Add Sophos

Danish Khateeb <[email protected]>
tools/nolibc: check for overflow in malloc()

Danish Khateeb <[email protected]>
tools/nolibc: stop rounding malloc() sizes up to 4096 bytes

Arnd Bergmann <[email protected]>
f2fs: quota: fix unused-label warning

Andreas Kemnade <[email protected]>
rtc: bd70528: properly enable wakeup

Nguyễn Văn Cao Nguyên <[email protected]>
RDMA/irdma: Do not move a fresh RoCE QP to ERROR on RESET

Nicolas Schier <[email protected]>
kconfig: tests: Provide defconfig outfile for savedefconfig

Wentao Liang <[email protected]>
pinctrl: stm32: Fix clock reference leak in stm32_pctl_probe()

Wentao Liang <[email protected]>
pinctrl: nuvoton: Fix clock reference leak in ma35_get_bank_data()

Hongyan Xu <[email protected]>
RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit

Hongyan Xu <[email protected]>
RDMA/hfi1: shut down the trap timer before unregistering

Serhat Kumral <[email protected]>
RDMA/siw: Fix length of first chunk in siw_try_1seg()

Quanye Yang <[email protected]>
RDMA/rtrs-clt: Validate peer-supplied IO completion msg_id

Alireza Haghdoost <[email protected]>
perf symbols: Don't let a module's last symbol overlap the next module

Qingshuang Fu <[email protected]>
selftests/timers: clocksource-switch: Fix unchecked open()/read()

Abdifatah Suruur <[email protected]>
vfio/cdx: prevent read-only region mappings from becoming writable

Abdifatah Suruur <[email protected]>
vfio/fsl-mc: prevent read-only region mappings from becoming writable

Abdifatah Suruur <[email protected]>
vfio/platform: prevent read-only region mappings from becoming writable

Quanye Yang <[email protected]>
RDMA/rtrs-clt: Don't WARN on unexpected info-response opcode

Karl Mehltretter <[email protected]>
time: Prevent time64_to_tm() day truncation on 32-bit

Jiale Yao <[email protected]>
RDMA/cxgb4: Do not allow userspace to write the status page

Jiale Yao <[email protected]>
RDMA/mlx4: Do not allow the user to write to the clock page

Jiale Yao <[email protected]>
RDMA/mad: Reject receive completions shorter than GRH

Ian Rogers <[email protected]>
perf python: Initialize debug output on module load

Quanye Yang <[email protected]>
RDMA/rtrs-clt: Reject invalid queue_depth from the peer

Yili Zhang <[email protected]>
RDMA/nldev: Fix NULL deref in dumps of objects abandoned by DRIVER_FAILURE

Pengpeng Hou <[email protected]>
clk: si5351: fail prepare when PLL reset times out

Myeonghun Pak <[email protected]>
clk: ti: adpll: unregister OF clock provider on remove

Dairui Zhang <[email protected]>
IB/mad: fix UAF and double-free in RMPP receive reassembly

Ruoyu Wang <[email protected]>
media: venus: Drop session events without an instance

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Use bnxt_ext_stats_supported for counter count selection

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Fix the PD and DPI table size

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Initialize wqe.flags in bnxt_re_post_srq_recv()

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Validate SRQ max_sge at create time

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Detect wrong sge_len passed for inline

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Fix integer overflow in send payload size computation

Finn Thain <[email protected]>
swim3: Fix FDEJECT ioctl for exclusive open

Finn Thain <[email protected]>
swim: Fix FDEJECT ioctl for exclusive open

Finn Thain <[email protected]>
swim: Return -EROFS when opened with BLK_OPEN_WRITE flag

Logan Odell <[email protected]>
PCI/IOV: Read VF config values that need not match PF

Peng Fan <[email protected]>
arm64: dts: imx93-9x9-qsb: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx93-14x14-evk: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx8ulp-evk: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx8qm-mek: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx8dxl-evk: fix reserved memory node names for remoteproc

Li RongQing <[email protected]>
IB/isert: Don't share drop_cmd_list across concurrent connection teardowns

Li RongQing <[email protected]>

    RDMA/mlx5: Restore mr->pi_mr after temporary stack-local assignment

Waiman Long <[email protected]>
cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only

Waiman Long <[email protected]>
cgroup/cpuset: Disable cpuset_cpumask_can_shrink() test if not load balancing

Xiang Mei (Microsoft) <[email protected]>
fs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()

Karl Mehltretter <[email protected]>
soc: ti: k3-ringacc: Fix DMA ring initialization kernel-doc

Karl Mehltretter <[email protected]>
soc: ti: k3-ringacc: Correct ring API kernel-doc

Ian Rogers <[email protected]>
perf vendor events intel: Fix snowridgex umask encoding.

Ian Rogers <[email protected]>
perf vendor events intel: Fix skylakex umask encoding.

Ian Rogers <[email protected]>
perf vendor events intel: Fix sierraforest umask encoding.

Ian Rogers <[email protected]>
perf build: Clean libperf-gtk.so in 'make clean'

Ian Rogers <[email protected]>
perf test code-reading: Fix duplicate kernel maps and machine leak

Ian Rogers <[email protected]>
perf machine: Explicitly pass in host perf_env

Ian Rogers <[email protected]>
perf test: Avoid use perf_env

Ian Rogers <[email protected]>
perf debug: Add function symbols to dump_stack

Ian Rogers <[email protected]>
perf machine: Factor creating a "live" machine out of dwarf-unwind

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192-mt6359: Fix error handling in MTKAIF calibration

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate errors in I2S DAI DAPM event handlers

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate errors in TDM DAI DAPM event handlers

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate mt8192_afe_gpio_request() errors in ADDA DAI

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Handle regcache_sync() failure in runtime resume

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: check return values in mt8192_afe_gpio_init()

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate errors in mt8192_afe_gpio_request()

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: mt8192-afe-gpio: Use guard() for mutex locks

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: switch to devm_clk_get_optional()

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix MCK clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix error handling in APLL enable functions

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix AFE clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix APLL mux error handling

Ovidiu Panait <[email protected]>
spi: rspi: Fix DMA mode when the DMA controller is built as a module

Niko Huuskonen <[email protected]>
ALSA: caiaq: Fix the Kore controller key map

Niko Huuskonen <[email protected]>
ALSA: caiaq: Serialize access to the EP1 command buffer

Arka Mondal <[email protected]>
iio: dac: ad5758: Fix the offset calculation

Arka Mondal <[email protected]>
iio: dac: ad5758: Reject out-of-range raw values

Arka Mondal <[email protected]>
iio: dac: ad5758: Fix alignment for DMA safety

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Protect sysfs attributes with mutex

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Serialize SPI operations

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Sort headers alphabetically

Chen-Yu Tsai <[email protected]>
drm/exynos/fimd: fix register offset type in fimd_trigger()

Runyu Xiao <[email protected]>
ALSA: via82xx: use helper to activate DXS controls

Runyu Xiao <[email protected]>
ALSA: oxygen: use helper to activate the SPDIF PCM control

Takashi Iwai <[email protected]>
ALSA: oxygen: Use guard() for mutex locks

Yibo Tan <[email protected]>
ASoC: amd: acp3x-es83xx: Keep an owned codec device reference

Yibo Tan <[email protected]>
ASoC: amd: acp-es8336: Use an owned codec device reference

Yishai Hadas <[email protected]>
RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it

Yishai Hadas <[email protected]>
RDMA/mlx5: Set RQ event handler for raw-packet QP

Yishai Hadas <[email protected]>
RDMA/mlx5: Set SRQ event handler before xarray insertion

Yishai Hadas <[email protected]>
RDMA/mlx5: Set WQ event handler before firmware RQ insertion

Yishai Hadas <[email protected]>
RDMA/hns: Pin CQ buffer writable to match device DMA write access

Ginger Li <[email protected]>
wifi: mac80211: Fix a race when expiring a mesh path

Mateusz Nowicki <[email protected]>
arm64: dts: st: fix arm,smc-id of the SMC watchdog on stm32mp2

Alexandre Torgue <[email protected]>
arm64: dts: st: introduce stm32mp23 SoCs family

Guanghui Feng <[email protected]>
iommu/vt-d: Fix IQE handling to cover all descriptors in submission range

Abel Vesa <[email protected]>
arm64: dts: qcom: sm8150: Use SM8150_CX for the SDHC power domain

Myeonghun Pak <[email protected]>
PCI: aardvark: Disable PHY on probe failures

Linus Walleij <[email protected]>
ARM: dts: gemini: Use a level-high interrupt for TVE200

Fernando Fernandez Mancera <[email protected]>
netfilter: synproxy: fix reset of ct seqadj when reopening a connection

Akhil P Oommen <[email protected]>
drm/msm/a6xx: Fix secondary rail vote in ARC votes

Daniel Palmer <[email protected]>
m68k: apollo: Fix interrupt setup

Shashank Mohan Jain <[email protected]>
bitmap: bitmap_parselist(): don't wrap around on a huge group size

Shashank Mohan Jain <[email protected]>
bitmap: bitmap_parselist(): reject trailing characters after group size

Shashank Mohan Jain <[email protected]>
bitmap: bitmap_parse(): reject non-hex character before 8 digits

WangYuli <[email protected]>
MIPS: Only check -msym32 when need-compiler

Orgad Shaneh <[email protected]>
MIPS: Octeon: size the swiotlb for a modular OHCI platform driver

Peter Wang <[email protected]>
scsi: ufs: core: Serialize AHIT register access between sysfs and host driver

Aaron Kling <[email protected]>
dt-bindings: vendor-prefixes: Add Retroid Pocket

Marek Vasut <[email protected]>
dt-bindings: vendor-prefixes: Add Retronix Technology Inc.

Adam Skladowski <[email protected]>
dt-bindings: vendor-prefixes: Add LeEco

Dmitry Baryshkov <[email protected]>
ARM: dts: qcom: msm8974: add MDSS reset

Luca Weiss <[email protected]>
ARM: dts: qcom: msm8974: Sort header includes alphabetically

Krzysztof Kozlowski <[email protected]>
ARM: dts: qcom: msm8974: Use the header with DSI phy clock IDs

Mohd Ayaan Anwar <[email protected]>
arm64: dts: qcom: lemans-ride-common: fix SerDes PHY regulator supplies

Bruno Produit <[email protected]>
hfs/hfsplus: serialize B-tree close against folio release

Paul Sajna <[email protected]>
arm64: dts: qcom: sdm845-lg: fix sdcard pinctrl nodes

Aaron Kling <[email protected]>
dt-bindings: vendor-prefixes: Add Chip Wealth Technology

bui duc phuc <[email protected]>
ASoC: mediatek: mt8183: Fix APLL enable error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8183: Fix clock handling in mux disable path

bui duc phuc <[email protected]>
ASoC: mediatek: mt8183: Fix wrong clock cleanup on clk_set_parent() failure

Sudeep Holla <[email protected]>
ACPI: PCC: Preserve shared memory signature in OpRegion handler

Sudeep Holla <[email protected]>
ACPI: PCC: Simplify PCC shared memory region handling

Arnaldo Carvalho de Melo <[email protected]>
perf annotate-data: Resolve type DIEs in the debug file they came from

Sudeep Holla <[email protected]>
ACPICA: Fix PCC OperationRegion command offsets

Breno Leitao <[email protected]>
ACPICA: Fix memory leak in acpi_ds_create_field()

Xin Yin <[email protected]>
writeback: size foreign flushes by target wb dirty pages

Jeff Johnson <[email protected]>
wifi: ath11k: fix reg_info_store leak in ath11k_service_ready_ext_event()

Qingfang Deng <[email protected]>
mtd: block: prevent reclaim I/O during request processing

Jiebin Sun <[email protected]>
perf c2c: Fix documented default coalesce fields

Muzaffer Kadir <[email protected]>
dt-bindings: vendor-prefixes: Add General Mobile

Abel Vesa <[email protected]>
arm64: dts: qcom: x1e80100-qcp: Mark the EC reset gpio as reserved

Abel Vesa <[email protected]>
arm64: dts: qcom: x1e80100-yoga-slim7x: Mark the EC reset gpio as reserved

Shrikanth Hegde <[email protected]>
powerpc/ftrace: Don't restore r13 during ftrace_regs_caller

Rob Herring (Arm) <[email protected]>
dt-bindings: arm: mediatek: Fix MT6779 audsys compatible

Pengpeng Hou <[email protected]>
iio: accel: bma220: publish the SPI driver ACPI alias

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-pcm: Handle runtime resume errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-clk: Handle clock enable errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-clk: Propagate regmap update errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-clk: Handle tuner clock enable errors

Pengpeng Hou <[email protected]>
ASoC: rt5665: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt5660: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt5659: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt5616: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1318: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1308: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1305: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1016: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1011: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: nau8540: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: es8316: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: ak4642: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: adau17x1: return cache sync errors from resume

Slavin Liu <[email protected]>
ASoC: fsl_asrc: check the second front-end DMA channel

Pu Lehui <[email protected]>
bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free on riscv

Chuck Lever <[email protected]>
NFS: use TCP for MOUNT when xprtsec= selects TLS

Thomas Falcon <[email protected]>
perf mem: Fix size tracking for mem_lvl's in perf_script__meminfo_scnprintf()

Shengjiu Wang <[email protected]>
ASoC: fsl_asrc: use regmap_write_bits to update clock source registers

Dmitrii Tulnov <[email protected]>
kconfig: warn about malformed KCONFIG_PROBABILITY values

Myeonghun Pak <[email protected]>
mfd: da9150: Balance IRQ wake on teardown

Myeonghun Pak <[email protected]>
mfd: intel_quark_i2c_gpio: Manage the fixed-rate clock

Eric Anderson <[email protected]>
mfd: rk8xx: Register poweroff handler in atomic phase

Jiale Yao <[email protected]>
ext2: drain in-flight DIO before buffered write fallback

Karl Mehltretter <[email protected]>
iommufd: Fix iommufd_hw_capabilities reference in kernel-doc

Hui Su <[email protected]>
bpftool: Fix CPU IDs in per-CPU map output

Danish Khateeb <[email protected]>
tools/nolibc: fix WIFSIGNALED() for status 0

Esteban Urrutia <[email protected]>
clk: qcom: alpha-pll: Check Lucid Ole PLL status before configuring

Esteban Urrutia <[email protected]>
clk: qcom: dispcc-sm8450: Fix disp_cc_mdss_mdp_clk_src ops

Vincent Jardin <[email protected]>
dt-bindings: vendor-prefixes: add Free Mobile

Linus Walleij <[email protected]>
ARM: dts: ux500: Convert HREF audio to audio-graph-card2

Zongmin Zhou <[email protected]>
serial: sifive: fix off-by-one in console port bounds check

Malathi A <[email protected]>
serial: 8250_uniphier: Use devm_clk_get_enabled()

Uwe Kleine-König (The Capable Hub) <[email protected]>
serial: txx9: Drop noop probe function and dangerous remove callback

Uwe Kleine-König <[email protected]>
serial: Switch back to struct platform_driver::remove()

Dmitry Sinyavin <[email protected]>
serial: msm: select PM_OPP

Ginger Li <[email protected]>

    media: i2c: ov5648: Fix a data race on state->streaming

Finn Thain <[email protected]>
swim: Don't search beyond the first data mark

Finn Thain <[email protected]>
swim: Revisit delays

Finn Thain <[email protected]>
swim: Check drive ready bit

Finn Thain <[email protected]>
swim: Deduplicate polling loops

Finn Thain <[email protected]>
swim: Remove redundant RELAX actions

Finn Thain <[email protected]>
swim: Convert to blocking queue

Christoph Hellwig <[email protected]>
block: remove BLK_MQ_F_SHOULD_MERGE

Finn Thain <[email protected]>
swim: Fix buffer overflow

Finn Thain <[email protected]>
swim: Don't use the mark register to read data

Finn Thain <[email protected]>
swim: Check error register during sector read

Finn Thain <[email protected]>
swim: Simplify return value initialization

Finn Thain <[email protected]>
swim: Check for CRC errors

Finn Thain <[email protected]>
swim: Handle FIFO timeout error

Finn Thain <[email protected]>
swim: Add track zero recalibration delay

Finn Thain <[email protected]>
swim: Recalibrate when drive is probed

Finn Thain <[email protected]>
swim: Don't start motor until medium is present

Finn Thain <[email protected]>
swim: Enable clock divider only where appropriate

Finn Thain <[email protected]>
swim: Refactor SWIM setup

Finn Thain <[email protected]>
swim: Configure parameter memory

Finn Thain <[email protected]>
swim: Perform ISM/IWM mode switching according to specs

Finn Thain <[email protected]>
swim: Don't disable drive after every sector

Finn Thain <[email protected]>
swim: Enable the drive when probing

Finn Thain <[email protected]>
swim: Select appropriate drive once only

Finn Thain <[email protected]>
swim: Assert strobe with stable outputs

Li RongQing <[email protected]>
RDMA/mlx5: Guard steering anchor resource destruction on create error

Jiale Yao <[email protected]>
crypto: ccp - kill v5 IRQ tasklet during teardown

Jiale Yao <[email protected]>
crypto: ccp - kill v3 IRQ tasklet during teardown

Weili Qian <[email protected]>

    crypto: hisilicon/hpre - remove dma_free_coherent on NULL req->dst in ECDH

Pengpeng Hou <[email protected]>
crypto: starfive - propagate clock and reset errors

Jiawen Liu <[email protected]>
crypto: starfive - handle clock enable failures

Pengpeng Hou <[email protected]>
hwrng: starfive - propagate clock and reset errors

Wentao Liang <[email protected]>
RDMA/siw: Fix qp use-after-free in siw_get_base_qp()

Wentao Liang <[email protected]>
RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event()

Wentao Liang <[email protected]>
RDMA/cxgb4: Fix skb reference leak in rx_pkt()

Wentao Liang <[email protected]>
RDMA/cxgb4: Fix neigh reference leak in rx_pkt()

Kim Wooseok <[email protected]>
wifi: rtl8xxxu: free RX skb when URB submission fails

Rafael J. Wysocki <[email protected]>
ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Rafael J. Wysocki <[email protected]>
ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Pei Xiao <[email protected]>
ata: pata_parport: fix parport attach idr_alloc for

Jeremy Bongio <[email protected]>
RDMA/irdma: Use kvzalloc for lvl2 leafmem allocation

Francesco Dolcini <[email protected]>
arm64: dts: ti: k3-am62-verdin: fix main_gpio0/main_gpio1 line names size

Jisheng Zhang <[email protected]>
regulator: mp886x: fix pontential division by zero

Jisheng Zhang <[email protected]>
regulator: mp886x: check get_voltage_sel() return value

Dmitry Antipov <[email protected]>
leds: flash: Prevent using uninitialized variable in flash_fault_show()

Jacob Moroni <[email protected]>
RDMA/irdma: Fix erroneous -ENOMEM for large MR registration

Li RongQing <[email protected]>
RDMA/core: Fix partial copy of IPv6 flow_lbl in LAG hash skb

Arnaldo Carvalho de Melo <[email protected]>
perf annotate-data: Show the sample count in the data-type browser

Cong Nguyen <[email protected]>
leds: lm3692x: Fix regulator/gpio leak and wrong enabled state on last write failure

Ian Rogers <[email protected]>
perf build: Check the version of the compiler that is used

Chen Pei <[email protected]>
perf test: Fix a leaked map reference in the arch dwarf unwind tests

Haibo Chen <[email protected]>
leds: pca9532: Check i2c_smbus_read_byte_data() return value

Miles Krause <[email protected]>

    leds: lp8860: Fix device_node leak in lp8860_probe()

Yogesh Gaur <[email protected]>
md/raid5: give the io_unit slab caches per-array names

Arnd Bergmann <[email protected]>
KMSAN: fix memset() when using fortify-source, again

Andrea Parri <[email protected]>
pstore: reject persistent RAM zones too small for the buffer header

Andrea Parri <[email protected]>
pstore: don't leave an ERR_PTR in the ramoops zone pointer

Leon Hwang <[email protected]>
bpftool: Compute map size of light skeletons at runtime

Leon Hwang <[email protected]>
bpftool: Generate skeleton for global percpu data

WanLi Niu <[email protected]>
bpftool: Make skeleton C++ compatible with explicit casts

Jiayuan Chen <[email protected]>
bpftool: Using the right format specifiers

Neil Armstrong <[email protected]>
dt-bindings: vendor-prefixes: add vendor prefix for Nexperia B.V.

Pengpeng Hou <[email protected]>
pmdomain: imx: Propagate SCU provider registration failures

Xiang Mei <[email protected]>
fs/ntfs3: validate $SDH entry size in ntfs_insert_security

Konstantin Komarov <[email protected]>

    fs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea

Zhan Xusheng <[email protected]>
fs/ntfs3: fix valid_size not being updated in attr_allocate_frame()

Xiang Mei (Microsoft) <[email protected]>
fs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()

Andrew Gaylard <[email protected]>
pinctrl: fix PINCTRL_SPPCTL=m

Daniel Borkmann <[email protected]>
bpf, lsm: Reject writes into the BPF LSM program context

Slavin Liu <[email protected]>
clk: starfive: jh7110: reject oscillator lookup errors

Wentao Liang <[email protected]>
clk: versatile: clk-icst: Fix node reference leak in of_syscon_icst_setup()

Triet Hoang <[email protected]>
clk: raspberrypi: Handle cpufreq device registration failure

Karl Asseily <[email protected]>
dt-bindings: vendor-prefixes: add ESS Technology

Alejandro Lucero <[email protected]>
ACPI: HMAT: preserve hmat_adist_nb notifier block

Felix Gu <[email protected]>
spi: mxic: fix ps_clk leak in runtime resume

Christian Loehle <[email protected]>
ACPI: CPPC: Validate the _CPC package header

Li RongQing <[email protected]>
RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT

Li RongQing <[email protected]>
RDMA/restrack: Don't set RESTRACK_DD mark after a failed xa_insert()

Li RongQing <[email protected]>
RDMA/core: Fix swapped list_add_tail() arguments in ib_add_sub_device()

Konrad Dybcio <[email protected]>
interconnect: qcom: use 64-bit SMD RPM bus votes

Konrad Dybcio <[email protected]>
interconnect: qcom: icc-rpm: Handle icc_link_create() failures

Myeonghun Pak <[email protected]>
interconnect: exynos: Remove the PM QoS request on unbind

Slavin Liu <[email protected]>
crypto: atmel-sha - reject initialization without a device

Ahsan Atta <[email protected]>
crypto: qat - fix active_devs leak on crypto alg registration failure

Guixin Liu <[email protected]>
cxl/port: Fix uninitialized coordinates reported for RCDs

Guixin Liu <[email protected]>
cxl/pci: Skip reset detection for DVSEC emulated decoders

Julian Braha <[email protected]>
kconfig: fix extra output from savedefconfig on out-of-range defaults

Felix Gu <[email protected]>
PCI: dra7xx: Fix clock enable leak on probe failure

[email protected] <[email protected]>
PCI: dra7xx: Remove device links to PHY

Longlong Xia <[email protected]>
rcu: fix shrink budget underflow in lazy_rcu_shrink_scan

Joel Fernandes <[email protected]>
rcu/nocb: Remove unnecessary WakeOvfIsDeferred wake path

Frederic Weisbecker <[email protected]>
Revert "rcu/nocb: Fix rcuog wake-up from offline softirq"

Mingpei CAO <[email protected]>
libbpf: Reject local struct_ops bitfields before data access

Nikolay Borisov <[email protected]>
ata: sata_dwc_460ex: Don't enable interrupt if libATA core registration fails

Hari Mishal <[email protected]>
drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters

Lijo Lazar <[email protected]>
drm/amdgpu: bounds check ATOM IIO table parsing

Lijo Lazar <[email protected]>
drm/amdgpu: Print full vbios info

Mario Limonciello (AMD) <[email protected]>
drm/amd: Add correct prefix for VBIOS message

Lijo Lazar <[email protected]>
drm/amdgpu: Add vbios build number interface

Hari Mishal <[email protected]>
drm/amd/pm: bound SCLK FCW range entries to the table size

Pengpeng Hou <[email protected]>
clk: milbeaut: Return divider update timeouts

Pengpeng Hou <[email protected]>
clk: si521xx: correct the SI52147 OF output enable map

Zizhi Wo <[email protected]>
md/raid5: reject a per-device size smaller than one chunk

Zhihao Cheng <[email protected]>
md/raid5: setup_conf: Fix null-ptr-def in error handling path

Chen Cheng <[email protected]>
md/raid5: reject raid4/5 arrays with too few disks

Yogesh Gaur <[email protected]>
md/raid5: don't BUG() on an inconsistent reshape state from the superblock

Jérémy Jean <[email protected]>
md: reject v0.90 arrays with too many devices

Zizhi Wo <[email protected]>
md/raid10: fix missing wakeup in wait_barrier_nolock

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers

Bart Van Assche <[email protected]>
scsi: pm8001: Fix SATA FIS offset in struct hw_event_resp

Ștefan Ghețu <[email protected]>
ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump

Karl Mehltretter <[email protected]>
pinctrl: stm32: Drop the nonexistent CONFIG_MACH_STM32MP25 from the STM32MP257 default

Stephane Danieau <[email protected]>
pinctrl: stm32: Allow compile as module for stm32mp257

Antonio Borneo <[email protected]>
pinctrl: stm32: Declare stm32_pmx_get_mode() as static

Alison Schofield <[email protected]>
cxl/hdm: Make switch decoder target parsing endian-safe

Dave Jiang <[email protected]>
cxl: Add a cached copy of target_map to cxl_decoder

Alison Schofield <[email protected]>
cxl/hdm: Reject switch decoder interleave ways that overflow targets

Slavin Liu <[email protected]>
ACPI: tables: handle failed initrd override mappings

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8173: Fix MFG_ASYNC power domain clock

Sarthak Sharma <[email protected]>
mm/gup_test: report actual pinned bytes

Sarthak Sharma <[email protected]>
mm/gup_test: safely calculate GUP batch size

Samuel Moelius <[email protected]>
mm/gup_test: reject wrapped user ranges

Weiming Shi <[email protected]>
ntfs3: fix out-of-bounds read in ntfs_read_mft()

Luka Gejak <[email protected]>
wifi: rtw88: sdio: zero the padding added to a TX transfer

Karl Mehltretter <[email protected]>
loadpin: Fix stale KEXEC_VERIFY_SIG reference in documentation

Rosen Penev <[email protected]>
dmaengine: mv_xor: kill tasklet on channel add error path

Yonghao Zhang <[email protected]>
remoteproc: core: Set trace buffer name for diagnostics

Karl Mehltretter <[email protected]>
block: Fix the thaw_bdev reference in bdev_freeze() kernel-doc

Guangshuo Li <[email protected]>
media: i2c: ar0521: remove duplicate media entity cleanup

Li RongQing <[email protected]>
RDMA/uverbs: Make CQ handle mandatory for WQ creation

Nicolas Morey <[email protected]>
RDMA/rxe: Use validated num_sge in local buffer

Miles Krause <[email protected]>
memory: emif: fix device_node reference leak on np_ddr

Gregory CLEMENT <[email protected]>
phy: cadence: Sierra: Do not modify register when getting parent clock

Haotian Zhang <[email protected]>
phy: hisilicon: hi3670: Fix OF node and device reference leaks

Linkai Gong <[email protected]>
firmware: imx: dsp: fix mailbox channel leak on kasprintf failure

Jianan Huang <[email protected]>
f2fs: quota: fix stale lock holder on remount failure

Jérôme Pouiller <[email protected]>
wifi: wfx: fix use-after-free of the cooling work on device removal

Takahiro Kuwano <[email protected]>
mtd: spi-nor: spansion: Remove s25fs256s0

Julius Bairaktaris <[email protected]>
wifi: mac80211: don't reset the TXQ scheduling round number

Karl Mehltretter <[email protected]>
wifi: mac80211: Fix the return value in mesh_path_add() kernel-doc

Fuad Tabba <[email protected]>
arm64: pi: Run the source checker on the libfdt objects under C=2

Thomas Weißschuh <[email protected]>
microblaze: Pass -m{big,little}-endian through KBUILD_CPPFLAGS

Thomas Weißschuh <[email protected]>
microblaze: uaccess: Zero out destination on failed get_user()

Linkai Gong <[email protected]>
pinctrl: amd: add timeout to irq-enable readback

Mario Limonciello (AMD) <[email protected]>
pinctrl: amd: Don't access irq_data's hwirq member directly

Mario Limonciello (AMD) <[email protected]>
pinctrl: amd: Add PM debugging message for turning on/off wakes

Weiming Shi <[email protected]>
fs/ntfs3: zero frame pages on read error

Matthew Wilcox (Oracle) <[email protected]>
ntfs: Do not kmap page cache pages for compression

Baolin Liu <[email protected]>
fs/ntfs3: update ctime only on successful setxattr

Weiming Shi <[email protected]>
fs/ntfs3: take run_lock when freeing offs_folio in ni_decompress_file

Mahe Tardy <[email protected]>
libbpf: fix log level propagation for light skeleton loaders

Tony Ambardar <[email protected]>
libbpf: Support opening bpf objects of either endianness

Karl Mehltretter <[email protected]>
regulator: qcom-rpmh: Fix the return value in rpmh_regulator_vrm_get_optimum_mode() kernel-doc

Ian Rogers <[email protected]>
perf header: Fix potential memory corruption in cpu_cache_level__read

Rafael J. Wysocki <[email protected]>
ACPI: video: Fix backlight unregistration ordering

Rafael J. Wysocki <[email protected]>
ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument

Karl Mehltretter <[email protected]>
ALSA: control: Fix virtual master creation reference in kernel-doc

Michael S. Tsirkin <[email protected]>
virtio_pci_modern: move avq cleanup from reset to del_vqs

Michael S. Tsirkin <[email protected]>
virtio: synchronize callbacks after device reset

Karl Mehltretter <[email protected]>
gfs2: Fix the return value in gfs2_get_link() kernel-doc

Karl Mehltretter <[email protected]>
ata: libata-scsi: Fix ata_scsi_hotplug() reference in kernel-doc

Karl Mehltretter <[email protected]>
spi: Fix the return value in spi_new_ancillary_device() kernel-doc

Pengpeng Hou <[email protected]>
clk: s2mps11: Propagate OF provider registration failures

Geert Uytterhoeven <[email protected]>
clk: rs9: Add clock index range check to rs9_of_clk_get()

Karl Mehltretter <[email protected]>
clk: mediatek: reset: Fix device registration kernel-doc

Chaithanya Lagisetty <[email protected]>
x86/svm: Avoid sign extension of SVM_EVTINJ_VALID in 64-bit expressions

Nora Schiffer <[email protected]>
ARM: dts: imx7-tqma7: correctly specify PMIC voltage constraints

Sanghyun Park <[email protected]>
bpf: Fix program BTF use-after-free in sleepable programs

Justin Yeh <[email protected]>
HID: i2c-hid: Unfollow the panel on shutdown

Marek Vasut <[email protected]>
ARM: dts: stm32: Drop bias-disable from STM32MP15xx DHCOM SoM sdmmc1_b4_pins_a

Brian Norris <[email protected]>
PM: runtime: Only queue an idle check for RPM-linked suppliers

Xueqin Luo <[email protected]>
cpuidle: teo: Do not return a disabled idle state

Alain Volmat <[email protected]>
ARM: dts: stm32: add LTDC / DCMIPP access controller for STM32MP135

Ahmad Fatoum <[email protected]>
ARM: dts: stm32: lxa-tac: change stdout-path baud rate from 9600 to 115200

Ahmad Fatoum <[email protected]>

    ARM: dts: stm32: lxa-mc1: change stdout-path baud rate from 9600 to 115200

Xueqin Luo <[email protected]>
cpuidle: menu: Do not return a disabled idle state

Christian Loehle <[email protected]>
cpuidle: menu: Remove single state handling

Breno Leitao <[email protected]>
cpuidle: menu: Remove incorrect unlikely() annotation

Takashi Sakamoto <[email protected]>
firewire: core: remove unused link field in fw_packet structure

Karl Mehltretter <[email protected]>
firewire: cdev: Fix FW_CDEV_IOC_CREATE_ISO_CONTEXT references in kernel-doc

Sumeet Pawnikar <[email protected]>
thermal: gov_power_allocator: Fix NULL pointer dereference in update_tz()

Rafael J. Wysocki <[email protected]>
ACPI: glue: Fix up and adjust acpi_unbind_one()

Jan Kara <[email protected]>
gfs2: Fix journaled truncate range end offset

Jiawen Liu <[email protected]>
memory: exynos5422-dmc: handle clock enable failures

Karl Mehltretter <[email protected]>
crypto: lskcipher - preserve state across unaligned chunks

Linmao Li <[email protected]>
crypto: mxs-dcp - handle zero-length skcipher requests

Ahsan Atta <[email protected]>
crypto: qat - release instance on DH fallback allocation failure

Ahsan Atta <[email protected]>
crypto: qat - avoid OOB read when stripping RSA leading zeros

Mohamad Raizudeen <[email protected]>
crypto: amlogic - Fix DMA memory leak in cipher error path

Eric Dumazet <[email protected]>
ip_tunnel: use WRITE_ONCE in ip_tunnel_encap_setup

Eric Dumazet <[email protected]>
sit: fix UAF in ipip6_tunnel_del_prl()

Luca Weiss <[email protected]>

    arm64: dts: qcom: sm7225-fairphone-fp4: Disable PMK8350 PON

Linus Walleij <[email protected]>
regulator: ab8500: Propagate mode enable read errors

Linus Walleij <[email protected]>
regulator: ab8500: Test dedicated enable bits only

Linus Walleij <[email protected]>
regulator: ab8500: Treat cut 1.0 VAUX3 as fixed

Linus Walleij <[email protected]>
regulator: ab8500: Handle AB8505 VINTCORE selector 7

Linus Walleij <[email protected]>

    regulator: ab8500: Add AB8505 VAUX3 3.05 V setting

Babanpreet Singh <[email protected]>
regulator: ab8500: Remove stale expand_register kernel-doc entry

Linus Walleij <[email protected]>
regulator: ab8500: Fix AB8505 VANA voltage selectors

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Serialize virtual PCI bus scan

Jia Wang <[email protected]>
dmaengine: dw-axi-dmac: Fix CH_CFG2 channel priority position

Jia Wang <[email protected]>
dmaengine: dw-axi-dmac: Fix LLI dump out-of-bounds access

Jia Wang <[email protected]>
dmaengine: dw-axi-dmac: Fix AXI burst length encoding

Rosen Penev <[email protected]>
dmaengine: fsl_raid: zero CF descriptor pool allocations

Keisuke Tsukuda <[email protected]>
usb: gadget: f_mass_storage: ignore class requests while inactive

Keisuke Tsukuda <[email protected]>
usb: gadget: composite: avoid warning on aborted delayed status

Roland Dreier <[email protected]>
firmware: arm_scmi: Don't reuse raw xfers with async_done still armed

Roland Dreier <[email protected]>

    firmware: arm_scmi: Protect xfer->async_done with xfer->lock

Chaithanya Lagisetty <[email protected]>
dmaengine: sprd: use clk_bulk API to fix clock imbalance

Pengpeng Hou <[email protected]>
usb: musb: da8xx: depopulate OF children on probe failure

Pengpeng Hou <[email protected]>
usb: musb: da8xx: depopulate OF children on remove

Arka Mondal <[email protected]>
usb-storage: alauda: fix out-of-bounds zone index

Arka Mondal <[email protected]>
usb-storage: alauda: check the return value of alauda_read_map()

Arka Mondal <[email protected]>
usb-storage: alauda: do not do DMA from the stack

Yuho Choi <[email protected]>
USB: pci-quirks: Release EHCI device reference

Jiangong.Han <[email protected]>
USB: usbmon: fix null-ptr-deref in mon_bus_remove() when mon_bus_init() fails

Diego Fernando Mancera Gomez <[email protected]>
usb: image: microtek: stop SG processing after transfer errors

Junxian Huang <[email protected]>
RDMA/hns: Fix GID capacity loss in 64K system

Junxian Huang <[email protected]>
RDMA/hns: Limit gmv_entry_num to avoid memory waste

Yuho Choi <[email protected]>
PCI: xgene: Use managed clock for PCIe controller

Shakeel Butt <[email protected]>
kernfs: fix up the unlocked attribute reads on the creation paths

Karl Mehltretter <[email protected]>
efi/libstub: Fix efi_set_event_at() parameter documentation

Salah Triki <[email protected]>
iio: imu: adis16400: Check return value of spi_setup()

Matti Vaittinen <[email protected]>
iio: accel: kionix-kx022a: Fix IPOL macro name

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix NULL pointer dereference on PCI error recovery

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix use-after-free of the firmware event workqueue

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: zero out diagnostic buffer status memory

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read in PCIe topology change events

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix buffer overflow in the BSG target device map

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds phy array access on link change

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read of event data

Ranjan Kumar <[email protected]>
scsi: mpi3mr: Rename log data save helper to reflect threaded/BH context

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix device loss during enclosure reboot due to zero link speed

Ranjan Kumar <[email protected]>
scsi: mpi3mr: Event processing debug improvement

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read in SAS topology change events

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix target device reference leak in device removal handshake

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds bitmap access during device removal

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds sense buffer access

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds reply frame access

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix buffer overflow when caching log data

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix target device reference leak in BSG task management

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix I/O block counter leak on admin request post failure

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read when copying BSG MPI requests

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix buffer overflow in BSG passthrough request copy

Linmao Li <[email protected]>
power: supply: bq2515x: Propagate charge-enable read errors

Ryan Brue <[email protected]>
power: supply: bq24190_charger: use the wake irq API

Peng Fan <[email protected]>
PM: sleep: wakeirq: Introduce device-managed variant of dev_pm_set_wake_irq()

Joe Hattori <[email protected]>
PM: wakeup: implement devm_device_init_wakeup() helper

hpp.iscas <[email protected]>
power: supply: mm8013: Publish the OF module alias

Karl Mehltretter <[email protected]>
power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document

Willem de Bruijn <[email protected]>
selftests: net: csum: filter packets by source address and port

Sean Anderson <[email protected]>
selftests: net: csum: Clean up recv_verify_packet_ipv6

Aaradhana Sahu <[email protected]>
wifi: ath12k: Free allocated external IRQs on request_irq() failure

Aaradhana Sahu <[email protected]>
wifi: ath12k: Free allocated CE IRQs on request_irq() failure

Nicolas Escande <[email protected]>
wifi: ath11k: fix locking problem in ath11k_dp_rx_tid_del_func()

Mikhail Lobanov <[email protected]>
wifi: ath11k: modify null check logic in ath11k_ce_rx_post_pipe()

Rafael J. Wysocki <[email protected]>
ACPI: utils: Adjust message printing macros for ACPI objects

Rafael J. Wysocki <[email protected]>
ACPI: scan: Stop calling acpi_bus_init_power() early

Rafael J. Wysocki <[email protected]>
ACPI: PCI: Introduce acpi_dev_get_pci_dev()

Rafael J. Wysocki <[email protected]>
ACPI: PM: Drop parent state update from acpi_device_get_power()

Ian Gallagher <[email protected]>
ACPI: button: Add lid_init_state quirk for Razer Blade Stealth 13 (Early 2020) RZ09-0310

Vinod Koul <[email protected]>
dmaengine: zynqmp_dma: drop redundant label

Srinivas Neeli <[email protected]>
dmaengine: xilinx_dma: Move descriptors to done list based on completion bit

Srinivas Neeli <[email protected]>
dmaengine: xilinx_dma: Fix MCDMA descriptor fields based on DMA direction

Chaithanya Lagisetty <[email protected]>
dmaengine: dw-axi-dmac: convert clock handling to clk_bulk API

Golla Nagendra <[email protected]>
dmaengine: zynqmp_dma: Fix chan probe/remove error handling

Ruoyu Wang <[email protected]>
dmaengine: img-mdc: Fix runtime PM usage counter leak

Myeonghun Pak <[email protected]>
dmaengine: mediatek: hsdma: fix runtime PM leak on init failure

Hongling Zeng <[email protected]>
dmaengine: at_hdmac: Fix use-after-free by proper tasklet cleanup

Hongling Zeng <[email protected]>
dmaengine: sun6i-dma: Fix use-after-free in error handling paths

Karl Mehltretter <[email protected]>
mtd: spinand: Fix spinand_manufacturer_ops kernel-doc

Aaron Tomlin <[email protected]>
perf trace: Add upper bound checks for augmented BTF struct printing

Aaron Tomlin <[email protected]>
perf trace: Enhance BTF type formatting to symbolise kernel function pointers

Mark Brown <[email protected]>
perf bpf: Fix up build failure due to change of btf_vlen() return type

Arnaldo Carvalho de Melo <[email protected]>
perf btf: Make the sigtrap test helper to find a member by name widely available

Qiuxu Zhuo <[email protected]>
EDAC/i10nm: Fix Granite Rapids ADXL MC mapping

Tianyi Chen <[email protected]>
selftests/sched_ext: Handle CPU hotplug write failures

Manush Prajwal <[email protected]>
pwm: lp3943: fix NULL pointer dereference for an unconfigured channel

bui duc phuc <[email protected]>
ASoC: mediatek: mt6797: fix wrong unwind order and error code in enable_clock

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix MCK error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix APLL enable error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix AFE clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix clock handling in mux disable path

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix APLL mux setting error handling

Bert Karwatzki <[email protected]>

    mac80211: tx: Use info->flags in ieee80211_tx_h_select_key()

Chen-Yu Tsai <[email protected]>
pwm: mtk-disp: Fix period readback

Karl Mehltretter <[email protected]>
virtio_ccw: always take irq_lock in the classic interrupt handler

Karl Mehltretter <[email protected]>
virtio_ccw: fix synchronize_cbs() after interrupt fallback

Pengpeng Hou <[email protected]>
ASoC: es8326: report resume restore errors

Karl Mehltretter <[email protected]>
irqchip/gic-v3-its: Don't WARN on LPI free allocation failure

Linkai Gong <[email protected]>
drivers/base/node: fix UAF on device_register() failure

Dmitry Torokhov <[email protected]>
gpio: crystalcove: add missing MODULE_ALIAS()

Leon Romanovsky <[email protected]>
RDMA/irdma: Preserve fast-registration IOVA on 32-bit

Mark Amirkan <[email protected]>
perf evsel: Validate RAW sample before byte swapping

Mark Amirkan <[email protected]>
perf evsel: Validate branch stack before byte swapping

Aaron Tomlin <[email protected]>
perf trace: Fix error checking in btf_struct_scnprintf()

Marcel Hofmann <[email protected]>
remoteproc: imx_rproc: Allow mappings ending at region boundary

Felix Gu <[email protected]>
spi: mtk-nor: fix runtime PM usage count leak in probe error path

Dave Jiang <[email protected]>
efi/cper: Read only validated fields in cper_mem_err_pack()

Dave Jiang <[email protected]>
ACPI: APEI: GHES: Bound CXL event record copy to the firmware section length

Dave Jiang <[email protected]>
ACPI: extlog: Validate elog record length before walking sections

Dave Jiang <[email protected]>
efi/cper: Reject an error status block length that wraps a u32

Dave Jiang <[email protected]>
efi/cper: Reject CPER records with an out-of-range error_data_length

Jisheng Zhang <[email protected]>
regulator: mp886x: fix vsel_mask

Alexis Lothoré (eBPF Foundation) <[email protected]>
selftests/bpf: make cmdline_contains stricter

Eduard Zingerman <[email protected]>
selftests/bpf: More precise cpu_mitigations state detection

Jared McArthur <[email protected]>
arm64: dts: ti: k3-j722s-evm: Switch audio codec clock from audio_refclk1 to external clock

Chintan Vankar <[email protected]>
arm64: dts: ti: k3-j722s-evm: Add bootph-all property to enable Ethernet boot

Yemike Abhilash Chandra <[email protected]>
arm64: dts: ti: j722s-evm: Add MUX to control CSI2RX

Udit Kumar <[email protected]>

    arm64: dts: ti: k3-j722s-evm: Enable PMIC

Pengpeng Hou <[email protected]>
memory: brcmstb_dpfe: validate firmware section sizes

Pengpeng Hou <[email protected]>
irqchip/riscv-imsic: Use GENMASK for base address masks

Julius Bairaktaris <[email protected]>
wifi: mac80211: fix swapped fq_overlimit/fq_overmemory in aqm debugfs

Fabrice Derepas <[email protected]>
crypto: asymmetric_keys - fix OOB read in pefile_parse_binary

Ruoyu Wang <[email protected]>
hwrng: cctrng - Fix runtime PM usage counter leak

Jérôme Pouiller <[email protected]>
wifi: wfx: fix possible device hang during init

Johannes Berg <[email protected]>

    wifi: mac80211: fix IEEE80211_TX_CTL_REQ_TX_STATUS mixup

Bert Karwatzki <[email protected]>
wifi: check if socket flags are valid

Johannes Berg <[email protected]>
wifi: free SKBTX_WIFI_STATUS skb tx_flags flag

Johannes Berg <[email protected]>
wifi: mac80211: drop encap offload frames with a tainted key

Johannes Berg <[email protected]>
wifi: mac80211: don't send encap offload frames unencrypted

Johannes Berg <[email protected]>
wifi: mac80211: fix key selection for encap offload frames

Johannes Berg <[email protected]>
wifi: mac80211: fix unauthorised port check for encap offload

Paul Dolan <[email protected]>
selftests/clone3: tighten CLONE_CLEAR_SIGHAND conflict test

Miaoqing Pan <[email protected]>
wifi: ath11k: fix sporadic WLAN initialization failures

Julius Bairaktaris <[email protected]>
wifi: ath11k: disable interrupts during firmware crash recovery

Miquel Raynal (Schneider Electric) <[email protected]>
clk: Use the generic OF phandle parsing in only one place

Chengchang Tang <[email protected]>
RDMA/hns: Fix missing CQE when UD QP use different SL

Rosen Penev <[email protected]>
dmaengine: fsl_raid: avoid free_q underflow in free_chan_resources

Rosen Penev <[email protected]>
dmaengine: fsl_raid: don't invoke client callback under desc_lock

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming

Toke Høiland-Jørgensen <[email protected]>
bpftool: Set BPF_F_XDP_DEV_BOUND_ONLY flag non-destructively

Ionut Nechita <[email protected]>
x86/crash: Reserve elfcorehdr for CONFIG_NR_CPUS, not CONFIG_NR_CPUS_DEFAULT

Richard Zhu <[email protected]>
arm64: dts: imx95: Avoid 32-bit PCIe window System RAM overlap

Pengpeng Hou <[email protected]>
remoteproc: imx_dsp: Acquire runtime PM before adding carveouts

Peng Fan <[email protected]>
remoteproc: imx_dsp_rproc: Drop extra space

Shengjiu Wang <[email protected]>
remoteproc: imx_dsp_rproc: Add support of recovery and coredump process

Alexander Aring <[email protected]>
dlm: fix variable key length lookup

Joseph Qi <[email protected]>
dlm: fix buffer overflow from negative len in dlm_search_rsb_tree

Danila Chernetsov <[email protected]>
dlm: fix NULL pointer dereference in dlm_dump_rsb_name()

Danila Chernetsov <[email protected]>
dlm: validate lock modes in recovery messages

Miklos Szeredi <[email protected]>
fuse: fall back to copy_splice_read() on FOPEN_DIRECT_IO

Tao Cui <[email protected]>
sched_ext/scx_flatcg: Make cgv_node_less() wraparound-safe

Abdurrahman Karadag <[email protected]>
wifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured

Chris Morgan <[email protected]>
arm64: dts: rockchip: Correct Device Orientation on Gameforce Ace

Boris Faure <[email protected]>
soundwire: intel: initialise quirk_mask before reading it

Jérémy Jean <[email protected]>
microblaze: prevent ptrace writes to MSR and pt_mode

Alexander A. Klimov <[email protected]>
microblaze: CCF: fix refcount leak

Jerome Brunet <[email protected]>
clk: fix self-consuming provider module pinning

Orgad Shaneh <[email protected]>
staging: octeon: schedule the TX cleanup tasklet every 1024th packet

Myeonghun Pak <[email protected]>
staging: rtl8723bs: disable SDIO function on block size failure

Ethan Tidmore <[email protected]>
staging: rtl8723bs: remove unused private debug counters

Michael Straube <[email protected]>
staging: rtl8723bs: move rtw_recv_indicatepkt to rtw_recv.c

Michael Straube <[email protected]>
staging: rtl8723bs: remove wrapper rtw_init_recv_timer

Michael Straube <[email protected]>
staging: rtl8723bs: remove return from void function

Rodrigo Gobbi <[email protected]>
staging: rtl8723bs: change remaining printk to proper api

Rob Barnes <[email protected]>
platform/chrome: cros_ec_proto: Fix deferred response

Hongyan Xu <[email protected]>
soc: qcom: apr: clean up failed service registrations

Felix Gu <[email protected]>
spi: omap2-mcspi: Remove unbalanced pm_runtime_put_sync() calls

Ruoyu Wang <[email protected]>
pwm: renesas-tpu: Fix runtime PM reference leak

David Heidelberg <[email protected]>
ASoC: wcd-mbhc-v2: Fix incorrect properties names and typos

Cai Xinchen <[email protected]>
lsm: don't call security_backing_file_free() multiple times

Runyu Xiao <[email protected]>
remoteproc: xlnx: Initialize mailbox work before requesting channels

Shujath Mohd <[email protected]>
arm64: dts: qcom: sdm845-sony-xperia-tama: Fix Bluetooth UART pinctrl

Anup Vishwakarma <[email protected]>
remoteproc: qcom_q6v5_adsp: Fix double jiffies conversion in adsp_start()

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate unwinding sizes against record payload

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate sym string NUL-termination in code load

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate debug entries on native (non-swap) path

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Use dirname() return value in jit_open()

Hrishikesh Suresh <[email protected]>
perf: replace strcpy() with strncpy() in util/jitdump.c

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Free event in jit_repipe_code_move()

Ian Rogers <[email protected]>
perf sample: Make user_regs and intr_regs optional

Ian Rogers <[email protected]>
perf python: Constify variables and parameters

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Fix funlockfile on unlocked stream in jit_open() error path

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Check snprintf return before computing header size

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Bounds-check debug entry byte-swap loop

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Prevent integer underflow in debug info size calculation

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate code_size against total_size in code load

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Fix debug_data and unwinding_data leaks

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Fix extended header read that always fails

Breno Leitao <[email protected]>
kexec_file: stop the top-down search before it underflows

Rosen Penev <[email protected]>
ARM: dts: helios4: fix spi1 location

Rosen Penev <[email protected]>
ARM: dts: helios4: fix vbus-supply for USB2 PHY

Rosen Penev <[email protected]>
ARM: dts: armada-388-helios4: fix vmmc property name

Rosen Penev <[email protected]>
ARM: dts: armada-395-gp: drop unsupported SDHCI clock-frequency

Rosen Penev <[email protected]>
ARM: dts: armada-385-clearfog-gtr: fix vmmc property name

Rosen Penev <[email protected]>
ARM: dts: helios4: fix lm75 supply name

Pei Xiao <[email protected]>
ata: pata_parport: Fix use-after-free in new_device_store

Matti Vaittinen <[email protected]>
iio: pressure: rohm-bm1390: Fix AVE_NUM initialization

Salah Triki <[email protected]>
iio: temperature: tmp117: fix calibbias cache update on I2C write failure

Esben Haabendal <[email protected]>
dt-bindings: iio: light: ltr501: Add missing ltr303 compatible

Esben Haabendal <[email protected]>
dt-bindings: iio: light: ltr501: Sort compatible enum array

Adi Nata <[email protected]>
iio: humidity: hts221: report available values via read_avail()

Pengpeng Hou <[email protected]>
spi: sh-msiof: propagate setup runtime-PM errors

Geert Uytterhoeven <[email protected]>
spi: sh-msiof: SITMDR1/SIRMDR1 bitfield conversion

Chandradhar Kumar <[email protected]>
regulator: fixed: reject incompatible platform devices

Yuan Chen <[email protected]>
bpftool: Fix spurious batch file read error

Tapio Reijonen <[email protected]>
gpio: pcf857x: implement get_direction()

Bartosz Golaszewski <[email protected]>
gpio: pcf857x: use new GPIO line value setter callbacks

Nicolas Frattaroli <[email protected]>
drm/panthor: Take reqs_lock in soft_reset for clearing pending_reqs

Alexis Lothoré (eBPF Foundation) <[email protected]>
selftests/bpf: Allocate a larger timeout for connection

Darren Carreras <[email protected]>
libbpf: Avoid overflow in BTF.ext bounds check

Tony Ambardar <[email protected]>
libbpf: Support BTF.ext loading and output in either endianness

Tony Ambardar <[email protected]>
libbpf: Improve log message formatting

Marek Vasut <[email protected]>
drm: of: Fix drm_of_get_data_lanes_count_ep() return value documentation

Andreas Kemnade <[email protected]>
drm/omap: dsi: avoid sending bta sync all the time in writes

Tejun Heo <[email protected]>
bpf: sched_ext: Mark ops argument container pointer fields as trusted

Song Liu <[email protected]>

    bpf: Mark dentry->d_inode as trusted_or_null

Adrián Larumbe <[email protected]>
drm/panfrost: Prevent division by 0

Hao-Qun Huang <[email protected]>
accel/qaic: reject BO sizes that overflow page count

Raveendra Talabattula <[email protected]>
drm/komeda: Fix bits parsing of GLB_CORE_ID

Su Hui <[email protected]>
fs/stat.c: avoid harmless garbage value problem in vfs_statx_path()

Borislav Petkov (AMD) <[email protected]>
x86/microcode/AMD: Move the no-revision fixup to get_patch_level()

Daejun Park <[email protected]>
xfs: add a flag to convert unwritten extents without allocating blocks

Heiner Kallweit <[email protected]>
r8169: align RTL8125/RTL8126 PHY config with vendor driver

Pei Xiao <[email protected]>
comedi: dt2811: fix shift-out-of-bounds in IRQ check

Yang Zi <[email protected]>
comedi: addi_apci_3xxx: fix subdevice count underallocation

Pablo Neira Ayuso <[email protected]>
netfilter: flowtable: ensure sufficient headroom in xmit path

Amir Goldstein <[email protected]>
ovl: inherit FMODE_NONOTIFY when reading directory layers

Mike Rapoport (Microsoft) <[email protected]>
mm/cma: accept memory of CMA areas reserved at a fixed address

David Hildenbrand (Arm) <[email protected]>
mm/shmem: fix accounting of swapin-error markers

Roman Li <[email protected]>
drm/amd/display: Reset DET of HUBPs without a plane before outstanding updates

Ilya Bakoulin <[email protected]>
drm/amd/display: Minimize wait for pending updates

Yingjie Wang <[email protected]>
nvmet: reject keep-alive timeouts that would overflow

Jouni Högander <[email protected]>
drm/i915/display: Add enabled pipe planes into state for selective fetch

David Hildenbrand (Arm) <[email protected]>
mm/shmem: make shmem_file() check the file's inode

Bernard Pidoux <[email protected]>
hdlcdrv: close the hardware driver once, and only if it was opened

Bernard Pidoux <[email protected]>
rose: disconnect sockets under their lock when a neighbour goes away

Bernard Pidoux <[email protected]>
rose: clear the other half of a through route a new call takes over

Bernard Pidoux <[email protected]>
rose: give loopback answers LCIs that calls cannot be given

Bernard Pidoux <[email protected]>
rose: refuse an empty message when the Q bit is included

Bernard Pidoux <[email protected]>
rose: keep a socket unbound when connect() fails to autobind it

Bernard Pidoux <[email protected]>
rose: check the length of Restart Request and Diagnostic frames

Bernard Pidoux <[email protected]>
rose: change the loopback nodes under the neighbour list lock too

Bernard Pidoux <[email protected]>
rose: hold RTNL while a route is added or deleted

Bernard Pidoux <[email protected]>
rose: walk the neighbour list under its lock when a device goes down

Jesse Zhang <[email protected]>
drm/amdkfd: use the queue's process info for the WPTR BO eviction fence

Lang Yu <[email protected]>
drm/amdkfd: Map wptr BO to GART unconditionally

Ajay Kumar Nandam <[email protected]>
ASoC: qcom: q6apm: clear g_apm on driver removal

David Hildenbrand (Arm) <[email protected]>
fork: take mmap_lock before copying mm_struct

David Hildenbrand (Arm) <[email protected]>
mm/rmap: handle device-exclusive entries in folio_referenced_one()

Josef Bacik <[email protected]>

    mm/filemap: read mapping->a_ops->free_folio under i_lock

Cong Zhang <[email protected]>
virtio_blk: use synchronous quiesce in virtblk_freeze_priv()

Cen Zhang (Microsoft) <[email protected]>
apparmor: fix query_data() output overlapping the lookup key

Gregory Price <[email protected]>
mm/userfaultfd: compare exact registration modes before skipping

Ian Bridges <[email protected]>
ksmbd: let the owner read and change the DACL when no ACE names it

YouYou Yu <[email protected]>
quota: initialize dquot cache before mounting rootfs

Shubham Antil <[email protected]>
vhost-scsi: zero misaligned I/O bounce pages

Mike Christie <[email protected]>
vhost-scsi: Reduce mem use by moving upages to per queue

David Hildenbrand (Arm) <[email protected]>
mm/mremap: use pudp_huge_get_and_clear() when moving huge PUDs

David Hildenbrand (Arm) <[email protected]>
mm/madvise: preserve VMA_SOFTDIRTY_BIT when changing anonymous names

Josef Bacik <[email protected]>
mm/hugetlb: don't clear the resv_map of a VMA whose lock is held

Jouni Högander <[email protected]>
drm/i915/psr: Clear selective fetch area when duplicating plane state

David Hildenbrand (Arm) <[email protected]>
mm/vma: don't leak the charge for stack growth

Daejun Park <[email protected]>
nvme: unregister when pr_register() is given a zero new key

Guixin Liu <[email protected]>
nvme: tuning pr code by using defined structs and macros

Jesse Zhang <[email protected]>
drm/amdgpu: don't walk the CS chunks when allocating them failed

Guenter Roeck <[email protected]>
hwmon: (tmp108) Fix initial conversion delay and wait until ready

Frank Li <[email protected]>
hwmon: (tmp108) Add helper function tmp108_common_probe() to prepare I3C support

Guenter Roeck <[email protected]>
hwmon: (coretemp) Fix 32-bit jiffies wraparound in show_temp()

Myeonghun Pak <[email protected]>
fbdev: kyro: Release WC setup on registration failure

Giovanni Di Santi <[email protected]>
fbdev: kyro: Use devm_ioremap_wc() for screen mem

Giovanni Di Santi <[email protected]>
fbdev: kyro: Use devm_ioremap() for mmio registers

Chris Mason <[email protected]>
mm/huge_memory: fix truncate racing with PMD zapping

David Hildenbrand (Arm) <[email protected]>
mm: fix address wraparound when scanning large folio PTEs

Aditya Sharma <[email protected]>
mm/memory: update stale locking comments for fault handlers

Jinliang Zheng <[email protected]>
mm: fix outdated incorrect code comments for handle_mm_fault()

Li Zhe <[email protected]>
mm/hugetlb: fix mremap deadlock when PMD sharing is possible

Chengfeng Ye <[email protected]>
l2tp: snapshot sequencing state when building transmit headers

Fuad Tabba <[email protected]>
KVM: arm64: vgic-its: Don't map an LPI from more than one event

Mike Christie <[email protected]>
scsi: target: Fix LUN/device R/W and total command stats

Yu Zhang <[email protected]>
scsi: target: Fix demo-mode dynamic ACL dev-entry UAF vs LUN teardown

Mike Christie <[email protected]>
scsi: target: Move I/O path stats to per CPU

Lorenzo Stoakes (ARM) <[email protected]>

    mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows

Sasha Levin <[email protected]>
Revert "x86/mm/pat: Fix effective RW computation in lookup_address_in_pgd_attr()"

Sasha Levin <[email protected]>
Revert "x86/mm/pat: Use pr_warn() for early W^X warnings"

Jann Horn <[email protected]>
cipso: stop modifying live ip_options_rcu

Ian Bridges <[email protected]>
ksmbd: do not read past the DACL in the access denied debug message

Javier Carrasco <[email protected]>
hwmon: chipcap2: synchronize ready IRQ state

Javier Carrasco <[email protected]>
hwmon: chipcap2: serialize access to the alarm indicators

Guenter Roeck <[email protected]>
hwmon: (chipcap2) Drop unnecessary include files

Javier Carrasco <[email protected]>
hwmon: (chipcap2) Switch to guard() for mutext handling

Cen Zhang <[email protected]>
ocfs2: validate move extents against a stable EOF

Qu Wenruo <[email protected]>
btrfs: raid56: do not verify the content if there is no data checksum

Kevin Wang <[email protected]>
drm/amd/pm: populate unique ID for smu 13.0.7

Guenter Roeck <[email protected]>
hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds

Melissa Wen <[email protected]>
drm/amd/display: Signal PQ EOTF in FreeSync infopacket for DP HDR

Krzysztof Kozlowski <[email protected]>
drm/msm/hdmi: Handle msm_hdmi_power_on() errors during .atomic_pre_enable()

Eva Kurchatova <[email protected]>
hugetlbfs: enforce F_SEAL_EXEC in setattr

Mikhail Gavrilov <[email protected]>
drm/amd/display: set allow_freesync before validating a new stream

Leo Liu <[email protected]>
drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg

Johannes Weiner <[email protected]>
mm: page_alloc: do not give all non-blocking requests reserve access

David Hildenbrand (Arm) <[email protected]>
mm/mremap: recheck PUDs under the page table lock

Josef Bacik <[email protected]>
mm/mremap: fix moving PUD leaves

Myeonghun Pak <[email protected]>
hwmon: (sht15) Stop deferred work before releasing its resources

Pan Chuang <[email protected]>
hwmon: (sht15) Remove redundant dev_err()

Lance Yang <[email protected]>
khugepaged: fix readahead lock inversion in collapse_file()

Will Deacon <[email protected]>
tools: linux/types.h: Add 128-bit integer types for arm64 UAPI structures

Takashi Iwai <[email protected]>
ALSA: pcm: Prevent O_APPEND open on OSS streams

Takashi Iwai <[email protected]>
ALSA: pcm: Optimize cpu_latency_qos_*() calls

Vincent Mailhol <[email protected]>
can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

Matt Turner <[email protected]>
alpha: select SYSCTL_EXCEPTION_TRACE

Yufan Chen <[email protected]>
io_uring/eventfd: reset deferred signal state

Eric Dumazet <[email protected]>
inet: frags: bound the wmem charge of the socket completing a reassembly

Ciro Pedrini <[email protected]>
platform/x86: hp-wmi: Add OMEN board 8A17 thermal profile support

Ilpo Järvinen <[email protected]>
platform/x86: hp-wmi: Order DMI board name arrays

Chengfeng Ye <[email protected]>
mm/ksm: mark migration stores with WRITE_ONCE()

Georgia Garcia <[email protected]>
apparmor: fix profile leak when a policy load fails

Jesse Zhang <[email protected]>
drm/amdgpu: drop the gang leader reference when freeing gang jobs

Prike Liang <[email protected]>
drm/amdgpu: finish GPU recovery callbacks before restarting schedulers

Lorenzo Stoakes (ARM) <[email protected]>
mm/vma: fix expansion of VMA_MIXEDMAP_BIT VMAs

Chao Yu <[email protected]>
f2fs: fix to fetch ino via ino_of_node() under cache lock

Lorenzo Stoakes (ARM) <[email protected]>
mm/vma: update VMA iterator state on error in new VMA merge

David Hildenbrand (Arm) <[email protected]>
mm/memory-tiers: unregister empty tiers outside memory_tier_lock

Amir Goldstein <[email protected]>
ovl: inherit FMODE_NONOTIFY when opening directory realfiles

Darong Lu <[email protected]>
libceph: initialize CRUSH choose argument weights

Javier Carrasco <[email protected]>
hwmon: chipcap2: disable device after hwmon teardown

Javier Carrasco <[email protected]>
hwmon: chipcap2: fix IRQ teardown ordering

Chao Yu <[email protected]>
f2fs: fix to update superblock crc in sanity_check_area_boundary()

David Hildenbrand (Arm) <[email protected]>
mm/userfaultfd: wake waiters when registration modes are removed

Christian Brauner <[email protected]>
backing-file: enforce append-only and immutable backing inodes

David Hildenbrand (Arm) <[email protected]>
mm/userfaultfd: write-lock the VMA before waking waiters when unregistering

Linlin Yang <[email protected]>

    wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()

Christian Brauner <[email protected]>
proc: don't let an entry below /proc/<pid>/net be a mountpoint

Ali Ahmet Memiş <[email protected]>
platform/x86: ideapad-laptop: Evaluate ACPI methods exclusively

Ali Ahmet Memiş <[email protected]>
ACPI: utils: Add exclusive AML evaluation helpers

Eklavya Singh <[email protected]>
ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute

Karl Mehltretter <[email protected]>
ocfs2/cluster: hold a reference on the heartbeat thread

guolingxing <[email protected]>
btrfs: prevent deleting the wrong subvolume by ID

William Palacek <[email protected]>
drm/amdkfd: Validate the control stack of a restored queue

Rik van Riel <[email protected]>
mm/memcontrol: fix stuck FLUSHING_CACHED_CHARGE bit on isolated cpus

Yao Yiqi <[email protected]>
fbcon: Rebuild rotated font buffer on font change

Priyank Rathod <[email protected]>
PCI/AER: Fix memory leak in aer_recover_work_func() when pci_dev is missing

Vernon Yang <[email protected]>
selftests/mm: include kselftest.h in vm_util.h

Ian Bridges <[email protected]>
ksmbd: enforce the read-only share flag when creating a stream

David Hildenbrand (Arm) <[email protected]>
mm/ksm: fix use of a freed anon_vma at swap-in

Ian Bridges <[email protected]>
ksmbd: revert fsids on durable reconnect and replay failure

Yizhou Zhao <[email protected]>
9p/xen: drain response work after unbinding IRQ

Josef Bacik <[email protected]>
mm/hugetlb: fix endless write fault on a leftover uffd bit

Eric Dumazet <[email protected]>
inet: frags: limit the truesize of a reassembly queue

Sean Christopherson <[email protected]>
KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

-------------

Diffstat:

 .gitignore                                         |    1 -
 Documentation/ABI/testing/sysfs-bus-pci            |   14 +-
 Documentation/ABI/testing/sysfs-class-power-mp2629 |    2 +-
 Documentation/admin-guide/LSM/LoadPin.rst          |   10 +-
 Documentation/admin-guide/LSM/ipe.rst              |    4 +-
 .../bindings/arm/mediatek/mediatek,audsys.yaml     |    2 +-
 .../bindings/clock/mediatek,apmixedsys.yaml        |    2 +-
 .../bindings/clock/mediatek,topckgen.yaml          |    2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml      |    4 +-
 .../devicetree/bindings/dma/stericsson,dma40.yaml  |   14 +
 .../bindings/iio/light/liteon,ltr501.yaml          |    3 +-
 .../media/allwinner,sun4i-a10-video-engine.yaml    |   21 +-
 .../power/supply/stericsson,ab8500-charger.yaml    |   76 +-
 .../devicetree/bindings/vendor-prefixes.yaml       |   22 +
 Documentation/sound/designs/midi-2.0.rst           |    7 +
 Documentation/trace/histogram.rst                  |    3 +
 Makefile                                           |    4 +-
 arch/alpha/Kconfig                                 |    1 +
 arch/alpha/mm/fault.c                              |   29 +
 arch/arc/Makefile                                  |    9 +-
 arch/arc/lib/Makefile                              |    8 +
 arch/arm/boot/dts/gemini/gemini.dtsi               |    2 +-
 .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi  |    2 +-
 arch/arm/boot/dts/marvell/armada-388-helios4.dts   |   23 +-
 arch/arm/boot/dts/marvell/armada-395-gp.dts        |    1 -
 arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi          |   40 +-
 arch/arm/boot/dts/qcom/qcom-msm8974.dtsi           |   30 +-
 arch/arm/boot/dts/st/ste-ab8500.dtsi               |    6 -
 arch/arm/boot/dts/st/ste-ab8505.dtsi               |   23 +-
 arch/arm/boot/dts/st/ste-dbx5x0.dtsi               |    5 -
 arch/arm/boot/dts/st/ste-href-ab8500.dtsi          |  104 ++
 arch/arm/boot/dts/st/ste-href-ab8505.dtsi          |  118 +-
 arch/arm/boot/dts/st/stm32mp135.dtsi               |   44 +-
 arch/arm/boot/dts/st/stm32mp157c-lxa-mc1.dts       |    2 +-
 arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi      |    2 +-
 arch/arm/boot/dts/st/stm32mp15xx-dhcom-som.dtsi    |    2 +
 arch/arm/include/asm/domain.h                      |   17 -
 arch/arm/include/asm/memory.h                      |    4 +-
 arch/arm/include/asm/pgtable-2level-hwdef.h        |    1 -
 arch/arm/include/asm/pgtable-2level.h              |    7 -
 arch/arm/include/asm/sparsemem.h                   |    4 +
 arch/arm/kernel/efi.c                              |   13 +
 arch/arm/mach-mvebu/Kconfig                        |    4 +-
 arch/arm/mach-versatile/platsmp-vexpress.c         |    4 +-
 arch/arm/mach-versatile/v2m.c                      |    4 +-
 arch/arm/mm/Kconfig                                |    7 -
 arch/arm/mm/alignment.c                            |   10 +-
 arch/arm/mm/dma-mapping.c                          |    5 +-
 arch/arm/mm/ioremap.c                              |   53 +-
 arch/arm/mm/mmu.c                                  |   76 +-
 arch/arm64/Kconfig.platforms                       |    1 -
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi       |    4 +-
 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi  |    9 +
 .../boot/dts/amlogic/meson-sm1-odroid-hc4.dts      |    4 +-
 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts      |   14 +-
 arch/arm64/boot/dts/freescale/imx8qm-mek.dts       |   26 +-
 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts      |    4 +-
 arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts  |    4 +-
 arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts    |    4 +-
 arch/arm64/boot/dts/freescale/imx95.dtsi           |    4 +-
 arch/arm64/boot/dts/mediatek/mt8173.dtsi           |    2 +-
 arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi         |    8 +-
 arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi     |   13 +-
 .../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi     |    2 +
 arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts  |    4 +
 arch/arm64/boot/dts/qcom/sm8150.dtsi               |    2 +-
 .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts  |    1 +
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts          |    1 +
 arch/arm64/boot/dts/rockchip/rk3328.dtsi           |    2 +-
 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts    |   32 +-
 arch/arm64/boot/dts/rockchip/rk3566-base.dtsi      |   39 +
 arch/arm64/boot/dts/rockchip/rk3566.dtsi           |  118 +-
 arch/arm64/boot/dts/rockchip/rk3568.dtsi           |  117 +-
 .../dts/rockchip/{rk356x.dtsi => rk356x-base.dtsi} |   82 --
 .../boot/dts/rockchip/rk3588s-gameforce-ace.dts    |    7 +-
 arch/arm64/boot/dts/st/stm32mp231.dtsi             | 1213 ++++++++++++++++++++
 arch/arm64/boot/dts/st/stm32mp233.dtsi             |   94 ++
 arch/arm64/boot/dts/st/stm32mp235.dtsi             |   16 +
 arch/arm64/boot/dts/st/stm32mp23xc.dtsi            |    8 +
 arch/arm64/boot/dts/st/stm32mp23xf.dtsi            |    8 +
 arch/arm64/boot/dts/st/stm32mp251.dtsi             |    2 +-
 arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi         |   41 +-
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts            |  124 +-
 arch/arm64/kernel/pi/Makefile                      |    1 +
 arch/arm64/kvm/vgic/vgic-its.c                     |   37 +-
 arch/m68k/apollo/dn_ints.c                         |    6 +
 arch/m68k/mac/config.c                             |   31 +-
 arch/microblaze/Makefile                           |    6 +-
 arch/microblaze/include/asm/uaccess.h              |    3 +-
 arch/microblaze/kernel/cpu/cpuinfo.c               |    1 +
 arch/microblaze/kernel/ptrace.c                    |    3 +
 arch/mips/Makefile                                 |   22 +-
 arch/mips/cavium-octeon/dma-octeon.c               |    2 +-
 arch/nios2/kernel/nios2_ksyms.c                    |    1 +
 arch/powerpc/kernel/trace/ftrace_entry.S           |    6 +
 arch/riscv/include/asm/insn.h                      |    2 +-
 arch/riscv/net/bpf_jit_comp64.c                    |   14 +-
 arch/riscv/net/bpf_jit_core.c                      |    1 +
 arch/s390/kernel/ptrace.c                          |    9 +-
 arch/s390/kernel/uprobes.c                         |    2 +-
 arch/sh/Kconfig                                    |    1 +
 arch/sh/boards/board-sh7785lcr.c                   |    2 +-
 arch/sh/configs/migor_defconfig                    |    2 +-
 arch/sh/configs/sdk7786_defconfig                  |    2 +-
 arch/sh/configs/shx3_defconfig                     |    2 +-
 arch/sh/include/asm/uaccess_32.h                   |    8 +-
 arch/um/drivers/ubd_kern.c                         |    1 -
 arch/x86/boot/compressed/efi_mixed.S               |   16 +-
 arch/x86/include/asm/efi.h                         |    3 +
 arch/x86/include/asm/svm.h                         |    4 +-
 arch/x86/kernel/cpu/microcode/amd.c                |   12 +-
 arch/x86/kernel/crash.c                            |    6 +-
 arch/x86/kvm/svm/nested.c                          |   23 +-
 arch/x86/kvm/svm/svm.c                             |    2 +
 arch/x86/kvm/svm/svm.h                             |    2 +
 arch/x86/mm/pat/set_memory.c                       |   23 +-
 arch/x86/platform/efi/efi.c                        |   29 -
 arch/x86/platform/efi/efi_64.c                     |   42 -
 arch/x86/platform/pvh/enlighten.c                  |    2 +
 arch/x86/power/hibernate.c                         |   51 +-
 block/bdev.c                                       |   12 +-
 block/bfq-iosched.c                                |    4 +-
 block/blk-cgroup.c                                 |   19 +-
 block/blk-cgroup.h                                 |    6 +-
 block/blk-flush.c                                  |    8 +-
 block/blk-iocost.c                                 |  311 +++--
 block/blk-iolatency.c                              |    3 +-
 block/blk-map.c                                    |    1 +
 block/blk-mq-debugfs.c                             |    1 -
 block/blk-mq-sched.c                               |    3 +-
 block/blk-mq.c                                     |   42 +-
 block/blk-rq-qos.c                                 |   18 +-
 block/blk-throttle.c                               |   91 +-
 block/blk-timeout.c                                |    3 +-
 block/blk.h                                        |   14 +
 block/fops.c                                       |   12 +-
 block/partitions/mac.c                             |    4 +-
 crypto/asymmetric_keys/verify_pefile.c             |    5 +
 crypto/lskcipher.c                                 |    6 +-
 crypto/tcrypt.c                                    |  182 +--
 drivers/accel/qaic/qaic_data.c                     |    8 +-
 drivers/acpi/acpi_extlog.c                         |    9 +
 drivers/acpi/acpi_pcc.c                            |   29 +-
 drivers/acpi/acpi_video.c                          |   12 +-
 drivers/acpi/acpica/dsfield.c                      |    3 +-
 drivers/acpi/acpica/exfield.c                      |   11 +-
 drivers/acpi/acpica/nsxfname.c                     |    1 +
 drivers/acpi/apei/ghes.c                           |   16 +-
 drivers/acpi/button.c                              |   12 +
 drivers/acpi/cppc_acpi.c                           |   22 +-
 drivers/acpi/device_pm.c                           |   77 +-
 drivers/acpi/fan_core.c                            |    9 +-
 drivers/acpi/glue.c                                |   10 +-
 drivers/acpi/numa/hmat.c                           |    2 +-
 drivers/acpi/pci_link.c                            |    1 +
 drivers/acpi/pci_root.c                            |   22 +-
 drivers/acpi/scan.c                                |   40 +-
 drivers/acpi/tables.c                              |    3 +
 drivers/acpi/utils.c                               |   41 +
 drivers/ata/libahci.c                              |   15 +
 drivers/ata/libata-core.c                          |   12 +
 drivers/ata/libata-scsi.c                          |    2 +-
 drivers/ata/pata_parport/pata_parport.c            |    9 +-
 drivers/ata/sata_dwc_460ex.c                       |    5 +-
 drivers/base/node.c                                |   17 +-
 drivers/base/power/runtime.c                       |    6 +-
 drivers/base/power/wakeirq.c                       |   26 +
 drivers/block/amiflop.c                            |    1 -
 drivers/block/aoe/aoeblk.c                         |    1 -
 drivers/block/ataflop.c                            |    1 -
 drivers/block/drbd/drbd_main.c                     |    1 +
 drivers/block/drbd/drbd_receiver.c                 |    2 +
 drivers/block/floppy.c                             |   11 +-
 drivers/block/loop.c                               |    3 +-
 drivers/block/mtip32xx/mtip32xx.c                  |    1 -
 drivers/block/nbd.c                                |    3 +-
 drivers/block/null_blk/main.c                      |    2 -
 drivers/block/ps3disk.c                            |    3 +-
 drivers/block/rbd.c                                |    1 -
 drivers/block/rnbd/rnbd-clt.c                      |    3 +-
 drivers/block/rnbd/rnbd-srv-sysfs.c                |   28 +-
 drivers/block/rnbd/rnbd-srv.c                      |   36 +-
 drivers/block/sunvdc.c                             |    2 +-
 drivers/block/swim.c                               |  287 ++---
 drivers/block/swim3.c                              |   11 +-
 drivers/block/swim_asm.S                           |  136 +--
 drivers/block/ublk_drv.c                           |    1 -
 drivers/block/virtio_blk.c                         |    3 +-
 drivers/block/xen-blkback/blkback.c                |    7 +
 drivers/block/xen-blkfront.c                       |    1 -
 drivers/block/z2ram.c                              |    1 -
 drivers/bluetooth/btintel.c                        |    6 +-
 drivers/bluetooth/btmtk.c                          |   88 +-
 drivers/bluetooth/btmtksdio.c                      |   13 +-
 drivers/bluetooth/btusb.c                          |   19 +-
 drivers/bluetooth/virtio_bt.c                      |    4 +-
 drivers/bus/arm-cci.c                              |    6 +-
 drivers/cdrom/gdrom.c                              |    2 +-
 drivers/char/hw_random/cctrng.c                    |    7 +-
 drivers/char/hw_random/intel-rng.c                 |    5 +-
 drivers/char/hw_random/jh7110-trng.c               |   39 +-
 drivers/char/scx200_gpio.c                         |    8 +-
 drivers/clk/bcm/clk-raspberrypi.c                  |    2 +
 drivers/clk/clk-cdce925.c                          |    9 +-
 drivers/clk/clk-lmk04832.c                         |    3 +
 drivers/clk/clk-milbeaut.c                         |   10 +-
 drivers/clk/clk-renesas-pcie.c                     |    5 +
 drivers/clk/clk-s2mps11.c                          |   12 +-
 drivers/clk/clk-si521xx.c                          |    2 +-
 drivers/clk/clk-si5351.c                           |   20 +-
 drivers/clk/clk.c                                  |   51 +-
 drivers/clk/clk.h                                  |    5 +-
 drivers/clk/clkdev.c                               |    4 +-
 drivers/clk/imx/clk-composite-93.c                 |   11 +-
 drivers/clk/mediatek/reset.h                       |    6 +-
 drivers/clk/qcom/clk-alpha-pll.c                   |    9 +
 drivers/clk/qcom/clk-rcg2.c                        |   35 +-
 drivers/clk/qcom/dispcc-sm8450.c                   |    2 +-
 drivers/clk/qcom/gcc-x1e80100.c                    |    6 +-
 drivers/clk/qcom/mmcc-msm8960.c                    |    3 +-
 drivers/clk/qcom/mmcc-msm8996.c                    |    4 +-
 drivers/clk/qcom/mmcc-sdm660.c                     |    2 +-
 drivers/clk/starfive/clk-starfive-jh7110-sys.c     |    3 +
 drivers/clk/ti/adpll.c                             |    1 +
 drivers/clk/versatile/clk-icst.c                   |    4 +
 drivers/clocksource/clksrc-dbx500-prcmu.c          |    2 +
 drivers/clocksource/timer-mediatek.c               |    4 +-
 drivers/comedi/drivers/addi_apci_3xxx.c            |    2 +-
 drivers/comedi/drivers/comedi_parport.c            |    3 +-
 drivers/comedi/drivers/dmm32at.c                   |    3 +-
 drivers/comedi/drivers/dt2811.c                    |    2 +-
 drivers/comedi/drivers/dt2814.c                    |    3 +-
 drivers/comedi/drivers/ni_atmio16d.c               |    4 +-
 drivers/comedi/drivers/pcmmio.c                    |    3 +-
 drivers/comedi/drivers/pcmuio.c                    |    5 +-
 drivers/cpufreq/amd-pstate.c                       |   18 +-
 drivers/cpufreq/qcom-cpufreq-hw.c                  |    3 +
 drivers/cpufreq/sparc-us2e-cpufreq.c               |   11 +-
 drivers/cpufreq/sti-cpufreq.c                      |    4 +-
 drivers/cpufreq/tegra194-cpufreq.c                 |    2 +-
 drivers/cpuidle/governors/menu.c                   |    8 +-
 drivers/cpuidle/governors/teo.c                    |   11 +
 drivers/crypto/amlogic/amlogic-gxl-cipher.c        |   25 +-
 drivers/crypto/atmel-aes.c                         |    2 +
 drivers/crypto/atmel-sha.c                         |   17 +
 drivers/crypto/ccp/ccp-dev-v3.c                    |    4 +
 drivers/crypto/ccp/ccp-dev-v5.c                    |    4 +
 drivers/crypto/hisilicon/hpre/hpre_crypto.c        |    2 -
 drivers/crypto/intel/qat/qat_common/adf_init.c     |   24 +-
 drivers/crypto/intel/qat/qat_common/adf_isr.c      |   15 +-
 drivers/crypto/intel/qat/qat_common/qat_algs.c     |   15 +-
 .../crypto/intel/qat/qat_common/qat_asym_algs.c    |   38 +-
 drivers/crypto/mxs-dcp.c                           |    3 +
 drivers/crypto/starfive/jh7110-cryp.c              |   20 +-
 drivers/crypto/talitos.c                           |   93 +-
 drivers/crypto/talitos.h                           |    5 +-
 drivers/cxl/acpi.c                                 |    7 +-
 drivers/cxl/core/hdm.c                             |   57 +-
 drivers/cxl/core/pci.c                             |    9 +
 drivers/cxl/core/port.c                            |   28 +-
 drivers/cxl/core/region.c                          |    4 +-
 drivers/cxl/cxl.h                                  |   10 +-
 drivers/dax/bus.c                                  |    8 +-
 drivers/dma/at_hdmac.c                             |   28 +-
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c     |   37 +-
 drivers/dma/dw-axi-dmac/dw-axi-dmac.h              |    5 +-
 drivers/dma/fsl_raid.c                             |   32 +-
 drivers/dma/img-mdc-dma.c                          |    2 +-
 drivers/dma/ioat/init.c                            |   18 +-
 drivers/dma/mediatek/mtk-hsdma.c                   |   26 +-
 drivers/dma/mv_xor.c                               |    1 +
 drivers/dma/plx_dma.c                              |   10 +-
 drivers/dma/sprd-dma.c                             |   45 +-
 drivers/dma/ste_dma40.c                            |  434 ++++---
 drivers/dma/ste_dma40_ll.h                         |    2 -
 drivers/dma/sun6i-dma.c                            |   31 +-
 drivers/dma/xilinx/xilinx_dma.c                    |   37 +-
 drivers/dma/xilinx/zynqmp_dma.c                    |   29 +-
 drivers/edac/i10nm_base.c                          |    1 +
 drivers/firmware/arm_scmi/common.h                 |   22 +
 drivers/firmware/arm_scmi/driver.c                 |   38 +-
 drivers/firmware/arm_scmi/protocols.h              |    9 +-
 drivers/firmware/arm_scmi/raw_mode.c               |   29 +-
 drivers/firmware/cirrus/cs_dsp.c                   |    2 +
 drivers/firmware/efi/cper.c                        |   51 +-
 drivers/firmware/efi/efi.c                         |    3 -
 drivers/firmware/efi/libstub/efi-stub-entry.c      |    4 +-
 drivers/firmware/efi/libstub/efi-stub-helper.c     |   10 +-
 drivers/firmware/efi/libstub/efi-stub.c            |   30 +-
 drivers/firmware/efi/libstub/efistub.h             |   22 +-
 drivers/firmware/efi/libstub/fdt.c                 |    6 +-
 drivers/firmware/efi/libstub/file.c                |    8 +-
 drivers/firmware/efi/libstub/gop.c                 |   58 +-
 drivers/firmware/efi/libstub/kaslr.c               |    6 +-
 drivers/firmware/efi/libstub/mem.c                 |   22 +-
 drivers/firmware/efi/libstub/pci.c                 |   38 +-
 drivers/firmware/efi/libstub/random.c              |    8 +-
 drivers/firmware/efi/libstub/randomalloc.c         |    4 +-
 drivers/firmware/efi/libstub/relocate.c            |   10 +-
 drivers/firmware/efi/libstub/riscv-stub.c          |    7 +-
 drivers/firmware/efi/libstub/riscv.c               |    2 +-
 drivers/firmware/efi/libstub/tpm.c                 |    8 +-
 drivers/firmware/efi/libstub/unaccepted_memory.c   |    2 +-
 drivers/firmware/efi/libstub/x86-stub.c            |  210 +---
 drivers/firmware/imx/imx-dsp.c                     |    6 +-
 drivers/firmware/qcom/qcom_tzmem.c                 |    2 +-
 drivers/gpio/gpio-crystalcove.c                    |    1 +
 drivers/gpio/gpio-pcf857x.c                        |   33 +-
 drivers/gpu/buddy.c                                |    1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c       |   35 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |    5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   48 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c            |   19 +-
 drivers/gpu/drm/amd/amdgpu/atom.c                  |  105 +-
 drivers/gpu/drm/amd/amdgpu/atom.h                  |    5 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c           |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c           |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c           |    6 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c              |    9 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c              |    8 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c              |    8 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c              |    8 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c            |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c            |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c            |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c            |   10 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c   |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c   |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c    |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |    3 +
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   48 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   20 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h    |   38 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |    9 +-
 .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c  |   32 +
 drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h |    3 +
 .../gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c    |    3 +
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   |   20 +
 .../gpu/drm/arm/display/include/malidp_product.h   |   10 +-
 drivers/gpu/drm/drm_of.c                           |    8 +-
 drivers/gpu/drm/exynos/exynos_drm_fimd.c           |    2 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    1 +
 drivers/gpu/drm/i915/display/intel_display.c       |   12 +
 drivers/gpu/drm/i915/display/intel_psr.c           |   49 +-
 drivers/gpu/drm/imx/lcdc/imx-lcdc.c                |    3 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c              |    6 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c              |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c      |  102 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h      |   10 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c           |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c        |   10 +-
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c   |    4 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c           |    9 -
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   |    3 +
 drivers/gpu/drm/msm/dp/dp_debug.c                  |    1 +
 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c             |   30 +-
 drivers/gpu/drm/msm/msm_io_utils.c                 |    6 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c                  |   63 +-
 drivers/gpu/drm/panfrost/panfrost_devfreq.c        |    2 +-
 drivers/gpu/drm/panfrost/panfrost_mmu.c            |   11 +-
 drivers/gpu/drm/panthor/panthor_gpu.c              |    5 +-
 drivers/gpu/drm/tegra/submit.c                     |   12 +-
 drivers/hid/hid-logitech-hidpp.c                   |    1 +
 drivers/hid/i2c-hid/i2c-hid-core.c                 |   11 +-
 drivers/hid/wacom_wac.c                            |   14 +-
 drivers/hv/vmbus_drv.c                             |    8 +-
 drivers/hwmon/chipcap2.c                           |  260 +++--
 drivers/hwmon/coretemp.c                           |   19 +-
 drivers/hwmon/sht15.c                              |   26 +-
 drivers/hwmon/tmp108.c                             |   65 +-
 drivers/iio/accel/bma220_spi.c                     |    3 +-
 drivers/iio/accel/kionix-kx022a.h                  |    2 +-
 drivers/iio/dac/ad5758.c                           |    8 +-
 drivers/iio/humidity/hts221_core.c                 |  106 +-
 drivers/iio/imu/adis16400.c                        |    5 +-
 drivers/iio/pressure/rohm-bm1390.c                 |    4 +-
 drivers/iio/temperature/tmp117.c                   |    9 +-
 drivers/infiniband/core/device.c                   |    2 +-
 drivers/infiniband/core/lag.c                      |   14 +-
 drivers/infiniband/core/mad.c                      |    2 +
 drivers/infiniband/core/mad_rmpp.c                 |    7 +-
 drivers/infiniband/core/nldev.c                    |    5 +-
 drivers/infiniband/core/restrack.c                 |    3 +-
 drivers/infiniband/core/sysfs.c                    |    9 +-
 drivers/infiniband/core/uverbs_std_types_device.c  |    1 +
 drivers/infiniband/core/uverbs_std_types_wq.c      |    2 +-
 drivers/infiniband/core/verbs.c                    |    3 +-
 drivers/infiniband/hw/bnxt_re/hw_counters.c        |    6 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.c           |   58 +-
 drivers/infiniband/hw/bnxt_re/qplib_res.c          |    9 +-
 drivers/infiniband/hw/bnxt_re/qplib_sp.c           |    2 +-
 drivers/infiniband/hw/cxgb4/cm.c                   |    5 +-
 drivers/infiniband/hw/cxgb4/provider.c             |    5 +
 drivers/infiniband/hw/efa/efa_com.c                |   28 +-
 drivers/infiniband/hw/erdma/erdma_main.c           |    4 +-
 drivers/infiniband/hw/erdma/erdma_verbs.c          |   16 +-
 drivers/infiniband/hw/hfi1/sdma.c                  |    3 +
 drivers/infiniband/hw/hfi1/verbs.c                 |    4 +
 drivers/infiniband/hw/hns/hns_roce_cq.c            |    1 +
 drivers/infiniband/hw/hns/hns_roce_device.h        |    1 +
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c         |   55 +-
 drivers/infiniband/hw/irdma/ctrl.c                 |    8 +-
 drivers/infiniband/hw/irdma/pble.c                 |    8 +-
 drivers/infiniband/hw/irdma/type.h                 |    4 +-
 drivers/infiniband/hw/irdma/verbs.c                |   13 +-
 drivers/infiniband/hw/mlx4/main.c                  |    4 +
 drivers/infiniband/hw/mlx5/cq.c                    |   24 +-
 drivers/infiniband/hw/mlx5/fs.c                    |    4 +-
 drivers/infiniband/hw/mlx5/main.c                  |    2 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |    2 +
 drivers/infiniband/hw/mlx5/odp.c                   |    2 +-
 drivers/infiniband/hw/mlx5/qp.c                    |    8 +-
 drivers/infiniband/hw/mlx5/qpc.c                   |    8 +-
 drivers/infiniband/hw/mlx5/srq.c                   |    3 +-
 drivers/infiniband/hw/mlx5/wr.c                    |    1 +
 drivers/infiniband/hw/usnic/usnic_debugfs.c        |    2 +-
 drivers/infiniband/sw/rdmavt/qp.c                  |    2 +-
 drivers/infiniband/sw/rxe/rxe_loc.h                |    8 +-
 drivers/infiniband/sw/rxe/rxe_mr.c                 |   12 +-
 drivers/infiniband/sw/rxe/rxe_mw.c                 |    3 +
 drivers/infiniband/sw/rxe/rxe_net.c                |   70 +-
 drivers/infiniband/sw/rxe/rxe_qp.c                 |   10 +
 drivers/infiniband/sw/rxe/rxe_recv.c               |    9 +-
 drivers/infiniband/sw/rxe/rxe_req.c                |   11 +-
 drivers/infiniband/sw/rxe/rxe_resp.c               |   23 +-
 drivers/infiniband/sw/rxe/rxe_verbs.h              |    1 +
 drivers/infiniband/sw/siw/siw_main.c               |    5 +-
 drivers/infiniband/sw/siw/siw_qp_tx.c              |   20 +-
 drivers/infiniband/ulp/ipoib/ipoib_main.c          |    7 +
 drivers/infiniband/ulp/isert/ib_isert.c            |    2 +-
 drivers/infiniband/ulp/rtrs/rtrs-clt.c             |   32 +-
 drivers/infiniband/ulp/srp/ib_srp.c                |    2 +-
 drivers/interconnect/qcom/icc-rpm.c                |   11 +-
 drivers/interconnect/qcom/icc-rpm.h                |    4 +-
 drivers/interconnect/qcom/smd-rpm.c                |    8 +-
 drivers/interconnect/samsung/exynos.c              |    1 +
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c   |    4 +-
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c        |    6 +
 drivers/iommu/intel/dmar.c                         |   70 +-
 drivers/irqchip/irq-gic-common.c                   |    2 +-
 drivers/irqchip/irq-gic-v3-its.c                   |  156 ++-
 drivers/irqchip/irq-gic-v3.c                       |   15 +-
 drivers/irqchip/irq-gic.c                          |    4 +-
 drivers/irqchip/irq-riscv-imsic-state.c            |   21 +-
 drivers/leds/led-class-flash.c                     |    2 +-
 drivers/leds/leds-lm3692x.c                        |    4 +-
 drivers/leds/leds-lp8860.c                         |    5 +-
 drivers/leds/leds-pca9532.c                        |    9 +-
 drivers/mailbox/arm_mhuv2.c                        |    9 +-
 drivers/mailbox/pcc.c                              |    5 +-
 drivers/mailbox/qcom-cpucp-mbox.c                  |   37 +-
 drivers/mailbox/qcom-ipcc.c                        |    1 -
 drivers/mailbox/ti-msgmgr.c                        |   12 +-
 drivers/md/dm-rq.c                                 |    2 +-
 drivers/md/dm-snap.c                               |   18 +-
 drivers/md/md.c                                    |   30 +-
 drivers/md/raid10.c                                |    3 +-
 drivers/md/raid5-cache.c                           |   14 +-
 drivers/md/raid5-ppl.c                             |   12 +-
 drivers/md/raid5.c                                 |   65 +-
 drivers/media/i2c/ar0521.c                         |    1 -
 drivers/media/i2c/ov5648.c                         |    4 +-
 drivers/media/platform/qcom/venus/hfi_msgs.c       |    3 +
 drivers/memory/brcmstb_dpfe.c                      |   17 +-
 drivers/memory/emif.c                              |    3 +
 drivers/memory/samsung/exynos5422-dmc.c            |   11 +-
 drivers/memstick/core/ms_block.c                   |    3 +-
 drivers/memstick/core/mspro_block.c                |    3 +-
 drivers/mfd/da9150-core.c                          |    8 +-
 drivers/mfd/intel_quark_i2c_gpio.c                 |   52 +-
 drivers/mfd/rk8xx-core.c                           |    2 +-
 drivers/misc/enclosure.c                           |    3 +-
 drivers/misc/nsm.c                                 |    7 +-
 drivers/mmc/core/queue.c                           |    2 +-
 drivers/mtd/mtd_blkdevs.c                          |    7 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c       |    1 +
 drivers/mtd/spi-nor/spansion.c                     |    7 -
 drivers/mtd/ubi/block.c                            |    2 +-
 drivers/net/amt.c                                  |    8 +-
 drivers/net/can/dev/skb.c                          |    2 +-
 drivers/net/dsa/mv88e6xxx/chip.c                   |    8 +-
 drivers/net/ethernet/alacritech/slicoss.c          |    2 +-
 .../net/ethernet/aquantia/atlantic/aq_pci_func.c   |    2 +-
 drivers/net/ethernet/broadcom/asp2/bcmasp.c        |  121 +-
 drivers/net/ethernet/broadcom/asp2/bcmasp.h        |    4 -
 drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c   |   32 +-
 drivers/net/ethernet/broadcom/bgmac.c              |   51 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c    |    3 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c          |    8 +
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c      |    1 +
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     |  406 ++++---
 drivers/net/ethernet/broadcom/genet/bcmgenet.h     |    3 +
 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c |   80 +-
 drivers/net/ethernet/broadcom/tg3.c                |    6 +
 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c      |   12 +-
 drivers/net/ethernet/ibm/ibmveth.c                 |   41 +-
 drivers/net/ethernet/intel/ice/ice_lib.c           |    4 +
 drivers/net/ethernet/intel/ice/ice_ptp.c           |   49 +-
 drivers/net/ethernet/intel/ice/ice_ptp.h           |    6 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |    4 +-
 drivers/net/ethernet/marvell/octeontx2/nic/qos.c   |    2 +
 drivers/net/ethernet/mellanox/mlx4/intf.c          |   15 +-
 .../ethernet/mellanox/mlx5/core/en_accel/ipsec.c   |    3 +
 .../net/ethernet/mellanox/mlx5/core/en_selftest.c  |    4 +
 .../mlx5/core/steering/hws/mlx5hws_pat_arg.c       |    4 +-
 drivers/net/ethernet/microchip/fdma/fdma_api.c     |   45 +-
 drivers/net/ethernet/microchip/fdma/fdma_api.h     |   20 +-
 .../net/ethernet/microchip/lan966x/lan966x_fdma.c  |   17 +-
 .../net/ethernet/microchip/lan966x/lan966x_mac.c   |    4 +-
 .../net/ethernet/microchip/lan966x/lan966x_main.c  |   19 +-
 .../net/ethernet/microchip/lan966x/lan966x_ptp.c   |   10 +-
 .../net/ethernet/microchip/sparx5/sparx5_fdma.c    |   58 +-
 .../net/ethernet/microchip/sparx5/sparx5_main.c    |    7 +-
 .../net/ethernet/microchip/sparx5/sparx5_main.h    |    2 +
 .../net/ethernet/microchip/sparx5/sparx5_packet.c  |   15 +-
 .../net/ethernet/microchip/sparx5/sparx5_psfp.c    |   10 +-
 drivers/net/ethernet/netronome/nfp/flower/main.h   |    2 +
 .../ethernet/netronome/nfp/flower/tunnel_conf.c    |   24 +-
 .../net/ethernet/pensando/ionic/ionic_bus_pci.c    |    1 +
 drivers/net/ethernet/pensando/ionic/ionic_main.c   |   13 +-
 drivers/net/ethernet/qlogic/qede/qede_filter.c     |    2 +-
 drivers/net/ethernet/realtek/r8169_phy_config.c    |    6 +-
 drivers/net/ethernet/stmicro/stmmac/common.h       |    4 +-
 drivers/net/ethernet/stmicro/stmmac/descs.h        |    6 +-
 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c |    2 +-
 drivers/net/ethernet/stmicro/stmmac/enh_desc.c     |   25 +-
 drivers/net/ethernet/stmicro/stmmac/hwif.h         |    6 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac.h       |   10 +-
 .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c   |   39 -
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   66 +-
 .../net/ethernet/stmicro/stmmac/stmmac_selftests.c |    2 +-
 drivers/net/ethernet/xilinx/xilinx_axienet_main.c  |   86 +-
 drivers/net/gtp.c                                  |   51 +-
 drivers/net/hamradio/hdlcdrv.c                     |    5 +-
 drivers/net/loopback.c                             |    8 +-
 drivers/net/macsec.c                               |    5 +
 drivers/net/phy/Kconfig                            |    5 +-
 drivers/net/phy/Makefile                           |    2 +-
 drivers/net/phy/marvell.c                          |   97 +-
 drivers/net/phy/qcom/qca83xx.c                     |   58 +
 drivers/net/phy/realtek/Kconfig                    |    5 +
 drivers/net/phy/realtek/Makefile                   |    3 +
 .../net/phy/{realtek.c => realtek/realtek_main.c}  |  197 +++-
 drivers/net/ppp/pppoe.c                            |    3 +
 drivers/net/team/team_core.c                       |   11 +
 drivers/net/tun.c                                  |   10 +
 drivers/net/usb/cdc_mbim.c                         |    5 +-
 drivers/net/usb/cdc_ncm.c                          |    7 +-
 drivers/net/usb/lan78xx.c                          |    9 +-
 drivers/net/usb/usbnet.c                           |   32 +-
 drivers/net/veth.c                                 |    7 +-
 drivers/net/virtio_net.c                           |   12 +-
 drivers/net/wireless/ath/ath10k/htt_tx.c           |   12 +-
 drivers/net/wireless/ath/ath11k/Kconfig            |    3 +
 drivers/net/wireless/ath/ath11k/ahb.c              |    1 +
 drivers/net/wireless/ath/ath11k/ce.c               |    2 +-
 drivers/net/wireless/ath/ath11k/core.c             |   13 +-
 drivers/net/wireless/ath/ath11k/dp_rx.c            |   19 +-
 drivers/net/wireless/ath/ath11k/mac.c              |   33 +-
 drivers/net/wireless/ath/ath11k/mac.h              |    2 +-
 drivers/net/wireless/ath/ath11k/wmi.c              |    9 +
 .../net/wireless/ath/ath12k/debugfs_htt_stats.c    |    2 +-
 drivers/net/wireless/ath/ath12k/mac.c              |   21 +-
 drivers/net/wireless/ath/ath12k/pci.c              |   55 +-
 drivers/net/wireless/ath/ath6kl/cfg80211.c         |    2 -
 drivers/net/wireless/ath/carl9170/debug.c          |    5 +-
 drivers/net/wireless/ath/wil6210/txrx.h            |    4 +-
 drivers/net/wireless/broadcom/b43/debugfs.c        |    2 +-
 drivers/net/wireless/broadcom/b43legacy/debugfs.c  |    2 +-
 drivers/net/wireless/marvell/mwifiex/cmdevt.c      |   10 +-
 drivers/net/wireless/marvell/mwifiex/fw.h          |    6 +
 drivers/net/wireless/marvell/mwifiex/init.c        |    1 +
 drivers/net/wireless/marvell/mwifiex/main.c        |    4 +-
 drivers/net/wireless/marvell/mwifiex/main.h        |    1 +
 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c   |    3 +-
 drivers/net/wireless/mediatek/mt76/mac80211.c      |   11 +-
 drivers/net/wireless/mediatek/mt76/mt7603/dma.c    |   18 +-
 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c    |   13 +
 drivers/net/wireless/mediatek/mt76/mt7615/usb.c    |   17 +-
 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c   |   11 +-
 .../net/wireless/mediatek/mt76/mt7915/coredump.c   |    7 +-
 drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c |    6 +
 drivers/net/wireless/mediatek/mt76/mt7915/init.c   |    7 +-
 drivers/net/wireless/mediatek/mt76/mt7915/main.c   |    2 +-
 drivers/net/wireless/mediatek/mt76/mt7921/main.c   |   47 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c    |    2 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h |    5 +
 .../net/wireless/mediatek/mt76/mt7921/pci_mac.c    |    4 +-
 drivers/net/wireless/mediatek/mt76/mt7925/main.c   |   50 +-
 drivers/net/wireless/mediatek/mt76/mt7925/mcu.c    |    2 +-
 drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h |    5 +
 .../net/wireless/mediatek/mt76/mt7925/pci_mac.c    |    6 +-
 drivers/net/wireless/mediatek/mt76/mt792x.h        |    2 +
 drivers/net/wireless/mediatek/mt76/mt792x_mac.c    |    6 +-
 .../net/wireless/mediatek/mt76/mt7996/coredump.c   |    7 +-
 drivers/net/wireless/mediatek/mt76/mt7996/init.c   |    6 +
 drivers/net/wireless/mediatek/mt76/mt7996/mcu.c    |   46 +-
 drivers/net/wireless/mediatek/mt76/mt7996/pci.c    |    9 +-
 drivers/net/wireless/mediatek/mt76/mt7996/regs.h   |    8 +-
 drivers/net/wireless/mediatek/mt76/tx.c            |    7 +-
 drivers/net/wireless/mediatek/mt76/usb.c           |   16 +-
 drivers/net/wireless/realtek/rtl8xxxu/core.c       |   16 +-
 drivers/net/wireless/realtek/rtw88/debug.c         |    5 +
 drivers/net/wireless/realtek/rtw88/sdio.c          |   12 +
 drivers/net/wireless/silabs/wfx/bh.c               |    6 +-
 drivers/net/wireless/silabs/wfx/bus_sdio.c         |    1 +
 drivers/net/wireless/silabs/wfx/main.c             |   36 +-
 drivers/nvdimm/pmem.c                              |    6 +-
 drivers/nvme/host/apple.c                          |    1 -
 drivers/nvme/host/core.c                           |    1 -
 drivers/nvme/host/fabrics.c                        |   30 +-
 drivers/nvme/host/ioctl.c                          |    2 +-
 drivers/nvme/host/pr.c                             |  130 ++-
 drivers/nvme/host/tcp.c                            |   10 +-
 drivers/nvme/target/admin-cmd.c                    |    7 +-
 drivers/nvme/target/configfs.c                     |   24 +-
 drivers/nvme/target/core.c                         |   23 +-
 drivers/nvme/target/fabrics-cmd-auth.c             |    9 +-
 drivers/nvme/target/fabrics-cmd.c                  |    3 +-
 drivers/nvme/target/fc.c                           |   15 +-
 drivers/nvme/target/io-cmd-bdev.c                  |   29 +-
 drivers/nvme/target/loop.c                         |    2 -
 drivers/nvme/target/nvmet.h                        |    8 +
 drivers/nvme/target/rdma.c                         |   26 +-
 drivers/nvme/target/tcp.c                          |    7 +-
 drivers/nvme/target/zns.c                          |   12 +-
 drivers/nvmem/layouts/onie-tlv.c                   |    1 +
 drivers/nvmem/layouts/sl28vpd.c                    |    1 +
 drivers/opp/of.c                                   |    2 +-
 drivers/pci/controller/dwc/pci-dra7xx.c            |   22 +-
 drivers/pci/controller/dwc/pcie-qcom.c             |   90 +-
 drivers/pci/controller/pci-aardvark.c              |   31 +-
 drivers/pci/controller/pci-xgene.c                 |   11 +-
 drivers/pci/endpoint/functions/pci-epf-vntb.c      |    8 +-
 drivers/pci/iov.c                                  |   25 -
 drivers/pci/p2pdma.c                               |   10 +-
 drivers/pci/pci-label.c                            |   92 +-
 drivers/pci/pci.h                                  |    4 -
 drivers/pci/pcie/aer.c                             |   25 +-
 drivers/pci/probe.c                                |   15 +-
 drivers/pci/quirks.c                               |    2 +-
 drivers/pci/xen-pcifront.c                         |    5 +-
 drivers/perf/cxl_pmu.c                             |  100 +-
 drivers/perf/dwc_pcie_pmu.c                        |   11 +-
 drivers/perf/marvell_cn10k_tad_pmu.c               |    1 +
 drivers/phy/cadence/phy-cadence-sierra.c           |   11 +-
 drivers/phy/freescale/phy-fsl-samsung-hdmi.c       |  581 ++++++----
 drivers/phy/hisilicon/phy-hi3670-pcie.c            |    4 +-
 drivers/phy/rockchip/phy-rockchip-usbdp.c          |  287 +++--
 drivers/pinctrl/mediatek/pinctrl-mt7629.c          |    2 +-
 drivers/pinctrl/nuvoton/pinctrl-ma35.c             |    8 +-
 drivers/pinctrl/pinctrl-amd.c                      |   47 +-
 drivers/pinctrl/sprd/pinctrl-sprd.c                |    3 +
 drivers/pinctrl/stm32/Kconfig                      |    6 +-
 drivers/pinctrl/stm32/pinctrl-stm32.c              |   16 +-
 drivers/pinctrl/stm32/pinctrl-stm32.h              |   18 +-
 drivers/pinctrl/stm32/pinctrl-stm32mp257.c         |   11 +-
 drivers/pinctrl/sunplus/Kconfig                    |    8 +-
 drivers/platform/chrome/cros_ec_proto.c            |   32 +-
 drivers/platform/chrome/cros_ec_proto_test.c       |  158 ++-
 drivers/platform/chrome/cros_ec_typec.c            |   10 +
 drivers/platform/cznic/turris-omnia-mcu-gpio.c     |   31 +-
 drivers/platform/olpc/olpc-ec.c                    |    2 +-
 drivers/platform/x86/amd/pmc/pmc.c                 |    9 +-
 drivers/platform/x86/asus-wmi.c                    |   32 +
 drivers/platform/x86/gpd-pocket-fan.c              |    9 +-
 .../platform/x86/hp/hp-bioscfg/int-attributes.c    |    7 +-
 .../x86/hp/hp-bioscfg/passwdobj-attributes.c       |    2 +-
 .../platform/x86/hp/hp-bioscfg/spmobj-attributes.c |    7 +
 drivers/platform/x86/hp/hp-wmi.c                   |   24 +-
 drivers/platform/x86/ibm_rtl.c                     |    8 +-
 drivers/platform/x86/ideapad-laptop.c              |   12 +-
 drivers/platform/x86/intel/telemetry/core.c        |    4 +
 drivers/platform/x86/msi-ec.c                      |    9 +
 drivers/pmdomain/imx/scu-pd.c                      |   10 +-
 drivers/power/supply/ab8500_bmdata.c               |    2 +-
 drivers/power/supply/ab8500_btemp.c                |   28 +-
 drivers/power/supply/ab8500_chargalg.c             |    9 +-
 drivers/power/supply/ab8500_charger.c              |  402 ++++++-
 drivers/power/supply/ab8500_fg.c                   |   27 +-
 drivers/power/supply/bq24190_charger.c             |   53 +-
 drivers/power/supply/bq2515x_charger.c             |   15 +-
 drivers/power/supply/generic-adc-battery.c         |    3 +
 drivers/power/supply/gpio-charger.c                |    5 +-
 drivers/power/supply/mm8013.c                      |    1 +
 drivers/power/supply/qcom_battmgr.c                |   26 +-
 drivers/pwm/pwm-lp3943.c                           |    3 +
 drivers/pwm/pwm-mtk-disp.c                         |    4 +-
 drivers/pwm/pwm-renesas-tpu.c                      |   23 +-
 drivers/regulator/ab8500.c                         |  159 ++-
 drivers/regulator/fixed.c                          |    4 +
 drivers/regulator/irq_helpers.c                    |   38 +-
 drivers/regulator/mp886x.c                         |   13 +-
 drivers/regulator/qcom-rpmh-regulator.c            |    2 +-
 drivers/remoteproc/imx_dsp_rproc.c                 |   58 +-
 drivers/remoteproc/imx_rproc.c                     |   18 +-
 drivers/remoteproc/qcom_q6v5_adsp.c                |    2 +-
 drivers/remoteproc/remoteproc_core.c               |    3 +
 drivers/remoteproc/xlnx_r5_remoteproc.c            |    8 +-
 drivers/rpmsg/mtk_rpmsg.c                          |    1 +
 drivers/rpmsg/virtio_rpmsg_bus.c                   |  118 +-
 drivers/rtc/Kconfig                                |   21 +
 drivers/rtc/class.c                                |    8 +-
 drivers/rtc/rtc-abx80x.c                           |   58 +-
 drivers/rtc/rtc-bd70528.c                          |    5 +
 drivers/rtc/rtc-ds1685.c                           |   20 +-
 drivers/rtc/rtc-ftrtc010.c                         |   85 +-
 drivers/rtc/rtc-mpfs.c                             |    4 +-
 drivers/rtc/rtc-s35390a.c                          |  147 ++-
 drivers/s390/block/dasd_genhd.c                    |    1 -
 drivers/s390/block/scm_blk.c                       |    1 -
 drivers/s390/virtio/virtio_ccw.c                   |    6 +-
 drivers/scsi/ch.c                                  |    2 +-
 drivers/scsi/device_handler/scsi_dh_hp_sw.c        |    4 +-
 drivers/scsi/device_handler/scsi_dh_rdac.c         |   10 +-
 drivers/scsi/elx/libefc/efclib.c                   |    2 +
 drivers/scsi/hisi_sas/hisi_sas.h                   |    3 +
 drivers/scsi/hisi_sas/hisi_sas_main.c              |   43 +
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c             |    4 +
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c             |    4 +
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c             |   13 +-
 drivers/scsi/libsas/sas_expander.c                 |    5 +-
 drivers/scsi/libsas/sas_task.c                     |    2 +-
 drivers/scsi/mpi3mr/mpi3mr.h                       |    2 +-
 drivers/scsi/mpi3mr/mpi3mr_app.c                   |   47 +-
 drivers/scsi/mpi3mr/mpi3mr_fw.c                    |   17 +-
 drivers/scsi/mpi3mr/mpi3mr_os.c                    |  161 ++-
 drivers/scsi/mpi3mr/mpi3mr_transport.c             |   18 +-
 drivers/scsi/pm8001/pm8001_defs.h                  |   98 ++
 drivers/scsi/pm8001/pm8001_hwi.c                   |    2 +-
 drivers/scsi/pm8001/pm8001_hwi.h                   |    4 +-
 drivers/scsi/pm8001/pm80xx_hwi.c                   |    2 +-
 drivers/scsi/pm8001/pm80xx_hwi.h                   |  100 +-
 drivers/scsi/scsi_debug.c                          |  415 ++++++-
 drivers/scsi/scsi_lib.c                            |    7 +-
 drivers/scsi/scsi_lib_test.c                       |   25 +-
 drivers/scsi/scsi_scan.c                           |    8 +-
 drivers/scsi/scsi_transport_spi.c                  |    2 +-
 drivers/scsi/sd.c                                  |   20 +-
 drivers/scsi/ses.c                                 |    8 +-
 drivers/scsi/st.c                                  |   75 ++
 drivers/soc/qcom/apr.c                             |   50 +-
 drivers/soc/qcom/pmic_glink.c                      |   69 +-
 drivers/soc/qcom/pmic_pdcharger_ulog.c             |    2 +-
 drivers/soc/tegra/flowctrl.c                       |    7 +-
 drivers/soundwire/intel_auxdevice.c                |    2 +-
 drivers/spi/spi-bcm63xx-hsspi.c                    |    1 +
 drivers/spi/spi-fsl-spi.c                          |   22 +-
 drivers/spi/spi-mtk-nor.c                          |    1 +
 drivers/spi/spi-mxic.c                             |    8 +-
 drivers/spi/spi-omap2-mcspi.c                      |  242 ++--
 drivers/spi/spi-rspi.c                             |   49 +-
 drivers/spi/spi-sh-msiof.c                         |   50 +-
 drivers/spi/spi-sun4i.c                            |   56 +-
 drivers/spi/spi-tegra114.c                         |   49 +
 drivers/spi/spi.c                                  |    2 +-
 drivers/spmi/spmi-pmic-arb.c                       |    2 +-
 drivers/staging/iio/adc/ad7816.c                   |   33 +-
 drivers/staging/octeon/ethernet-tx.c               |    2 +-
 drivers/staging/rtl8723bs/core/rtw_mlme.c          |   13 -
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c      |    9 +-
 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c       |    6 +-
 drivers/staging/rtl8723bs/core/rtw_recv.c          |   53 +-
 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c       |    4 +-
 drivers/staging/rtl8723bs/hal/hal_com.c            |   20 +-
 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c  |   16 +-
 drivers/staging/rtl8723bs/hal/sdio_halinit.c       |    8 +-
 drivers/staging/rtl8723bs/include/drv_types.h      |   41 -
 drivers/staging/rtl8723bs/include/recv_osdep.h     |    4 -
 drivers/staging/rtl8723bs/os_dep/os_intfs.c        |   21 +-
 drivers/staging/rtl8723bs/os_dep/recv_linux.c      |   44 -
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c       |   45 +-
 drivers/staging/sm750fb/sm750.c                    |   10 +-
 drivers/target/target_core_device.c                |   87 +-
 drivers/target/target_core_stat.c                  |   69 +-
 drivers/target/target_core_tpg.c                   |   10 +-
 drivers/thermal/gov_power_allocator.c              |    7 +-
 drivers/thermal/sprd_thermal.c                     |    6 +
 drivers/thermal/thermal_trace.h                    |    4 +-
 drivers/thermal/ti-soc-thermal/ti-bandgap.c        |   10 +-
 drivers/thermal/ti-soc-thermal/ti-thermal-common.c |    4 +
 drivers/tty/serial/8250/8250_aspeed_vuart.c        |    2 +-
 drivers/tty/serial/8250/8250_bcm2835aux.c          |    2 +-
 drivers/tty/serial/8250/8250_bcm7271.c             |    2 +-
 drivers/tty/serial/8250/8250_dw.c                  |    2 +-
 drivers/tty/serial/8250/8250_em.c                  |    2 +-
 drivers/tty/serial/8250/8250_fsl.c                 |    2 +-
 drivers/tty/serial/8250/8250_ingenic.c             |    2 +-
 drivers/tty/serial/8250/8250_ioc3.c                |    2 +-
 drivers/tty/serial/8250/8250_lpc18xx.c             |    2 +-
 drivers/tty/serial/8250/8250_mtk.c                 |    2 +-
 drivers/tty/serial/8250/8250_of.c                  |    2 +-
 drivers/tty/serial/8250/8250_omap.c                |    2 +-
 drivers/tty/serial/8250/8250_platform.c            |    2 +-
 drivers/tty/serial/8250/8250_pxa.c                 |    2 +-
 drivers/tty/serial/8250/8250_tegra.c               |    2 +-
 drivers/tty/serial/8250/8250_uniphier.c            |   12 +-
 drivers/tty/serial/Kconfig                         |    1 +
 drivers/tty/serial/altera_jtaguart.c               |    2 +-
 drivers/tty/serial/altera_uart.c                   |    2 +-
 drivers/tty/serial/amba-pl011.c                    |    2 +-
 drivers/tty/serial/ar933x_uart.c                   |    2 +-
 drivers/tty/serial/atmel_serial.c                  |    2 +-
 drivers/tty/serial/bcm63xx_uart.c                  |    2 +-
 drivers/tty/serial/clps711x.c                      |    2 +-
 drivers/tty/serial/cpm_uart.c                      |    2 +-
 drivers/tty/serial/digicolor-usart.c               |    2 +-
 drivers/tty/serial/esp32_acm.c                     |    2 +-
 drivers/tty/serial/esp32_uart.c                    |    2 +-
 drivers/tty/serial/fsl_linflexuart.c               |    2 +-
 drivers/tty/serial/fsl_lpuart.c                    |    2 +-
 drivers/tty/serial/imx.c                           |    2 +-
 drivers/tty/serial/lantiq.c                        |    2 +-
 drivers/tty/serial/liteuart.c                      |    2 +-
 drivers/tty/serial/lpc32xx_hs.c                    |    2 +-
 drivers/tty/serial/ma35d1_serial.c                 |    4 +-
 drivers/tty/serial/max310x.c                       |  185 ++-
 drivers/tty/serial/mcf.c                           |    2 +-
 drivers/tty/serial/meson_uart.c                    |    2 +-
 drivers/tty/serial/milbeaut_usio.c                 |    2 +-
 drivers/tty/serial/mpc52xx_uart.c                  |    2 +-
 drivers/tty/serial/msm_serial.c                    |    2 +-
 drivers/tty/serial/mxs-auart.c                     |    2 +-
 drivers/tty/serial/omap-serial.c                   |    2 +-
 drivers/tty/serial/owl-uart.c                      |    2 +-
 drivers/tty/serial/pic32_uart.c                    |    2 +-
 drivers/tty/serial/pmac_zilog.c                    |    3 +-
 drivers/tty/serial/qcom_geni_serial.c              |    2 +-
 drivers/tty/serial/rda-uart.c                      |    2 +-
 drivers/tty/serial/sa1100.c                        |    2 +-
 drivers/tty/serial/samsung_tty.c                   |    2 +-
 drivers/tty/serial/sccnxp.c                        |    2 +-
 drivers/tty/serial/serial-tegra.c                  |    2 +-
 drivers/tty/serial/serial_txx9.c                   |   55 +-
 drivers/tty/serial/sh-sci.c                        |    2 +-
 drivers/tty/serial/sifive.c                        |    4 +-
 drivers/tty/serial/sprd_serial.c                   |    2 +-
 drivers/tty/serial/st-asc.c                        |    2 +-
 drivers/tty/serial/stm32-usart.c                   |    2 +-
 drivers/tty/serial/sunhv.c                         |    2 +-
 drivers/tty/serial/sunplus-uart.c                  |    2 +-
 drivers/tty/serial/sunsab.c                        |    2 +-
 drivers/tty/serial/sunsu.c                         |    2 +-
 drivers/tty/serial/sunzilog.c                      |    2 +-
 drivers/tty/serial/tegra-tcu.c                     |    2 +-
 drivers/tty/serial/timbuart.c                      |    2 +-
 drivers/tty/serial/uartlite.c                      |    2 +-
 drivers/tty/serial/ucc_uart.c                      |    2 +-
 drivers/tty/serial/xilinx_uartps.c                 |    2 +-
 drivers/ufs/core/ufshcd.c                          |   14 +-
 drivers/ufs/host/ufs-mediatek.c                    |   16 +-
 drivers/usb/gadget/composite.c                     |    2 +-
 drivers/usb/gadget/function/f_mass_storage.c       |    7 +-
 drivers/usb/gadget/udc/dummy_hcd.c                 |    4 +-
 drivers/usb/host/pci-quirks.c                      |    1 +
 drivers/usb/host/xhci-dbgtty.c                     |    2 +
 drivers/usb/image/microtek.c                       |    1 +
 drivers/usb/mon/mon_main.c                         |    3 +
 drivers/usb/musb/da8xx.c                           |    8 +-
 drivers/usb/storage/alauda.c                       |   95 +-
 drivers/vdpa/vdpa_sim/vdpa_sim_blk.c               |    9 +-
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c               |    9 +-
 drivers/vfio/cdx/main.c                            |   10 +-
 drivers/vfio/fsl-mc/vfio_fsl_mc.c                  |   10 +-
 drivers/vfio/pci/vfio_pci_core.c                   |    1 +
 drivers/vfio/platform/vfio_platform_common.c       |   10 +-
 drivers/vhost/scsi.c                               |   31 +-
 drivers/vhost/vringh.c                             |    4 +-
 drivers/video/fbdev/core/fbcon.c                   |   57 +
 drivers/video/fbdev/gxt4500.c                      |    1 +
 drivers/video/fbdev/kyro/fbdev.c                   |   19 +-
 drivers/virtio/virtio.c                            |    2 +
 drivers/virtio/virtio_pci_modern.c                 |   12 +-
 fs/backing-file.c                                  |   28 +
 fs/btrfs/accessors.c                               |  123 +-
 fs/btrfs/accessors.h                               |   37 -
 fs/btrfs/block-group.c                             |    6 +-
 fs/btrfs/ctree.c                                   |   51 +-
 fs/btrfs/ctree.h                                   |    2 +-
 fs/btrfs/defrag.c                                  |    2 +-
 fs/btrfs/disk-io.c                                 |    6 +-
 fs/btrfs/extent-io-tree.h                          |    7 -
 fs/btrfs/extent-tree.c                             |    3 +-
 fs/btrfs/free-space-cache.c                        |   10 +
 fs/btrfs/inode.c                                   |   74 +-
 fs/btrfs/ioctl.c                                   |   11 +
 fs/btrfs/messages.c                                |    5 +-
 fs/btrfs/qgroup.c                                  |    4 +-
 fs/btrfs/raid56.c                                  |   11 +-
 fs/btrfs/relocation.c                              |    3 -
 fs/btrfs/tests/inode-tests.c                       |   12 +-
 fs/btrfs/tree-mod-log.c                            |   13 +-
 fs/btrfs/verity.c                                  |   31 +-
 fs/btrfs/zoned.c                                   |    8 +-
 fs/ceph/addr.c                                     |  102 +-
 fs/ceph/inode.c                                    |    2 +-
 fs/ceph/mds_client.c                               |    2 +
 fs/ceph/mds_client.h                               |    3 +
 fs/ceph/super.c                                    |   29 +-
 fs/ceph/super.h                                    |    1 -
 fs/dcache.c                                        |    2 +
 fs/debugfs/file.c                                  |   81 +-
 fs/dlm/config.c                                    |   30 +-
 fs/dlm/dlm_internal.h                              |    5 +
 fs/dlm/lock.c                                      |   18 +-
 fs/dlm/lock.h                                      |    4 +-
 fs/eventpoll.c                                     |   18 +-
 fs/ext2/file.c                                     |    7 +
 fs/f2fs/node.c                                     |    4 +-
 fs/f2fs/super.c                                    |   33 +-
 fs/fs-writeback.c                                  |   17 +-
 fs/fs_pin.c                                        |   15 +-
 fs/fuse/file.c                                     |    5 +-
 fs/gfs2/bmap.c                                     |    2 +-
 fs/gfs2/inode.c                                    |    2 +-
 fs/hfs/btree.c                                     |    7 +-
 fs/hfsplus/btree.c                                 |    7 +-
 fs/hugetlbfs/inode.c                               |    6 +
 fs/isofs/dir.c                                     |    4 +-
 fs/isofs/isofs.h                                   |   11 +-
 fs/isofs/joliet.c                                  |   27 +-
 fs/isofs/namei.c                                   |    3 +-
 fs/kernfs/dir.c                                    |   12 +-
 fs/kernfs/symlink.c                                |   17 +-
 fs/minix/inode.c                                   |   16 +
 fs/minix/minix.h                                   |    9 +
 fs/minix/namei.c                                   |   27 +-
 fs/netfs/internal.h                                |   32 +-
 fs/nfs/dir.c                                       |   13 +-
 fs/nfs/filelayout/filelayout.c                     |    5 +-
 fs/nfs/flexfilelayout/flexfilelayout.c             |   81 +-
 fs/nfs/fs_context.c                                |    1 +
 fs/nfs/internal.h                                  |   31 +
 fs/nfs/nfs3proc.c                                  |    8 +
 fs/nfs/nfs4client.c                                |    7 +-
 fs/nfs/nfs4proc.c                                  |    5 +
 fs/nfs/nfs4xdr.c                                   |    3 +-
 fs/nfs/pnfs.c                                      |   12 +-
 fs/nfs/proc.c                                      |    8 +
 fs/nilfs2/namei.c                                  |    8 +-
 fs/nilfs2/recovery.c                               |   17 +
 fs/ntfs3/attrib.c                                  |   10 +-
 fs/ntfs3/file.c                                    |   35 +-
 fs/ntfs3/frecord.c                                 |  180 +--
 fs/ntfs3/fsntfs.c                                  |  130 +--
 fs/ntfs3/inode.c                                   |   13 +-
 fs/ntfs3/ntfs_fs.h                                 |   20 +-
 fs/ntfs3/xattr.c                                   |    8 +-
 fs/ocfs2/cluster/heartbeat.c                       |   52 +-
 fs/ocfs2/cluster/tcp.c                             |    8 +-
 fs/ocfs2/dlmglue.c                                 |   29 +-
 fs/ocfs2/dlmglue.h                                 |    5 +-
 fs/ocfs2/export.c                                  |   10 +-
 fs/ocfs2/inode.c                                   |    5 +-
 fs/ocfs2/move_extents.c                            |   62 +-
 fs/ocfs2/namei.c                                   |    6 +-
 fs/ocfs2/quota_local.c                             |   24 +
 fs/ocfs2/xattr.c                                   |  266 ++++-
 fs/ocfs2/xattr.h                                   |   12 +-
 fs/overlayfs/readdir.c                             |   41 +-
 fs/overlayfs/util.c                                |    2 +-
 fs/proc/generic.c                                  |    4 +
 fs/proc/kcore.c                                    |    8 +-
 fs/pstore/ram.c                                    |    1 +
 fs/pstore/ram_core.c                               |    6 +
 fs/quota/dquot.c                                   |   10 +-
 fs/smb/client/cifspdu.h                            |   95 +-
 fs/smb/client/smb2ops.c                            |    8 +-
 fs/smb/client/smb2pdu.c                            |   14 +-
 fs/smb/client/smb2pdu.h                            |   69 --
 fs/smb/common/smb2pdu.h                            |  230 +++-
 fs/smb/server/Kconfig                              |    1 +
 fs/smb/server/oplock.c                             |    8 +-
 fs/smb/server/smb2ops.c                            |    6 +-
 fs/smb/server/smb2pdu.c                            |  192 ++--
 fs/smb/server/smb2pdu.h                            |   58 -
 fs/smb/server/smb_common.c                         |    4 +-
 fs/smb/server/smb_common.h                         |   75 +-
 fs/smb/server/smbacl.c                             |   41 +-
 fs/smb/server/vfs_cache.c                          |   15 +-
 fs/splice.c                                        |   43 +-
 fs/stat.c                                          |    4 +-
 fs/userfaultfd.c                                   |   12 +-
 fs/xattr.c                                         |    2 +-
 fs/xfs/libxfs/xfs_bmap.c                           |   14 +-
 fs/xfs/libxfs/xfs_bmap.h                           |   10 +-
 include/acpi/acpi_bus.h                            |    9 +-
 include/acpi/acpi_drivers.h                        |    9 +-
 include/kvm/arm_vgic.h                             |    1 +
 include/linux/acpi.h                               |   24 +-
 include/linux/blk-mq.h                             |    7 +-
 include/linux/bpf.h                                |    9 +-
 include/linux/clk-provider.h                       |   22 +-
 include/linux/efi.h                                |   21 +-
 include/linux/etherdevice.h                        |   28 +
 include/linux/firewire.h                           |    1 -
 include/linux/fortify-string.h                     |    2 -
 include/linux/if_bridge.h                          |   77 +-
 include/linux/mfd/da9150/core.h                    |    1 +
 include/linux/mm.h                                 |   53 +-
 include/linux/mm_types.h                           |   13 +-
 include/linux/mmap_lock.h                          |   16 +
 include/linux/mtd/spinand.h                        |    2 +-
 include/linux/pm_wakeirq.h                         |    6 +
 include/linux/pm_wakeup.h                          |   17 +
 include/linux/quotaops.h                           |    5 +
 include/linux/shmem_fs.h                           |   15 +-
 include/linux/skbuff.h                             |   90 +-
 include/linux/slab.h                               |   60 +-
 include/linux/soc/ti/k3-ringacc.h                  |   31 +-
 include/linux/sunrpc/svc_rdma.h                    |    2 +-
 include/linux/userfaultfd_k.h                      |    8 +
 include/linux/wait.h                               |    6 +-
 include/linux/watch_queue.h                        |    6 +-
 include/net/bluetooth/bluetooth.h                  |    4 +-
 include/net/bluetooth/hci_sync.h                   |    1 +
 include/net/bluetooth/l2cap.h                      |    3 +-
 include/net/cfg80211.h                             |   12 +-
 include/net/cipso_ipv4.h                           |   11 +-
 include/net/inet_frag.h                            |    9 +
 include/net/ip.h                                   |    2 +-
 include/net/ip_vs.h                                |   50 +-
 include/net/netfilter/nf_conntrack_seqadj.h        |    1 +
 include/net/netlabel.h                             |   11 +-
 include/net/seg6_hmac.h                            |    3 +-
 include/net/sock.h                                 |    8 +-
 include/net/switchdev.h                            |    1 +
 include/scsi/libsas.h                              |    8 +
 include/scsi/scsi_cmnd.h                           |    7 +
 include/scsi/scsi_common.h                         |   31 +-
 include/scsi/scsi_device.h                         |   37 +-
 include/scsi/scsi_proto.h                          |   65 +-
 include/scsi/scsi_sense.h                          |  950 +++++++++++++++
 include/sound/control.h                            |    4 +-
 include/sound/core.h                               |   25 +-
 include/sound/pcm.h                                |    2 +
 include/sound/pcm_oss.h                            |    1 +
 include/sound/soc-component.h                      |    2 +-
 include/sound/ump.h                                |    6 +
 include/target/target_core_base.h                  |   20 +-
 include/trace/events/iocost.h                      |    7 +-
 include/trace/events/power.h                       |    3 +
 include/uapi/linux/firewire-cdev.h                 |    4 +-
 include/uapi/linux/iommufd.h                       |    2 +-
 include/uapi/sound/asequencer.h                    |   12 +-
 include/ufs/ufshcd.h                               |    8 +
 init/main.c                                        |    8 +-
 io_uring/eventfd.c                                 |    1 +
 kernel/bpf/bpf_iter.c                              |   24 +-
 kernel/bpf/bpf_lsm.c                               |    4 +-
 kernel/bpf/btf.c                                   |   27 +-
 kernel/bpf/core.c                                  |   54 +-
 kernel/bpf/helpers.c                               |    1 +
 kernel/bpf/offload.c                               |   25 +-
 kernel/bpf/syscall.c                               |  144 ++-
 kernel/bpf/task_iter.c                             |    6 +-
 kernel/bpf/verifier.c                              |   42 +-
 kernel/cgroup/cpuset.c                             |   45 +-
 kernel/debug/kdb/kdb_io.c                          |    1 -
 kernel/debug/kdb/kdb_main.c                        |    6 +-
 kernel/debug/kdb/kdb_private.h                     |    3 +-
 kernel/fork.c                                      |   44 +-
 kernel/kcov.c                                      |   35 +-
 kernel/kexec_file.c                                |    4 +-
 kernel/module/tracking.c                           |    2 +-
 kernel/nsproxy.c                                   |    2 +-
 kernel/profile.c                                   |    2 +-
 kernel/rcu/rcutorture.c                            |    2 +-
 kernel/rcu/tree.c                                  |    2 +-
 kernel/rcu/tree.h                                  |    3 +-
 kernel/rcu/tree_nocb.h                             |   60 +-
 kernel/reboot.c                                    |    4 +-
 kernel/resource_kunit.c                            |    3 +
 kernel/signal.c                                    |    5 +-
 kernel/time/timeconv.c                             |    6 +-
 kernel/time/timer.c                                |    2 +
 kernel/trace/bpf_trace.c                           |   80 +-
 kernel/trace/trace_btf.c                           |    3 +
 kernel/trace/trace_events_hist.c                   |   25 +-
 kernel/ucount.c                                    |    7 +-
 kernel/watch_queue.c                               |    2 +-
 lib/Kconfig.debug                                  |    1 -
 lib/bitmap-str.c                                   |   24 +-
 lib/decompress_unlz4.c                             |    4 +
 lib/kobject.c                                      |    2 +-
 lib/maple_tree.c                                   |   65 +-
 lib/test_hmm.c                                     |    2 +
 mm/cma.c                                           |    2 +
 mm/damon/reclaim.c                                 |    4 +-
 mm/filemap.c                                       |   31 +-
 mm/gup_test.c                                      |   17 +-
 mm/huge_memory.c                                   |   11 +-
 mm/hugetlb.c                                       |   55 +-
 mm/internal.h                                      |    4 +-
 mm/khugepaged.c                                    |   51 +-
 mm/ksm.c                                           |   40 +-
 mm/madvise.c                                       |    4 +
 mm/memcontrol.c                                    |    2 +
 mm/memory-tiers.c                                  |   29 +-
 mm/memory.c                                        |  106 +-
 mm/memory_hotplug.c                                |    6 +-
 mm/mmap.c                                          |    3 +-
 mm/mmap_lock.c                                     |   39 +
 mm/mremap.c                                        |   32 +-
 mm/oom_kill.c                                      |   22 +-
 mm/page_alloc.c                                    |    4 +-
 mm/rmap.c                                          |   20 +-
 mm/shmem.c                                         |   40 +-
 mm/slab_common.c                                   |   18 +-
 mm/truncate.c                                      |    7 +-
 mm/userfaultfd.c                                   |   14 +-
 mm/util.c                                          |   13 +
 mm/vma.c                                           |   68 +-
 net/9p/trans_xen.c                                 |    4 +-
 net/bluetooth/6lowpan.c                            |    3 +-
 net/bluetooth/hci_core.c                           |    4 +-
 net/bluetooth/hci_event.c                          |   58 +-
 net/bluetooth/hci_sync.c                           |   47 +-
 net/bluetooth/iso.c                                |    3 +
 net/bluetooth/l2cap_core.c                         |   24 +
 net/bluetooth/mgmt.c                               |  115 +-
 net/bluetooth/msft.c                               |    6 +
 net/bpf/test_run.c                                 |  171 ++-
 net/bridge/br_mdb.c                                |   16 +-
 net/bridge/br_multicast.c                          |   14 +-
 net/bridge/br_netlink.c                            |    2 +-
 net/bridge/br_private.h                            |   12 +
 net/bridge/br_stp.c                                |    4 +-
 net/bridge/br_stp_bpdu.c                           |    2 +-
 net/bridge/br_switchdev.c                          |   23 +-
 net/bridge/br_vlan.c                               |    7 +-
 net/bridge/br_vlan_options.c                       |    2 +-
 net/ceph/messenger_v1.c                            |    8 +-
 net/ceph/osdmap.c                                  |    2 +-
 net/core/bpf_sk_storage.c                          |    7 +
 net/core/dev.c                                     |   20 +-
 net/core/filter.c                                  |   58 +-
 net/core/gro.c                                     |    5 +-
 net/core/lwtunnel.c                                |    6 +
 net/core/selftests.c                               |    2 +-
 net/core/skbuff.c                                  |   11 +-
 net/core/sock.c                                    |    1 +
 net/dcb/dcbnl.c                                    |    2 +
 net/devlink/region.c                               |    5 +
 net/ipv4/cipso_ipv4.c                              |   16 +-
 net/ipv4/devinet.c                                 |   35 +-
 net/ipv4/gre_offload.c                             |    2 +-
 net/ipv4/inet_fragment.c                           |   66 +-
 net/ipv4/ip_fragment.c                             |   13 +-
 net/ipv4/ip_output.c                               |   15 +-
 net/ipv4/ip_tunnel.c                               |   14 +-
 net/ipv4/ipmr.c                                    |    5 +
 net/ipv4/tcp.c                                     |   14 +-
 net/ipv4/tcp_bic.c                                 |   14 +-
 net/ipv4/tcp_cubic.c                               |   14 +-
 net/ipv4/tcp_hybla.c                               |   16 +-
 net/ipv4/tcp_ipv4.c                                |   10 +-
 net/ipv4/tcp_metrics.c                             |   20 +-
 net/ipv4/tcp_offload.c                             |   12 +-
 net/ipv6/calipso.c                                 |    6 +-
 net/ipv6/exthdrs.c                                 |    2 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c            |   15 +-
 net/ipv6/reassembly.c                              |   13 +-
 net/ipv6/route.c                                   |   20 +-
 net/ipv6/seg6_hmac.c                               |    5 +-
 net/ipv6/seg6_local.c                              |    6 +-
 net/ipv6/sit.c                                     |    4 +-
 net/l2tp/l2tp_core.c                               |   51 +-
 net/l2tp/l2tp_core.h                               |    6 +-
 net/l2tp/l2tp_debugfs.c                            |    4 +-
 net/l2tp/l2tp_netlink.c                            |   11 +-
 net/l2tp/l2tp_ppp.c                                |    8 +-
 net/mac80211/cfg.c                                 |   49 +-
 net/mac80211/debugfs.c                             |    2 +-
 net/mac80211/ieee80211_i.h                         |    3 +-
 net/mac80211/main.c                                |    2 +
 net/mac80211/mesh.c                                |    3 +-
 net/mac80211/mesh_pathtbl.c                        |   17 +-
 net/mac80211/rx.c                                  |    1 +
 net/mac80211/tx.c                                  |  223 ++--
 net/mctp/route.c                                   |   10 +-
 net/mptcp/options.c                                |    9 +-
 net/netfilter/ipvs/ip_vs_conn.c                    |    8 +-
 net/netfilter/ipvs/ip_vs_ctl.c                     |   38 +-
 net/netfilter/ipvs/ip_vs_dh.c                      |   16 +-
 net/netfilter/ipvs/ip_vs_fo.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_lblc.c                    |    4 +-
 net/netfilter/ipvs/ip_vs_lblcr.c                   |    8 +-
 net/netfilter/ipvs/ip_vs_lc.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_mh.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_nq.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_ovf.c                     |    2 +-
 net/netfilter/ipvs/ip_vs_rr.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_sed.c                     |    4 +-
 net/netfilter/ipvs/ip_vs_sh.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_sync.c                    |   23 +-
 net/netfilter/ipvs/ip_vs_twos.c                    |    4 +-
 net/netfilter/ipvs/ip_vs_wlc.c                     |    4 +-
 net/netfilter/ipvs/ip_vs_wrr.c                     |    2 +-
 net/netfilter/nf_conntrack_core.c                  |    5 +
 net/netfilter/nf_conntrack_seqadj.c                |   17 +
 net/netfilter/nf_flow_table_ip.c                   |   30 +-
 net/netfilter/nf_synproxy_core.c                   |    4 +-
 net/netfilter/nft_compat.c                         |   15 +
 net/netfilter/xt_dccp.c                            |    2 +-
 net/netlabel/netlabel_kapi.c                       |   24 +-
 net/netlink/af_netlink.c                           |   12 +-
 net/openvswitch/actions.c                          |    9 +
 net/openvswitch/vport-internal_dev.c               |    8 +-
 net/rds/af_rds.c                                   |   29 +-
 net/rds/bind.c                                     |    4 +-
 net/rds/ib_sysctl.c                                |    2 +-
 net/rds/rdma_transport.c                           |    3 +
 net/rds/rds.h                                      |    3 +
 net/rds/recv.c                                     |   11 +-
 net/rds/send.c                                     |    9 +-
 net/rds/sysctl.c                                   |    2 +-
 net/rds/tcp.c                                      |    5 +-
 net/rose/af_rose.c                                 |   56 +-
 net/rose/rose_link.c                               |    7 +-
 net/rose/rose_loopback.c                           |    7 +-
 net/rose/rose_route.c                              |   65 +-
 net/rxrpc/rxperf.c                                 |   12 -
 net/sched/act_api.c                                |   24 +-
 net/sched/sch_etf.c                                |    1 +
 net/sched/sch_gred.c                               |   16 +-
 net/sched/sch_taprio.c                             |    6 +-
 net/sctp/ipv6.c                                    |    6 +-
 net/sctp/sm_make_chunk.c                           |   24 +-
 net/sctp/sm_statefuns.c                            |    2 +-
 net/smc/smc_pnet.c                                 |   29 +-
 net/sunrpc/xprtsock.c                              |   34 +-
 net/switchdev/switchdev.c                          |    2 +-
 net/tipc/bearer.c                                  |    4 +
 net/tipc/node.c                                    |    2 +-
 net/tls/tls_device.c                               |   21 +-
 net/tls/tls_main.c                                 |    4 +-
 net/wireless/nl80211.c                             |    6 +-
 net/wireless/reg.c                                 |   41 +-
 net/wireless/sme.c                                 |   38 +-
 scripts/Makefile.vmlinux_o                         |    2 +-
 scripts/checkkconfigsymbols.py                     |    2 +-
 scripts/checkpatch.pl                              |    2 +
 scripts/clang-tools/run-clang-tools.py             |    1 +
 scripts/gdb/linux/radixtree.py                     |  203 +++-
 scripts/gdb/linux/stackdepot.py                    |    2 +-
 scripts/kconfig/conf.c                             |   19 +-
 scripts/kconfig/symbol.c                           |   39 +-
 scripts/kconfig/tests/conftest.py                  |    9 +-
 .../kconfig/tests/randconfig_probability/Kconfig   |   12 +
 .../tests/randconfig_probability/__init__.py       |  130 +++
 scripts/kconfig/tests/savedefconfig_range/Kconfig  |   60 +
 .../kconfig/tests/savedefconfig_range/__init__.py  |    8 +
 scripts/kconfig/tests/savedefconfig_range/config   |    7 +
 .../tests/savedefconfig_range/expected_defconfig   |    0
 scripts/make_fit.py                                |    3 +-
 security/apparmor/apparmorfs.c                     |   21 +-
 security/apparmor/domain.c                         |    9 +-
 security/apparmor/file.c                           |   23 +-
 security/apparmor/include/file.h                   |    5 +-
 security/apparmor/include/lib.h                    |    1 +
 security/apparmor/include/match.h                  |   19 +-
 security/apparmor/include/policy.h                 |   27 +-
 security/apparmor/label.c                          |   14 +-
 security/apparmor/lib.c                            |   23 +
 security/apparmor/lsm.c                            |   19 +
 security/apparmor/match.c                          |  158 ++-
 security/apparmor/net.c                            |    1 +
 security/apparmor/policy.c                         |    3 +
 security/apparmor/policy_compat.c                  |    6 +-
 security/apparmor/policy_ns.c                      |    6 +-
 security/apparmor/policy_unpack.c                  |   57 +-
 security/integrity/ima/ima_template.c              |    5 +
 security/ipe/audit.c                               |    8 -
 security/security.c                                |    3 +-
 security/selinux/netlabel.c                        |    5 +-
 security/smack/smack_lsm.c                         |   14 +-
 sound/core/control.c                               |   12 +-
 sound/core/control_compat.c                        |   21 +-
 sound/core/control_led.c                           |   74 +-
 sound/core/ctljack.c                               |    1 +
 sound/core/info.c                                  |    3 +-
 sound/core/init.c                                  |   33 +-
 sound/core/jack.c                                  |   11 +-
 sound/core/misc.c                                  |   27 +
 sound/core/oss/mixer_oss.c                         |   36 +-
 sound/core/oss/pcm_oss.c                           |   12 +
 sound/core/pcm.c                                   |   13 +-
 sound/core/pcm_compat.c                            |    4 +-
 sound/core/pcm_lib.c                               |   16 +-
 sound/core/pcm_local.h                             |    6 +
 sound/core/pcm_native.c                            |  122 +-
 sound/core/rawmidi.c                               |    3 +
 sound/core/seq/seq_clientmgr.c                     |   12 +-
 sound/core/seq/seq_compat.c                        |   15 +-
 sound/core/seq/seq_system.c                        |    9 +-
 sound/core/seq/seq_system.h                        |   31 +-
 sound/core/seq/seq_ump_client.c                    |   45 +-
 sound/core/timer.c                                 |    1 +
 sound/core/ump.c                                   |   80 +-
 sound/core/vmaster.c                               |   10 +-
 sound/drivers/aloop.c                              |   17 +-
 sound/drivers/pcmtest.c                            |   28 +-
 sound/hda/hdac_bus.c                               |    9 +-
 sound/pci/hda/hda_codec.c                          |    2 +-
 sound/pci/hda/hda_controller.h                     |    4 -
 sound/pci/hda/hda_intel.c                          |   91 +-
 sound/pci/hda/hda_jack.c                           |    9 +-
 sound/pci/oxygen/oxygen.c                          |   12 +-
 sound/pci/oxygen/oxygen_mixer.c                    |   60 +-
 sound/pci/oxygen/oxygen_pcm.c                      |   54 +-
 sound/pci/oxygen/xonar_cs43xx.c                    |    3 +-
 sound/pci/oxygen/xonar_dg_mixer.c                  |   33 +-
 sound/pci/oxygen/xonar_pcm179x.c                   |   18 +-
 sound/pci/oxygen/xonar_wm87x6.c                    |   31 +-
 sound/pci/via82xx.c                                |   11 +-
 sound/sh/aica.c                                    |    2 +-
 sound/soc/amd/acp-es8336.c                         |    5 +-
 sound/soc/amd/acp/acp-platform.c                   |    2 +-
 sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c      |   14 +-
 sound/soc/amd/ps/ps-pdm-dma.c                      |    2 +-
 sound/soc/amd/ps/ps-sdw-dma.c                      |    2 +-
 sound/soc/amd/raven/acp3x-pcm-dma.c                |    4 +-
 sound/soc/amd/renoir/acp3x-pdm-dma.c               |    2 +-
 sound/soc/amd/vangogh/acp5x-pcm-dma.c              |    2 +-
 sound/soc/amd/yc/acp6x-pdm-dma.c                   |    2 +-
 sound/soc/atmel/atmel-i2s.c                        |   43 +-
 sound/soc/atmel/atmel-pcm-pdc.c                    |    2 +
 sound/soc/codecs/adau17x1.c                        |    4 +-
 sound/soc/codecs/ak4642.c                          |    3 +-
 sound/soc/codecs/cs42l56.c                         |    1 -
 sound/soc/codecs/da732x.c                          |    2 +-
 sound/soc/codecs/es8316.c                          |    4 +-
 sound/soc/codecs/es8326.c                          |   26 +-
 sound/soc/codecs/mt6359-accdet.c                   |   50 +-
 sound/soc/codecs/nau8540.c                         |    4 +-
 sound/soc/codecs/rt1011.c                          |    4 +-
 sound/soc/codecs/rt1016.c                          |    4 +-
 sound/soc/codecs/rt1305.c                          |    4 +-
 sound/soc/codecs/rt1308.c                          |    4 +-
 sound/soc/codecs/rt1318.c                          |    3 +-
 sound/soc/codecs/rt5616.c                          |    3 +-
 sound/soc/codecs/rt5659.c                          |   10 +-
 sound/soc/codecs/rt5660.c                          |    4 +-
 sound/soc/codecs/rt5665.c                          |    4 +-
 sound/soc/codecs/rt5682-sdw.c                      |    3 +-
 sound/soc/codecs/rt711-sdca-sdw.c                  |    6 +-
 sound/soc/codecs/rt711-sdw.c                       |    8 +-
 sound/soc/codecs/rt712-sdca-sdw.c                  |    6 +-
 sound/soc/codecs/rt712-sdca.c                      |    5 +-
 sound/soc/codecs/rt722-sdca-sdw.c                  |    6 +-
 sound/soc/codecs/sta32x.c                          |   20 +-
 sound/soc/codecs/sta350.c                          |   20 +-
 sound/soc/codecs/tlv320adc3xxx.c                   |    2 +-
 sound/soc/codecs/tlv320aic32x4-clk.c               |   68 +-
 sound/soc/codecs/tlv320aic32x4-i2c.c               |   21 +-
 sound/soc/codecs/tlv320aic32x4-spi.c               |   25 +-
 sound/soc/codecs/tlv320aic32x4.c                   |  273 ++---
 sound/soc/codecs/tlv320aic32x4.h                   |    6 +-
 sound/soc/codecs/wcd-mbhc-v2.c                     |    8 +-
 sound/soc/codecs/wcd937x.c                         |   44 +-
 sound/soc/codecs/wm5100.c                          |    2 +-
 sound/soc/codecs/wm8510.c                          |    2 +-
 sound/soc/codecs/wm8737.c                          |    8 +-
 sound/soc/codecs/wm8750.c                          |    2 +-
 sound/soc/codecs/wm8955.c                          |    2 +-
 sound/soc/codecs/wm8983.c                          |    2 +-
 sound/soc/codecs/wm8985.c                          |    2 +-
 sound/soc/codecs/wm8990.c                          |   10 +-
 sound/soc/codecs/wm8991.c                          |   10 +-
 sound/soc/codecs/wm8994.c                          |  159 +--
 sound/soc/codecs/wm8994.h                          |    2 +
 sound/soc/codecs/wm_hubs.c                         |    2 +-
 sound/soc/codecs/wsa883x.c                         |    8 +-
 sound/soc/codecs/wsa884x.c                         |    8 +-
 sound/soc/dwc/dwc-i2s.c                            |    6 +-
 sound/soc/fsl/fsl_asrc.c                           |    8 +-
 sound/soc/fsl/fsl_asrc_dma.c                       |    5 +
 sound/soc/fsl/imx-pcm-rpmsg.c                      |    2 +-
 sound/soc/intel/atom/sst-atom-controls.c           |   38 +-
 sound/soc/intel/atom/sst-mfld-platform-pcm.c       |   36 +-
 sound/soc/intel/avs/pcm.c                          |    2 +
 sound/soc/intel/avs/utils.c                        |    6 +-
 sound/soc/mediatek/common/mtk-afe-fe-dai.c         |    8 +-
 sound/soc/mediatek/common/mtk-soundcard-driver.c   |   23 +-
 sound/soc/mediatek/mt2701/mt2701-cs42448.c         |   20 +-
 sound/soc/mediatek/mt2701/mt2701-wm8960.c          |    6 +-
 sound/soc/mediatek/mt6797/mt6797-afe-clk.c         |   14 +-
 sound/soc/mediatek/mt6797/mt6797-mt6351.c          |   24 +-
 sound/soc/mediatek/mt7986/mt7986-wm8960.c          |    6 +-
 sound/soc/mediatek/mt8173/mt8173-max98090.c        |    6 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c   |    6 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c   |   10 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650.c          |   10 +-
 sound/soc/mediatek/mt8183/mt8183-afe-clk.c         |   22 +-
 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c |   34 +-
 .../mt8183/mt8183-mt6358-ts3a227-max98357.c        |   34 +-
 sound/soc/mediatek/mt8186/mt8186-afe-clk.c         |   95 +-
 sound/soc/mediatek/mt8186/mt8186-mt6366.c          |   86 +-
 sound/soc/mediatek/mt8188/mt8188-afe-clk.c         |  104 +-
 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c         |   24 +-
 sound/soc/mediatek/mt8188/mt8188-mt6359.c          |   61 +-
 sound/soc/mediatek/mt8192/mt8192-afe-clk.c         |  139 ++-
 sound/soc/mediatek/mt8192/mt8192-afe-gpio.c        |   90 +-
 sound/soc/mediatek/mt8192/mt8192-afe-pcm.c         |    6 +-
 sound/soc/mediatek/mt8192/mt8192-dai-adda.c        |   44 +-
 sound/soc/mediatek/mt8192/mt8192-dai-i2s.c         |   20 +-
 sound/soc/mediatek/mt8192/mt8192-dai-tdm.c         |   18 +-
 .../mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c  |  115 +-
 sound/soc/mediatek/mt8195/mt8195-afe-clk.c         |   77 +-
 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c         |  102 +-
 sound/soc/mediatek/mt8195/mt8195-dai-etdm.c        |   99 +-
 sound/soc/mediatek/mt8195/mt8195-mt6359.c          |   60 +-
 sound/soc/mediatek/mt8365/mt8365-afe-pcm.c         |    7 +-
 sound/soc/mediatek/mt8365/mt8365-dai-i2s.c         |    2 +-
 sound/soc/mediatek/mt8365/mt8365-mt6357.c          |   14 +-
 sound/soc/qcom/qdsp6/q6apm.c                       |    1 +
 sound/soc/qcom/sdm845.c                            |   26 +-
 sound/soc/rockchip/rk3288_hdmi_analog.c            |   48 +-
 sound/soc/rockchip/rockchip_i2s.c                  |    4 +-
 sound/soc/samsung/midas_wm1811.c                   |   14 +-
 sound/soc/soc-ac97.c                               |    4 +-
 sound/soc/soc-card-test.c                          |    7 +-
 sound/soc/soc-component.c                          |    2 +-
 sound/soc/soc-link.c                               |   10 +-
 sound/soc/soc-ops.c                                |   10 +-
 sound/soc/soc-topology-test.c                      |    8 +-
 sound/soc/sof/imx/imx-common.c                     |    1 +
 sound/soc/xilinx/xlnx_formatter_pcm.c              |   18 +-
 sound/usb/6fire/control.c                          |    7 +
 sound/usb/caiaq/device.c                           |    9 +-
 sound/usb/caiaq/device.h                           |    6 +-
 sound/usb/caiaq/input.c                            |   29 +-
 sound/usb/caiaq/midi.c                             |    2 +
 sound/usb/line6/capture.c                          |    3 +-
 sound/usb/line6/pcm.c                              |    8 +-
 sound/usb/mixer.c                                  |  151 ++-
 sound/usb/mixer.h                                  |    6 +-
 sound/usb/mixer_quirks.c                           |    2 +-
 sound/usb/mixer_us16x08.c                          |   19 +-
 sound/usb/quirks-table.h                           |    2 +
 sound/usb/usx2y/us122l.c                           |    2 +-
 sound/virtio/virtio_pcm.h                          |    2 +
 sound/virtio/virtio_pcm_msg.c                      |   19 +
 sound/virtio/virtio_pcm_ops.c                      |    1 +
 tools/bpf/bpftool/common.c                         |   40 +
 tools/bpf/bpftool/gen.c                            |   91 +-
 tools/bpf/bpftool/link.c                           |   18 +-
 tools/bpf/bpftool/main.c                           |   24 +-
 tools/bpf/bpftool/main.h                           |    1 +
 tools/bpf/bpftool/map.c                            |  101 +-
 tools/bpf/bpftool/prog.c                           |    2 +-
 tools/bpf/bpftool/tracelog.c                       |    2 +-
 tools/cgroup/iocost_monitor.py                     |    7 +-
 tools/cgroup/memcg_shrinker.py                     |    2 +-
 tools/hv/vmbus_bufring.c                           |    6 -
 tools/include/linux/types.h                        |    5 +
 tools/include/nolibc/stdlib.h                      |    8 +-
 tools/include/nolibc/types.h                       |    2 +-
 tools/lib/bpf/btf.c                                |  300 +++--
 tools/lib/bpf/btf.h                                |    3 +
 tools/lib/bpf/btf_dump.c                           |    2 +-
 tools/lib/bpf/btf_relocate.c                       |    2 +-
 tools/lib/bpf/libbpf.c                             |   67 +-
 tools/lib/bpf/libbpf.map                           |    2 +
 tools/lib/bpf/libbpf_internal.h                    |   39 +
 tools/lib/bpf/relo_core.c                          |    2 +-
 tools/lib/bpf/skel_internal.h                      |   64 +-
 tools/lib/perf/mmap.c                              |    2 +-
 tools/perf/Documentation/perf-c2c.txt              |    2 +-
 tools/perf/Makefile.perf                           |    2 +-
 tools/perf/arch/arm/tests/dwarf-unwind.c           |    3 +-
 tools/perf/arch/arm/util/unwind-libdw.c            |    2 +-
 tools/perf/arch/arm64/tests/dwarf-unwind.c         |    3 +-
 tools/perf/arch/arm64/util/unwind-libdw.c          |    2 +-
 tools/perf/arch/csky/util/unwind-libdw.c           |    2 +-
 tools/perf/arch/loongarch/util/unwind-libdw.c      |    2 +-
 tools/perf/arch/powerpc/tests/dwarf-unwind.c       |    3 +-
 tools/perf/arch/powerpc/util/unwind-libdw.c        |    2 +-
 tools/perf/arch/riscv/util/unwind-libdw.c          |    2 +-
 tools/perf/arch/s390/util/unwind-libdw.c           |    2 +-
 tools/perf/arch/x86/tests/dwarf-unwind.c           |    2 +-
 tools/perf/arch/x86/util/unwind-libdw.c            |    2 +-
 tools/perf/builtin-buildid-list.c                  |    5 +-
 tools/perf/builtin-c2c.c                           |   16 +-
 tools/perf/builtin-kallsyms.c                      |   21 +-
 tools/perf/builtin-record.c                        |    4 +-
 tools/perf/builtin-script.c                        |   10 +-
 tools/perf/builtin-top.c                           |    8 +-
 tools/perf/builtin-trace.c                         |  149 ++-
 .../arch/x86/sierraforest/uncore-cache.json        |    5 +
 .../arch/x86/sierraforest/uncore-interconnect.json |    2 +
 .../arch/x86/skylakex/uncore-interconnect.json     |    6 +
 .../arch/x86/snowridgex/uncore-cache.json          |   68 ++
 .../arch/x86/snowridgex/uncore-interconnect.json   |   10 +
 tools/perf/tests/builtin-test.c                    |   15 +-
 tools/perf/tests/code-reading.c                    |   30 +-
 tools/perf/tests/dlfilter-test.c                   |   51 +-
 tools/perf/tests/dwarf-unwind.c                    |   53 +-
 tools/perf/tests/mmap-basic.c                      |    3 +
 tools/perf/tests/mmap-thread-lookup.c              |    6 +-
 tools/perf/tests/openat-syscall-tp-fields.c        |    4 +-
 tools/perf/tests/parse-no-sample-id-all.c          |    6 +-
 tools/perf/tests/perf-record.c                     |    2 +
 tools/perf/tests/perf-time-to-tsc.c                |    2 +
 tools/perf/tests/sample-parsing.c                  |  167 ++-
 tools/perf/tests/sigtrap.c                         |   20 +-
 tools/perf/tests/sw-clock.c                        |    3 +
 tools/perf/tests/switch-tracking.c                 |   14 +-
 tools/perf/tests/symbols.c                         |  104 +-
 tools/perf/ui/browsers/annotate-data.c             |    2 +-
 tools/perf/ui/tui/setup.c                          |    2 +-
 tools/perf/util/Build                              |    4 +-
 tools/perf/util/annotate-data.c                    |   21 +-
 tools/perf/util/arm-spe.c                          |   24 +-
 .../perf/util/arm64-frame-pointer-unwind-support.c |   29 +-
 tools/perf/util/auxtrace.c                         |   15 +-
 tools/perf/util/bpf-filter.c                       |   30 +-
 tools/perf/util/bpf-utils.h                        |    5 +
 tools/perf/util/btf.c                              |   27 +
 tools/perf/util/btf.h                              |   10 +
 tools/perf/util/cs-etm.c                           |   60 +-
 tools/perf/util/debug.c                            |   77 +-
 tools/perf/util/debug.h                            |    1 +
 tools/perf/util/env.c                              |    1 +
 tools/perf/util/evsel.c                            |   41 +-
 tools/perf/util/header.c                           |   18 +-
 tools/perf/util/intel-bts.c                        |    4 +-
 tools/perf/util/intel-pt.c                         |  136 ++-
 tools/perf/util/jitdump.c                          |  139 ++-
 tools/perf/util/machine.c                          |   63 +-
 tools/perf/util/machine.h                          |    5 +-
 tools/perf/util/mem-events.c                       |    2 +-
 tools/perf/util/mmap.c                             |    3 +-
 tools/perf/util/print_insn.h                       |    1 +
 tools/perf/util/probe-event.c                      |    5 +-
 tools/perf/util/python.c                           |   65 +-
 tools/perf/util/s390-cpumsf.c                      |    6 +-
 tools/perf/util/sample.c                           |   43 +
 tools/perf/util/sample.h                           |    9 +-
 .../util/scripting-engines/trace-event-python.c    |   29 +-
 tools/perf/util/session.c                          |   94 +-
 tools/perf/util/symbol.c                           |    4 +
 tools/perf/util/synthetic-events.c                 |   24 +-
 tools/perf/util/thread_map.c                       |   26 +
 tools/perf/util/thread_map.h                       |    1 +
 tools/perf/util/unwind-libdw.c                     |    9 +-
 tools/perf/util/unwind-libunwind-local.c           |   12 +-
 .../x86_energy_perf_policy.c                       |   18 +-
 tools/sched_ext/scx_flatcg.bpf.c                   |    2 +-
 tools/testing/cxl/test/cxl.c                       |    8 +-
 tools/testing/selftests/Makefile                   |    4 +-
 tools/testing/selftests/alsa/mixer-test.c          |    2 +
 tools/testing/selftests/alsa/test-pcmtest-driver.c |   27 +-
 tools/testing/selftests/arm64/signal/Makefile      |    4 +-
 tools/testing/selftests/bpf/network_helpers.c      |   46 +-
 .../bpf/prog_tests/cgroup_hierarchical_stats.c     |    4 +-
 tools/testing/selftests/bpf/prog_tests/empty_skb.c |   59 +-
 tools/testing/selftests/bpf/prog_tests/missed.c    |    8 +-
 .../bpf/prog_tests/prog_tests_framework.c          |   10 +-
 tools/testing/selftests/bpf/prog_tests/sockopt.c   |    4 +-
 .../testing/selftests/bpf/prog_tests/test_tunnel.c |   13 +-
 .../selftests/bpf/prog_tests/uprobe_multi_test.c   |    4 +-
 .../testing/selftests/bpf/progs/cpumask_success.c  |    6 +
 tools/testing/selftests/bpf/progs/empty_skb.c      |    7 +
 .../selftests/bpf/progs/verifier_vfs_accept.c      |   18 +
 .../selftests/bpf/progs/verifier_vfs_reject.c      |   15 +
 tools/testing/selftests/bpf/unpriv_helpers.c       |  101 +-
 tools/testing/selftests/breakpoints/Makefile       |    4 +-
 tools/testing/selftests/cgroup/test_core.c         |   51 +-
 tools/testing/selftests/cgroup/test_cpu.c          |    7 +-
 tools/testing/selftests/cgroup/test_cpuset.c       |    7 +-
 tools/testing/selftests/cgroup/test_freezer.c      |    7 +-
 tools/testing/selftests/cgroup/test_kill.c         |    7 +-
 tools/testing/selftests/cgroup/test_kmem.c         |    7 +-
 tools/testing/selftests/cgroup/test_memcontrol.c   |    7 +-
 tools/testing/selftests/cgroup/test_pids.c         |    2 +-
 tools/testing/selftests/cgroup/test_zswap.c        |  238 +++-
 .../selftests/clone3/clone3_clear_sighand.c        |    6 +-
 .../filesystems/epoll/epoll_wakeup_test.c          |   32 +-
 tools/testing/selftests/ftrace/ftracetest          |    2 +-
 tools/testing/selftests/ipc/Makefile               |    8 +-
 tools/testing/selftests/mm/vm_util.h               |    1 +
 tools/testing/selftests/net/lib/csum.c             |   67 +-
 .../selftests/net/netfilter/conntrack_vrf.sh       |   25 +-
 tools/testing/selftests/net/tcp_mmap.c             |    6 +-
 tools/testing/selftests/net/txtimestamp.c          |   23 +-
 tools/testing/selftests/prctl/Makefile             |    4 +-
 tools/testing/selftests/sched_ext/hotplug.c        |   34 +-
 tools/testing/selftests/sparc64/Makefile           |    4 +-
 .../selftests/thermal/intel/power_floor/Makefile   |   12 +-
 .../selftests/thermal/intel/workload_hint/Makefile |   12 +-
 .../testing/selftests/timers/clocksource-switch.c  |   23 +-
 tools/thermal/tmon/tmon.c                          |    2 +-
 usr/gen_init_cpio.c                                |    1 +
 1611 files changed, 24531 insertions(+), 11234 deletions(-)
author maintainer
#2 lore raw

PATCH 2/1756 inet: frags: limit the truesize of a reassembly queue

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Eric Dumazet <[email protected]>

[ Upstream commit 3ae20e4697eb969104fe4b1e98a675f0100382b6 ]

The truesize of fragments in a reassembly queue is only bounded by the per netns ipfrag_high_thresh sysctl, which has no upper limit.

inet_frag_reasm_finish() sums the truesize of all fragments in an int. If this sum reaches 2^32, it wraps, and the final sk_wmem_alloc adjustment of the socket owning the reassembled skb can cancel its own reference, leading to a use-after-free of this socket.

This can be triggered from an unprivileged user/network namespace, raising ipfrag_high_thresh and using padded TUN packets, which keep a large truesize after being trimmed by ip_rcv_core().

Track the sum of the truesize of fragments in each queue, and refuse a fragment that would make it bigger than INT_MAX / 2. Callers kill the queue on this error. This bound is far above the needs of legitimate traffic.

Fixes 18685451fc4e ("inet: inet_defrag: prevent sk release while still in use")
Cc Florian Westphal <[email protected]>
[ sashal: adjusted context for missing secpath validation and conditional nf_reset_ct() call ]
---
 include/net/inet_frag.h  | 9 +++++++++
 net/ipv4/inet_fragment.c | 5 +++++
 2 files changed, 14 insertions(+)
include/net/inet_frag.h +9 -0
index 365925c9d2628..6aea2d1ac376f 100644
@@ -79,6 +79,7 @@ struct frag_v6_compare_key {
  * @tstamp_type: stamp has a mono delivery time (EDT)
  * @flags: fragment queue flags
  * @max_size: maximum received fragment size
+ * @truesize: sum of the truesize of queued fragments
  * @fqdir: pointer to struct fqdir
  * @rcu: rcu head for freeing deferall
  */
@@ -100,6 +101,7 @@ struct inet_frag_queue {
 	u8			tstamp_type;
 	__u8			flags;
 	u16			max_size;
+	unsigned int		truesize;
 	struct fqdir		*fqdir;
 	struct rcu_head		rcu;
 };
@@ -171,6 +173,13 @@ extern const u8 ip_frag_ecn_table[16];
 #define IPFRAG_OK	0
 #define IPFRAG_DUP	1
 #define IPFRAG_OVERLAP	2
+#define IPFRAG_TOOBIG	4
+
+/* Max sum of the truesize of fragments in a queue. This keeps the sums
+ * done in inet_frag_reasm_prepare() and inet_frag_reasm_finish() well
+ * below INT_MAX. Legitimate traffic stays far below this limit.
+ */
+#define INET_FRAG_MAX_TRUESIZE	(INT_MAX / 2)
 int inet_frag_queue_insert(struct inet_frag_queue *q, struct sk_buff *skb,
 			   int offset, int end);
 void *inet_frag_reasm_prepare(struct inet_frag_queue *q, struct sk_buff *skb,
net/ipv4/inet_fragment.c +5 -0
index 33b490165f4bb..0224440720e12 100644
@@ -337,6 +337,7 @@ void inet_frag_queue_flush(struct inet_frag_queue *q,
 	q->rb_fragments = RB_ROOT;
 	q->fragments_tail = NULL;
 	q->last_run_head = NULL;
+	q->truesize = 0;
 }
 EXPORT_SYMBOL(inet_frag_queue_flush);
 
@@ -441,6 +442,9 @@ int inet_frag_queue_insert(struct inet_frag_queue *q, struct sk_buff *skb,
 {
 	struct sk_buff *last = q->fragments_tail;
 
+	if (skb->truesize > INET_FRAG_MAX_TRUESIZE - q->truesize)
+		return IPFRAG_TOOBIG;
+
 	/* An IP fragment is never a GSO packet, but an untrusted source
 	 * (virtio_net_hdr) may have attached GSO metadata to it. Do not let
 	 * that reach the reassembled skb, whose head keeps the first
@@ -503,6 +507,7 @@ int inet_frag_queue_insert(struct inet_frag_queue *q, struct sk_buff *skb,
 
 	FRAG_CB(skb)->ip_defrag_offset = offset;
 
+	q->truesize += skb->truesize;
 	return IPFRAG_OK;
 }
 EXPORT_SYMBOL(inet_frag_queue_insert);
Signature · 1 line
2.53.0
author maintainer
#1 lore raw

PATCH 1/1756 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Sean Christopherson <[email protected]>

[ Upstream commit 053621535f014085c935879582dd3b65964a0dce ]

When doing RSM to L2, validate L1's state after copying it back into vmcb01 from SMRAM, as SMRAM is carved out of guest memory, i.e. is writable by the guest. Failure to validate L1's state is especially problematic for inputs to MMU context, as KVM can end up with impossible CR4 vs. EFER state. E.g. without the recent hardening FNAME(walk_addr_generic), a guest can trigger:

  ------------[ cut here ]------------
  UBSAN: array-index-out-of-bounds in arch/x86/kvm/mmu/paging_tmpl.h:435:15
  index 3 is out of range for type 'u32 [2]'
  CPU: 3 UID: 0 PID: 92 Comm: CPU 1/KVM Not tainted 7.3.0-rc1 #2 PREEMPT(lazy)
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014
  Call Trace:
   <TASK>
   dump_stack_lvl+0x5f/0x90
   dump_stack+0x10/0x18
   ubsan_epilogue+0x9/0x39
   __ubsan_handle_out_of_bounds.cold+0x50/0x55
   paging32_walk_addr_generic+0x889/0x970
   paging32_page_fault+0x79/0xa60
   kvm_mmu_do_page_fault+0x125/0x270
   kvm_mmu_page_fault+0x88/0x7b0
   npf_interception+0xc8/0x220 [kvm_amd]
   svm_invoke_exit_handler+0x16d/0x1d0 [kvm_amd]
   svm_handle_exit+0xb7/0x160 [kvm_amd]
   vcpu_enter_guest+0x428/0x16a0
   kvm_arch_vcpu_ioctl_run+0x479/0x920
   kvm_vcpu_ioctl+0x316/0xb00
   __x64_sys_ioctl+0xa3/0x100
   x64_sys_call+0x281/0x23d0
   do_syscall_64+0xba/0x550
   entry_SYSCALL_64_after_hwframe+0x76/0x7e
  RIP: 0033:0x79bb30deb04b
   </TASK>
  ---[ end trace ]---
Fixes 37be407b2ce8 ("KVM: nSVM: Fix L1 state corruption upon return from SMM")

Message-ID: <[email protected]>

[ sashal: adapted validation to __nested_vmcb_check_save() with failures routed through the existing unmap_save cleanup ]
---
 arch/x86/kvm/svm/nested.c | 23 ++++++++++++++++-------
 arch/x86/kvm/svm/svm.c    |  2 ++
 arch/x86/kvm/svm/svm.h    |  2 ++
 3 files changed, 20 insertions(+), 7 deletions(-)
arch/x86/kvm/svm/nested.c +16 -7
index 3c9c20d7855fe..670a5d57f33da 100644
@@ -1613,6 +1613,21 @@ static void nested_copy_vmcb_cache_to_control(struct vmcb_control_area *dst,
 	/* 'clean' and 'hv_enlightenments' are not changed by KVM */
 }
 
+bool nested_svm_check_vmcb01_save(struct kvm_vcpu *vcpu,
+				  struct vmcb_save_area *save)
+{
+	struct vmcb_save_area_cached save_cached;
+
+	if (!(save->cr0 & X86_CR0_PG) ||
+	    !(save->cr0 & X86_CR0_PE) ||
+	    (save->rflags & X86_EFLAGS_VM) ||
+	    ((save->efer & EFER_LMA) && !(save->efer & EFER_LME)))
+		return false;
+
+	__nested_copy_vmcb_save_to_cache(&save_cached, save);
+	return __nested_vmcb_check_save(vcpu, &save_cached);
+}
+
 static int svm_get_nested_state(struct kvm_vcpu *vcpu,
 				struct kvm_nested_state __user *user_kvm_nested_state,
 				u32 user_data_size)
@@ -1689,7 +1704,6 @@ static int svm_set_nested_state(struct kvm_vcpu *vcpu,
 		&user_kvm_nested_state->data.svm[0];
 	struct vmcb_control_area *ctl;
 	struct vmcb_save_area *save;
-	struct vmcb_save_area_cached save_cached;
 	struct vmcb_ctrl_area_cached ctl_cached;
 	unsigned long cr0;
 	int ret;
@@ -1759,12 +1773,7 @@ static int svm_set_nested_state(struct kvm_vcpu *vcpu,
 	 * Validate host state saved from before VMRUN (see
 	 * nested_svm_check_permissions).
 	 */
-	__nested_copy_vmcb_save_to_cache(&save_cached, save);
-	if (!(save->cr0 & X86_CR0_PG) ||
-	    !(save->cr0 & X86_CR0_PE) ||
-	    (save->rflags & X86_EFLAGS_VM) ||
-	    ((save->efer & EFER_LMA) && !(save->efer & EFER_LME)) ||
-	    !__nested_vmcb_check_save(vcpu, &save_cached))
+	if (!nested_svm_check_vmcb01_save(vcpu, save))
 		goto out_free;
 
 
arch/x86/kvm/svm/svm.c +2 -0
index df325d0864819..2796368f231d3 100644
@@ -4960,6 +4960,8 @@ static int svm_leave_smm(struct kvm_vcpu *vcpu, const union kvm_smram *smram)
 	 */
 
 	svm_copy_vmrun_state(&svm->vmcb01.ptr->save, map_save.hva + 0x400);
+	if (!nested_svm_check_vmcb01_save(vcpu, &svm->vmcb01.ptr->save))
+		goto unmap_save;
 
 	/*
 	 * Enter the nested guest now
arch/x86/kvm/svm/svm.h +2 -0
index 511fadfb055f6..a3724e867a4c9 100644
@@ -689,6 +689,8 @@ void nested_copy_vmcb_save_to_cache(struct vcpu_svm *svm,
 				    struct vmcb_save_area *save);
 void nested_sync_control_from_vmcb02(struct vcpu_svm *svm);
 void nested_vmcb02_compute_g_pat(struct vcpu_svm *svm);
+bool nested_svm_check_vmcb01_save(struct kvm_vcpu *vcpu,
+				  struct vmcb_save_area *save);
 void svm_switch_vmcb(struct vcpu_svm *svm, struct kvm_vmcb_info *target_vmcb);
 
 extern struct kvm_x86_nested_ops svm_nested_ops;
Signature · 1 line
2.53.0
#4 lore raw
In reply to Greg Kroah-Hartman

Hi!

Quoted 4 lines

This is the start of the stable review cycle for the 6.12.119 release. There are 1756 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.

Build failure here:

https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/jobs/18149565363
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/pipelines/3084779815

Best regards,
Pavel

In file included from arch/arm/boot/dts/qcom/qcom-apq8074-dragonboard.dts:6:
4471
16:35:43
arch/arm/boot/dts/qcom/qcom-msm8974.dtsi:4:10: fatal error: dt-bindings/clock/qcom,dsi-phy-28nm.h: No such file or directory 4472
16:35:43

    4 | #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
4473
16:35:43
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

4474
16:35:43
DTC arch/arm/boot/dts/allwinner/sun5i-a13-empire-electronix-d709.dtb
4475
16:35:43
DTC arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-600dhp2.dtb
4476
16:35:43
compilation terminated.
4477
16:35:43
make[3]: *** [scripts/Makefile.dtbs:131: arch/arm/boot/dts/qcom/qcom-apq8074-dragonboard.dtb] Error 1 4478
16:35:43
make[2]: *** [scripts/Makefile.build:466: arch/arm/boot/dts/qcom] Error 2
4479
16:35:43
make[2]: *** Waiting for unfinished jobs....
4480
16:35:43
DTC

Quoted 6,907 lines

Responses should be made by Fri, 20 Nov 2026 14:55:44 +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/v6.x/stable-review/patch-6.12.119-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-6.12.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>

    Linux 6.12.119-rc1

Li RongQing <[email protected]>
apparmor: avoid potential double free when remapping DFA tables

Justin Chen <[email protected]>
net: bcmgenet: if UMAC was suspended in SW_RESET, restore it to SW_RESET

Nicolai Buchwitz <[email protected]>
net: bcmgenet: stop Tx NAPI before disabling the queues

Matthew Brown <[email protected]>
ceph: fix leaked inode reference on writeback abort at umount

Baolin Liu <[email protected]>
fs/ntfs3: reject FS_IOC_SETFSLABEL on readonly mounts

Georgia Garcia <[email protected]>
apparmor: fix NULL pointer dereference in unpack_pdb

Zygmunt Krynicki <[email protected]>
apparmor: fail policy unpack on accept2 allocation failure

Shengjiu Wang <[email protected]>
remoteproc: imx_dsp_rproc: Only reset carveout memory at RPROC_OFFLINE state

Bharath SM <[email protected]>
smb: align durable reconnect v2 context to 8 byte boundary

Lijo Lazar <[email protected]>
drm/amdgpu: Fix vbios build number parsing logic

Eduard Zingerman <[email protected]>
selftests/bpf: include limits.h needed for PATH_MAX directly

John Johansen <[email protected]>
apparmor: mitigate parser generating large xtables

John Johansen <[email protected]>
apparmor: fix: accept2 being specifie even when permission table is presnt

Christian Bruel <[email protected]>
arm64: dts: st: Use 128kB size for aliased GIC400 register access on stm32mp23 SoCs

Christian Bruel <[email protected]>
arm64: dts: st: Adjust interrupt-controller for stm32mp23 SoCs

Kuniyuki Iwashima <[email protected]>
nvme-tcp: fix use-after-free of netns by kernel TCP socket.

Arnaldo Carvalho de Melo <[email protected]>

    perf libunwind: Fixup conversion perf_sample->user_regs to a pointer

Namhyung Kim <[email protected]>

    perf tools: Fix compile error on sample->user_regs

Leo Yan <[email protected]>
perf tools: Fix compilation error on arm64

Dan Carpenter <[email protected]>
platform/x86/amd/pmc: fix leak in probe()

Tony Ambardar <[email protected]>
libbpf: Fix accessing BTF.ext core_relo header

Krzysztof Kozlowski <[email protected]>
soc: qcom: pmic_glink: Drop redundant pg assignment before taking lock

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Fix 64-by-32 division cocci warnings

Steven Price <[email protected]>
irqchip/gic-v3-its: Fix over allocation in itt_alloc_pool()

Hemanth Selam <[email protected]>
selftests/cgroup: set the test plan after the setup checks

Jakub Sitnicki <[email protected]>
net: lwtunnel: Drop skb metadata before LWT encapsulation

Szymon Wilczek <[email protected]>
fs/ntfs3: fix deadlock in ni_read_folio_cmpr

Brian Norris <[email protected]>
PM: runtime: Only queue an idle check for RPM-linked suppliers (part 2)

Jérémy Jean <[email protected]>
nvmet-auth: reject incomplete DHCHAP messages

Shakeel Butt <[email protected]>
kernfs: avoid READ_ONCE() on a kgid_t in kernfs_new_node()

Damien Le Moal <[email protected]>
scsi: core: Fix additional sense code definition

Krzysztof Wilczyński <[email protected]>
PCI/sysfs: Decouple acpi_index from the optional device name element

Linus Torvalds <[email protected]>
vdpa_sim: disable page faults around vringh_need_notify_iotlb()

Mathieu Desnoyers <[email protected]>
mm: fix OOM killer inaccuracy on large many-core systems

SeongJae Park <[email protected]>
mm/damon/reclaim: use parameter context correctly

Cheng Xu <[email protected]>
RDMA/erdma: Use IRQ-safe XArray helpers for QP and CQ tables

Dominique Martinet <[email protected]>
libbpf: fix cross-endian build with newer libbpf

Imre Kaloz <[email protected]>
rtc: ds1685: do not sleep in the power-off handler

Imre Kaloz <[email protected]>
rtc: ds1685: arm the wake-up alarm at power-off only if an alarm is set

Nguyen Ngoc Thang <[email protected]>
minix: reject rmdir of a directory with a corrupted link count

Jori Koolstra <[email protected]>
Fix a drop_nlink warning in minix_rmdir

Jori Koolstra <[email protected]>
Add error handling to minix filesystem for inode corruption detection

Nickolai Zeldovich <[email protected]>
fs_pin: do not trust the pin after a spurious wakeup in pin_kill()

Nickolai Zeldovich <[email protected]>
ucount: read the parent ucounts before dropping the rlimit count

Nickolai Zeldovich <[email protected]>
splice: retry tee() instead of returning 0 when it races

Zhiyu Zhang <[email protected]>
watch_queue: keep info_id separate from rcu_head

Xiao Liang <[email protected]>
tun: drop batched packets while the device is down

John Johansen <[email protected]>
apparmor: advertise that sctp is being mediated

Jhonata Poma-Hansen <[email protected]>
netlink: check sk_rcvbuf before charging the dump skb

Eric Dumazet <[email protected]>
openvswitch: use eth_type_trans_careful() in internal_dev_recv()

Eric Dumazet <[email protected]>
net: use eth_type_trans_careful() in __dev_forward_skb2()

Sun Jian <[email protected]>
selftests/bpf: cover short IPv4/IPv6 inputs with adjust_room

Eric Dumazet <[email protected]>
loopback: use eth_type_trans_careful()

Eric Dumazet <[email protected]>
net: add eth_type_trans_careful()

Kyle Zeng <[email protected]>
tcp: initialize mapped children before route lookup

John Johansen <[email protected]>
apparmor: fix check SCTP bind, and connect permission checks

Kyle Zeng <[email protected]>
tcp: avoid double destroy in tcp_abort() of an unaccepted child

Rosen Penev <[email protected]>
net: bgmac: fix TX DMA unmapping and slot cleanup

Kyle Zeng <[email protected]>
gro: do not GRO GSO packets with inconsistent payload

Jakub Kicinski <[email protected]>
eth: bnxt: hand XDP frags over to the copybreak skb

Jakub Kicinski <[email protected]>
eth: bnxt: free XDP frags when xdp_do_redirect() fails

Jérémy Jean <[email protected]>
apparmor: check connect permission for SCTP

Wentao Liang <[email protected]>
apparmor: Fix namespace reference leak in __aa_find_or_create_ns()

Maxime Bélair <[email protected]>
apparmor: convert duplicated dfa transitions to match_char()

Maxime Bélair <[email protected]>
apparmor: fix table_size() integer overflow on 32 bit

John Johansen <[email protected]>
apparmor: add additional flags to extended permission.

John Johansen <[email protected]>
apparmor: add support for 2^24 states to the dfa state machine.

Maxime Bélair <[email protected]>
apparmor: report a label allocation failure as -ENOMEM

Jamie Nguyen <[email protected]>
selftests: net: txtimestamp: fix out-of-bounds read in raw UDP checksum

Kunhai Dai <[email protected]>
blk-iocost: publish hweights as one atomic value

Bart Van Assche <[email protected]>
block/blk-iocost: Inline iocg_lock() and iocg_unlock()

Bart Van Assche <[email protected]>
block/blk-iocost: Split ioc_rqos_throttle()

Muchun Song <[email protected]>
block: introduce init_wait_func()

Muchun Song <[email protected]>
block: remove redundant explicit memory barrier from rq_qos waiter and waker

Chris Mason <[email protected]>
rnbd-srv: publish the sess_dev at the end of OPEN

Chris Mason <[email protected]>
rnbd-srv: fix use-after-free on two CLOSE messages

Josef Bacik <[email protected]>
block/rnbd-srv: drop the sess_dev kobject unlocked

Josef Bacik <[email protected]>
block/rnbd-srv: don't free the device on a sysfs error

Josef Bacik <[email protected]>
drbd: take req_lock to skip the initial sync as peer

Josef Bacik <[email protected]>
drbd: stop the start_resync timer of a dying device

Josef Bacik <[email protected]>
block: partitions/mac: compute the sectors in 64 bits

Josef Bacik <[email protected]>
blk-mq: exit the hctxs of a queue under tag_list_lock

Josef Bacik <[email protected]>
blk-mq: quiesce a queue that joins a quiesced tag set

Josef Bacik <[email protected]>
blk-mq: don't forget a timer the driver has restarted

Josef Bacik <[email protected]>
blk-mq: don't bring back flags of a completed request

Josef Bacik <[email protected]>
blk-mq: keep sharing tags fairly after a queue update

Josef Bacik <[email protected]>
block: don't lose the status of a failed flush request

Josef Bacik <[email protected]>
block: fix use-after-free of the disk in sync_bdevs()

Dominik Maier <[email protected]>
xattr: always invoke cap_convert_nscap() for security.capability writes

Josef Bacik <[email protected]>
fork: Let nobody keep a task that may not come to life

Markus Probst <[email protected]>
rtc: s35390a: Read 24-hour mode on access

Alexandre Belloni <[email protected]>
rtc: s35390a: fix typo in comment

Nick Huang <[email protected]>
rtc: s35390a: use u8 instead of char for register buffer

André Draszik <[email protected]>

    rtc: s35390a: drop needless struct s35390a::rtc member

Markus Probst <[email protected]>
rtc: s35390a: Fix alarm not disabling

Markus Probst <[email protected]>
rtc: s35390a: Add missing newline to dev_err

Joas Antonio dos Santos <[email protected]>
net: mctp: free reassembly head skb when key_add fails on SOM

Linkui Xiao <[email protected]>
net: bridge: netlink: do not clear the vlan info dump error

Eric Dumazet <[email protected]>

    net: bridge: use atomic ops to read/change p->flags (III)

Eric Dumazet <[email protected]>
bridge: add bridge_flags_bit enum

Danielle Ratson <[email protected]>
bridge: Add internal flags for neigh_forward_grat

Eric Woudstra <[email protected]>
bridge: No DEV_PATH_BR_VLAN_UNTAG_HW for dsa foreign

Karol Kolacinski <[email protected]>
ice: E822: keep Tx timestamps disabled during offset calibration

Jacob Keller <[email protected]>
ice: set in_use only after preparing Tx timestamp index

Joas Antonio dos Santos <[email protected]>
net: dcb: initialize PFC value before calling getpfccfg

Nicolai Buchwitz <[email protected]>
net: bcmgenet: restore the Tx coalescing setting when the rings are rebuilt

Nicolai Buchwitz <[email protected]>
net: bcmgenet: recover from a failed resume

Doug Berger <[email protected]>
net: bcmgenet: revise suspend/resume

Doug Berger <[email protected]>
net: bcmgenet: introduce bcmgenet_[r|t]dma_disable

Doug Berger <[email protected]>
net: bcmgenet: consolidate dma initialization

Doug Berger <[email protected]>
net: bcmgenet: remove dma_ctrl argument

Josef Bacik <[email protected]>
blk-throttle: make blkio.reset_stats reset I/O counts

Josef Bacik <[email protected]>
blk-throttle: pass the I/O counts of a dead group on

Li Lingfeng <[email protected]>
block: flush all throttled bios when deleting the cgroup

Josef Bacik <[email protected]>
blk-iolatency: flush enable_work after going offline

Josef Bacik <[email protected]>
blk-cgroup: don't free a blkg with its punt work queued

Josef Bacik <[email protected]>
blk-cgroup: fix root io.stat byte counts on 32-bit

Josef Bacik <[email protected]>
blk-throttle: don't truncate the cgroup v1 iops limits

Chris Mason <[email protected]>

    nvmet: don't clear sq->ctrl for a Connect with sqsize 0

Chris Mason <[email protected]>
nvmet-rdma: fix double puts after a failed RDMA WRITE

Chris Mason <[email protected]>
nvmet-rdma: disable interrupts under rsp_wr_wait_lock

Chris Mason <[email protected]>
nvmet-rdma: flush nvmet-wq on module exit

Josef Bacik <[email protected]>
nvme-loop: don't BUG() if a scan runs beside a reset

Josef Bacik <[email protected]>
nvmet-tcp: don't read a removed port at Connect time

Josef Bacik <[email protected]>
nvmet: fix NULL dereference in debugfs host_traddr

Josef Bacik <[email protected]>
nvmet-tcp: stop listening when a port is removed

Josef Bacik <[email protected]>
nvmet-auth: take only AUTH_Negotiate for a negotiation

Josef Bacik <[email protected]>
nvmet: don't truncate the length of big discards

Chaitanya Kulkarni <[email protected]>
nvmet: ignore discard return value

Naveen Kumar Chaudhary <[email protected]>
kdb: unify CMD_BUFLEN definition into kdb_private.h

Rongzheng Wang <[email protected]>
nvmet: use the enabled transport when disabling a port

Qing Zhang <[email protected]>
nvmet: protect nvmet_ports_list with nvmet_config_sem

Avi Weiss <[email protected]>
nvmet: prevent double-free after metadata SGL allocation failure

Andrea Parri <[email protected]>
nvmet: zns: reject a NUMD whose byte count wraps

bui duc phuc <[email protected]>
ASoC: xilinx: formatter_pcm: Fix read-modify-write of AUD_CTRL in hw_params

Sicong Huang <[email protected]>
nfp: flower: fix use-after-free in neighbour update work

Peter Morrow <[email protected]>
net/mlx4: always create the eth and ib auxiliary devices

Feng Yang <[email protected]>

    bpf: Fix out-of-bounds btf->types write for split BTF

Ömer Mete Kaya <[email protected]>
usbnet: fix EVENT_RX_PAUSED race in usbnet_skb_return()

Florian Fainelli <[email protected]>
net: dsa: mv88e6xxx: fix 6351 family statistics snapshot

Daniel Machon <[email protected]>
net: lan966x: don't disable hardirqs in fdma tx clear path

Fernando Fernandez Mancera <[email protected]>
devlink: region: fix snapshot id leak on kernel-allocated ids

Daniel Machon <[email protected]>
net: microchip: fdma: fix DCB corruption under sustained load

Daniel Machon <[email protected]>
net: microchip: fdma: use little-endian types for descriptor fields

Daniel Machon <[email protected]>
net: lan966x: release the in-flight slot of a stale TX skb

Daniel Machon <[email protected]>
net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit

Harkirat Gill <[email protected]>
drm/amdgpu: re-enable GFXOFF for compute on GFX12

Florian Fainelli <[email protected]>
perf print_insn: Include sys/types.h for ssize_t

Paul Moses <[email protected]>
perf mmap: Preserve the consumed cursor in forward mode

Paul Moses <[email protected]>
perf mmap: Use the head selected by read_init

Len Brown <[email protected]>
x86_energy_perf_policy: Cleanup: Check fseek() in VM path

Len Brown <[email protected]>
x86_energy_perf_policy: Fix optarg keyword matching

Daniel Machon <[email protected]>
net: lan966x: do not warn on MAC entries that are not port destined

Daniel Machon <[email protected]>

    net: lan966x: do not inject uninitialised bytes past skb->len

Dudu Lu <[email protected]>
net: xps: bound the cleanup loop by the old map's num_tc

Allison Henderson <[email protected]>
net/rds: do not initialize transports after rds_init() failed

Allison Henderson <[email protected]>
net/rds: do not fail init when CONFIG_SYSCTL=n

Cheng Yongkang <[email protected]>
net: tun: hold napi_mutex when deleting NAPI in tun_detach_all()

Sally Marcher <[email protected]>
ALSA: usb-audio: Add correct datainterval in the quirks-table for Microbook II

HyeongJun An <[email protected]>
ALSA: pcmtest: Honor the enable parameter

Nicolai Buchwitz <[email protected]>
net: usb: cdc_mbim: don't enable BHs in tx_fixup under netpoll

Nicolai Buchwitz <[email protected]>
net: usb: cdc_ncm: don't enable BHs in tx_fixup under netpoll

Binbin Deng <[email protected]>
net: atlantic: Unregister before clearing RXNFC rules

Paolo Abeni <[email protected]>
gtp: hold RCU in gtp_genl_send_echo_req()

Qingfang Deng <[email protected]>
pppoe: drop discovery frames with no MAC header

Tung Nguyen <[email protected]>
tipc: fix refcount panic in tipc_rcv() when receiving shared skb

Jerome Brunet <[email protected]>
clk: cdce925: Size the PLL child name buffer for any int

bui duc phuc <[email protected]>
clk: lmk04832: Handle reset GPIO lookup errors

Eric Dumazet <[email protected]>

    ipmr: clear skb->cb[] in reg_vif_xmit()

alex todadze <[email protected]>
net: stmmac: fix rx checksum offload with extended descriptors

Dudu Lu <[email protected]>
net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails

Alexandre Cassen <[email protected]>
net/sched: act_api: inherit filter offload flags only on new actions

Dudu Lu <[email protected]>
net/sched: gred: keep the qdisc lock while updating the table

Zhang Yi <[email protected]>
ASoC: codecs: es*: Modify the registers related to ALC RECOVERY

Ravi Hothi <[email protected]>
ASoC: codecs: wsa883x: Fix VI sense port channel count

Ravi Hothi <[email protected]>
ASoC: codecs: wsa884x: Fix VI sense port channel count

Srinivas Kandagatla <[email protected]>
ASoC: codecs: wsa883x: disable runtime PM on unbind

Srinivas Kandagatla <[email protected]>
ASoC: codecs: wsa884x: disable runtime PM on unbind

Hungyu Lin <[email protected]>
thermal: Fix CPU mask truncation in power limit trace event

Sasha Levin <[email protected]>
selftests/thermal: allow cross builds of the Intel tests

Aleksei Oladko <[email protected]>
selftests: fix ARCH normalization to handle command-line argument

TJ Adams <[email protected]>
block: advance iterator after copy-in for SG_DXFER_TO_FROM_DEV

Waiman Long <[email protected]>
cgroup/cpuset: Make sure compute_partition_effective_cpumask() is only called for valid partition

Nguyen Ngoc Thang <[email protected]>
libceph: reject bad connect_seq in msgr1 READY reply

Yogesh Gaur <[email protected]>
ceph: don't keep a mon_addr string that failed to parse

Xiang Mei <[email protected]>
ceph: fix off-by-one NUL termination in decode_encrypted_symlink()

Tal Zussman <[email protected]>
ceph: don't clear write_congested when collecting folios

Tal Zussman <[email protected]>
ceph: fix writeback_count leak when a bounce page allocation fails

Matthew Wilcox (Oracle) <[email protected]>
ceph: Convert ceph_move_dirty_page_in_page_array() to move_dirty_folio_in_page_array()

Tal Zussman <[email protected]>
ceph: fix error handling when the OSD client is stopping in ceph_submit_write()

Viacheslav Dubeyko <[email protected]>
ceph: fix generic/421 test failure

Alex Markuze <[email protected]>
ceph: fix page vector leak on encrypted netfs read EIO path

Xiubo Li <[email protected]>
ceph: mark the superblock active after mounting

Max Kellermann <[email protected]>
ceph: remove unused field i_cap_migration_resv

Henry Martin <[email protected]>
netlink: fix out-of-bounds bitmap access clearing stale mc groups

HyeongJun An <[email protected]>
ALSA: pcmtest: Reject invalid fill_mode values

Cen Zhang <[email protected]>
ALSA: ump: Drain sequencer callbacks before freeing their client

Takashi Iwai <[email protected]>
ALSA: seq: Notify UMP EP and FB changes

Takashi Iwai <[email protected]>
ALSA: seq: Allow system notification in atomic

Dimitris Charisis <[email protected]>
maple_tree: fix maple_range_64 crashes in RCU mode

Pedro Falcato <[email protected]>
maple_tree: Replace mt_free_one() with kfree()

Pedro Falcato <[email protected]>
maple_tree: Use kfree_rcu in ma_free_rcu

Ren Tamura <[email protected]>
tools/cgroup: sum shrinker object counts across NUMA nodes

Lorenzo Stoakes (ARM) <[email protected]>
ALSA: us122l: mark hwdep mappings VM_MIXEDMAP

Ting-Han Hou <[email protected]>
scripts/gdb: fix stack depot out-of-bounds diagnostic

Ting-Han Hou <[email protected]>
scripts/gdb: fix radix tree lookup pointer handling

Ilya Leoshkevich <[email protected]>
scripts/gdb/radix-tree: add lx-radix-tree-command

Avi Weiss <[email protected]>
profiling: fix sampling step on 64-bit big-endian systems

Edward Adam Davis <[email protected]>
kernel/reboot: avoid potential deadlocks during suspension

Aditya Sharma <[email protected]>
bpf: Remove nmi_uaccess_okay() check in bpf_send_signal_common()

Ayushman Rout <[email protected]>
bpf: Use memmove() to load bytes from an skb and an xdp_buff

Feng Yang <[email protected]>
bpf: Propagate btf_add_type() errors in btf_check_all_metas()

Haotian Zhang <[email protected]>
scsi: elx: libefc: Fix resource leak in efcport_init() error path

Dudu Lu <[email protected]>
net/sched: etf: initialise the sock_exterr_skb before filling it

Nandor Kracser <[email protected]>
tls: avoid field-spanning write when copying crypto info

Greg Thelen <[email protected]>
selftests/net: tcp_mmap: remove unused -k option and keepflag

Allison Henderson <[email protected]>
net/rds: keep the connected peer's scope id apart from the bound one

Allison Henderson <[email protected]>
net/rds: include the scope id in the sendmsg connection cache check

Gal Pressman <[email protected]>
net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys

Eric Dumazet <[email protected]>
net: fix frag_list leak in skb_segment_list() error path

Daniel Machon <[email protected]>
net: sparx5: fix tx DCB index drift in fdma xmit

Daniel Machon <[email protected]>
net: sparx5: activate FDMA tx in start()

Daniel Machon <[email protected]>

    net: sparx5: split sparx5_fdma_{start(),stop()}

Daniel Machon <[email protected]>

    net: sparx5/lan969x: do not read past skb->len when injecting a frame

Florian Fuchs <[email protected]>
ALSA: sh: aica: Fix spu_memset() stride

Gregory Price (Meta) <[email protected]>
cgroup/cpuset: check effective mems for a movable-only configuration

Xingyuan Mo <[email protected]>
sctp: reject forged cookie peer_addr with unknown address family

Jiale Yao <[email protected]>
regulator: irq: freeze deferred hardware access during suspend

Marco Crivellari <[email protected]>
regulator: irq_helper: replace use of system_wq with system_dfl_wq

Steven Rostedt <[email protected]>
cpuidle: haltpoll: Only define guest_halt_poll_ns tracepoint when used

bui duc phuc <[email protected]>
ASoC: amd: raven: Fix memory leak in acp3x_dma_close()

Michail Andreas Michalopoulos <[email protected]>
ksmbd: select CRYPTO_AES

Ivan Hu <[email protected]>
ACPICA: Initialize parser_state.aml_end in acpi_install_method()

Nickolai Zeldovich <[email protected]>
nsproxy: Fix cred leak in the error path of prepare_nsset()

Avi Weiss <[email protected]>
signal: skip blocked signals in dequeue_synchronous_signal()

Karl Mehltretter <[email protected]>
netfs: Restore selective debug mask handling

Tianyi Chen <[email protected]>
eventpoll: propagate wakeup source creation failure in ep_modify()

Nickolai Zeldovich <[email protected]>
proc/kcore: advance the vmalloc retry by the last copy, not the total

Marek Szyprowski <[email protected]>
ASoC: wm8994: follow AIF clock source changes in MCLK gating

Binbin Deng <[email protected]>
tipc: fix use-after-free of broadcast reception link at node release

Rand Deeb <[email protected]>
ata: libata-core: Ignore forced transfer modes the host does not support

Travis Howard <[email protected]>
tg3: Add Datto SIRIS 5 1U Server to restart AER quirk table

Eric Dumazet <[email protected]>
net: shrink the payload-only part of skb dataref to one bit

Tianyi Gao <[email protected]>
veth: schedule the peer's NAPI after XDP_TX when only GRO is enabled

Daniel Machon <[email protected]>
net: sparx5/lan969x: do not clobber the PSFP cycle timer update period

Willem de Bruijn <[email protected]>
virtio-net: fix frag overflow in big packets receive

Eric Joyner <[email protected]>
ionic: free port_info when probe fails after the port is set up

Nikhil P. Rao <[email protected]>
ionic: fix port_info use-after-free on firmware recovery

Sivansh Gupta <[email protected]>
mailbox: qcom-cpucp: read mbox hardware register using readq()

Deepti Jaggi <[email protected]>
mailbox: qcom-cpucp: Add support for Nord CPUCP mailbox controller

Daniel Wagner <[email protected]>
nvme-fabrics: clear the poll map if no poll queues are mapped

Daniel Wagner <[email protected]>
nvme-fabrics: limit each queue type to the number of online CPUs

Daniel Wagner <[email protected]>
nvme-fabrics: reset io_queues before computing the queue mapping

James Clark <[email protected]>
perf cs-etm: Don't add global v0 HW_IDs to unformatted queues

Arnaldo Carvalho de Melo <[email protected]>
perf cs-etm: Bounds-check CPU in cs_etm__get_queue()

Namhyung Kim <[email protected]>
perf c2c: Fix memory leaks on output fields

Waldemar Brodkorb <[email protected]>
sh: Select BINFMT_FLAT_NO_DATA_START_OFFSET for !MMU

Marek Szyprowski <[email protected]>
ASoC: samsung: midas_wm1811: run FLL1 at the AIF1 configured rate when idle

Marek Szyprowski <[email protected]>
ASoC: wm8994: fix MCLK index used for setting MCLK rate

Marek Szyprowski <[email protected]>
ASoC: wm8994: don't lose the AIF clock ratio when staying at 32kHz SYSCLK

Marek Szyprowski <[email protected]>
ASoC: wm8994: fix MCLK gating for AIF clocks sourced from MCLK2

HyeongJun An <[email protected]>
selftests: ALSA: pcmtest: Compare all captured bytes in ni_capture

Alexandre Cassen <[email protected]>
net/mlx5: HWS, fix modify header pattern compare on big-endian

Anil Kaushik <[email protected]>
gtp: hold RCU for the device lookup when adding a PDP context

Anil Kaushik <[email protected]>
gtp: set a valid genl command in PDP context get and dump replies

HyeongJun An <[email protected]>
selftests: ALSA: pcmtest: Make room for the longest fill pattern

HyeongJun An <[email protected]>
selftests: ALSA: pcmtest: Check the frame count of each transfer

Takashi Iwai <[email protected]>
platform/x86: ibm_rtl: Fix potential OOB read at signature search

Jiale Yao <[email protected]>
Drivers: hv: vmbus: Check ACPI companion before use

Cen Zhang <[email protected]>
ocfs2: initialize status waiters before publishing them

Joseph Qi <[email protected]>
ocfs2: reserve xattr value tree metadata only once

Carolina Jubran <[email protected]>
net: skbuff: don't copy alloc_cpu in skb header copies

Michail Andreas Michalopoulos <[email protected]>
ksmbd: reject FILE_ATTRIBUTE_TEMPORARY on directories

Mohammed Alquraini <[email protected]>
ksmbd: reject foreign RPC pipe handles on IPC$ read and write

Namjae Jeon <[email protected]>
ksmbd: fix fd_limit accounting across durable reconnects

ChenXiaoSong <[email protected]>
smb/server: fix trailing period in generated short names

Henry Hu <[email protected]>
ksmbd: report IPv4 and IPv6 addresses independently in iface query

ZhangGuoDong <[email protected]>
smb: move some duplicate definitions to common/smb2pdu.h

ChenXiaoSong <[email protected]>
smb: move create_durable_rsp_v2 to common/smb2pdu.h

ChenXiaoSong <[email protected]>
smb: move create_durable_handle_reconnect_v2 to common/smb2pdu.h

ChenXiaoSong <[email protected]>
smb: move create_durable_req_v2 to common/smb2pdu.h

ZhangGuoDong <[email protected]>
smb: move smb_sockaddr_in and smb_sockaddr_in6 to common/smb2pdu.h

Pali Rohár <[email protected]>
cifs: Update description about ACL permissions

Henry Hu <[email protected]>
ksmbd: fix invalid Next offset in interface info replies

Henry Hu <[email protected]>
ksmbd: fix unlocked IPv6 addr_list walk in fsctl_query_iface_info_ioctl()

Henry Hu <[email protected]>
ksmbd: fix link speed query in fsctl_query_iface_info_ioctl()

Mingming Cao <[email protected]>
ibmveth: wait for the RX poll to return before freeing the RX queue

Mingming Cao <[email protected]>
ibmveth: wait for in-flight transmits in ibmveth_close()

Mingming Cao <[email protected]>
ibmveth: return the error when set_channels cannot add TX queues

Mingming Cao <[email protected]>
ibmveth: fix netpoll races with RX replenish

Ovidiu Panait <[email protected]>
net: stmmac: Track the TX DMA threshold per queue

Kunihiko Hayashi <[email protected]>
net: stmmac: Correct usage of maximum queue number macros

Furong Xu <[email protected]>
net: stmmac: Drop useless code related to ethtool rx-copybreak

Jiale Yao <[email protected]>
team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add

Ido Schimmel <[email protected]>
ipv6: Hold RCU when emitting route hardware flags notification

Rosen Penev <[email protected]>
net: phy: marvell: keep WOL_EIE across interrupt reconfiguration

Myeonghun Pak <[email protected]>
platform/x86: gpd pocket fan: Cancel work before releasing GPIOs

Eric Dumazet <[email protected]>
ipv6: account route exceptions to the netns of their dst

Sagi Maimon <[email protected]>
net: axienet: release every RX buffer in axienet_dma_bd_release()

Ido Schimmel <[email protected]>
bridge: mcast: Delete empty MDB entry when port group creation fails

Florian Fainelli <[email protected]>
net: bcmasp: fix network filter lookup and wake filter pair allocation

Florian Fainelli <[email protected]>
net: bcmasp: account for offload header in TX short packet padding

Florian Fainelli <[email protected]>
net: bcmasp: fix OF node reference leak for phy_dn

Florian Fainelli <[email protected]>
net: bcmasp: validate minimum RX packet size in bcmasp_rx_poll()

Florian Fainelli <[email protected]>
net: bcmasp: unmap previous DMA mappings on TX map failure

Florian Fainelli <[email protected]>
net: bcmasp: fix mib counters struct alignment with ethtool stats

Myeonghun Pak <[email protected]>
net: hix5hd2: serialize timeout recovery with interface teardown

Karl Mehltretter <[email protected]>
net: phy: realtek: restore RTL8211F RGMII delays on resume

Vladimir Oltean <[email protected]>
net: phy: realtek: create rtl8211f_config_rgmii_delay()

Marek Vasut <[email protected]>
net: phy: realtek: Avoid PHYCR2 access if PHYCR2 not present

Michael Klein <[email protected]>
net: phy: realtek: add RTL8211F register defines

Daniel Braunwarth <[email protected]>
net: phy: realtek: Add support for WOL magic packet on RTL8211F

Russell King (Oracle) <[email protected]>
net: phy: realtek: disable PHY-mode EEE

Heiner Kallweit <[email protected]>
net: phy: realtek: use string choices helpers

Heiner Kallweit <[email protected]>
net: phy: move realtek PHY driver to its own subdirectory

Anirudh Virdi <[email protected]>
net: qede: initialize extack in qede_flow_spec_to_rule()

Binbin Deng <[email protected]>
octeontx2: Fix use-after-free of qos node in delete path

Rishikesh Jethwani <[email protected]>
tls: device: protect async RX resync state during device-down

Eric Dumazet <[email protected]>
tcp: tcp_metrics: use the socket netns, not the dst device netns

Fernando Fernandez Mancera <[email protected]>
net: openvswitch: drop IP fragments on SCTP set action

Fernando Fernandez Mancera <[email protected]>
net: openvswitch: skip IPv4 later fragments on TCP/UDP set actions

Linus Torvalds <[email protected]>
vhost: vringh: use get_user()/put_user() for IOTLB 16-bit accesses

Rob Herring (Arm) <[email protected]>
dt-bindings: clock: mediatek: Add MT8516 fallbacks

HyeongJun An <[email protected]>
ASoC: cs42l56: Remove the ADC Mute Switch control

Liang Hao <[email protected]>
timers: Clear pending_map on CPU hotplug

Karl Mehltretter <[email protected]>
rtc: class: Make the time32 hctosys limit configurable

Baek Kyu, Kim <[email protected]>
rtc: mpfs: Fix alarm register word order

James Hilliard <[email protected]>
net: stmmac: avoid duplicate XSK TX completions

Yongzhao Chen <[email protected]>
net: phy: qca83xx: read resolved QCA8337 link status

Matthieu Baerts (NGI0) <[email protected]>
mptcp: options: dss: avoid printing uninit csum

Matthieu Baerts (NGI0) <[email protected]>
mptcp: options: mpc: avoid printing uninit data

Pengfei Zhang <[email protected]>
net: stmmac: xgmac: do not treat TBU as a TX event

Li RongQing <[email protected]>
RDMA/mlx5: Fix CQ resize destination index mask

Jamal Hadi Salim <[email protected]>
net/sched: act_api: reject duplicate actions in a batch

Fan Wu <[email protected]>
ipe: fix enforcement audit

Manuel Ebner <[email protected]>
ipe: fix invalid sgid value in audit event documentation

Gregory Price (Meta) <[email protected]>
cgroup/cpuset: use mems_allowed_seq when checking a policy nodemask

Li RongQing <[email protected]>
block, bfq: initialize active lists for all actuators

Cen Zhang <[email protected]>
ALSA: aloop: Keep the timer source alive until card release

Tigran Mkrtchyan <[email protected]>
pNFS/flexfiles: make pg_init retry loops killable

Tigran Mkrtchyan <[email protected]>
nfsv4/pnfs: use the MDS authflavor for data server connections

Cen Zhang <[email protected]>
ALSA: pcm: Protect channel-map reads against runtime detach

Cen Zhang <[email protected]>
ALSA: jack: Pin the module while debugfs files are open

Cen Zhang <[email protected]>
ALSA: pcm: Remove channel-map controls before freeing substreams

Cen Zhang <[email protected]>
ALSA: pcmtest: Pin the module while pattern files are open

Thomas Weißschuh <[email protected]>
nios2: ksyms: Declare __mulsi3 export

Sung Byeongchan <[email protected]>
netfilter: xt_dccp: handle reserved options as single-byte

Shuangfeng He <[email protected]>
netfilter: flowtable: use the vlan id, not the full tci, in the tuple key

Julian Anastasov <[email protected]>
ipvs: fix more races around the overload flag

Jérémy Jean <[email protected]>
netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset

Alok Tiwari <[email protected]>
octeontx2-af: Fix CQ enable state tracking after AQ writes

Cen Zhang <[email protected]>
ALSA: oss: Keep emulation modules loaded until object teardown

Cen Zhang <[email protected]>
ALSA: pcm: Protect the unregister notifier traversal

Qiliang Yuan <[email protected]>
selftests/bpf: Run the cpumask map insert tests only for the test task

KaFai Wan <[email protected]>
selftests/bpf: Use _exit() in uprobe_multi_test clone-ed child

Troy Mitchell <[email protected]>
dt-bindings: vendor-prefixes: Add Sensylink

Serhat Kumral <[email protected]>
RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()

Zhiwei Zhang <[email protected]>

    RDMA/rxe: Clear pkt->qp before the early drop exits in rxe_rcv()

HyeongJun An <[email protected]>
ASoC: tlv320aic32x4: Fix definition of TAS2505 HP Driver Gain Volume control

Dmitry Torokhov <[email protected]>
ASoC: tlv320aic32x4: clean up driver code formatting and logging

Dmitry Torokhov <[email protected]>
ASoC: tlv320aic32x4: move regmap_config into i2c and spi drivers

HyeongJun An <[email protected]>
ASoC: codecs: sta350: Fix definition of limiter threshold controls

HyeongJun An <[email protected]>
ASoC: codecs: sta32x: Fix definition of limiter threshold controls

Serhat Kumral <[email protected]>
RDMA/srp: Avoid reading uninitialized has_port on srp_parse_in() failure

Leon Romanovsky <[email protected]>
RDMA/core: Reject LAG selection when source MAC lookup fails

Leon Romanovsky <[email protected]>
RDMA/core: Free unpublished port statistics after initial-read failure

Leon Romanovsky <[email protected]>
RDMA/core: Preserve the selected source GID on failed AH modification

Igor Velkov <[email protected]>
power: supply: gpio-charger: Report discharging without input power

Aleksandr Nogikh <[email protected]>
usb: gadget: dummy_hcd: prevent unbind via sysfs

Igor Skalkin <[email protected]>
usb: gadget: dummy_hcd: fix SuperSpeed ep0 maxpacket

Alexei Starovoitov <[email protected]>
bpf: Use memmove() to store bytes in an xdp_buff

Josef Bacik <[email protected]>
bpf: Use memmove() to store bytes in an skb

Josef Bacik <[email protected]>
bpf: Use the socket of a sk_lookup test run under RCU

Paul Chaignon <[email protected]>
bpf: Craft non-linear skbs in BPF_PROG_TEST_RUN

Paul Chaignon <[email protected]>
bpf: Reorder bpf_prog_test_run_skb initialization

Paul Chaignon <[email protected]>
bpf: Refactor cleanup of bpf_prog_test_run_skb

Mahe Tardy <[email protected]>
bpf: fix cgroup_skb prog test run direct packet access

Josef Bacik <[email protected]>
bpf: Keep the symbols of a program until it has ended

Alexei Starovoitov <[email protected]>
bpf: Don't take a program with a target program for an iterator

Florian Westphal <[email protected]>
netfilter: nft_compat: restrict raw table targets/matches

Florian Westphal <[email protected]>
selftests: netfilter: fix return value in zone subtest

Florian Westphal <[email protected]>
netfilter: conntrack: fix unlikely UaF in gc worker

Bjorn Andersson <[email protected]>
power: supply: qcom_battmgr: report full batteries

Alexei Starovoitov <[email protected]>
bpf: Don't take an extension for a writable raw tracepoint program

Josef Bacik <[email protected]>
bpf: Don't take an extension for an iterator program

Josef Bacik <[email protected]>
bpf: Don't bind a program to a netdev that goes away

Josef Bacik <[email protected]>

    bpf: Fix stale offload->prog pointer after realloc

Josef Bacik <[email protected]>
bpf: Bound the nesting that the BTF show code follows

Alexei Starovoitov <[email protected]>
bpf: Clear sk_refcnt of a clone before its storage is linked

Josef Bacik <[email protected]>
bpf: Update the SRH state if End.B6 fails late

Josef Bacik <[email protected]>
bpf: Pull the inner header for End.DT6 in End.BPF

Josef Bacik <[email protected]>
bpf: Validate the SRH which End.DT6 uncovers in End.BPF

Josef Bacik <[email protected]>
bpf: Read the probe of a perf event under event_mutex

Tao Chen <[email protected]>
bpf: Add show_fdinfo for perf_event

Josef Bacik <[email protected]>
bpf: Don't let bpf_skb_adjust_room() use up the MSS

Jakub Sitnicki <[email protected]>
bpf: Make bpf_skb_adjust_room metadata-safe

Jakub Sitnicki <[email protected]>
net: Helper to move packet data and metadata after skb_push/pull

Josef Bacik <[email protected]>
bpf: Look at all 64 bits of a BPF_JSET mask on 32-bit

Josef Bacik <[email protected]>
bpf: Reject sleepable programs for task_vma iterator

Joonhoe Kim <[email protected]>
power: supply: qcom_battmgr: report the USB type from USB_ADAP_TYPE

Jiayuan Chen <[email protected]>
bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields

Cen Zhang <[email protected]>
ALSA: jack: Protect the index scan against control removal

Brad Fitzpatrick <[email protected]>
gre: keep the UDP tunnel GSO type when completing GRO

Joas Antonio dos Santos <[email protected]>
calipso: update payload_len when removing the CALIPSO option

HyeongJun An <[email protected]>
ASoC: codecs: sta350: Fix definition of Ch2 and Ch3 Volume Bypass controls

HyeongJun An <[email protected]>
ASoC: codecs: sta32x: Fix definition of Ch2 and Ch3 Volume Bypass controls

HyeongJun An <[email protected]>
ASoC: codecs: tlv320adc3xxx: Fix definition of AGC Target Level control

HyeongJun An <[email protected]>
ASoC: codecs: da732x: Fix definition of ADC2 EQ Overall Volume control

Yuan Chen <[email protected]>
bpf: Claim the per-CPU send_signal irq_work before filling it

Puranjay Mohan <[email protected]>
bpf: Implement bpf_send_signal_task() kfunc

Sasha Levin <[email protected]>
ARC: Strip libgcc debug information when generating BTF

Tal Zussman <[email protected]>
btrfs: update the inode item when removing a free space inode

Tal Zussman <[email protected]>
btrfs: drop the extent maps of the written part of a failed ordered extent

Filipe Manana <[email protected]>
btrfs: remove leftover EXTENT_UPTODATE clear from an inode's io_tree

Piotr Gliźniewicz <[email protected]>
ALSA: 6fire: take stream_mutex in the Digital Thru control

Myeonghun Pak <[email protected]>
platform: cznic: turris-omnia-mcu: stop button emulation producers

Ömer Mete Kaya <[email protected]>
usbnet: fix smp_processor_id() use in preemptible context

Fabrice Derepas <[email protected]>
ima: reject a kexec buffer whose declared size exceeds the buffer

Tao Cui <[email protected]>
blk-iocost: account zone append completions in latency stats

Tao Cui <[email protected]>
blk-iocost: charge zone appends as writes

Colin Ian King <[email protected]>
selftests/bpf: Fix spelling mistakes in descr literal strings

Yuan Chen <[email protected]>
bpftool: Fix inverted tracefs validation when scanning /proc/mounts

Qiliang Yuan <[email protected]>
selftests/bpf: Expect at least one kprobe miss in missed/perf_kprobe

Matheus Alves de Almeida <[email protected]>
HID: wacom: fix wacom_intuos_irq NULL pen_input deref

Dmitriy Geels <[email protected]>
HID: logitech-hidpp: cancel reset_hi_res_work on probe failure

Cen Zhang <[email protected]>
ALSA: vmaster: Protect follower lookup and setup

Qiliang Yuan <[email protected]>
selftests/bpf: Unmount the bpffs that cgroup_hierarchical_stats mounted

Qiliang Yuan <[email protected]>
selftests/bpf: Keep the bpffs of cgroup_hierarchical_stats private

Theodor Arsenij Larionov Trichkine <[email protected]>
net: use the full socket in sk_mc_loop()

Eric Dumazet <[email protected]>
ipv4: use RCU protection in inet_netconf_get_devconf()

George Melikov <[email protected]>
bnx2x: fix header length calculation for encapsulated TSO

Muchun Song <[email protected]>
dax/bus: Return errors for invalid mapping targets

Stefano Munari <[email protected]>
net: usb: lan78xx: reject invalid EEPROM write requests

Jérémy Jean <[email protected]>
macsec: prevent AES-GCM nonce reuse after packet number wrap

KaFai Wan <[email protected]>
selftests/bpf: Fix prog_tests framework subtest count checks

Donggeun Yoo <[email protected]>
tracing: Print a signed histogram key as signed

Atharva Vartak <[email protected]>
net/smc: hold a reference on net_device returned by pnet_find_base_ndev()

Jianan Huang <[email protected]>
f2fs: quota: fix quota flush failure during filesystem freeze

pengdonglin <[email protected]>
tracing: Avoid BTF lookup in atomic context

Donggeun Yoo <[email protected]>
tracing: Clamp the printed end of a histogram bucket at U64_MAX

Donggeun Yoo <[email protected]>
tracing: Only report the stacktrace modifier on a real field

Donggeun Yoo <[email protected]>
tracing: Print the bucket size as unsigned

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix ETDM probe error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix HDMI TX startup error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix ETDM startup error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix ETDM MCLK error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Propagate IRQ lookup errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix runtime resume error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Check paired MEMIF clock enable in FE trigger

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix FE startup error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix paired memif clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix main clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix timing system clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix register access clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8195: Fix tuner clock error handling

Amadeusz Sławiński <[email protected]>
ASoC: soc-component: Fix return type of snd_soc_pcm_component_pointer()

Amadeusz Sławiński <[email protected]>
ASoC: soc-ac97: Fix error handling in snd_soc_new_ac97_component()

Amadeusz Sławiński <[email protected]>
ASoC: soc-card-test: Check return value of kunit_device_register()

Amadeusz Sławiński <[email protected]>
ASoC: soc-topology-test: Check return value of kunit_device_register()

Amadeusz Sławiński <[email protected]>
ASoC: ops: Fix return value in snd_soc_limit_volume()

Amadeusz Sławiński <[email protected]>
ASoC: soc-link: Correct stream stop operations in snd_soc_link_trigger

Hongbo Li <[email protected]>
ASoC: remove unused substream in macro soc_link_mark_pop

Abraham Zukor <[email protected]>
spi: tegra114: initialize native chip selects inactive

Haotian Zhang <[email protected]>
ASoC: rockchip: fix device node reference leak in rk3288_hdmi_analog

bui duc phuc <[email protected]>
ASoC: rockchip: rk3288_hdmi_analog: Use dev_err_probe() for error handling

bui duc phuc <[email protected]>
ASoC: rockchip: rk3288_hdmi_analog: Drop redundant probe error messages

Sasha Levin <[email protected]>
selftests: keep the build status from wrapping to success

Michael Auer <[email protected]>
ASoC: qcom: sdm845: Disable the quaternary MI2S bit clock on shutdown

Robert Oscilowski <[email protected]>
ASoC: qcom: sdm845: set quaternary MI2S codec DAI to I2S format

Alexey Klimov <[email protected]>
ASoC: qcom: sdm845: add handling of secondary MI2S clock

Cezary Rojewski <[email protected]>
ASoC: Intel: avs: Prevent module info underflow

Cezary Rojewski <[email protected]>
ASoC: Intel: avs: Unprepare a stream when recovery occurs

Jacob Moroni <[email protected]>
RDMA/irdma: Fix FRWR IRDMAQPSQ_PBLADDR field population

Serhat Kumral <[email protected]>
IB/rdmavt: Fix error unwind path for qp_priv_init() in rvt_create_qp()

Sasha Levin <[email protected]>
kselftest/arm64: signal: copy each test binary only once

Takashi Iwai <[email protected]>
ALSA: core: Serialize snd_refcount put and sync

Qiliang Yuan <[email protected]>
selftests/bpf: Create the vxlan devices of test_tunnel with their MAC

Jaewon Jung <[email protected]>
selftests/ftrace: Avoid unlink error on first run

Youngsung Ahn <[email protected]>

    RDMA/rxe: bound the WQE opcode before indexing rxe_wr_opcode_info[]

Honggang LI <[email protected]>
RDMA/rxe: Fix out-of-range unsigned-to-signed conversion for RDMA message in 2GiB size

xiongweimin <[email protected]>
RDMA/rxe: Hold netdev reference for transmit skbs

Youngsung Ahn <[email protected]>

    RDMA/rxe: validate inline sge_offset in finish_packet() before indexing inline_data[]

Youngsung Ahn <[email protected]>
RDMA/rxe: reject IB_WR_REG_MR from user QPs in rxe_reg_fast_mr()

Youngsung Ahn <[email protected]>
RDMA/rxe: refuse to destroy a QP with type 2 MWs still bound

Sahaj Chaudhari <[email protected]>
spi: omap2-mcspi: handle DMA setup failures

Takashi Iwai <[email protected]>
ALSA: pcm: Add refcount for races between drain and unlink

Takashi Iwai <[email protected]>
ALSA: Add simple refcount helper functions

Zhu Ling <[email protected]>
irqchip/gic: Fix UBSAN shift-out-of-bounds in GIC helpers

Fuad Tabba <[email protected]>
irqchip/gic-v3: Don't register a redistributor that was never counted

Fuad Tabba <[email protected]>
irqchip/gic-v3-its: Don't free the tables of an enabled ITS

Fuad Tabba <[email protected]>
irqchip/gic-v3-its: Don't free a vPE table shared with another ITS

Steven Price <[email protected]>
irqchip/gic-v3-its: Share ITS tables with a non-trusted hypervisor

Pengpeng Hou <[email protected]>
irqchip/riscv-imsic: Reject overlapping group index fields

Fuad Tabba <[email protected]>
irqchip/gic-v3-its: Clear vpt_page after freeing the pending table

David Howells <[email protected]>
rxrpc: Revert "rxrpc: rxperf: Fix missing decoding of terminal magic cookie"

Carolina Jubran <[email protected]>
IB/IPoIB: Cancel normal flush work on device stop

Jiayuan Chen <[email protected]>
veth: clear rx queue hint in veth_xmit

Qiliang Yuan <[email protected]>
selftests/bpf: Expect at least one tp_recursion miss in missed

Sagi Maimon <[email protected]>
net: axienet: free outstanding TX buffers in axienet_dma_bd_release()

Kyrylo Biryuk <[email protected]>
ata: libahci: re-enable FBS after error handling on a port multiplier

Long Zhao <[email protected]>
dt-bindings: vendor-prefixes: add Ambarella

Fenglin Wu <[email protected]>
spmi: pmic-arb: return 0 in spmi_pmic_arb_register_buses() on success

Xingui Yang <[email protected]>
scsi: hisi_sas: Fix spinup failure for SAS SSP devices in Active_Wait state

Damien Le Moal <[email protected]>
scsi: core: Prepare for using combined sense codes

Damien Le Moal <[email protected]>
scsi: core: Rename sense field of struct scsi_failure

Damien Le Moal <[email protected]>
scsi: core: Define all additional sense codes and their qualifiers

Damien Le Moal <[email protected]>
scsi: scsi_debug: move ASC and ASCQ definitions to scsi_proto.h

Niklas Cassel <[email protected]>
scsi: libsas: Add dev_parent_is_expander() helper

Kai Mäkisara <[email protected]>
scsi: scsi_debug: Add write support with block lengths and 4 bytes of data

Kai Mäkisara <[email protected]>
scsi: scsi_debug: Add READ BLOCK LIMITS and modify LOAD for tapes

Xingui Yang <[email protected]>
scsi: hisi_sas: Fix incorrect delay values from magic-number cleanup

Xingui Yang <[email protected]>
scsi: libsas: Fix out-of-bounds memcpy() in sas_ssp_task_response()

Nicolai Buchwitz <[email protected]>
net/mlx5e: use skb_share_check() in the loopback selftest hook

Nicolai Buchwitz <[email protected]>
net: stmmac: selftests: use skb_share_check() in the loopback receive hook

Nicolai Buchwitz <[email protected]>
net: selftests: use skb_share_check() in the loopback receive hook

Cen Zhang <[email protected]>
Bluetooth: MSFT: Serialize handle map cleanup with event processing

Kiran K <[email protected]>
Bluetooth: btintel: Zero version data before parsing TLVs

Laxman Acharya Padhya <[email protected]>
Bluetooth: btintel: propagate version TLV parsing errors

Cen Zhang <[email protected]>
Bluetooth: hci_sync: Protect IRK identity reads with RCU

Eric Dumazet <[email protected]>
Bluetooth: btmtk: fix skb double free on ISO padding failure

Cen Zhang <[email protected]>
Bluetooth: 6lowpan: Drain RCU readers on registration failure

Cen Zhang <[email protected]>
Bluetooth: msft: Lock failed probe cleanup against feature readers

Cen Zhang <[email protected]>
Bluetooth: MGMT: Reject quality report requests during unregister

Cen Zhang <[email protected]>
Bluetooth: ISO: Hold the listener during disconnect notification

Cen Zhang <[email protected]>
Bluetooth: hci_sync: Serialize devcoredump reset during device open

Cen Zhang <[email protected]>
Bluetooth: hci_core: Keep RCU protection through LTK filtering

Hitalo Souza <[email protected]>
Bluetooth: Add missing newline to bt_dev_{err,warn}_ratelimited()

Cen Zhang <[email protected]>
Bluetooth: 6LoWPAN: Use RCU-safe device list removal

Luiz Augusto von Dentz <[email protected]>
Bluetooth: MGMT: Fix leaking instance on Add Extended Advertising Parameters

Luiz Augusto von Dentz <[email protected]>
Bluetooth: MGMT: Fix pending state of instances added without HCI traffic

Luiz Augusto von Dentz <[email protected]>

    Bluetooth: HCI: Fix tracking of instances sharing handle 0x00

Luiz Augusto von Dentz <[email protected]>
Bluetooth: MGMT: Fix advertising instances with Global Advertising

Kiran K <[email protected]>
Bluetooth: btusb: Preserve event and ACL packet ordering

Zijun Hu <[email protected]>
Bluetooth: btusb: Make btusb_recv_{event,acl}() take struct hci_dev *

Chris Lu <[email protected]>
Bluetooth: btmtk: Improve BT firmware logging

Chris Lu <[email protected]>
Bluetooth: btmtk: Validate the firmware layout before parsing it

Pauli Virtanen <[email protected]>
Bluetooth: L2CAP: hold chan in l2cap_ecred_conn_rsp()

Pauli Virtanen <[email protected]>
Bluetooth: L2CAP: hold l2cap_conn::lock in l2cap_connect_cfm()

Pauli Virtanen <[email protected]>

    Bluetooth: L2CAP: take chan->lock for l2cap_chan_add/ready/del

Chris Lu <[email protected]>
Bluetooth: btmtksdio: Pass the hardware device id to mt79xx_setup()

Chris Lu <[email protected]>
Bluetooth: btmtksdio: Remove redundant firmware filename override

Mohamad Raizudeen <[email protected]>
PCI: Fix out-of-bounds MMIO read in nvme_disable_and_flr()

Marek Szyprowski <[email protected]>
ARM: 9519/1: dma-mapping: Fix wrong free function in __iommu_alloc_simple() error path

Karl Mehltretter <[email protected]>
ARM: 9492/1: alignment: fix LSR #32 and ASR #32 offset decoding

Karl Mehltretter <[email protected]>
ARM: 9486/1: set !LPAE MAX_PHYSMEM_BITS to 32 and remove supersection mappings

Atul Akella <[email protected]>
rpmsg: virtio: fix error handling in TX buffer wait

Patrick Oppenlander <[email protected]>
rpmsg: virtio: EPOLLOUT support

Dr. David Alan Gilbert <[email protected]>
rpmsg: virtio: Remove uncallable offchannel functions

Avi Weiss <[email protected]>
rpmsg: mtk: release channel OF node on device teardown

HyeongJun An <[email protected]>
ASoC: codecs: wm8510: Fix definition of ADC Inversion Switch control

HyeongJun An <[email protected]>
ASoC: codecs: wm8750: Fix definition of ALC Capture NG Type control

HyeongJun An <[email protected]>
ASoC: codecs: wm5100: Fix definition of EQ3 Band 1 Volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8737: Fix definition of zero cross switches

HyeongJun An <[email protected]>
ASoC: codecs: wm_hubs: Fix definition of MIXINR to MIXOUTR volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8955: Fix definition of Treble Cutoff control

HyeongJun An <[email protected]>
ASoC: codecs: wm8994: Fix definition of WM8958 noise gate hold time controls

HyeongJun An <[email protected]>
ASoC: codecs: wm8985: Fix definition of ADC 128x Oversampling control

HyeongJun An <[email protected]>
ASoC: codecs: wm8983: Fix definition of ADC 128x Oversampling control

HyeongJun An <[email protected]>
ASoC: codecs: wm8991: Fix definition of LOMIX AINLMUX Bypass Volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8991: Fix definition of right input PGA controls

HyeongJun An <[email protected]>
ASoC: codecs: wm8990: Fix definition of LOMIX AINLMUX Bypass Volume control

HyeongJun An <[email protected]>
ASoC: codecs: wm8990: Fix definition of right input PGA controls

Tim Douglas <[email protected]>
serial: pmac_zilog: report received breaks

Karl Mehltretter <[email protected]>
serial: ma35d1: Do not force-enable an unselected console

Muhammad Bilal <[email protected]>
platform/x86: hp-bioscfg: fix oops on short integer attribute buffer

Muhammad Bilal <[email protected]>
platform/x86: hp-bioscfg: validate SPM state returned by firmware

Muhammad Bilal <[email protected]>
platform/x86: hp-bioscfg: fix off-by-one in password length check

Cen Zhang <[email protected]>
ALSA: pcm: Unlink substreams before releasing them

Johannes Berg <[email protected]>
wifi: cfg80211: track SSID regardless of country data

Julian Anastasov <[email protected]>
ipvs: fix buffer overflow when sending sync messages

Binbin Deng <[email protected]>
module: Fix uninitialized count read of unloaded taint tracking record

Kees Cook <[email protected]>
mm/slab: Mark the kmem_buckets_create() context as a Context: section

Vlastimil Babka <[email protected]>
mm, slab: add kerneldocs for common SLAB_ flags

Karl Mehltretter <[email protected]>
thermal: ti-soc-thermal: Fix the return value in ti_bandgap_get_sensor_data() kernel-doc

Florian Fainelli <[email protected]>
tools/thermal/tmon: Fix string truncation warning in optarg copy

Weigang He <[email protected]>
thermal/drivers/sprd: validate the sensor id from the device tree

Takashi Iwai <[email protected]>
ALSA: usb-audio: Use fixed control index for us16x08 mixer elements

Cen Zhang <[email protected]>
ALSA: vmaster: Serialize hook registration with control callbacks

Takashi Iwai <[email protected]>
ALSA: line6: Use kzalloc() for PCM buffer allocation

Takashi Iwai <[email protected]>
ALSA: pcm: Protect delay DMA sync in forward and rewind, too

Takashi Iwai <[email protected]>
ALSA: jack: Fix kctl free at error in snd_jack_kctl_new()

Amadeusz Sławiński <[email protected]>
ALSA: pcm: Fix driver_tstamp value reporting

Karl Mehltretter <[email protected]>
kcov: report spurious PCs in the interrupt selftest

Karl Mehltretter <[email protected]>
resource, kunit: stop selecting GET_FREE_REGION

Nguyen Ngoc Thang <[email protected]>
ocfs2: validate chunk and block counts of the local quota file

Joseph Qi <[email protected]>
ocfs2: fix possible deadlock between nfs_sync_rwlock and fs_reclaim

Joseph Qi <[email protected]>
ocfs2: retain all security xattrs during inode creation

Zhiling Zou <[email protected]>
lib: validate in-memory LZ4 chunk length

Bart Van Assche <[email protected]>
scsi: scsi_debug: Fix a locking bug in resp_write_same()

Runyu Xiao <[email protected]>
ASoC: codecs: wcd937x: request watchdog IRQs without devm

Priyanka Mani <[email protected]>
ASoC: mediatek: mt8365: Fix out-of-bounds read in get_iir_coef()

Karl Mehltretter <[email protected]>
sh: sh7785lcr: Register the PCA9564 controller as I2C bus 0

bui duc phuc <[email protected]>
ASoC: atmel-i2s: use optional API for gclk

bui duc phuc <[email protected]>
ASoC: atmel-i2s: use optional API for muxclk

bui duc phuc <[email protected]>
ASoC: atmel-i2s: fix MCK generator error handling

bui duc phuc <[email protected]>
ASoC: intel: atom: Fix .shutdown() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: Intel: atom: Use scoped_guard() for scoped locking

bui duc phuc <[email protected]>
ASoC: intel: atom: Use __free(kfree) for stream pointer

bui duc phuc <[email protected]>
ASoC: imx-pcm-rpmsg: Fix imx_rpmsg_pcm_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: atmel: atmel-pcm-pdc: Fix atmel_pcm_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: yc: Fix acp6x_pdm_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: vangogh: Fix acp5x_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: renoir: Fix acp_pdm_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: raven: Fix acp3x_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: ps: Fix acp63_sdw_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: ps: Fix acp63_pdm_dma_close() being skipped on rollback

bui duc phuc <[email protected]>
ASoC: amd: acp: Fix .close() being skipped on rollback

Mingxuan Guo <[email protected]>

    firmware: cs_dsp: clear dsp->running on the cs_dsp_run() error path

Yao Sang <[email protected]>
nvme: pass partition flags to passthrough checks

Sung Byeongchan <[email protected]>
nvmet-auth: reject undersized AUTH_SEND payloads

Palla Raghunath <[email protected]>
nvmet-fc: don't drop the last assoc reference in nvmet_fc_delete_ctrl()

Surabhi Gogte <[email protected]>
nvme-tcp: store and use the caller's network namespace

Peijie Shao <[email protected]>
nvme-tcp: fix selinux denied when calling sock_sendmsg

Heiko Carstens <[email protected]>
s390/uprobes: Fix off-by-one bug in emulated PER handling

Heiko Carstens <[email protected]>
s390/ptrace: Preserve ILC when updating system call number

Konrad Dybcio <[email protected]>
clk: qcom: rcg2: Clear force enable after rate failure

Konrad Dybcio <[email protected]>
clk: qcom: rcg2: Propagate force-enable status errors

Konrad Dybcio <[email protected]>
clk: qcom: rcg2: Initialize shared floor clock state

Abel Vesa <[email protected]>
clk: qcom: mmcc-msm8960: Configure PLL15 only on APQ8064

Abel Vesa <[email protected]>
clk: qcom: mmcc-sdm660: Fix MDSS AHB clock HWCG register offset

Abel Vesa <[email protected]>
clk: qcom: mmcc-msm8996: Fix FD AHB clock register offset

Konrad Dybcio <[email protected]>
clk: qcom: gcc-x1e80100: Don't poll the status bit of GCC_USB4_n_SYS_CLK

Yuho Choi <[email protected]>
bus: arm-cci: Drop cci-control-port node reference in __cci_ace_get_port()

Yuho Choi <[email protected]>
bus: arm-cci: Drop CPU node reference in cci_ace_init_ports()

Linkai Gong <[email protected]>
char: scx200_gpio: check cdev_add() return value

Sasha Levin <[email protected]>
tools: hv: remove unused rte_smp_mb()

Weigang He <[email protected]>
thermal/drivers/ti-soc-thermal: Cancel pending alert work on remove

Yogesh Gaur <[email protected]>
comedi: pcmuio: validate the IRQs supplied by userspace

Yogesh Gaur <[email protected]>
comedi: pcmmio: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: dmm32at: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: dt2814: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: ni_atmio16d: validate the IRQ supplied by userspace

Yogesh Gaur <[email protected]>
comedi: comedi_parport: validate the IRQ supplied by userspace

Thomas Fourier <[email protected]>
net: alacritech: fix dma_free_coherent() in error path

Weiming Shi <[email protected]>
fs/ntfs3: do not mark frame pages uptodate on read error

Konstantin Komarov <[email protected]>
fs/ntfs3: remove ntfs_bio_pages and use page cache for compressed I/O

Matthew Wilcox (Oracle) <[email protected]>
ntfs: Do not kmap pages used for reading from disk

Ethan Ferguson <[email protected]>
ntfs3: add FS_IOC_SETFSLABEL ioctl

Ethan Ferguson <[email protected]>
ntfs3: add FS_IOC_GETFSLABEL ioctl

Tapio Reijonen <[email protected]>

    serial: max310x: don't power down the port mid-transmission on close

Tapio Reijonen <[email protected]>

    serial: max310x: fix RS485 delays being programmed as bit-times

Tapio Reijonen <[email protected]>

    serial: max310x: centralize the RS485 transceiver programming

Tapio Reijonen <[email protected]>

    serial: max310x: fix breaks not reaching the wire in RS485 mode

Tapio Reijonen <[email protected]>

    serial: max310x: don't clobber the TX break bit in set_termios

Jiayuan Chen <[email protected]>
tcp_cubic: fix divide by zero and endless loop on bad module params

Jiayuan Chen <[email protected]>

    tcp_hybla: fix divide by zero on rtt0 == 0

Jiayuan Chen <[email protected]>

    tcp_bic: fix divide by zero on max_increment == 0

Jeff Chen <[email protected]>
wifi: mwifiex: append hotfix number to firmware version string

Chien Wong <[email protected]>
wifi: mac80211: reserve MME tailroom for protected beacons

Chien Wong <[email protected]>
wifi: mac80211: fix encryption tailroom

Yonatan Nachum <[email protected]>
RDMA/efa: Fix race between admin command timeout and completion

Haitam Lazaar <[email protected]>
RDMA/siw: Enforce IB_ACCESS_REMOTE_READ for read responses

Luca Leonardo Scorcia <[email protected]>
clocksource/drivers/timer-mediatek: Fix random crash at boot

Joas Antonio dos Santos <[email protected]>
calipso: hash the cache key, not the option start, in calipso_cache_add()

Manivannan Sadhasivam <[email protected]>
PCI: qcom: Honor IOMMU provider's #iommu-cells in qcom_pcie_config_sid_1_9_0()

Cen Zhang <[email protected]>
ALSA: pcm: Protect delay DMA sync against concurrent HW_FREE

Cen Zhang <[email protected]>
ALSA: rawmidi: Drain input work before freeing the runtime

Myeonghun Pak <[email protected]>
fbdev: gxt4500: Release WC setup on probe failure

Shyam Sundar S K <[email protected]>
platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent stale reuse

Shyam Sundar S K <[email protected]>
platform/x86/amd/pmc: Use managed APIs for mutex

Jiale Yao <[email protected]>
platform/olpc: Reserve space for a string terminator

Aleksandrova Alyona <[email protected]>
platform/x86: intel_telemetry: initialize default trace verbosity

Daasaradhi Mannava <[email protected]>
platform/x86: msi-ec: Report valid charge thresholds when unset

Ahmed Yaseen <[email protected]>
platform/x86: asus-wmi: validate custom fan curves on enable

Ali Ahmet Memiş <[email protected]>
ALSA: hda: intel: Don't free card in the probe work

Cen Zhang <[email protected]>
ALSA: jack: Remove debugfs before freeing unregistered jacks

Dan Carpenter <[email protected]>
mm/hmm/test: reject overflowing page counts

Harry Yoo (Meta) <[email protected]>
selftests/cgroup: ignore memory.reclaim -EAGAIN for zswap writeback test

Jiale Yao <[email protected]>
wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup

Jiale Yao <[email protected]>
wifi: ath11k: avoid IDR mutation during vif mgmt TX cleanup

Jiale Yao <[email protected]>
wifi: ath11k: avoid IDR mutation during pending mgmt TX cleanup

Jiale Yao <[email protected]>
wifi: ath10k: avoid IDR mutation during TX cleanup

Kunwu Chan <[email protected]>
rcutorture: Fix divide-by-zero with fwd_progress_div=1

bui duc phuc <[email protected]>
ASoC: codecs: rt5659: propagate GPIO errors

Roberto Bergantinos Corpas <[email protected]>
nfs: set gencount on protocol-specific remove

Haotian Zhang <[email protected]>
mtd: rawnand: pl353: fix clk reference leak in pl35x_nfc_setup_interface()

bui duc phuc <[email protected]>
power: supply: generic-adc-battery: Propagate charged GPIO errors

Filipe Manana <[email protected]>
btrfs: defrag: fix check to see if next extent can be defragged too

Filipe Manana <[email protected]>
btrfs: fix lost error return value in btrfs_alloc_logged_file_extent()

Filipe Manana <[email protected]>
btrfs: qgroup: fix swapped blocks existence check when tracing after COW

Qu Wenruo <[email protected]>
btrfs: qgroup: do not treat "ret > 0" as error when deleting a qgroup

Filipe Manana <[email protected]>
btrfs: fix off-by-one end offset check in report_setget_bounds()

David Sterba <[email protected]>
btrfs: accessors: inline eb bounds check and factor out the error report

David Sterba <[email protected]>
btrfs: accessors: use type sizeof constants directly

David Sterba <[email protected]>
btrfs: accessors: simplify folio bounds checks

David Sterba <[email protected]>
btrfs: accessors: delete token versions of set/get helpers

David Sterba <[email protected]>
btrfs: don't use token set/get accessors in inode.c:fill_inode_item()

David Sterba <[email protected]>
btrfs: don't use token set/get accessors for btrfs_item members

Filipe Manana <[email protected]>
btrfs: fix incomplete iteration over fs state when logging messages

Johannes Thumshirn <[email protected]>
btrfs: zoned: fix double list add in btrfs_load_block_group_zone_info

Filipe Manana <[email protected]>
btrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root()

Filipe Manana <[email protected]>
btrfs: fix off by one super block end offset calculation when writing super blocks

Qu Wenruo <[email protected]>
btrfs: refactor read_key_bytes() to remove the dest_folio parameter

Tal Zussman <[email protected]>
block: honor IOCB_NOWAIT in the block device buffered read path

Tal Zussman <[email protected]>
block: use iomap_dirty_folio for block devices

Jiale Yao <[email protected]>
ACPI: PCI: pci_link: clear driver_data before free

Adrián Larumbe <[email protected]>
drm/panfrost: Explicitly enable MMU interrupts at device init

Ali Ahmet Memiş <[email protected]>
ALSA: control_led: Fix deadlock between sysfs writes and card disconnect

Takashi Iwai <[email protected]>
ALSA: control: Relax __free() variable declarations

Mikulas Patocka <[email protected]>
dm-snapshot: make the chunk list sorted by the chunk number

Yuan Chen <[email protected]>
bpftool: Fix out-of-bounds read in kprobe_multi link info dump

Prathamesh Deshpande <[email protected]>
RDMA/mlx5: Cancel software CQ notifications before teardown

Mark Zhang <[email protected]>
RDMA/mlx5: Support driver APIs pre_destroy_cq and post_destroy_cq

Prathamesh Deshpande <[email protected]>
RDMA/mlx5: Cancel deferred page-fault EQ work before teardown

Ting-Han Hou <[email protected]>
ALSA: virtio: reset I/O message fill level on prepare

Cen Zhang <[email protected]>
ALSA: timer: Pin the module for userspace timer controllers

Anup Vishwakarma <[email protected]>
mailbox: qcom-ipcc: remove stray disable_irq_wake() call

Linkai Gong <[email protected]>
mailbox: arm_mhuv2: time out if the receiver never comes up

Beleswar Padhi <[email protected]>
mailbox: ti-msgmgr: Read exact number of trailing message bytes

Breno Leitao <[email protected]>
mailbox: pcc: Free the channel before unmapping the shared memory

Sang-Hoon Choi <[email protected]>
xhci: dbc: lock the minor IDR on registration failure

Kumar Kartikeya Dwivedi <[email protected]>
bpf, riscv: Fix stack-passed arguments for indirect trampolines

Kees Cook <[email protected]>
kbuild: Mark the initcall ordering recipe as recursive

Maxim Skokov <[email protected]>
bpf: test_run: Fix false -EBADMSG after skb leaves CHECKSUM_COMPLETE

Takashi Iwai <[email protected]>
ALSA: hda: Add NULL check for the driver pointer at unsol event work

Ting-Han Hou <[email protected]>
scripts/make_fit: Ignore schema checks when decomposing DTBs

Ting-Han Hou <[email protected]>
clang-tools: Import os for broken pipe handling

Leizhen Zhang <[email protected]>
kconfig: fix infinite loop in conf_choice() when no choice value is visible

Jiale Yao <[email protected]>
vfio/pci: Drain eventfd RCU callbacks on module exit

Leon Romanovsky <[email protected]>
PCI/P2PDMA: Gate the host bridge whitelist warning on verbose

Leon Romanovsky <[email protected]>
PCI/P2PDMA: Safely terminate ACS redirect lists

Antoni Pokusinski <[email protected]>

    rtc: abx80x: properly handle shared IRQs

Antoni Pokusinski <[email protected]>

    rtc: abx80x: fix error check after i2c_smbus_read in read_alarm()

Leo Cheng <[email protected]>
nvmem: layouts: onie-tlv: fix device_node reference leak in error path

Leo Cheng <[email protected]>
nvmem: layouts: sl28vpd: fix device_node reference leak in error path

Felix Fietkau <[email protected]>
wifi: mac80211: use link address as TA for non-MLO 4-addr station on MLD AP

Johannes Berg <[email protected]>
wifi: cfg80211: reg: protect regdb pointer with RCU

Johannes Berg <[email protected]>
wifi: mac80211: fix mbssid/rnr allocation in beacon data

Aloka Dixit <[email protected]>
wifi: mac80211: remove redundant null check in ieee80211_assign_beacon()

Johannes Berg <[email protected]>
wifi: mac80211: limit injected HT/VHT MCSes

Johannes Berg <[email protected]>
wifi: mac80211: init radiotap iter after length checks

Johannes Berg <[email protected]>
wifi: mac80211: kill wake_txqs_tasklet on unregistration

Johannes Berg <[email protected]>

    wifi: mac80211: mesh: use hlist_add_head_rcu()

Johannes Berg <[email protected]>
wifi: mac80211: clear fragment cache entry 'is_protected'

Johannes Berg <[email protected]>
wifi: ath6kl: don't take RTNL in del_virtual_intf

Takashi Iwai <[email protected]>
ALSA: hda: intel: Cancel delayed work at shutdown, too

Takashi Iwai <[email protected]>
ALSA: line6: Fix potential OOB write in line6_capture_copy()

Takashi Iwai <[email protected]>
ALSA: line6: Reject too small max packet sizes

Takashi Iwai <[email protected]>
ALSA: usb: us16x08: Fix racy accesses of mixer elements

Takashi Iwai <[email protected]>
ALSA: usb-audio: Fix data race at mixer_ctl_feature_info()

Kuninori Morimoto <[email protected]>
ALSA: usb: mixer: use snd_kcontrol_chip()

Takashi Iwai <[email protected]>
ALSA: caiaq: Fix races at MIDI URB and trigger accesses

Karl Mehltretter <[email protected]>
gpu: buddy: Drop the stale @p line from the gpu_buddy_print() kernel-doc

Jan Beulich <[email protected]>
x86/PVH: don't truncate initrd address/size

Gui-Dong Han <[email protected]>
xen/blkback: Prevent missed completion when draining I/O

Ruoyu Wang <[email protected]>
xen/pcifront: Fix PCI device reference leak in AER handling

Haotian Zhang <[email protected]>
cpufreq: qcom-cpufreq-hw: fix device node refcount leak in phandle parsing

Jake Labelle <[email protected]>
nilfs2: reject non-regular inodes in dsync recovery

Michał Kopeć <[email protected]>
ASoC: mediatek: mt8188: Constrain UL8 FE to its back end's capabilities

Kuninori Morimoto <[email protected]>
ASoC: mediatek: remove dpcm_xxx flags

Michał Kopeć <[email protected]>
ASoC: mediatek: common: Keep codec references until the card is bound

Rosen Penev <[email protected]>
crypto: talitos - init tasklets before requesting IRQs

Rosen Penev <[email protected]>
crypto: talitos - Use platform_get_irq() to retrieve interrupt

Rosen Penev <[email protected]>
crypto: talitos - use devm_platform_ioremap_resource()

Rosen Penev <[email protected]>
crypto: talitos - allocate channels with main struct

George Abraham P <[email protected]>
crypto: qat - force an edge when re-enabling all VF2PF interrupts

Takashi Iwai <[email protected]>
ALSA: hda: Don't free card at probe error in vga_switcheroo handler

Takashi Iwai <[email protected]>
ALSA: hda/intel: Move firmware loading into the probe work

Takashi Iwai <[email protected]>
ALSA: hda: Avoid non-operational GPU warning at regular device removal

Takashi Iwai <[email protected]>
ALSA: info: Fix memory leak at card removal

Takashi Iwai <[email protected]>
ALSA: seq: Fix missing direction and ump_group handling in 32bit compat ioctl

Takashi Iwai <[email protected]>

    ALSA: core: Add missing barriers for power_ref vs card->shutdown

Takashi Iwai <[email protected]>
ALSA: pcmtest: Fix a bogus pointer read in snd_pcmtst_pcm_pointer()

Takashi Iwai <[email protected]>
ALSA: usb-audio: Fix invalid UAC2/3 mixer unit matrix evaluation

Takashi Iwai <[email protected]>
ALSA: usb-audio: Check mixer matrix size for UAC2/3 at parsing

Takashi Iwai <[email protected]>
ALSA: hda: Fix potential UAF for gating jack

Krzysztof Wilczyński <[email protected]>
PCI/sysfs: Handle a malformed _DSM result in acpi_attr_is_visible()

Krzysztof Wilczyński <[email protected]>
PCI/sysfs: Stop reporting _DSM failures as -EPERM

bui duc phuc <[email protected]>
ASoC: mediatek: mt8365: Handle constraint return value in FE startup

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: Handle constraint return value in FE startup

bui duc phuc <[email protected]>
ASoC: mediatek: common: Handle constraint return value in FE startup

Melissa Wen <[email protected]>
drm/amd/display: copy function name into dcn_optc_lock_unlock_state trace event

Melissa Wen <[email protected]>
drm/amd/display: copy function name into dcn_fpu trace event

Melissa Wen <[email protected]>
drm/amd/display: use right type for amdgpu_dc_performance event entries

Melissa Wen <[email protected]>
drm/amd/display: fix vready offset assignment in dcn_optc_lock_unlock_state

Melissa Wen <[email protected]>
drm/amd/display: remove duplicated prev_p_state_change_support assignment

Melissa Wen <[email protected]>
drm/amd/display: assign missing trace entry in amdgpu_dm_dc_clocks_state

Ting-Han Hou <[email protected]>
checkkconfigsymbols.py: Parse Git status output line by line

Felix Fietkau <[email protected]>
wifi: mt76: mt792x: compute the assoc RSSI from the chain signals

Karl Mehltretter <[email protected]>
kobject: Fix the kobj_set_name reference in kset_register() kernel-doc

bui duc phuc <[email protected]>
ASoC: rockchip: rockchip_i2s: Handle runtime PM resume failures in set_fmt

John Crispin <[email protected]>
wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup

Felix Fietkau <[email protected]>
wifi: mt76: mt7996: fix PLE free page and AC queue register offsets

Cristian Papa <[email protected]>
wifi: mt76: feed the station RSSI average from the chain signals

Pengpeng Hou <[email protected]>
wifi: mt76: mt7615: validate MCU response lengths

Ahmed Naseef <[email protected]>
wifi: mt76: mt7615: read MT7663 temperature from the correct offset

Ryan Leung <[email protected]>

    wifi: mt76: fix wcid->pktid corruption in mt76_wcid_cleanup()

Cristian Papa <[email protected]>
wifi: mt76: mt7603: don't drop short frames looped back on PS entry

Jiale Yao <[email protected]>
wifi: mt76: mt7615: usb: fix source overread in mt7663u_copy

Jiale Yao <[email protected]>
wifi: mt76: usb: fix source overread in mt76u_copy

Mark Anthony Agarro <[email protected]>
wifi: mt76: mt7925: keep the join ROC until the station is authorized

Mark Anthony Agarro <[email protected]>
wifi: mt76: mt7921: keep the join ROC until the station is authorized

Jiale Yao <[email protected]>
wifi: mt76: mt76x02: validate RX padding before use

Ryan Leung <[email protected]>
wifi: mt76: fix wcid teardown ordering in mt76_reset_device()

Ryan Leung <[email protected]>
wifi: mt76: fix unlocked wcid check in mt76_tx_status_skb_add()

Ryan Leung <[email protected]>
wifi: mt76: mt7915: publish wcid before MCU add commands

Devin Wittmayer <[email protected]>
wifi: mt76: mt7921: honour FIF_FCSFAIL instead of hardcoding drop_err

Mark Anthony Agarro <[email protected]>
wifi: mt76: mt7925: honour mac80211's FIF_FCSFAIL instead of hardcoding drop_err

Devin Wittmayer <[email protected]>
wifi: mt76: mt7925: fix the lock inversion in suspend and resume

Devin Wittmayer <[email protected]>
wifi: mt76: mt7921: fix the lock inversion in suspend and resume

Felix Fietkau <[email protected]>
wifi: mt76: mt7925: restore the reset state when fw_pmctrl fails

Devin Wittmayer <[email protected]>
wifi: mt76: mt7925: check drv_pmctrl return in the PCIe reset path

Devin Wittmayer <[email protected]>
wifi: mt76: mt7921: check drv_pmctrl return in the PCIe reset path

Devin Wittmayer <[email protected]>

    wifi: mt76: mt7925: fix lock inversion between dev->mutex and iflist_mtx

Devin Wittmayer <[email protected]>

    wifi: mt76: mt7921: fix lock inversion between dev->mutex and iflist_mtx

Felix Fietkau <[email protected]>
wifi: mt76: mt7915: guard firmware memory dump write on disabled memdump

Felix Fietkau <[email protected]>
wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure

Felix Fietkau <[email protected]>
wifi: mt76: mt7996: validate firmware event lengths before parsing

Felix Fietkau <[email protected]>
wifi: mt76: mt7915: check default EEPROM firmware size before copying

Jiale Yao <[email protected]>
pinctrl: sprd: free maps on DT map failure

Leizhen Zhang <[email protected]>
gen_init_cpio: stop parsing on lines with a missing argument list

Takashi Iwai <[email protected]>
ALSA: caiaq: Allow zero-length packet handling for EP1

Priyank Rathod <[email protected]>
PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()

Joseph Qi <[email protected]>
ocfs2: reject inconsistent xattr bucket during defrag

Joseph Qi <[email protected]>
ocfs2: allow xattr bucket entries to span multiple blocks

Wilson Felipe Pereira <[email protected]>
init/main: fix false-positive kernel panic on environment variable overwrite

Wilson Felipe Pereira <[email protected]>
init/main: fix off-by-one in argv_init cleanup

Florian Schmaus <[email protected]>
selftests/epoll: fix race condition in multi-waiter wakeup tests

Joseph Qi <[email protected]>
ocfs2: fix deadlock in inline-data truncate transactions

Petr Vorel <[email protected]>
checkpatch: skip CamelCase cache for --no-tree without root

Wilson Felipe Pereira <[email protected]>
selftests/cgroup: test_zswap: fix implicit unsigned promotion bug in test_no_kmem_bypass

Li Wang <[email protected]>
selftests/cgroup: replace hardcoded page size values in test_zswap

Li Wang <[email protected]>
selftests/cgroup: use runtime page size for zswpin check

Li Wang <[email protected]>
selftests/cgroup: avoid OOM in test_swapin_nozswap

Li Wang <[email protected]>
selftests/cgroup: skip test_zswap if zswap is globally disabled

Jiayuan Chen <[email protected]>
selftests/cgroup: add test for zswap incompressible pages

Guopeng Zhang <[email protected]>
selftests/cgroup: conform test to KTAP format output

Michal Koutný <[email protected]>
selftests: cgroup: Optionally set up v1 environment

Ryusuke Konishi <[email protected]>
nilfs2: fix link count underflow when removing corrupted directory

Roberto Bergantinos Corpas <[email protected]>
NFS: return DENIED in decode_lock_denied if we cannot decode owner

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_handler(): fix race condition between transfer completion and RX FIFO interrupt

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_transfer_one(): fix setting of clock rate

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_fill_fifo(): always apply A10 FIFO fill level workaround

Marc Kleine-Budde <[email protected]>
spi: spi-sun4i: sun4i_spi_transfer_one(): fix transfers for SUN4I_FIFO_DEPTH

Linus Walleij <[email protected]>
dt-bindings: dma: dma40: Restore disabled-channels

Jason Gunthorpe <[email protected]>
efi/libstub: Free cmdline_ptr in efi_pe_entry

Vincent Mailhol <[email protected]>
efi/libstub: make local GUID variables static

Ard Biesheuvel <[email protected]>
x86/efistub: Merge PE and handover entrypoints

Ard Biesheuvel <[email protected]>
efi/libstub: Use cleanup helpers for freeing copies of the memory map

Ard Biesheuvel <[email protected]>
efi/libstub: Simplify PCI I/O handle buffer traversal

Ard Biesheuvel <[email protected]>
efi/libstub: Simplify GOP handling code

Ard Biesheuvel <[email protected]>
efi/libstub: Use C99-style for loop to traverse handle buffer

Ard Biesheuvel <[email protected]>
x86/efistub: Drop long obsolete UGA support

Nicolas Saenz Julienne <[email protected]>
x86/efi: Drop support for the EFI_PROPERTIES_TABLE

Jason Gunthorpe <[email protected]>
efi/riscv: libstub: Don't set image_size in handle_kernel_image()

Jason Gunthorpe <[email protected]>
efi/libstub: Fix error unwind freeing fdt in allocate_new_fdt_and_exit_boot()

Pengpeng Hou <[email protected]>
sh: defconfig: Enable the current M66592 UDC symbol

Florian Fuchs <[email protected]>
sh: uaccess: Require offsettable operands for 64-bit user access

Aurelien Jarno <[email protected]>
riscv: fix RVG_SYSTEM_CSR_MASK width mask

Eric Dumazet <[email protected]>
ipv4: reserve one IP ID per segment for UDP GSO packets

Eric Dumazet <[email protected]>
ipv4: fix IP ID reuse in ip_select_ident_segs()

Chen-Yu Tsai <[email protected]>
arm64: dts: allwinner: sun50i-h6: Add missing IOMMU for video engine

Chen-Yu Tsai <[email protected]>
arm64: dts: allwinner: sun50i-h6: Add missing SRAM region for video engine

Mike Snitzer <[email protected]>
pNFS/flexfiles: don't reset to MDS for v4 error when previous layout forbid it

Mike Snitzer <[email protected]>
pNFS/flexfiles: don't read through MDS when previous layout forbid it

Mike Snitzer <[email protected]>
pNFS/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS over the mdsthreshold hint

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate memcpy configuration

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate fixed physical channel indexes

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix V4B event group mapping

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix event group bounds

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix logical channel bounds check

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Reject direction changes after allocation

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate DMA specifier length

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Validate disabled channel indexes

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix memcpy channel parsing

Rosen Penev <[email protected]>
dmaengine: ste_dma40: turn d40_base phy_chans into a flexible array

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Put the LCPA SRAM node

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix probe LCLA free

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix LCLA allocation order

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix DMA registration unwind

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix probe IRQ leak

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Init hardware before registration

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Return IRQ_NONE when no interrupt is pending

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Handle runtime PM resume errors

Sakari Ailus <[email protected]>
dmaengine: ste_dma40: Remove redundant pm_runtime_mark_last_busy() calls

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Check runtime PM in IRQ

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix probe runtime PM disable

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix failed start cleanup

Linus Walleij <[email protected]>
dmaengine: ste_dma40: Fix physical cyclic capability

Roman Demidov <[email protected]>
drm/msm/a6xx: fix use-after-free of OPP in a6xx_pm_resume

Jiale Yao <[email protected]>
wifi: ath12k: Reserve space for a string terminator

Guangshuo Li <[email protected]>
floppy: unregister platform device on add_disk failure

Yang Xiuwei <[email protected]>
floppy: avoid NULL deref in reset_interrupt when cont is cleared

Karl Mehltretter <[email protected]>
floppy: flush pending work before releasing resources on init failure

Jérémy Jean <[email protected]>
NFS: filelayout: calculate dense stripe width in 64 bits

Chuck Lever <[email protected]>
SUNRPC: treat every client-side TLS error alert as fatal

Chuck Lever <[email protected]>
SUNRPC: reject a client-side TLS alert record that is not two octets

Logan Gunthorpe <[email protected]>
dmaengine: plx_dma: fix NULL pointer deref in plx_dma_isr()

Logan Gunthorpe <[email protected]>
dmaengine: ioat: disable relaxed ordering before registering the device

Aloka Dixit <[email protected]>
Revert "wifi: mac80211: do not use old MBSSID elements"

Dan Carpenter <[email protected]>
wifi: carl9170: NUL terminate string in debugfs

Dan Carpenter <[email protected]>
wifi: b43legacy: debugfs: NUL terminate string in debugfs

Dan Carpenter <[email protected]>
wifi: b43: don't pass unterminated string to sscanf()

Dominic White <[email protected]>
wifi: cfg80211: allow zero HE OBSS PD offsets

Yibo Tan <[email protected]>
soc: qcom: pmic_pdcharger_ulog: prevent work requeue during remove

Konrad Dybcio <[email protected]>
soc: qcom: pmic_glink: Avoid losing early rpmsg probe

Krzysztof Kozlowski <[email protected]>
soc: qcom: pmic_glink: simplify locking with guard()

Mukesh Ojha <[email protected]>
firmware: qcom: tzmem: Use DO_ONCE_SLEEPABLE() in qcom_tzmem_enable()

Joonhoe Kim <[email protected]>
drm/msm/dpu: round up the compressed INTF width

Xueqin Luo <[email protected]>
cpufreq: sti: avoid NULL dereference in dev_err()

Xueqin Luo <[email protected]>
cpufreq: tegra194: fix double-pointer error in get_cpu_ndiv

Xueqin Luo <[email protected]>
cpufreq: sparc-us2e: fix frequency table index copy-paste error

Karl Mehltretter <[email protected]>
svcrdma: Fix svc_rdma_recv_cid_init() kernel-doc

hpp.iscas <[email protected]>
perf/marvell: cn10k_tad: Publish the OF module alias

Hongyan Xu <[email protected]>
ASoC: mt6359-accdet: manage private workqueues with devres

Yaozhong Li <[email protected]>
arm64: dts: rockchip: disable unused i2s0 on rk3399-firefly

Yaozhong Li <[email protected]>
arm64: dts: rockchip: fix analog headphone output on rk3399-firefly

Detlev Casanova <[email protected]>
arm64: dts: rockchip: Rename rk3566 and rk3568 HDMI audio cards

Dragan Simic <[email protected]>
arm64: dts: rockchip: Prepare RK356x SoC dtsi files for per-variant OPPs

Dragan Simic <[email protected]>
arm64: dts: rockchip: Update CPU OPP voltages in RK356x SoC dtsi

Linus Walleij <[email protected]>
ARM: dts: ux500: Use AB8505 charger compatible

Detlev Casanova <[email protected]>
arm64: dts: rockchip: Rename rk3328 HDMI audio card

Jiale Yao <[email protected]>
ASoC: rt722-sdca: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt712-sdca: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt711-sdca: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt711-sdw: always cancel jack work on remove

Jiale Yao <[email protected]>
ASoC: rt5682-sdw: always cancel jack work on remove

Linus Walleij <[email protected]>
power: supply: ab8500_fg: Avoid reserved AB8505 CCConf bit

Linus Walleij <[email protected]>
power: supply: ab8500_fg: Finalize current measurements

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Recover inactive AB8505 charger

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Retry AB8505 USB detection

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Skip absent AB8505 main charger

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Handle detection errors

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Respect AB8505 register layout

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Decode AB8505 USB status

Linus Walleij <[email protected]>
power: supply: ab8500_charger: Fix AC charger re-enable

Linus Walleij <[email protected]>
power: supply: ab8500: Preserve battery termination current

Linus Walleij <[email protected]>
power: supply: ab8500_btemp: Fix event temperature reporting

HyeongJun An <[email protected]>
selftests/alsa: Do not take another control's event as our own

Guangshuo Li <[email protected]>
spi: bcm63xx-hsspi: Disable runtime PM on remove

Guangshuo Li <[email protected]>
spi: fsl: unmap immr_spi_cs on remove

Johan Hovold <[email protected]>
spi: fsl: switch to managed controller allocation

Ruoyu Wang <[email protected]>
perf/dwc_pcie: Fix PCI device reference leak in probe

Dave Jiang <[email protected]>
perf/cxl: Clear stale overflow status before using a counter

Dave Jiang <[email protected]>
perf/cxl: Don't log through pmu.dev in the overflow interrupt handler

Dave Jiang <[email protected]>
perf/cxl: Validate the hardware-reported counter width

Dave Jiang <[email protected]>
perf/cxl: Unfreeze counters after handling an overflow interrupt

Dave Jiang <[email protected]>
perf/cxl: Don't share the overflow interrupt, and keep it pinned

Dave Jiang <[email protected]>
perf/cxl: Accept an overflow interrupt on MSI message number 0

Dave Jiang <[email protected]>
perf/cxl: Fix the counter overflow delta fixup

Dave Jiang <[email protected]>
perf/cxl: Clear stale event fields before reprogramming a counter

Dave Jiang <[email protected]>
perf/cxl: Program the requested event group on configurable counters

Jan Stancek <[email protected]>
.gitignore: drop Module.markers

Linus Walleij <[email protected]>
dt-bindings: power: supply: ab8500: Add AB8505 charger

Zhihao Cheng <[email protected]>

    md: Fix the null-ptr-deref of 'mddev->private' while submitting IO

Ryan Brue <[email protected]>
power: supply: bq24190_charger: don't reset registers across system suspend

Sakari Ailus <[email protected]>
power: supply: bq24190: Remove redundant pm_runtime_mark_last_busy() calls

Chen-Yu Tsai <[email protected]>
dt-bindings: media: sun4i-a10-video-engine: Fix IOMMU count for H6

Sang-Hoon Choi <[email protected]>
md/raid5: protect big_stripe_tree lookup with RCU

Linkai Gong <[email protected]>
clk: imx: composite-93: return timeout from gate enable

Li Youhong <[email protected]>
md/raid5: drain released_stripes before destroying the cache

Nguyen Ngoc Thang <[email protected]>
md: take reconfig_mutex when enabling PPL on an inactive array

Aristo Chen <[email protected]>
phy: freescale: fsl-samsung-hdmi: initialize default rate

Pei Xiao <[email protected]>
phy: freescale: fsl-samsung-hdmi: Use helper function devm_clk_get_enabled()

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Support dynamic integer

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Simplify REG21_PMS_S_MASK lookup

Adam Ford <[email protected]>
phy: freescale: fsl-samsung-hdmi: Replace register defines with macro

Laurence Oberman <[email protected]>
scsi: st: Record the tape position after a successful MTLOAD

Laurence Oberman <[email protected]>
scsi: st: Restore changed drive settings after reset also for MTLOAD and MTRETEN

Niklas Cassel <[email protected]>
scsi: scsi_debug: Validate the access parameters of WRITE ATOMIC (16)

Niklas Cassel <[email protected]>
scsi: scsi_debug: Map the region written by WRITE ATOMIC (16)

Niklas Cassel <[email protected]>
scsi: scsi_debug: Refuse a short WRITE ATOMIC (16) before writing it

Niklas Cassel <[email protected]>
scsi: scsi_debug: Take the zone metadata lock before the data lock

Niklas Cassel <[email protected]>
scsi: scsi_debug: Refuse a negative physblk_exp

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Only enable USB3 when not in high-speed mode

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Handle rk_udphy_reset_deassert errors

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Avoid xHCI SErrors

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Rename mode_change to phy_needs_reinit

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Hold mutex in DP PHY configure

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Properly handle TYPEC_STATE_SAFE and TYPEC_STATE_USB

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Drop DP HPD handling

Zhang Yubing <[email protected]>
phy: rockchip: usbdp: Support single-lane DP

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Add missing mode_change update

Frank Wang <[email protected]>
phy: rockchip: usbdp: add rk3576 device match data

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Limit DP lane count to muxed lanes

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Drop seamless DP takeover

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Handle missing clock-names DT property gracefully

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Fix devm_clk_bulk_get_all check

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Do not lose USB3 PHY status

Sebastian Reichel <[email protected]>
phy: rockchip: usbdp: Update mode_change after error handling

Akash Sukhavasi <[email protected]>
phy: HiSilicon: Fix error handling in hi3670_pcie_allclk_ctrl()

Joonhoe Kim <[email protected]>
drm/msm/dpu: compute the CRTC bandwidth from the state being checked

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: handle perf mode in _dpu_core_perf_crtc_update_bus()

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: drop core_clk_rate overrides from _dpu_core_perf_calc_crtc

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: make fix_core_ab_vote consistent with fix_core_ib_vote

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: change ib values to u32

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: extract bandwidth aggregation function

Joonhoe Kim <[email protected]>
drm/msm/dpu: disable the slave encoder before the master

Oleg Keri <[email protected]>
drm/msm/dp: don't report link training success after a reinit

Yuho Choi <[email protected]>
soc/tegra: flowctrl: Release OF node reference on error

Igor Velkov <[email protected]>
arm64: dts: amlogic: meson-sm1-odroid-hc4: run the SPI NOR at 40 MHz

Igor Velkov <[email protected]>
arm64: dts: amlogic: meson-sm1-odroid-hc4: mux the SPI NOR HOLD# and WP# pins

Mostafa Saleh <[email protected]>
iommu/arm-smmu-v3-test: Fix arm_smmu_v3_test_debug_print_used_bits()

Mostafa Saleh <[email protected]>
iommu/arm-smmu-v3: Ensure L2 tables are visible before L1 ptrs

Yuri Zaporozhets <[email protected]>
ASoC: dwc: Use OF match data again for StarFive JH7110

Matthias Goergens <[email protected]>
isofs: return long Joliet names whole

Slavin Liu <[email protected]>
clocksource/drivers/dbx500-prcmu: Check timer register mapping

Thorsten Blum <[email protected]>
hwrng: intel - return -ENOMEM when ioremap() fails

Takashi Iwai <[email protected]>
ALSA: ump: Avoid dereference with max_src_size=0

Liu Dalin <[email protected]>
rtc: ftrtc010: fix integer overflow in time calculation

Thorsten Blum <[email protected]>
hwrng: intel - return -ENOMEM when kmalloc_obj() fails

Herbert Xu <[email protected]>

    crypto: tcrypt - Avoid reading req->base after submission

Karl Mehltretter <[email protected]>
crypto: atmel - handle authenc requests without plaintext

Bartosz Szpila <[email protected]>
platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data

Hemanth Selam <[email protected]>
nvdimm/pmem: Release gendisk on probe failure

Mikko Perttunen <[email protected]>
drm/tegra: Drop reference on postfence

Mikko Perttunen <[email protected]>
drm/tegra: Don't pass an ERR_PTR to drm_syncobj_replace_fence()

Mikko Perttunen <[email protected]>
drm/tegra: Fix syncobj_in wait return value check

Lance Yang <[email protected]>
mm/memory_hotplug: fix missing rollback in __add_pages()

Chuanhong Guo <[email protected]>
pinctrl: mediatek: mt7629: fix the 2.4 GHz Wi-Fi pin mode array

Mario Limonciello <[email protected]>
cpufreq: amd-pstate: Propagate cppc_set_auto_sel() errors on mode change

Mario Limonciello <[email protected]>
cpufreq: amd-pstate: Restore previous mode when changing driver mode fails

Ian Rogers <[email protected]>
perf thread_map: Add thread_map__tgid()

Arnaldo Carvalho de Melo <[email protected]>
perf bpf: Move the LIBBPF_CURRENT_VERSION_GEQ macro to bpf-utils.h

Ian Rogers <[email protected]>
perf trace: Copy sockaddr arguments by their length

Shuming Fan <[email protected]>
ASoC: rt712: avoid duplicate reset in io_init

Yichong Chen <[email protected]>
debugfs: make debugfs_create_str() read-only

Ruoyu Wang <[email protected]>
misc: nsm: fix CBOR short-length decoding

Jasper Wise <[email protected]>
misc: nsm: mark device ready before registering the hwrng and misc device

Linkai Gong <[email protected]>
misc: enclosure: fix UAF on device_register() failure

Omar Ramadan <[email protected]>
amt: pull the AMT header behind the transport header in amt_parse_type()

Yuya Kusakabe <[email protected]>
seg6: fix HMAC validation when an extension header precedes the SRH

Mateusz Nowicki <[email protected]>
arm64: dts: st: fix sai3b unit address on stm32mp231

Weigang He <[email protected]>
ARM: vexpress: fix device_node refcount leak in vexpress_smp_dt_prepare_cpus()

Weigang He <[email protected]>
ARM: vexpress: fix device_node refcount leak in vexpress_flags_set()

Liu Dalin <[email protected]>
rtc: ftrtc010: use devm clock APIs to fix use-after-disable in remove

Liu Dalin <[email protected]>
rtc: ftrtc010: fix clock resource leak on probe failure

André Draszik <[email protected]>
rtc: ftrtc010: drop needless struct ftrtc010_rtc::rtc_dev member

Ze Huang <[email protected]>
drm/imx/lcdc: avoid duplicate clk_per enable

Karl Mehltretter <[email protected]>
OPP: Fix the return value in dev_pm_opp_get_of_node() kernel-doc

Lucas Costa <[email protected]>
staging: sm750fb: free cmap on framebuffer release

Xilin Wu <[email protected]>
drm/msm/dp: Initialize the debugfs connector pointer

Dmitry Baryshkov <[email protected]>
drm/msm/mdp5: drop cursor pipe for msm8x76

Krzysztof Kozlowski <[email protected]>
dt-bindings: display/msm: hdmi: Correct name of disallowed supplies

Krzysztof Kozlowski <[email protected]>
drm/msm: Properly handle msm_ioremap() without name

Przemek Kitszel <[email protected]>
ice: skip stats handling for channel VSIs on rebuild

Qingfang Deng <[email protected]>
ARM: mvebu: fix Cortex-A9 errata selection for Armada 38x

Matthias Goergens <[email protected]>
x86/hibernate: Ignore page-zero RAM in E820 checksum

Nicolo Giuliani <[email protected]>
dt-bindings: vendor-prefixes: Add Sophos

Danish Khateeb <[email protected]>
tools/nolibc: check for overflow in malloc()

Danish Khateeb <[email protected]>
tools/nolibc: stop rounding malloc() sizes up to 4096 bytes

Arnd Bergmann <[email protected]>
f2fs: quota: fix unused-label warning

Andreas Kemnade <[email protected]>
rtc: bd70528: properly enable wakeup

Nguyễn Văn Cao Nguyên <[email protected]>
RDMA/irdma: Do not move a fresh RoCE QP to ERROR on RESET

Nicolas Schier <[email protected]>
kconfig: tests: Provide defconfig outfile for savedefconfig

Wentao Liang <[email protected]>
pinctrl: stm32: Fix clock reference leak in stm32_pctl_probe()

Wentao Liang <[email protected]>
pinctrl: nuvoton: Fix clock reference leak in ma35_get_bank_data()

Hongyan Xu <[email protected]>
RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit

Hongyan Xu <[email protected]>
RDMA/hfi1: shut down the trap timer before unregistering

Serhat Kumral <[email protected]>
RDMA/siw: Fix length of first chunk in siw_try_1seg()

Quanye Yang <[email protected]>
RDMA/rtrs-clt: Validate peer-supplied IO completion msg_id

Alireza Haghdoost <[email protected]>
perf symbols: Don't let a module's last symbol overlap the next module

Qingshuang Fu <[email protected]>
selftests/timers: clocksource-switch: Fix unchecked open()/read()

Abdifatah Suruur <[email protected]>
vfio/cdx: prevent read-only region mappings from becoming writable

Abdifatah Suruur <[email protected]>
vfio/fsl-mc: prevent read-only region mappings from becoming writable

Abdifatah Suruur <[email protected]>
vfio/platform: prevent read-only region mappings from becoming writable

Quanye Yang <[email protected]>
RDMA/rtrs-clt: Don't WARN on unexpected info-response opcode

Karl Mehltretter <[email protected]>
time: Prevent time64_to_tm() day truncation on 32-bit

Jiale Yao <[email protected]>
RDMA/cxgb4: Do not allow userspace to write the status page

Jiale Yao <[email protected]>
RDMA/mlx4: Do not allow the user to write to the clock page

Jiale Yao <[email protected]>
RDMA/mad: Reject receive completions shorter than GRH

Ian Rogers <[email protected]>
perf python: Initialize debug output on module load

Quanye Yang <[email protected]>
RDMA/rtrs-clt: Reject invalid queue_depth from the peer

Yili Zhang <[email protected]>
RDMA/nldev: Fix NULL deref in dumps of objects abandoned by DRIVER_FAILURE

Pengpeng Hou <[email protected]>
clk: si5351: fail prepare when PLL reset times out

Myeonghun Pak <[email protected]>
clk: ti: adpll: unregister OF clock provider on remove

Dairui Zhang <[email protected]>
IB/mad: fix UAF and double-free in RMPP receive reassembly

Ruoyu Wang <[email protected]>
media: venus: Drop session events without an instance

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Use bnxt_ext_stats_supported for counter count selection

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Fix the PD and DPI table size

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Initialize wqe.flags in bnxt_re_post_srq_recv()

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Validate SRQ max_sge at create time

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Detect wrong sge_len passed for inline

Selvin Xavier <[email protected]>
RDMA/bnxt_re: Fix integer overflow in send payload size computation

Finn Thain <[email protected]>
swim3: Fix FDEJECT ioctl for exclusive open

Finn Thain <[email protected]>
swim: Fix FDEJECT ioctl for exclusive open

Finn Thain <[email protected]>
swim: Return -EROFS when opened with BLK_OPEN_WRITE flag

Logan Odell <[email protected]>
PCI/IOV: Read VF config values that need not match PF

Peng Fan <[email protected]>
arm64: dts: imx93-9x9-qsb: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx93-14x14-evk: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx8ulp-evk: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx8qm-mek: fix reserved memory node names for remoteproc

Peng Fan <[email protected]>
arm64: dts: imx8dxl-evk: fix reserved memory node names for remoteproc

Li RongQing <[email protected]>
IB/isert: Don't share drop_cmd_list across concurrent connection teardowns

Li RongQing <[email protected]>

    RDMA/mlx5: Restore mr->pi_mr after temporary stack-local assignment

Waiman Long <[email protected]>
cgroup/cpuset: Run SCHED_DEADLINE shrink test on valid partition root only

Waiman Long <[email protected]>
cgroup/cpuset: Disable cpuset_cpumask_can_shrink() test if not load balancing

Xiang Mei (Microsoft) <[email protected]>
fs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()

Karl Mehltretter <[email protected]>
soc: ti: k3-ringacc: Fix DMA ring initialization kernel-doc

Karl Mehltretter <[email protected]>
soc: ti: k3-ringacc: Correct ring API kernel-doc

Ian Rogers <[email protected]>
perf vendor events intel: Fix snowridgex umask encoding.

Ian Rogers <[email protected]>
perf vendor events intel: Fix skylakex umask encoding.

Ian Rogers <[email protected]>
perf vendor events intel: Fix sierraforest umask encoding.

Ian Rogers <[email protected]>
perf build: Clean libperf-gtk.so in 'make clean'

Ian Rogers <[email protected]>
perf test code-reading: Fix duplicate kernel maps and machine leak

Ian Rogers <[email protected]>
perf machine: Explicitly pass in host perf_env

Ian Rogers <[email protected]>
perf test: Avoid use perf_env

Ian Rogers <[email protected]>
perf debug: Add function symbols to dump_stack

Ian Rogers <[email protected]>
perf machine: Factor creating a "live" machine out of dwarf-unwind

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192-mt6359: Fix error handling in MTKAIF calibration

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate errors in I2S DAI DAPM event handlers

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate errors in TDM DAI DAPM event handlers

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate mt8192_afe_gpio_request() errors in ADDA DAI

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Handle regcache_sync() failure in runtime resume

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: check return values in mt8192_afe_gpio_init()

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: Propagate errors in mt8192_afe_gpio_request()

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: mt8192-afe-gpio: Use guard() for mutex locks

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: switch to devm_clk_get_optional()

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix MCK clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix error handling in APLL enable functions

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix AFE clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8192: fix APLL mux error handling

Ovidiu Panait <[email protected]>
spi: rspi: Fix DMA mode when the DMA controller is built as a module

Niko Huuskonen <[email protected]>
ALSA: caiaq: Fix the Kore controller key map

Niko Huuskonen <[email protected]>
ALSA: caiaq: Serialize access to the EP1 command buffer

Arka Mondal <[email protected]>
iio: dac: ad5758: Fix the offset calculation

Arka Mondal <[email protected]>
iio: dac: ad5758: Reject out-of-range raw values

Arka Mondal <[email protected]>
iio: dac: ad5758: Fix alignment for DMA safety

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Protect sysfs attributes with mutex

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Serialize SPI operations

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Sort headers alphabetically

Chen-Yu Tsai <[email protected]>
drm/exynos/fimd: fix register offset type in fimd_trigger()

Runyu Xiao <[email protected]>
ALSA: via82xx: use helper to activate DXS controls

Runyu Xiao <[email protected]>
ALSA: oxygen: use helper to activate the SPDIF PCM control

Takashi Iwai <[email protected]>
ALSA: oxygen: Use guard() for mutex locks

Yibo Tan <[email protected]>
ASoC: amd: acp3x-es83xx: Keep an owned codec device reference

Yibo Tan <[email protected]>
ASoC: amd: acp-es8336: Use an owned codec device reference

Yishai Hadas <[email protected]>
RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it

Yishai Hadas <[email protected]>
RDMA/mlx5: Set RQ event handler for raw-packet QP

Yishai Hadas <[email protected]>
RDMA/mlx5: Set SRQ event handler before xarray insertion

Yishai Hadas <[email protected]>
RDMA/mlx5: Set WQ event handler before firmware RQ insertion

Yishai Hadas <[email protected]>
RDMA/hns: Pin CQ buffer writable to match device DMA write access

Ginger Li <[email protected]>
wifi: mac80211: Fix a race when expiring a mesh path

Mateusz Nowicki <[email protected]>
arm64: dts: st: fix arm,smc-id of the SMC watchdog on stm32mp2

Alexandre Torgue <[email protected]>
arm64: dts: st: introduce stm32mp23 SoCs family

Guanghui Feng <[email protected]>
iommu/vt-d: Fix IQE handling to cover all descriptors in submission range

Abel Vesa <[email protected]>
arm64: dts: qcom: sm8150: Use SM8150_CX for the SDHC power domain

Myeonghun Pak <[email protected]>
PCI: aardvark: Disable PHY on probe failures

Linus Walleij <[email protected]>
ARM: dts: gemini: Use a level-high interrupt for TVE200

Fernando Fernandez Mancera <[email protected]>
netfilter: synproxy: fix reset of ct seqadj when reopening a connection

Akhil P Oommen <[email protected]>
drm/msm/a6xx: Fix secondary rail vote in ARC votes

Daniel Palmer <[email protected]>
m68k: apollo: Fix interrupt setup

Shashank Mohan Jain <[email protected]>
bitmap: bitmap_parselist(): don't wrap around on a huge group size

Shashank Mohan Jain <[email protected]>
bitmap: bitmap_parselist(): reject trailing characters after group size

Shashank Mohan Jain <[email protected]>
bitmap: bitmap_parse(): reject non-hex character before 8 digits

WangYuli <[email protected]>
MIPS: Only check -msym32 when need-compiler

Orgad Shaneh <[email protected]>
MIPS: Octeon: size the swiotlb for a modular OHCI platform driver

Peter Wang <[email protected]>
scsi: ufs: core: Serialize AHIT register access between sysfs and host driver

Aaron Kling <[email protected]>
dt-bindings: vendor-prefixes: Add Retroid Pocket

Marek Vasut <[email protected]>
dt-bindings: vendor-prefixes: Add Retronix Technology Inc.

Adam Skladowski <[email protected]>
dt-bindings: vendor-prefixes: Add LeEco

Dmitry Baryshkov <[email protected]>
ARM: dts: qcom: msm8974: add MDSS reset

Luca Weiss <[email protected]>
ARM: dts: qcom: msm8974: Sort header includes alphabetically

Krzysztof Kozlowski <[email protected]>
ARM: dts: qcom: msm8974: Use the header with DSI phy clock IDs

Mohd Ayaan Anwar <[email protected]>
arm64: dts: qcom: lemans-ride-common: fix SerDes PHY regulator supplies

Bruno Produit <[email protected]>
hfs/hfsplus: serialize B-tree close against folio release

Paul Sajna <[email protected]>
arm64: dts: qcom: sdm845-lg: fix sdcard pinctrl nodes

Aaron Kling <[email protected]>
dt-bindings: vendor-prefixes: Add Chip Wealth Technology

bui duc phuc <[email protected]>
ASoC: mediatek: mt8183: Fix APLL enable error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8183: Fix clock handling in mux disable path

bui duc phuc <[email protected]>
ASoC: mediatek: mt8183: Fix wrong clock cleanup on clk_set_parent() failure

Sudeep Holla <[email protected]>
ACPI: PCC: Preserve shared memory signature in OpRegion handler

Sudeep Holla <[email protected]>
ACPI: PCC: Simplify PCC shared memory region handling

Arnaldo Carvalho de Melo <[email protected]>
perf annotate-data: Resolve type DIEs in the debug file they came from

Sudeep Holla <[email protected]>
ACPICA: Fix PCC OperationRegion command offsets

Breno Leitao <[email protected]>
ACPICA: Fix memory leak in acpi_ds_create_field()

Xin Yin <[email protected]>
writeback: size foreign flushes by target wb dirty pages

Jeff Johnson <[email protected]>
wifi: ath11k: fix reg_info_store leak in ath11k_service_ready_ext_event()

Qingfang Deng <[email protected]>
mtd: block: prevent reclaim I/O during request processing

Jiebin Sun <[email protected]>
perf c2c: Fix documented default coalesce fields

Muzaffer Kadir <[email protected]>
dt-bindings: vendor-prefixes: Add General Mobile

Abel Vesa <[email protected]>
arm64: dts: qcom: x1e80100-qcp: Mark the EC reset gpio as reserved

Abel Vesa <[email protected]>
arm64: dts: qcom: x1e80100-yoga-slim7x: Mark the EC reset gpio as reserved

Shrikanth Hegde <[email protected]>
powerpc/ftrace: Don't restore r13 during ftrace_regs_caller

Rob Herring (Arm) <[email protected]>
dt-bindings: arm: mediatek: Fix MT6779 audsys compatible

Pengpeng Hou <[email protected]>
iio: accel: bma220: publish the SPI driver ACPI alias

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-pcm: Handle runtime resume errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-clk: Handle clock enable errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-clk: Propagate regmap update errors

bui duc phuc <[email protected]>
ASoC: mediatek: mt8188: mt8188-afe-clk: Handle tuner clock enable errors

Pengpeng Hou <[email protected]>
ASoC: rt5665: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt5660: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt5659: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt5616: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1318: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1308: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1305: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1016: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: rt1011: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: nau8540: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: es8316: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: ak4642: return cache sync errors from resume

Pengpeng Hou <[email protected]>
ASoC: adau17x1: return cache sync errors from resume

Slavin Liu <[email protected]>
ASoC: fsl_asrc: check the second front-end DMA channel

Pu Lehui <[email protected]>
bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free on riscv

Chuck Lever <[email protected]>
NFS: use TCP for MOUNT when xprtsec= selects TLS

Thomas Falcon <[email protected]>
perf mem: Fix size tracking for mem_lvl's in perf_script__meminfo_scnprintf()

Shengjiu Wang <[email protected]>
ASoC: fsl_asrc: use regmap_write_bits to update clock source registers

Dmitrii Tulnov <[email protected]>
kconfig: warn about malformed KCONFIG_PROBABILITY values

Myeonghun Pak <[email protected]>
mfd: da9150: Balance IRQ wake on teardown

Myeonghun Pak <[email protected]>
mfd: intel_quark_i2c_gpio: Manage the fixed-rate clock

Eric Anderson <[email protected]>
mfd: rk8xx: Register poweroff handler in atomic phase

Jiale Yao <[email protected]>
ext2: drain in-flight DIO before buffered write fallback

Karl Mehltretter <[email protected]>
iommufd: Fix iommufd_hw_capabilities reference in kernel-doc

Hui Su <[email protected]>
bpftool: Fix CPU IDs in per-CPU map output

Danish Khateeb <[email protected]>
tools/nolibc: fix WIFSIGNALED() for status 0

Esteban Urrutia <[email protected]>
clk: qcom: alpha-pll: Check Lucid Ole PLL status before configuring

Esteban Urrutia <[email protected]>
clk: qcom: dispcc-sm8450: Fix disp_cc_mdss_mdp_clk_src ops

Vincent Jardin <[email protected]>
dt-bindings: vendor-prefixes: add Free Mobile

Linus Walleij <[email protected]>
ARM: dts: ux500: Convert HREF audio to audio-graph-card2

Zongmin Zhou <[email protected]>
serial: sifive: fix off-by-one in console port bounds check

Malathi A <[email protected]>
serial: 8250_uniphier: Use devm_clk_get_enabled()

Uwe Kleine-König (The Capable Hub) <[email protected]>
serial: txx9: Drop noop probe function and dangerous remove callback

Uwe Kleine-König <[email protected]>
serial: Switch back to struct platform_driver::remove()

Dmitry Sinyavin <[email protected]>
serial: msm: select PM_OPP

Ginger Li <[email protected]>

    media: i2c: ov5648: Fix a data race on state->streaming

Finn Thain <[email protected]>
swim: Don't search beyond the first data mark

Finn Thain <[email protected]>
swim: Revisit delays

Finn Thain <[email protected]>
swim: Check drive ready bit

Finn Thain <[email protected]>
swim: Deduplicate polling loops

Finn Thain <[email protected]>
swim: Remove redundant RELAX actions

Finn Thain <[email protected]>
swim: Convert to blocking queue

Christoph Hellwig <[email protected]>
block: remove BLK_MQ_F_SHOULD_MERGE

Finn Thain <[email protected]>
swim: Fix buffer overflow

Finn Thain <[email protected]>
swim: Don't use the mark register to read data

Finn Thain <[email protected]>
swim: Check error register during sector read

Finn Thain <[email protected]>
swim: Simplify return value initialization

Finn Thain <[email protected]>
swim: Check for CRC errors

Finn Thain <[email protected]>
swim: Handle FIFO timeout error

Finn Thain <[email protected]>
swim: Add track zero recalibration delay

Finn Thain <[email protected]>
swim: Recalibrate when drive is probed

Finn Thain <[email protected]>
swim: Don't start motor until medium is present

Finn Thain <[email protected]>
swim: Enable clock divider only where appropriate

Finn Thain <[email protected]>
swim: Refactor SWIM setup

Finn Thain <[email protected]>
swim: Configure parameter memory

Finn Thain <[email protected]>
swim: Perform ISM/IWM mode switching according to specs

Finn Thain <[email protected]>
swim: Don't disable drive after every sector

Finn Thain <[email protected]>
swim: Enable the drive when probing

Finn Thain <[email protected]>
swim: Select appropriate drive once only

Finn Thain <[email protected]>
swim: Assert strobe with stable outputs

Li RongQing <[email protected]>
RDMA/mlx5: Guard steering anchor resource destruction on create error

Jiale Yao <[email protected]>
crypto: ccp - kill v5 IRQ tasklet during teardown

Jiale Yao <[email protected]>
crypto: ccp - kill v3 IRQ tasklet during teardown

Weili Qian <[email protected]>

    crypto: hisilicon/hpre - remove dma_free_coherent on NULL req->dst in ECDH

Pengpeng Hou <[email protected]>
crypto: starfive - propagate clock and reset errors

Jiawen Liu <[email protected]>
crypto: starfive - handle clock enable failures

Pengpeng Hou <[email protected]>
hwrng: starfive - propagate clock and reset errors

Wentao Liang <[email protected]>
RDMA/siw: Fix qp use-after-free in siw_get_base_qp()

Wentao Liang <[email protected]>
RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event()

Wentao Liang <[email protected]>
RDMA/cxgb4: Fix skb reference leak in rx_pkt()

Wentao Liang <[email protected]>
RDMA/cxgb4: Fix neigh reference leak in rx_pkt()

Kim Wooseok <[email protected]>
wifi: rtl8xxxu: free RX skb when URB submission fails

Rafael J. Wysocki <[email protected]>
ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Rafael J. Wysocki <[email protected]>
ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Pei Xiao <[email protected]>
ata: pata_parport: fix parport attach idr_alloc for

Jeremy Bongio <[email protected]>
RDMA/irdma: Use kvzalloc for lvl2 leafmem allocation

Francesco Dolcini <[email protected]>
arm64: dts: ti: k3-am62-verdin: fix main_gpio0/main_gpio1 line names size

Jisheng Zhang <[email protected]>
regulator: mp886x: fix pontential division by zero

Jisheng Zhang <[email protected]>
regulator: mp886x: check get_voltage_sel() return value

Dmitry Antipov <[email protected]>
leds: flash: Prevent using uninitialized variable in flash_fault_show()

Jacob Moroni <[email protected]>
RDMA/irdma: Fix erroneous -ENOMEM for large MR registration

Li RongQing <[email protected]>
RDMA/core: Fix partial copy of IPv6 flow_lbl in LAG hash skb

Arnaldo Carvalho de Melo <[email protected]>
perf annotate-data: Show the sample count in the data-type browser

Cong Nguyen <[email protected]>
leds: lm3692x: Fix regulator/gpio leak and wrong enabled state on last write failure

Ian Rogers <[email protected]>
perf build: Check the version of the compiler that is used

Chen Pei <[email protected]>
perf test: Fix a leaked map reference in the arch dwarf unwind tests

Haibo Chen <[email protected]>
leds: pca9532: Check i2c_smbus_read_byte_data() return value

Miles Krause <[email protected]>

    leds: lp8860: Fix device_node leak in lp8860_probe()

Yogesh Gaur <[email protected]>
md/raid5: give the io_unit slab caches per-array names

Arnd Bergmann <[email protected]>
KMSAN: fix memset() when using fortify-source, again

Andrea Parri <[email protected]>
pstore: reject persistent RAM zones too small for the buffer header

Andrea Parri <[email protected]>
pstore: don't leave an ERR_PTR in the ramoops zone pointer

Leon Hwang <[email protected]>
bpftool: Compute map size of light skeletons at runtime

Leon Hwang <[email protected]>
bpftool: Generate skeleton for global percpu data

WanLi Niu <[email protected]>
bpftool: Make skeleton C++ compatible with explicit casts

Jiayuan Chen <[email protected]>
bpftool: Using the right format specifiers

Neil Armstrong <[email protected]>
dt-bindings: vendor-prefixes: add vendor prefix for Nexperia B.V.

Pengpeng Hou <[email protected]>
pmdomain: imx: Propagate SCU provider registration failures

Xiang Mei <[email protected]>
fs/ntfs3: validate $SDH entry size in ntfs_insert_security

Konstantin Komarov <[email protected]>

    fs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea

Zhan Xusheng <[email protected]>
fs/ntfs3: fix valid_size not being updated in attr_allocate_frame()

Xiang Mei (Microsoft) <[email protected]>
fs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()

Andrew Gaylard <[email protected]>
pinctrl: fix PINCTRL_SPPCTL=m

Daniel Borkmann <[email protected]>
bpf, lsm: Reject writes into the BPF LSM program context

Slavin Liu <[email protected]>
clk: starfive: jh7110: reject oscillator lookup errors

Wentao Liang <[email protected]>
clk: versatile: clk-icst: Fix node reference leak in of_syscon_icst_setup()

Triet Hoang <[email protected]>
clk: raspberrypi: Handle cpufreq device registration failure

Karl Asseily <[email protected]>
dt-bindings: vendor-prefixes: add ESS Technology

Alejandro Lucero <[email protected]>
ACPI: HMAT: preserve hmat_adist_nb notifier block

Felix Gu <[email protected]>
spi: mxic: fix ps_clk leak in runtime resume

Christian Loehle <[email protected]>
ACPI: CPPC: Validate the _CPC package header

Li RongQing <[email protected]>
RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT

Li RongQing <[email protected]>
RDMA/restrack: Don't set RESTRACK_DD mark after a failed xa_insert()

Li RongQing <[email protected]>
RDMA/core: Fix swapped list_add_tail() arguments in ib_add_sub_device()

Konrad Dybcio <[email protected]>
interconnect: qcom: use 64-bit SMD RPM bus votes

Konrad Dybcio <[email protected]>
interconnect: qcom: icc-rpm: Handle icc_link_create() failures

Myeonghun Pak <[email protected]>
interconnect: exynos: Remove the PM QoS request on unbind

Slavin Liu <[email protected]>
crypto: atmel-sha - reject initialization without a device

Ahsan Atta <[email protected]>
crypto: qat - fix active_devs leak on crypto alg registration failure

Guixin Liu <[email protected]>
cxl/port: Fix uninitialized coordinates reported for RCDs

Guixin Liu <[email protected]>
cxl/pci: Skip reset detection for DVSEC emulated decoders

Julian Braha <[email protected]>
kconfig: fix extra output from savedefconfig on out-of-range defaults

Felix Gu <[email protected]>
PCI: dra7xx: Fix clock enable leak on probe failure

[email protected] <[email protected]>
PCI: dra7xx: Remove device links to PHY

Longlong Xia <[email protected]>
rcu: fix shrink budget underflow in lazy_rcu_shrink_scan

Joel Fernandes <[email protected]>
rcu/nocb: Remove unnecessary WakeOvfIsDeferred wake path

Frederic Weisbecker <[email protected]>
Revert "rcu/nocb: Fix rcuog wake-up from offline softirq"

Mingpei CAO <[email protected]>
libbpf: Reject local struct_ops bitfields before data access

Nikolay Borisov <[email protected]>
ata: sata_dwc_460ex: Don't enable interrupt if libATA core registration fails

Hari Mishal <[email protected]>
drm/amdgpu/atom: bound the VBIOS date, part number, version and build getters

Lijo Lazar <[email protected]>
drm/amdgpu: bounds check ATOM IIO table parsing

Lijo Lazar <[email protected]>
drm/amdgpu: Print full vbios info

Mario Limonciello (AMD) <[email protected]>
drm/amd: Add correct prefix for VBIOS message

Lijo Lazar <[email protected]>
drm/amdgpu: Add vbios build number interface

Hari Mishal <[email protected]>
drm/amd/pm: bound SCLK FCW range entries to the table size

Pengpeng Hou <[email protected]>
clk: milbeaut: Return divider update timeouts

Pengpeng Hou <[email protected]>
clk: si521xx: correct the SI52147 OF output enable map

Zizhi Wo <[email protected]>
md/raid5: reject a per-device size smaller than one chunk

Zhihao Cheng <[email protected]>
md/raid5: setup_conf: Fix null-ptr-def in error handling path

Chen Cheng <[email protected]>
md/raid5: reject raid4/5 arrays with too few disks

Yogesh Gaur <[email protected]>
md/raid5: don't BUG() on an inconsistent reshape state from the superblock

Jérémy Jean <[email protected]>
md: reject v0.90 arrays with too many devices

Zizhi Wo <[email protected]>
md/raid10: fix missing wakeup in wait_barrier_nolock

Abdelnasser Hussein <[email protected]>
staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers

Bart Van Assche <[email protected]>
scsi: pm8001: Fix SATA FIS offset in struct hw_event_resp

Ștefan Ghețu <[email protected]>
ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump

Karl Mehltretter <[email protected]>
pinctrl: stm32: Drop the nonexistent CONFIG_MACH_STM32MP25 from the STM32MP257 default

Stephane Danieau <[email protected]>
pinctrl: stm32: Allow compile as module for stm32mp257

Antonio Borneo <[email protected]>
pinctrl: stm32: Declare stm32_pmx_get_mode() as static

Alison Schofield <[email protected]>
cxl/hdm: Make switch decoder target parsing endian-safe

Dave Jiang <[email protected]>
cxl: Add a cached copy of target_map to cxl_decoder

Alison Schofield <[email protected]>
cxl/hdm: Reject switch decoder interleave ways that overflow targets

Slavin Liu <[email protected]>
ACPI: tables: handle failed initrd override mappings

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8173: Fix MFG_ASYNC power domain clock

Sarthak Sharma <[email protected]>
mm/gup_test: report actual pinned bytes

Sarthak Sharma <[email protected]>
mm/gup_test: safely calculate GUP batch size

Samuel Moelius <[email protected]>
mm/gup_test: reject wrapped user ranges

Weiming Shi <[email protected]>
ntfs3: fix out-of-bounds read in ntfs_read_mft()

Luka Gejak <[email protected]>
wifi: rtw88: sdio: zero the padding added to a TX transfer

Karl Mehltretter <[email protected]>
loadpin: Fix stale KEXEC_VERIFY_SIG reference in documentation

Rosen Penev <[email protected]>
dmaengine: mv_xor: kill tasklet on channel add error path

Yonghao Zhang <[email protected]>
remoteproc: core: Set trace buffer name for diagnostics

Karl Mehltretter <[email protected]>
block: Fix the thaw_bdev reference in bdev_freeze() kernel-doc

Guangshuo Li <[email protected]>
media: i2c: ar0521: remove duplicate media entity cleanup

Li RongQing <[email protected]>
RDMA/uverbs: Make CQ handle mandatory for WQ creation

Nicolas Morey <[email protected]>
RDMA/rxe: Use validated num_sge in local buffer

Miles Krause <[email protected]>
memory: emif: fix device_node reference leak on np_ddr

Gregory CLEMENT <[email protected]>
phy: cadence: Sierra: Do not modify register when getting parent clock

Haotian Zhang <[email protected]>
phy: hisilicon: hi3670: Fix OF node and device reference leaks

Linkai Gong <[email protected]>
firmware: imx: dsp: fix mailbox channel leak on kasprintf failure

Jianan Huang <[email protected]>
f2fs: quota: fix stale lock holder on remount failure

Jérôme Pouiller <[email protected]>
wifi: wfx: fix use-after-free of the cooling work on device removal

Takahiro Kuwano <[email protected]>
mtd: spi-nor: spansion: Remove s25fs256s0

Julius Bairaktaris <[email protected]>
wifi: mac80211: don't reset the TXQ scheduling round number

Karl Mehltretter <[email protected]>
wifi: mac80211: Fix the return value in mesh_path_add() kernel-doc

Fuad Tabba <[email protected]>
arm64: pi: Run the source checker on the libfdt objects under C=2

Thomas Weißschuh <[email protected]>
microblaze: Pass -m{big,little}-endian through KBUILD_CPPFLAGS

Thomas Weißschuh <[email protected]>
microblaze: uaccess: Zero out destination on failed get_user()

Linkai Gong <[email protected]>
pinctrl: amd: add timeout to irq-enable readback

Mario Limonciello (AMD) <[email protected]>
pinctrl: amd: Don't access irq_data's hwirq member directly

Mario Limonciello (AMD) <[email protected]>
pinctrl: amd: Add PM debugging message for turning on/off wakes

Weiming Shi <[email protected]>
fs/ntfs3: zero frame pages on read error

Matthew Wilcox (Oracle) <[email protected]>
ntfs: Do not kmap page cache pages for compression

Baolin Liu <[email protected]>
fs/ntfs3: update ctime only on successful setxattr

Weiming Shi <[email protected]>
fs/ntfs3: take run_lock when freeing offs_folio in ni_decompress_file

Mahe Tardy <[email protected]>
libbpf: fix log level propagation for light skeleton loaders

Tony Ambardar <[email protected]>
libbpf: Support opening bpf objects of either endianness

Karl Mehltretter <[email protected]>
regulator: qcom-rpmh: Fix the return value in rpmh_regulator_vrm_get_optimum_mode() kernel-doc

Ian Rogers <[email protected]>
perf header: Fix potential memory corruption in cpu_cache_level__read

Rafael J. Wysocki <[email protected]>
ACPI: video: Fix backlight unregistration ordering

Rafael J. Wysocki <[email protected]>
ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument

Karl Mehltretter <[email protected]>
ALSA: control: Fix virtual master creation reference in kernel-doc

Michael S. Tsirkin <[email protected]>
virtio_pci_modern: move avq cleanup from reset to del_vqs

Michael S. Tsirkin <[email protected]>
virtio: synchronize callbacks after device reset

Karl Mehltretter <[email protected]>
gfs2: Fix the return value in gfs2_get_link() kernel-doc

Karl Mehltretter <[email protected]>
ata: libata-scsi: Fix ata_scsi_hotplug() reference in kernel-doc

Karl Mehltretter <[email protected]>
spi: Fix the return value in spi_new_ancillary_device() kernel-doc

Pengpeng Hou <[email protected]>
clk: s2mps11: Propagate OF provider registration failures

Geert Uytterhoeven <[email protected]>
clk: rs9: Add clock index range check to rs9_of_clk_get()

Karl Mehltretter <[email protected]>
clk: mediatek: reset: Fix device registration kernel-doc

Chaithanya Lagisetty <[email protected]>
x86/svm: Avoid sign extension of SVM_EVTINJ_VALID in 64-bit expressions

Nora Schiffer <[email protected]>
ARM: dts: imx7-tqma7: correctly specify PMIC voltage constraints

Sanghyun Park <[email protected]>
bpf: Fix program BTF use-after-free in sleepable programs

Justin Yeh <[email protected]>
HID: i2c-hid: Unfollow the panel on shutdown

Marek Vasut <[email protected]>
ARM: dts: stm32: Drop bias-disable from STM32MP15xx DHCOM SoM sdmmc1_b4_pins_a

Brian Norris <[email protected]>
PM: runtime: Only queue an idle check for RPM-linked suppliers

Xueqin Luo <[email protected]>
cpuidle: teo: Do not return a disabled idle state

Alain Volmat <[email protected]>
ARM: dts: stm32: add LTDC / DCMIPP access controller for STM32MP135

Ahmad Fatoum <[email protected]>
ARM: dts: stm32: lxa-tac: change stdout-path baud rate from 9600 to 115200

Ahmad Fatoum <[email protected]>

    ARM: dts: stm32: lxa-mc1: change stdout-path baud rate from 9600 to 115200

Xueqin Luo <[email protected]>
cpuidle: menu: Do not return a disabled idle state

Christian Loehle <[email protected]>
cpuidle: menu: Remove single state handling

Breno Leitao <[email protected]>
cpuidle: menu: Remove incorrect unlikely() annotation

Takashi Sakamoto <[email protected]>
firewire: core: remove unused link field in fw_packet structure

Karl Mehltretter <[email protected]>
firewire: cdev: Fix FW_CDEV_IOC_CREATE_ISO_CONTEXT references in kernel-doc

Sumeet Pawnikar <[email protected]>
thermal: gov_power_allocator: Fix NULL pointer dereference in update_tz()

Rafael J. Wysocki <[email protected]>
ACPI: glue: Fix up and adjust acpi_unbind_one()

Jan Kara <[email protected]>
gfs2: Fix journaled truncate range end offset

Jiawen Liu <[email protected]>
memory: exynos5422-dmc: handle clock enable failures

Karl Mehltretter <[email protected]>
crypto: lskcipher - preserve state across unaligned chunks

Linmao Li <[email protected]>
crypto: mxs-dcp - handle zero-length skcipher requests

Ahsan Atta <[email protected]>
crypto: qat - release instance on DH fallback allocation failure

Ahsan Atta <[email protected]>
crypto: qat - avoid OOB read when stripping RSA leading zeros

Mohamad Raizudeen <[email protected]>
crypto: amlogic - Fix DMA memory leak in cipher error path

Eric Dumazet <[email protected]>
ip_tunnel: use WRITE_ONCE in ip_tunnel_encap_setup

Eric Dumazet <[email protected]>
sit: fix UAF in ipip6_tunnel_del_prl()

Luca Weiss <[email protected]>

    arm64: dts: qcom: sm7225-fairphone-fp4: Disable PMK8350 PON

Linus Walleij <[email protected]>
regulator: ab8500: Propagate mode enable read errors

Linus Walleij <[email protected]>
regulator: ab8500: Test dedicated enable bits only

Linus Walleij <[email protected]>
regulator: ab8500: Treat cut 1.0 VAUX3 as fixed

Linus Walleij <[email protected]>
regulator: ab8500: Handle AB8505 VINTCORE selector 7

Linus Walleij <[email protected]>

    regulator: ab8500: Add AB8505 VAUX3 3.05 V setting

Babanpreet Singh <[email protected]>
regulator: ab8500: Remove stale expand_register kernel-doc entry

Linus Walleij <[email protected]>
regulator: ab8500: Fix AB8505 VANA voltage selectors

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Serialize virtual PCI bus scan

Jia Wang <[email protected]>
dmaengine: dw-axi-dmac: Fix CH_CFG2 channel priority position

Jia Wang <[email protected]>
dmaengine: dw-axi-dmac: Fix LLI dump out-of-bounds access

Jia Wang <[email protected]>
dmaengine: dw-axi-dmac: Fix AXI burst length encoding

Rosen Penev <[email protected]>
dmaengine: fsl_raid: zero CF descriptor pool allocations

Keisuke Tsukuda <[email protected]>
usb: gadget: f_mass_storage: ignore class requests while inactive

Keisuke Tsukuda <[email protected]>
usb: gadget: composite: avoid warning on aborted delayed status

Roland Dreier <[email protected]>
firmware: arm_scmi: Don't reuse raw xfers with async_done still armed

Roland Dreier <[email protected]>

    firmware: arm_scmi: Protect xfer->async_done with xfer->lock

Chaithanya Lagisetty <[email protected]>
dmaengine: sprd: use clk_bulk API to fix clock imbalance

Pengpeng Hou <[email protected]>
usb: musb: da8xx: depopulate OF children on probe failure

Pengpeng Hou <[email protected]>
usb: musb: da8xx: depopulate OF children on remove

Arka Mondal <[email protected]>
usb-storage: alauda: fix out-of-bounds zone index

Arka Mondal <[email protected]>
usb-storage: alauda: check the return value of alauda_read_map()

Arka Mondal <[email protected]>
usb-storage: alauda: do not do DMA from the stack

Yuho Choi <[email protected]>
USB: pci-quirks: Release EHCI device reference

Jiangong.Han <[email protected]>
USB: usbmon: fix null-ptr-deref in mon_bus_remove() when mon_bus_init() fails

Diego Fernando Mancera Gomez <[email protected]>
usb: image: microtek: stop SG processing after transfer errors

Junxian Huang <[email protected]>
RDMA/hns: Fix GID capacity loss in 64K system

Junxian Huang <[email protected]>
RDMA/hns: Limit gmv_entry_num to avoid memory waste

Yuho Choi <[email protected]>
PCI: xgene: Use managed clock for PCIe controller

Shakeel Butt <[email protected]>
kernfs: fix up the unlocked attribute reads on the creation paths

Karl Mehltretter <[email protected]>
efi/libstub: Fix efi_set_event_at() parameter documentation

Salah Triki <[email protected]>
iio: imu: adis16400: Check return value of spi_setup()

Matti Vaittinen <[email protected]>
iio: accel: kionix-kx022a: Fix IPOL macro name

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix NULL pointer dereference on PCI error recovery

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix use-after-free of the firmware event workqueue

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: zero out diagnostic buffer status memory

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read in PCIe topology change events

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix buffer overflow in the BSG target device map

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds phy array access on link change

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read of event data

Ranjan Kumar <[email protected]>
scsi: mpi3mr: Rename log data save helper to reflect threaded/BH context

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix device loss during enclosure reboot due to zero link speed

Ranjan Kumar <[email protected]>
scsi: mpi3mr: Event processing debug improvement

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read in SAS topology change events

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix target device reference leak in device removal handshake

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds bitmap access during device removal

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds sense buffer access

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds reply frame access

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix buffer overflow when caching log data

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix target device reference leak in BSG task management

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix I/O block counter leak on admin request post failure

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix out-of-bounds read when copying BSG MPI requests

Chandrakanth Patil <[email protected]>
scsi: mpi3mr: Fix buffer overflow in BSG passthrough request copy

Linmao Li <[email protected]>
power: supply: bq2515x: Propagate charge-enable read errors

Ryan Brue <[email protected]>
power: supply: bq24190_charger: use the wake irq API

Peng Fan <[email protected]>
PM: sleep: wakeirq: Introduce device-managed variant of dev_pm_set_wake_irq()

Joe Hattori <[email protected]>
PM: wakeup: implement devm_device_init_wakeup() helper

hpp.iscas <[email protected]>
power: supply: mm8013: Publish the OF module alias

Karl Mehltretter <[email protected]>
power: supply: mp2629: Use the full batt_impedance_compensation name in the ABI document

Willem de Bruijn <[email protected]>
selftests: net: csum: filter packets by source address and port

Sean Anderson <[email protected]>
selftests: net: csum: Clean up recv_verify_packet_ipv6

Aaradhana Sahu <[email protected]>
wifi: ath12k: Free allocated external IRQs on request_irq() failure

Aaradhana Sahu <[email protected]>
wifi: ath12k: Free allocated CE IRQs on request_irq() failure

Nicolas Escande <[email protected]>
wifi: ath11k: fix locking problem in ath11k_dp_rx_tid_del_func()

Mikhail Lobanov <[email protected]>
wifi: ath11k: modify null check logic in ath11k_ce_rx_post_pipe()

Rafael J. Wysocki <[email protected]>
ACPI: utils: Adjust message printing macros for ACPI objects

Rafael J. Wysocki <[email protected]>
ACPI: scan: Stop calling acpi_bus_init_power() early

Rafael J. Wysocki <[email protected]>
ACPI: PCI: Introduce acpi_dev_get_pci_dev()

Rafael J. Wysocki <[email protected]>
ACPI: PM: Drop parent state update from acpi_device_get_power()

Ian Gallagher <[email protected]>
ACPI: button: Add lid_init_state quirk for Razer Blade Stealth 13 (Early 2020) RZ09-0310

Vinod Koul <[email protected]>
dmaengine: zynqmp_dma: drop redundant label

Srinivas Neeli <[email protected]>
dmaengine: xilinx_dma: Move descriptors to done list based on completion bit

Srinivas Neeli <[email protected]>
dmaengine: xilinx_dma: Fix MCDMA descriptor fields based on DMA direction

Chaithanya Lagisetty <[email protected]>
dmaengine: dw-axi-dmac: convert clock handling to clk_bulk API

Golla Nagendra <[email protected]>
dmaengine: zynqmp_dma: Fix chan probe/remove error handling

Ruoyu Wang <[email protected]>
dmaengine: img-mdc: Fix runtime PM usage counter leak

Myeonghun Pak <[email protected]>
dmaengine: mediatek: hsdma: fix runtime PM leak on init failure

Hongling Zeng <[email protected]>
dmaengine: at_hdmac: Fix use-after-free by proper tasklet cleanup

Hongling Zeng <[email protected]>
dmaengine: sun6i-dma: Fix use-after-free in error handling paths

Karl Mehltretter <[email protected]>
mtd: spinand: Fix spinand_manufacturer_ops kernel-doc

Aaron Tomlin <[email protected]>
perf trace: Add upper bound checks for augmented BTF struct printing

Aaron Tomlin <[email protected]>
perf trace: Enhance BTF type formatting to symbolise kernel function pointers

Mark Brown <[email protected]>
perf bpf: Fix up build failure due to change of btf_vlen() return type

Arnaldo Carvalho de Melo <[email protected]>
perf btf: Make the sigtrap test helper to find a member by name widely available

Qiuxu Zhuo <[email protected]>
EDAC/i10nm: Fix Granite Rapids ADXL MC mapping

Tianyi Chen <[email protected]>
selftests/sched_ext: Handle CPU hotplug write failures

Manush Prajwal <[email protected]>
pwm: lp3943: fix NULL pointer dereference for an unconfigured channel

bui duc phuc <[email protected]>
ASoC: mediatek: mt6797: fix wrong unwind order and error code in enable_clock

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix MCK error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix APLL enable error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix AFE clock error handling

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix clock handling in mux disable path

bui duc phuc <[email protected]>
ASoC: mediatek: mt8186: Fix APLL mux setting error handling

Bert Karwatzki <[email protected]>

    mac80211: tx: Use info->flags in ieee80211_tx_h_select_key()

Chen-Yu Tsai <[email protected]>
pwm: mtk-disp: Fix period readback

Karl Mehltretter <[email protected]>
virtio_ccw: always take irq_lock in the classic interrupt handler

Karl Mehltretter <[email protected]>
virtio_ccw: fix synchronize_cbs() after interrupt fallback

Pengpeng Hou <[email protected]>
ASoC: es8326: report resume restore errors

Karl Mehltretter <[email protected]>
irqchip/gic-v3-its: Don't WARN on LPI free allocation failure

Linkai Gong <[email protected]>
drivers/base/node: fix UAF on device_register() failure

Dmitry Torokhov <[email protected]>
gpio: crystalcove: add missing MODULE_ALIAS()

Leon Romanovsky <[email protected]>
RDMA/irdma: Preserve fast-registration IOVA on 32-bit

Mark Amirkan <[email protected]>
perf evsel: Validate RAW sample before byte swapping

Mark Amirkan <[email protected]>
perf evsel: Validate branch stack before byte swapping

Aaron Tomlin <[email protected]>
perf trace: Fix error checking in btf_struct_scnprintf()

Marcel Hofmann <[email protected]>
remoteproc: imx_rproc: Allow mappings ending at region boundary

Felix Gu <[email protected]>
spi: mtk-nor: fix runtime PM usage count leak in probe error path

Dave Jiang <[email protected]>
efi/cper: Read only validated fields in cper_mem_err_pack()

Dave Jiang <[email protected]>
ACPI: APEI: GHES: Bound CXL event record copy to the firmware section length

Dave Jiang <[email protected]>
ACPI: extlog: Validate elog record length before walking sections

Dave Jiang <[email protected]>
efi/cper: Reject an error status block length that wraps a u32

Dave Jiang <[email protected]>
efi/cper: Reject CPER records with an out-of-range error_data_length

Jisheng Zhang <[email protected]>
regulator: mp886x: fix vsel_mask

Alexis Lothoré (eBPF Foundation) <[email protected]>
selftests/bpf: make cmdline_contains stricter

Eduard Zingerman <[email protected]>
selftests/bpf: More precise cpu_mitigations state detection

Jared McArthur <[email protected]>
arm64: dts: ti: k3-j722s-evm: Switch audio codec clock from audio_refclk1 to external clock

Chintan Vankar <[email protected]>
arm64: dts: ti: k3-j722s-evm: Add bootph-all property to enable Ethernet boot

Yemike Abhilash Chandra <[email protected]>
arm64: dts: ti: j722s-evm: Add MUX to control CSI2RX

Udit Kumar <[email protected]>

    arm64: dts: ti: k3-j722s-evm: Enable PMIC

Pengpeng Hou <[email protected]>
memory: brcmstb_dpfe: validate firmware section sizes

Pengpeng Hou <[email protected]>
irqchip/riscv-imsic: Use GENMASK for base address masks

Julius Bairaktaris <[email protected]>
wifi: mac80211: fix swapped fq_overlimit/fq_overmemory in aqm debugfs

Fabrice Derepas <[email protected]>
crypto: asymmetric_keys - fix OOB read in pefile_parse_binary

Ruoyu Wang <[email protected]>
hwrng: cctrng - Fix runtime PM usage counter leak

Jérôme Pouiller <[email protected]>
wifi: wfx: fix possible device hang during init

Johannes Berg <[email protected]>

    wifi: mac80211: fix IEEE80211_TX_CTL_REQ_TX_STATUS mixup

Bert Karwatzki <[email protected]>
wifi: check if socket flags are valid

Johannes Berg <[email protected]>
wifi: free SKBTX_WIFI_STATUS skb tx_flags flag

Johannes Berg <[email protected]>
wifi: mac80211: drop encap offload frames with a tainted key

Johannes Berg <[email protected]>
wifi: mac80211: don't send encap offload frames unencrypted

Johannes Berg <[email protected]>
wifi: mac80211: fix key selection for encap offload frames

Johannes Berg <[email protected]>
wifi: mac80211: fix unauthorised port check for encap offload

Paul Dolan <[email protected]>
selftests/clone3: tighten CLONE_CLEAR_SIGHAND conflict test

Miaoqing Pan <[email protected]>
wifi: ath11k: fix sporadic WLAN initialization failures

Julius Bairaktaris <[email protected]>
wifi: ath11k: disable interrupts during firmware crash recovery

Miquel Raynal (Schneider Electric) <[email protected]>
clk: Use the generic OF phandle parsing in only one place

Chengchang Tang <[email protected]>
RDMA/hns: Fix missing CQE when UD QP use different SL

Rosen Penev <[email protected]>
dmaengine: fsl_raid: avoid free_q underflow in free_chan_resources

Rosen Penev <[email protected]>
dmaengine: fsl_raid: don't invoke client callback under desc_lock

Koichiro Den <[email protected]>
PCI: endpoint: pci-epf-vntb: Pass PF/VF number when BAR programming

Toke Høiland-Jørgensen <[email protected]>
bpftool: Set BPF_F_XDP_DEV_BOUND_ONLY flag non-destructively

Ionut Nechita <[email protected]>
x86/crash: Reserve elfcorehdr for CONFIG_NR_CPUS, not CONFIG_NR_CPUS_DEFAULT

Richard Zhu <[email protected]>
arm64: dts: imx95: Avoid 32-bit PCIe window System RAM overlap

Pengpeng Hou <[email protected]>
remoteproc: imx_dsp: Acquire runtime PM before adding carveouts

Peng Fan <[email protected]>
remoteproc: imx_dsp_rproc: Drop extra space

Shengjiu Wang <[email protected]>
remoteproc: imx_dsp_rproc: Add support of recovery and coredump process

Alexander Aring <[email protected]>
dlm: fix variable key length lookup

Joseph Qi <[email protected]>
dlm: fix buffer overflow from negative len in dlm_search_rsb_tree

Danila Chernetsov <[email protected]>
dlm: fix NULL pointer dereference in dlm_dump_rsb_name()

Danila Chernetsov <[email protected]>
dlm: validate lock modes in recovery messages

Miklos Szeredi <[email protected]>
fuse: fall back to copy_splice_read() on FOPEN_DIRECT_IO

Tao Cui <[email protected]>
sched_ext/scx_flatcg: Make cgv_node_less() wraparound-safe

Abdurrahman Karadag <[email protected]>
wifi: rtw88: debugfs: don't vzalloc(0) when rsvd_page is read unconfigured

Chris Morgan <[email protected]>
arm64: dts: rockchip: Correct Device Orientation on Gameforce Ace

Boris Faure <[email protected]>
soundwire: intel: initialise quirk_mask before reading it

Jérémy Jean <[email protected]>
microblaze: prevent ptrace writes to MSR and pt_mode

Alexander A. Klimov <[email protected]>
microblaze: CCF: fix refcount leak

Jerome Brunet <[email protected]>
clk: fix self-consuming provider module pinning

Orgad Shaneh <[email protected]>
staging: octeon: schedule the TX cleanup tasklet every 1024th packet

Myeonghun Pak <[email protected]>
staging: rtl8723bs: disable SDIO function on block size failure

Ethan Tidmore <[email protected]>
staging: rtl8723bs: remove unused private debug counters

Michael Straube <[email protected]>
staging: rtl8723bs: move rtw_recv_indicatepkt to rtw_recv.c

Michael Straube <[email protected]>
staging: rtl8723bs: remove wrapper rtw_init_recv_timer

Michael Straube <[email protected]>
staging: rtl8723bs: remove return from void function

Rodrigo Gobbi <[email protected]>
staging: rtl8723bs: change remaining printk to proper api

Rob Barnes <[email protected]>
platform/chrome: cros_ec_proto: Fix deferred response

Hongyan Xu <[email protected]>
soc: qcom: apr: clean up failed service registrations

Felix Gu <[email protected]>
spi: omap2-mcspi: Remove unbalanced pm_runtime_put_sync() calls

Ruoyu Wang <[email protected]>
pwm: renesas-tpu: Fix runtime PM reference leak

David Heidelberg <[email protected]>
ASoC: wcd-mbhc-v2: Fix incorrect properties names and typos

Cai Xinchen <[email protected]>
lsm: don't call security_backing_file_free() multiple times

Runyu Xiao <[email protected]>
remoteproc: xlnx: Initialize mailbox work before requesting channels

Shujath Mohd <[email protected]>
arm64: dts: qcom: sdm845-sony-xperia-tama: Fix Bluetooth UART pinctrl

Anup Vishwakarma <[email protected]>
remoteproc: qcom_q6v5_adsp: Fix double jiffies conversion in adsp_start()

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate unwinding sizes against record payload

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate sym string NUL-termination in code load

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate debug entries on native (non-swap) path

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Use dirname() return value in jit_open()

Hrishikesh Suresh <[email protected]>
perf: replace strcpy() with strncpy() in util/jitdump.c

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Free event in jit_repipe_code_move()

Ian Rogers <[email protected]>
perf sample: Make user_regs and intr_regs optional

Ian Rogers <[email protected]>
perf python: Constify variables and parameters

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Fix funlockfile on unlocked stream in jit_open() error path

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Check snprintf return before computing header size

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Bounds-check debug entry byte-swap loop

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Prevent integer underflow in debug info size calculation

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Validate code_size against total_size in code load

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Fix debug_data and unwinding_data leaks

Arnaldo Carvalho de Melo <[email protected]>
perf jitdump: Fix extended header read that always fails

Breno Leitao <[email protected]>
kexec_file: stop the top-down search before it underflows

Rosen Penev <[email protected]>
ARM: dts: helios4: fix spi1 location

Rosen Penev <[email protected]>
ARM: dts: helios4: fix vbus-supply for USB2 PHY

Rosen Penev <[email protected]>
ARM: dts: armada-388-helios4: fix vmmc property name

Rosen Penev <[email protected]>
ARM: dts: armada-395-gp: drop unsupported SDHCI clock-frequency

Rosen Penev <[email protected]>
ARM: dts: armada-385-clearfog-gtr: fix vmmc property name

Rosen Penev <[email protected]>
ARM: dts: helios4: fix lm75 supply name

Pei Xiao <[email protected]>
ata: pata_parport: Fix use-after-free in new_device_store

Matti Vaittinen <[email protected]>
iio: pressure: rohm-bm1390: Fix AVE_NUM initialization

Salah Triki <[email protected]>
iio: temperature: tmp117: fix calibbias cache update on I2C write failure

Esben Haabendal <[email protected]>
dt-bindings: iio: light: ltr501: Add missing ltr303 compatible

Esben Haabendal <[email protected]>
dt-bindings: iio: light: ltr501: Sort compatible enum array

Adi Nata <[email protected]>
iio: humidity: hts221: report available values via read_avail()

Pengpeng Hou <[email protected]>
spi: sh-msiof: propagate setup runtime-PM errors

Geert Uytterhoeven <[email protected]>
spi: sh-msiof: SITMDR1/SIRMDR1 bitfield conversion

Chandradhar Kumar <[email protected]>
regulator: fixed: reject incompatible platform devices

Yuan Chen <[email protected]>
bpftool: Fix spurious batch file read error

Tapio Reijonen <[email protected]>
gpio: pcf857x: implement get_direction()

Bartosz Golaszewski <[email protected]>
gpio: pcf857x: use new GPIO line value setter callbacks

Nicolas Frattaroli <[email protected]>
drm/panthor: Take reqs_lock in soft_reset for clearing pending_reqs

Alexis Lothoré (eBPF Foundation) <[email protected]>
selftests/bpf: Allocate a larger timeout for connection

Darren Carreras <[email protected]>
libbpf: Avoid overflow in BTF.ext bounds check

Tony Ambardar <[email protected]>
libbpf: Support BTF.ext loading and output in either endianness

Tony Ambardar <[email protected]>
libbpf: Improve log message formatting

Marek Vasut <[email protected]>
drm: of: Fix drm_of_get_data_lanes_count_ep() return value documentation

Andreas Kemnade <[email protected]>
drm/omap: dsi: avoid sending bta sync all the time in writes

Tejun Heo <[email protected]>
bpf: sched_ext: Mark ops argument container pointer fields as trusted

Song Liu <[email protected]>

    bpf: Mark dentry->d_inode as trusted_or_null

Adrián Larumbe <[email protected]>
drm/panfrost: Prevent division by 0

Hao-Qun Huang <[email protected]>
accel/qaic: reject BO sizes that overflow page count

Raveendra Talabattula <[email protected]>
drm/komeda: Fix bits parsing of GLB_CORE_ID

Su Hui <[email protected]>
fs/stat.c: avoid harmless garbage value problem in vfs_statx_path()

Borislav Petkov (AMD) <[email protected]>
x86/microcode/AMD: Move the no-revision fixup to get_patch_level()

Daejun Park <[email protected]>
xfs: add a flag to convert unwritten extents without allocating blocks

Heiner Kallweit <[email protected]>
r8169: align RTL8125/RTL8126 PHY config with vendor driver

Pei Xiao <[email protected]>
comedi: dt2811: fix shift-out-of-bounds in IRQ check

Yang Zi <[email protected]>
comedi: addi_apci_3xxx: fix subdevice count underallocation

Pablo Neira Ayuso <[email protected]>
netfilter: flowtable: ensure sufficient headroom in xmit path

Amir Goldstein <[email protected]>
ovl: inherit FMODE_NONOTIFY when reading directory layers

Mike Rapoport (Microsoft) <[email protected]>
mm/cma: accept memory of CMA areas reserved at a fixed address

David Hildenbrand (Arm) <[email protected]>
mm/shmem: fix accounting of swapin-error markers

Roman Li <[email protected]>
drm/amd/display: Reset DET of HUBPs without a plane before outstanding updates

Ilya Bakoulin <[email protected]>
drm/amd/display: Minimize wait for pending updates

Yingjie Wang <[email protected]>
nvmet: reject keep-alive timeouts that would overflow

Jouni Högander <[email protected]>
drm/i915/display: Add enabled pipe planes into state for selective fetch

David Hildenbrand (Arm) <[email protected]>
mm/shmem: make shmem_file() check the file's inode

Bernard Pidoux <[email protected]>
hdlcdrv: close the hardware driver once, and only if it was opened

Bernard Pidoux <[email protected]>
rose: disconnect sockets under their lock when a neighbour goes away

Bernard Pidoux <[email protected]>
rose: clear the other half of a through route a new call takes over

Bernard Pidoux <[email protected]>
rose: give loopback answers LCIs that calls cannot be given

Bernard Pidoux <[email protected]>
rose: refuse an empty message when the Q bit is included

Bernard Pidoux <[email protected]>
rose: keep a socket unbound when connect() fails to autobind it

Bernard Pidoux <[email protected]>
rose: check the length of Restart Request and Diagnostic frames

Bernard Pidoux <[email protected]>
rose: change the loopback nodes under the neighbour list lock too

Bernard Pidoux <[email protected]>
rose: hold RTNL while a route is added or deleted

Bernard Pidoux <[email protected]>
rose: walk the neighbour list under its lock when a device goes down

Jesse Zhang <[email protected]>
drm/amdkfd: use the queue's process info for the WPTR BO eviction fence

Lang Yu <[email protected]>
drm/amdkfd: Map wptr BO to GART unconditionally

Ajay Kumar Nandam <[email protected]>
ASoC: qcom: q6apm: clear g_apm on driver removal

David Hildenbrand (Arm) <[email protected]>
fork: take mmap_lock before copying mm_struct

David Hildenbrand (Arm) <[email protected]>
mm/rmap: handle device-exclusive entries in folio_referenced_one()

Josef Bacik <[email protected]>

    mm/filemap: read mapping->a_ops->free_folio under i_lock

Cong Zhang <[email protected]>
virtio_blk: use synchronous quiesce in virtblk_freeze_priv()

Cen Zhang (Microsoft) <[email protected]>
apparmor: fix query_data() output overlapping the lookup key

Gregory Price <[email protected]>
mm/userfaultfd: compare exact registration modes before skipping

Ian Bridges <[email protected]>
ksmbd: let the owner read and change the DACL when no ACE names it

YouYou Yu <[email protected]>
quota: initialize dquot cache before mounting rootfs

Shubham Antil <[email protected]>
vhost-scsi: zero misaligned I/O bounce pages

Mike Christie <[email protected]>
vhost-scsi: Reduce mem use by moving upages to per queue

David Hildenbrand (Arm) <[email protected]>
mm/mremap: use pudp_huge_get_and_clear() when moving huge PUDs

David Hildenbrand (Arm) <[email protected]>
mm/madvise: preserve VMA_SOFTDIRTY_BIT when changing anonymous names

Josef Bacik <[email protected]>
mm/hugetlb: don't clear the resv_map of a VMA whose lock is held

Jouni Högander <[email protected]>
drm/i915/psr: Clear selective fetch area when duplicating plane state

David Hildenbrand (Arm) <[email protected]>
mm/vma: don't leak the charge for stack growth

Daejun Park <[email protected]>
nvme: unregister when pr_register() is given a zero new key

Guixin Liu <[email protected]>
nvme: tuning pr code by using defined structs and macros

Jesse Zhang <[email protected]>
drm/amdgpu: don't walk the CS chunks when allocating them failed

Guenter Roeck <[email protected]>
hwmon: (tmp108) Fix initial conversion delay and wait until ready

Frank Li <[email protected]>
hwmon: (tmp108) Add helper function tmp108_common_probe() to prepare I3C support

Guenter Roeck <[email protected]>
hwmon: (coretemp) Fix 32-bit jiffies wraparound in show_temp()

Myeonghun Pak <[email protected]>
fbdev: kyro: Release WC setup on registration failure

Giovanni Di Santi <[email protected]>
fbdev: kyro: Use devm_ioremap_wc() for screen mem

Giovanni Di Santi <[email protected]>
fbdev: kyro: Use devm_ioremap() for mmio registers

Chris Mason <[email protected]>
mm/huge_memory: fix truncate racing with PMD zapping

David Hildenbrand (Arm) <[email protected]>
mm: fix address wraparound when scanning large folio PTEs

Aditya Sharma <[email protected]>
mm/memory: update stale locking comments for fault handlers

Jinliang Zheng <[email protected]>
mm: fix outdated incorrect code comments for handle_mm_fault()

Li Zhe <[email protected]>
mm/hugetlb: fix mremap deadlock when PMD sharing is possible

Chengfeng Ye <[email protected]>
l2tp: snapshot sequencing state when building transmit headers

Fuad Tabba <[email protected]>
KVM: arm64: vgic-its: Don't map an LPI from more than one event

Mike Christie <[email protected]>
scsi: target: Fix LUN/device R/W and total command stats

Yu Zhang <[email protected]>
scsi: target: Fix demo-mode dynamic ACL dev-entry UAF vs LUN teardown

Mike Christie <[email protected]>
scsi: target: Move I/O path stats to per CPU

Lorenzo Stoakes (ARM) <[email protected]>

    mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows

Sasha Levin <[email protected]>
Revert "x86/mm/pat: Fix effective RW computation in lookup_address_in_pgd_attr()"

Sasha Levin <[email protected]>
Revert "x86/mm/pat: Use pr_warn() for early W^X warnings"

Jann Horn <[email protected]>
cipso: stop modifying live ip_options_rcu

Ian Bridges <[email protected]>
ksmbd: do not read past the DACL in the access denied debug message

Javier Carrasco <[email protected]>
hwmon: chipcap2: synchronize ready IRQ state

Javier Carrasco <[email protected]>
hwmon: chipcap2: serialize access to the alarm indicators

Guenter Roeck <[email protected]>
hwmon: (chipcap2) Drop unnecessary include files

Javier Carrasco <[email protected]>
hwmon: (chipcap2) Switch to guard() for mutext handling

Cen Zhang <[email protected]>
ocfs2: validate move extents against a stable EOF

Qu Wenruo <[email protected]>
btrfs: raid56: do not verify the content if there is no data checksum

Kevin Wang <[email protected]>
drm/amd/pm: populate unique ID for smu 13.0.7

Guenter Roeck <[email protected]>
hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds

Melissa Wen <[email protected]>
drm/amd/display: Signal PQ EOTF in FreeSync infopacket for DP HDR

Krzysztof Kozlowski <[email protected]>
drm/msm/hdmi: Handle msm_hdmi_power_on() errors during .atomic_pre_enable()

Eva Kurchatova <[email protected]>
hugetlbfs: enforce F_SEAL_EXEC in setattr

Mikhail Gavrilov <[email protected]>
drm/amd/display: set allow_freesync before validating a new stream

Leo Liu <[email protected]>
drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg

Johannes Weiner <[email protected]>
mm: page_alloc: do not give all non-blocking requests reserve access

David Hildenbrand (Arm) <[email protected]>
mm/mremap: recheck PUDs under the page table lock

Josef Bacik <[email protected]>
mm/mremap: fix moving PUD leaves

Myeonghun Pak <[email protected]>
hwmon: (sht15) Stop deferred work before releasing its resources

Pan Chuang <[email protected]>
hwmon: (sht15) Remove redundant dev_err()

Lance Yang <[email protected]>
khugepaged: fix readahead lock inversion in collapse_file()

Will Deacon <[email protected]>
tools: linux/types.h: Add 128-bit integer types for arm64 UAPI structures

Takashi Iwai <[email protected]>
ALSA: pcm: Prevent O_APPEND open on OSS streams

Takashi Iwai <[email protected]>
ALSA: pcm: Optimize cpu_latency_qos_*() calls

Vincent Mailhol <[email protected]>
can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

Matt Turner <[email protected]>
alpha: select SYSCTL_EXCEPTION_TRACE

Yufan Chen <[email protected]>
io_uring/eventfd: reset deferred signal state

Eric Dumazet <[email protected]>
inet: frags: bound the wmem charge of the socket completing a reassembly

Ciro Pedrini <[email protected]>
platform/x86: hp-wmi: Add OMEN board 8A17 thermal profile support

Ilpo Järvinen <[email protected]>
platform/x86: hp-wmi: Order DMI board name arrays

Chengfeng Ye <[email protected]>
mm/ksm: mark migration stores with WRITE_ONCE()

Georgia Garcia <[email protected]>
apparmor: fix profile leak when a policy load fails

Jesse Zhang <[email protected]>
drm/amdgpu: drop the gang leader reference when freeing gang jobs

Prike Liang <[email protected]>
drm/amdgpu: finish GPU recovery callbacks before restarting schedulers

Lorenzo Stoakes (ARM) <[email protected]>
mm/vma: fix expansion of VMA_MIXEDMAP_BIT VMAs

Chao Yu <[email protected]>
f2fs: fix to fetch ino via ino_of_node() under cache lock

Lorenzo Stoakes (ARM) <[email protected]>
mm/vma: update VMA iterator state on error in new VMA merge

David Hildenbrand (Arm) <[email protected]>
mm/memory-tiers: unregister empty tiers outside memory_tier_lock

Amir Goldstein <[email protected]>
ovl: inherit FMODE_NONOTIFY when opening directory realfiles

Darong Lu <[email protected]>
libceph: initialize CRUSH choose argument weights

Javier Carrasco <[email protected]>
hwmon: chipcap2: disable device after hwmon teardown

Javier Carrasco <[email protected]>
hwmon: chipcap2: fix IRQ teardown ordering

Chao Yu <[email protected]>
f2fs: fix to update superblock crc in sanity_check_area_boundary()

David Hildenbrand (Arm) <[email protected]>
mm/userfaultfd: wake waiters when registration modes are removed

Christian Brauner <[email protected]>
backing-file: enforce append-only and immutable backing inodes

David Hildenbrand (Arm) <[email protected]>
mm/userfaultfd: write-lock the VMA before waking waiters when unregistering

Linlin Yang <[email protected]>

    wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()

Christian Brauner <[email protected]>
proc: don't let an entry below /proc/<pid>/net be a mountpoint

Ali Ahmet Memiş <[email protected]>
platform/x86: ideapad-laptop: Evaluate ACPI methods exclusively

Ali Ahmet Memiş <[email protected]>
ACPI: utils: Add exclusive AML evaluation helpers

Eklavya Singh <[email protected]>
ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute

Karl Mehltretter <[email protected]>
ocfs2/cluster: hold a reference on the heartbeat thread

guolingxing <[email protected]>
btrfs: prevent deleting the wrong subvolume by ID

William Palacek <[email protected]>
drm/amdkfd: Validate the control stack of a restored queue

Rik van Riel <[email protected]>
mm/memcontrol: fix stuck FLUSHING_CACHED_CHARGE bit on isolated cpus

Yao Yiqi <[email protected]>
fbcon: Rebuild rotated font buffer on font change

Priyank Rathod <[email protected]>
PCI/AER: Fix memory leak in aer_recover_work_func() when pci_dev is missing

Vernon Yang <[email protected]>
selftests/mm: include kselftest.h in vm_util.h

Ian Bridges <[email protected]>
ksmbd: enforce the read-only share flag when creating a stream

David Hildenbrand (Arm) <[email protected]>
mm/ksm: fix use of a freed anon_vma at swap-in

Ian Bridges <[email protected]>
ksmbd: revert fsids on durable reconnect and replay failure

Yizhou Zhao <[email protected]>
9p/xen: drain response work after unbinding IRQ

Josef Bacik <[email protected]>
mm/hugetlb: fix endless write fault on a leftover uffd bit

Eric Dumazet <[email protected]>
inet: frags: limit the truesize of a reassembly queue

Sean Christopherson <[email protected]>
KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

-------------

Diffstat:

 .gitignore                                         |    1 -
 Documentation/ABI/testing/sysfs-bus-pci            |   14 +-
 Documentation/ABI/testing/sysfs-class-power-mp2629 |    2 +-
 Documentation/admin-guide/LSM/LoadPin.rst          |   10 +-
 Documentation/admin-guide/LSM/ipe.rst              |    4 +-
 .../bindings/arm/mediatek/mediatek,audsys.yaml     |    2 +-
 .../bindings/clock/mediatek,apmixedsys.yaml        |    2 +-
 .../bindings/clock/mediatek,topckgen.yaml          |    2 +-
 .../devicetree/bindings/display/msm/hdmi.yaml      |    4 +-
 .../devicetree/bindings/dma/stericsson,dma40.yaml  |   14 +
 .../bindings/iio/light/liteon,ltr501.yaml          |    3 +-
 .../media/allwinner,sun4i-a10-video-engine.yaml    |   21 +-
 .../power/supply/stericsson,ab8500-charger.yaml    |   76 +-
 .../devicetree/bindings/vendor-prefixes.yaml       |   22 +
 Documentation/sound/designs/midi-2.0.rst           |    7 +
 Documentation/trace/histogram.rst                  |    3 +
 Makefile                                           |    4 +-
 arch/alpha/Kconfig                                 |    1 +
 arch/alpha/mm/fault.c                              |   29 +
 arch/arc/Makefile                                  |    9 +-
 arch/arc/lib/Makefile                              |    8 +
 arch/arm/boot/dts/gemini/gemini.dtsi               |    2 +-
 .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi  |    2 +-
 arch/arm/boot/dts/marvell/armada-388-helios4.dts   |   23 +-
 arch/arm/boot/dts/marvell/armada-395-gp.dts        |    1 -
 arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi          |   40 +-
 arch/arm/boot/dts/qcom/qcom-msm8974.dtsi           |   30 +-
 arch/arm/boot/dts/st/ste-ab8500.dtsi               |    6 -
 arch/arm/boot/dts/st/ste-ab8505.dtsi               |   23 +-
 arch/arm/boot/dts/st/ste-dbx5x0.dtsi               |    5 -
 arch/arm/boot/dts/st/ste-href-ab8500.dtsi          |  104 ++
 arch/arm/boot/dts/st/ste-href-ab8505.dtsi          |  118 +-
 arch/arm/boot/dts/st/stm32mp135.dtsi               |   44 +-
 arch/arm/boot/dts/st/stm32mp157c-lxa-mc1.dts       |    2 +-
 arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi      |    2 +-
 arch/arm/boot/dts/st/stm32mp15xx-dhcom-som.dtsi    |    2 +
 arch/arm/include/asm/domain.h                      |   17 -
 arch/arm/include/asm/memory.h                      |    4 +-
 arch/arm/include/asm/pgtable-2level-hwdef.h        |    1 -
 arch/arm/include/asm/pgtable-2level.h              |    7 -
 arch/arm/include/asm/sparsemem.h                   |    4 +
 arch/arm/kernel/efi.c                              |   13 +
 arch/arm/mach-mvebu/Kconfig                        |    4 +-
 arch/arm/mach-versatile/platsmp-vexpress.c         |    4 +-
 arch/arm/mach-versatile/v2m.c                      |    4 +-
 arch/arm/mm/Kconfig                                |    7 -
 arch/arm/mm/alignment.c                            |   10 +-
 arch/arm/mm/dma-mapping.c                          |    5 +-
 arch/arm/mm/ioremap.c                              |   53 +-
 arch/arm/mm/mmu.c                                  |   76 +-
 arch/arm64/Kconfig.platforms                       |    1 -
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi       |    4 +-
 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi  |    9 +
 .../boot/dts/amlogic/meson-sm1-odroid-hc4.dts      |    4 +-
 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts      |   14 +-
 arch/arm64/boot/dts/freescale/imx8qm-mek.dts       |   26 +-
 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts      |    4 +-
 arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts  |    4 +-
 arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts    |    4 +-
 arch/arm64/boot/dts/freescale/imx95.dtsi           |    4 +-
 arch/arm64/boot/dts/mediatek/mt8173.dtsi           |    2 +-
 arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi         |    8 +-
 arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi     |   13 +-
 .../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi     |    2 +
 arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts  |    4 +
 arch/arm64/boot/dts/qcom/sm8150.dtsi               |    2 +-
 .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts  |    1 +
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts          |    1 +
 arch/arm64/boot/dts/rockchip/rk3328.dtsi           |    2 +-
 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts    |   32 +-
 arch/arm64/boot/dts/rockchip/rk3566-base.dtsi      |   39 +
 arch/arm64/boot/dts/rockchip/rk3566.dtsi           |  118 +-
 arch/arm64/boot/dts/rockchip/rk3568.dtsi           |  117 +-
 .../dts/rockchip/{rk356x.dtsi => rk356x-base.dtsi} |   82 --
 .../boot/dts/rockchip/rk3588s-gameforce-ace.dts    |    7 +-
 arch/arm64/boot/dts/st/stm32mp231.dtsi             | 1213 ++++++++++++++++++++
 arch/arm64/boot/dts/st/stm32mp233.dtsi             |   94 ++
 arch/arm64/boot/dts/st/stm32mp235.dtsi             |   16 +
 arch/arm64/boot/dts/st/stm32mp23xc.dtsi            |    8 +
 arch/arm64/boot/dts/st/stm32mp23xf.dtsi            |    8 +
 arch/arm64/boot/dts/st/stm32mp251.dtsi             |    2 +-
 arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi         |   41 +-
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts            |  124 +-
 arch/arm64/kernel/pi/Makefile                      |    1 +
 arch/arm64/kvm/vgic/vgic-its.c                     |   37 +-
 arch/m68k/apollo/dn_ints.c                         |    6 +
 arch/m68k/mac/config.c                             |   31 +-
 arch/microblaze/Makefile                           |    6 +-
 arch/microblaze/include/asm/uaccess.h              |    3 +-
 arch/microblaze/kernel/cpu/cpuinfo.c               |    1 +
 arch/microblaze/kernel/ptrace.c                    |    3 +
 arch/mips/Makefile                                 |   22 +-
 arch/mips/cavium-octeon/dma-octeon.c               |    2 +-
 arch/nios2/kernel/nios2_ksyms.c                    |    1 +
 arch/powerpc/kernel/trace/ftrace_entry.S           |    6 +
 arch/riscv/include/asm/insn.h                      |    2 +-
 arch/riscv/net/bpf_jit_comp64.c                    |   14 +-
 arch/riscv/net/bpf_jit_core.c                      |    1 +
 arch/s390/kernel/ptrace.c                          |    9 +-
 arch/s390/kernel/uprobes.c                         |    2 +-
 arch/sh/Kconfig                                    |    1 +
 arch/sh/boards/board-sh7785lcr.c                   |    2 +-
 arch/sh/configs/migor_defconfig                    |    2 +-
 arch/sh/configs/sdk7786_defconfig                  |    2 +-
 arch/sh/configs/shx3_defconfig                     |    2 +-
 arch/sh/include/asm/uaccess_32.h                   |    8 +-
 arch/um/drivers/ubd_kern.c                         |    1 -
 arch/x86/boot/compressed/efi_mixed.S               |   16 +-
 arch/x86/include/asm/efi.h                         |    3 +
 arch/x86/include/asm/svm.h                         |    4 +-
 arch/x86/kernel/cpu/microcode/amd.c                |   12 +-
 arch/x86/kernel/crash.c                            |    6 +-
 arch/x86/kvm/svm/nested.c                          |   23 +-
 arch/x86/kvm/svm/svm.c                             |    2 +
 arch/x86/kvm/svm/svm.h                             |    2 +
 arch/x86/mm/pat/set_memory.c                       |   23 +-
 arch/x86/platform/efi/efi.c                        |   29 -
 arch/x86/platform/efi/efi_64.c                     |   42 -
 arch/x86/platform/pvh/enlighten.c                  |    2 +
 arch/x86/power/hibernate.c                         |   51 +-
 block/bdev.c                                       |   12 +-
 block/bfq-iosched.c                                |    4 +-
 block/blk-cgroup.c                                 |   19 +-
 block/blk-cgroup.h                                 |    6 +-
 block/blk-flush.c                                  |    8 +-
 block/blk-iocost.c                                 |  311 +++--
 block/blk-iolatency.c                              |    3 +-
 block/blk-map.c                                    |    1 +
 block/blk-mq-debugfs.c                             |    1 -
 block/blk-mq-sched.c                               |    3 +-
 block/blk-mq.c                                     |   42 +-
 block/blk-rq-qos.c                                 |   18 +-
 block/blk-throttle.c                               |   91 +-
 block/blk-timeout.c                                |    3 +-
 block/blk.h                                        |   14 +
 block/fops.c                                       |   12 +-
 block/partitions/mac.c                             |    4 +-
 crypto/asymmetric_keys/verify_pefile.c             |    5 +
 crypto/lskcipher.c                                 |    6 +-
 crypto/tcrypt.c                                    |  182 +--
 drivers/accel/qaic/qaic_data.c                     |    8 +-
 drivers/acpi/acpi_extlog.c                         |    9 +
 drivers/acpi/acpi_pcc.c                            |   29 +-
 drivers/acpi/acpi_video.c                          |   12 +-
 drivers/acpi/acpica/dsfield.c                      |    3 +-
 drivers/acpi/acpica/exfield.c                      |   11 +-
 drivers/acpi/acpica/nsxfname.c                     |    1 +
 drivers/acpi/apei/ghes.c                           |   16 +-
 drivers/acpi/button.c                              |   12 +
 drivers/acpi/cppc_acpi.c                           |   22 +-
 drivers/acpi/device_pm.c                           |   77 +-
 drivers/acpi/fan_core.c                            |    9 +-
 drivers/acpi/glue.c                                |   10 +-
 drivers/acpi/numa/hmat.c                           |    2 +-
 drivers/acpi/pci_link.c                            |    1 +
 drivers/acpi/pci_root.c                            |   22 +-
 drivers/acpi/scan.c                                |   40 +-
 drivers/acpi/tables.c                              |    3 +
 drivers/acpi/utils.c                               |   41 +
 drivers/ata/libahci.c                              |   15 +
 drivers/ata/libata-core.c                          |   12 +
 drivers/ata/libata-scsi.c                          |    2 +-
 drivers/ata/pata_parport/pata_parport.c            |    9 +-
 drivers/ata/sata_dwc_460ex.c                       |    5 +-
 drivers/base/node.c                                |   17 +-
 drivers/base/power/runtime.c                       |    6 +-
 drivers/base/power/wakeirq.c                       |   26 +
 drivers/block/amiflop.c                            |    1 -
 drivers/block/aoe/aoeblk.c                         |    1 -
 drivers/block/ataflop.c                            |    1 -
 drivers/block/drbd/drbd_main.c                     |    1 +
 drivers/block/drbd/drbd_receiver.c                 |    2 +
 drivers/block/floppy.c                             |   11 +-
 drivers/block/loop.c                               |    3 +-
 drivers/block/mtip32xx/mtip32xx.c                  |    1 -
 drivers/block/nbd.c                                |    3 +-
 drivers/block/null_blk/main.c                      |    2 -
 drivers/block/ps3disk.c                            |    3 +-
 drivers/block/rbd.c                                |    1 -
 drivers/block/rnbd/rnbd-clt.c                      |    3 +-
 drivers/block/rnbd/rnbd-srv-sysfs.c                |   28 +-
 drivers/block/rnbd/rnbd-srv.c                      |   36 +-
 drivers/block/sunvdc.c                             |    2 +-
 drivers/block/swim.c                               |  287 ++---
 drivers/block/swim3.c                              |   11 +-
 drivers/block/swim_asm.S                           |  136 +--
 drivers/block/ublk_drv.c                           |    1 -
 drivers/block/virtio_blk.c                         |    3 +-
 drivers/block/xen-blkback/blkback.c                |    7 +
 drivers/block/xen-blkfront.c                       |    1 -
 drivers/block/z2ram.c                              |    1 -
 drivers/bluetooth/btintel.c                        |    6 +-
 drivers/bluetooth/btmtk.c                          |   88 +-
 drivers/bluetooth/btmtksdio.c                      |   13 +-
 drivers/bluetooth/btusb.c                          |   19 +-
 drivers/bluetooth/virtio_bt.c                      |    4 +-
 drivers/bus/arm-cci.c                              |    6 +-
 drivers/cdrom/gdrom.c                              |    2 +-
 drivers/char/hw_random/cctrng.c                    |    7 +-
 drivers/char/hw_random/intel-rng.c                 |    5 +-
 drivers/char/hw_random/jh7110-trng.c               |   39 +-
 drivers/char/scx200_gpio.c                         |    8 +-
 drivers/clk/bcm/clk-raspberrypi.c                  |    2 +
 drivers/clk/clk-cdce925.c                          |    9 +-
 drivers/clk/clk-lmk04832.c                         |    3 +
 drivers/clk/clk-milbeaut.c                         |   10 +-
 drivers/clk/clk-renesas-pcie.c                     |    5 +
 drivers/clk/clk-s2mps11.c                          |   12 +-
 drivers/clk/clk-si521xx.c                          |    2 +-
 drivers/clk/clk-si5351.c                           |   20 +-
 drivers/clk/clk.c                                  |   51 +-
 drivers/clk/clk.h                                  |    5 +-
 drivers/clk/clkdev.c                               |    4 +-
 drivers/clk/imx/clk-composite-93.c                 |   11 +-
 drivers/clk/mediatek/reset.h                       |    6 +-
 drivers/clk/qcom/clk-alpha-pll.c                   |    9 +
 drivers/clk/qcom/clk-rcg2.c                        |   35 +-
 drivers/clk/qcom/dispcc-sm8450.c                   |    2 +-
 drivers/clk/qcom/gcc-x1e80100.c                    |    6 +-
 drivers/clk/qcom/mmcc-msm8960.c                    |    3 +-
 drivers/clk/qcom/mmcc-msm8996.c                    |    4 +-
 drivers/clk/qcom/mmcc-sdm660.c                     |    2 +-
 drivers/clk/starfive/clk-starfive-jh7110-sys.c     |    3 +
 drivers/clk/ti/adpll.c                             |    1 +
 drivers/clk/versatile/clk-icst.c                   |    4 +
 drivers/clocksource/clksrc-dbx500-prcmu.c          |    2 +
 drivers/clocksource/timer-mediatek.c               |    4 +-
 drivers/comedi/drivers/addi_apci_3xxx.c            |    2 +-
 drivers/comedi/drivers/comedi_parport.c            |    3 +-
 drivers/comedi/drivers/dmm32at.c                   |    3 +-
 drivers/comedi/drivers/dt2811.c                    |    2 +-
 drivers/comedi/drivers/dt2814.c                    |    3 +-
 drivers/comedi/drivers/ni_atmio16d.c               |    4 +-
 drivers/comedi/drivers/pcmmio.c                    |    3 +-
 drivers/comedi/drivers/pcmuio.c                    |    5 +-
 drivers/cpufreq/amd-pstate.c                       |   18 +-
 drivers/cpufreq/qcom-cpufreq-hw.c                  |    3 +
 drivers/cpufreq/sparc-us2e-cpufreq.c               |   11 +-
 drivers/cpufreq/sti-cpufreq.c                      |    4 +-
 drivers/cpufreq/tegra194-cpufreq.c                 |    2 +-
 drivers/cpuidle/governors/menu.c                   |    8 +-
 drivers/cpuidle/governors/teo.c                    |   11 +
 drivers/crypto/amlogic/amlogic-gxl-cipher.c        |   25 +-
 drivers/crypto/atmel-aes.c                         |    2 +
 drivers/crypto/atmel-sha.c                         |   17 +
 drivers/crypto/ccp/ccp-dev-v3.c                    |    4 +
 drivers/crypto/ccp/ccp-dev-v5.c                    |    4 +
 drivers/crypto/hisilicon/hpre/hpre_crypto.c        |    2 -
 drivers/crypto/intel/qat/qat_common/adf_init.c     |   24 +-
 drivers/crypto/intel/qat/qat_common/adf_isr.c      |   15 +-
 drivers/crypto/intel/qat/qat_common/qat_algs.c     |   15 +-
 .../crypto/intel/qat/qat_common/qat_asym_algs.c    |   38 +-
 drivers/crypto/mxs-dcp.c                           |    3 +
 drivers/crypto/starfive/jh7110-cryp.c              |   20 +-
 drivers/crypto/talitos.c                           |   93 +-
 drivers/crypto/talitos.h                           |    5 +-
 drivers/cxl/acpi.c                                 |    7 +-
 drivers/cxl/core/hdm.c                             |   57 +-
 drivers/cxl/core/pci.c                             |    9 +
 drivers/cxl/core/port.c                            |   28 +-
 drivers/cxl/core/region.c                          |    4 +-
 drivers/cxl/cxl.h                                  |   10 +-
 drivers/dax/bus.c                                  |    8 +-
 drivers/dma/at_hdmac.c                             |   28 +-
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c     |   37 +-
 drivers/dma/dw-axi-dmac/dw-axi-dmac.h              |    5 +-
 drivers/dma/fsl_raid.c                             |   32 +-
 drivers/dma/img-mdc-dma.c                          |    2 +-
 drivers/dma/ioat/init.c                            |   18 +-
 drivers/dma/mediatek/mtk-hsdma.c                   |   26 +-
 drivers/dma/mv_xor.c                               |    1 +
 drivers/dma/plx_dma.c                              |   10 +-
 drivers/dma/sprd-dma.c                             |   45 +-
 drivers/dma/ste_dma40.c                            |  434 ++++---
 drivers/dma/ste_dma40_ll.h                         |    2 -
 drivers/dma/sun6i-dma.c                            |   31 +-
 drivers/dma/xilinx/xilinx_dma.c                    |   37 +-
 drivers/dma/xilinx/zynqmp_dma.c                    |   29 +-
 drivers/edac/i10nm_base.c                          |    1 +
 drivers/firmware/arm_scmi/common.h                 |   22 +
 drivers/firmware/arm_scmi/driver.c                 |   38 +-
 drivers/firmware/arm_scmi/protocols.h              |    9 +-
 drivers/firmware/arm_scmi/raw_mode.c               |   29 +-
 drivers/firmware/cirrus/cs_dsp.c                   |    2 +
 drivers/firmware/efi/cper.c                        |   51 +-
 drivers/firmware/efi/efi.c                         |    3 -
 drivers/firmware/efi/libstub/efi-stub-entry.c      |    4 +-
 drivers/firmware/efi/libstub/efi-stub-helper.c     |   10 +-
 drivers/firmware/efi/libstub/efi-stub.c            |   30 +-
 drivers/firmware/efi/libstub/efistub.h             |   22 +-
 drivers/firmware/efi/libstub/fdt.c                 |    6 +-
 drivers/firmware/efi/libstub/file.c                |    8 +-
 drivers/firmware/efi/libstub/gop.c                 |   58 +-
 drivers/firmware/efi/libstub/kaslr.c               |    6 +-
 drivers/firmware/efi/libstub/mem.c                 |   22 +-
 drivers/firmware/efi/libstub/pci.c                 |   38 +-
 drivers/firmware/efi/libstub/random.c              |    8 +-
 drivers/firmware/efi/libstub/randomalloc.c         |    4 +-
 drivers/firmware/efi/libstub/relocate.c            |   10 +-
 drivers/firmware/efi/libstub/riscv-stub.c          |    7 +-
 drivers/firmware/efi/libstub/riscv.c               |    2 +-
 drivers/firmware/efi/libstub/tpm.c                 |    8 +-
 drivers/firmware/efi/libstub/unaccepted_memory.c   |    2 +-
 drivers/firmware/efi/libstub/x86-stub.c            |  210 +---
 drivers/firmware/imx/imx-dsp.c                     |    6 +-
 drivers/firmware/qcom/qcom_tzmem.c                 |    2 +-
 drivers/gpio/gpio-crystalcove.c                    |    1 +
 drivers/gpio/gpio-pcf857x.c                        |   33 +-
 drivers/gpu/buddy.c                                |    1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c       |   35 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |    5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   48 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c            |   19 +-
 drivers/gpu/drm/amd/amdgpu/atom.c                  |  105 +-
 drivers/gpu/drm/amd/amdgpu/atom.h                  |    5 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c             |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c           |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c           |    6 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c           |    6 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c              |    4 +-
 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c              |    9 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c              |    8 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c              |    8 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c              |    8 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c              |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c            |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c            |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c            |    6 +-
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c            |   10 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c   |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c   |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c    |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |    3 +
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   48 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   20 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h    |   38 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |    9 +-
 .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c  |   32 +
 drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h |    3 +
 .../gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c    |    3 +
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   |   20 +
 .../gpu/drm/arm/display/include/malidp_product.h   |   10 +-
 drivers/gpu/drm/drm_of.c                           |    8 +-
 drivers/gpu/drm/exynos/exynos_drm_fimd.c           |    2 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    1 +
 drivers/gpu/drm/i915/display/intel_display.c       |   12 +
 drivers/gpu/drm/i915/display/intel_psr.c           |   49 +-
 drivers/gpu/drm/imx/lcdc/imx-lcdc.c                |    3 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c              |    6 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c              |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c      |  102 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h      |   10 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c           |    2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c        |   10 +-
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c   |    4 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c           |    9 -
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   |    3 +
 drivers/gpu/drm/msm/dp/dp_debug.c                  |    1 +
 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c             |   30 +-
 drivers/gpu/drm/msm/msm_io_utils.c                 |    6 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c                  |   63 +-
 drivers/gpu/drm/panfrost/panfrost_devfreq.c        |    2 +-
 drivers/gpu/drm/panfrost/panfrost_mmu.c            |   11 +-
 drivers/gpu/drm/panthor/panthor_gpu.c              |    5 +-
 drivers/gpu/drm/tegra/submit.c                     |   12 +-
 drivers/hid/hid-logitech-hidpp.c                   |    1 +
 drivers/hid/i2c-hid/i2c-hid-core.c                 |   11 +-
 drivers/hid/wacom_wac.c                            |   14 +-
 drivers/hv/vmbus_drv.c                             |    8 +-
 drivers/hwmon/chipcap2.c                           |  260 +++--
 drivers/hwmon/coretemp.c                           |   19 +-
 drivers/hwmon/sht15.c                              |   26 +-
 drivers/hwmon/tmp108.c                             |   65 +-
 drivers/iio/accel/bma220_spi.c                     |    3 +-
 drivers/iio/accel/kionix-kx022a.h                  |    2 +-
 drivers/iio/dac/ad5758.c                           |    8 +-
 drivers/iio/humidity/hts221_core.c                 |  106 +-
 drivers/iio/imu/adis16400.c                        |    5 +-
 drivers/iio/pressure/rohm-bm1390.c                 |    4 +-
 drivers/iio/temperature/tmp117.c                   |    9 +-
 drivers/infiniband/core/device.c                   |    2 +-
 drivers/infiniband/core/lag.c                      |   14 +-
 drivers/infiniband/core/mad.c                      |    2 +
 drivers/infiniband/core/mad_rmpp.c                 |    7 +-
 drivers/infiniband/core/nldev.c                    |    5 +-
 drivers/infiniband/core/restrack.c                 |    3 +-
 drivers/infiniband/core/sysfs.c                    |    9 +-
 drivers/infiniband/core/uverbs_std_types_device.c  |    1 +
 drivers/infiniband/core/uverbs_std_types_wq.c      |    2 +-
 drivers/infiniband/core/verbs.c                    |    3 +-
 drivers/infiniband/hw/bnxt_re/hw_counters.c        |    6 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.c           |   58 +-
 drivers/infiniband/hw/bnxt_re/qplib_res.c          |    9 +-
 drivers/infiniband/hw/bnxt_re/qplib_sp.c           |    2 +-
 drivers/infiniband/hw/cxgb4/cm.c                   |    5 +-
 drivers/infiniband/hw/cxgb4/provider.c             |    5 +
 drivers/infiniband/hw/efa/efa_com.c                |   28 +-
 drivers/infiniband/hw/erdma/erdma_main.c           |    4 +-
 drivers/infiniband/hw/erdma/erdma_verbs.c          |   16 +-
 drivers/infiniband/hw/hfi1/sdma.c                  |    3 +
 drivers/infiniband/hw/hfi1/verbs.c                 |    4 +
 drivers/infiniband/hw/hns/hns_roce_cq.c            |    1 +
 drivers/infiniband/hw/hns/hns_roce_device.h        |    1 +
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c         |   55 +-
 drivers/infiniband/hw/irdma/ctrl.c                 |    8 +-
 drivers/infiniband/hw/irdma/pble.c                 |    8 +-
 drivers/infiniband/hw/irdma/type.h                 |    4 +-
 drivers/infiniband/hw/irdma/verbs.c                |   13 +-
 drivers/infiniband/hw/mlx4/main.c                  |    4 +
 drivers/infiniband/hw/mlx5/cq.c                    |   24 +-
 drivers/infiniband/hw/mlx5/fs.c                    |    4 +-
 drivers/infiniband/hw/mlx5/main.c                  |    2 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |    2 +
 drivers/infiniband/hw/mlx5/odp.c                   |    2 +-
 drivers/infiniband/hw/mlx5/qp.c                    |    8 +-
 drivers/infiniband/hw/mlx5/qpc.c                   |    8 +-
 drivers/infiniband/hw/mlx5/srq.c                   |    3 +-
 drivers/infiniband/hw/mlx5/wr.c                    |    1 +
 drivers/infiniband/hw/usnic/usnic_debugfs.c        |    2 +-
 drivers/infiniband/sw/rdmavt/qp.c                  |    2 +-
 drivers/infiniband/sw/rxe/rxe_loc.h                |    8 +-
 drivers/infiniband/sw/rxe/rxe_mr.c                 |   12 +-
 drivers/infiniband/sw/rxe/rxe_mw.c                 |    3 +
 drivers/infiniband/sw/rxe/rxe_net.c                |   70 +-
 drivers/infiniband/sw/rxe/rxe_qp.c                 |   10 +
 drivers/infiniband/sw/rxe/rxe_recv.c               |    9 +-
 drivers/infiniband/sw/rxe/rxe_req.c                |   11 +-
 drivers/infiniband/sw/rxe/rxe_resp.c               |   23 +-
 drivers/infiniband/sw/rxe/rxe_verbs.h              |    1 +
 drivers/infiniband/sw/siw/siw_main.c               |    5 +-
 drivers/infiniband/sw/siw/siw_qp_tx.c              |   20 +-
 drivers/infiniband/ulp/ipoib/ipoib_main.c          |    7 +
 drivers/infiniband/ulp/isert/ib_isert.c            |    2 +-
 drivers/infiniband/ulp/rtrs/rtrs-clt.c             |   32 +-
 drivers/infiniband/ulp/srp/ib_srp.c                |    2 +-
 drivers/interconnect/qcom/icc-rpm.c                |   11 +-
 drivers/interconnect/qcom/icc-rpm.h                |    4 +-
 drivers/interconnect/qcom/smd-rpm.c                |    8 +-
 drivers/interconnect/samsung/exynos.c              |    1 +
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c   |    4 +-
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c        |    6 +
 drivers/iommu/intel/dmar.c                         |   70 +-
 drivers/irqchip/irq-gic-common.c                   |    2 +-
 drivers/irqchip/irq-gic-v3-its.c                   |  156 ++-
 drivers/irqchip/irq-gic-v3.c                       |   15 +-
 drivers/irqchip/irq-gic.c                          |    4 +-
 drivers/irqchip/irq-riscv-imsic-state.c            |   21 +-
 drivers/leds/led-class-flash.c                     |    2 +-
 drivers/leds/leds-lm3692x.c                        |    4 +-
 drivers/leds/leds-lp8860.c                         |    5 +-
 drivers/leds/leds-pca9532.c                        |    9 +-
 drivers/mailbox/arm_mhuv2.c                        |    9 +-
 drivers/mailbox/pcc.c                              |    5 +-
 drivers/mailbox/qcom-cpucp-mbox.c                  |   37 +-
 drivers/mailbox/qcom-ipcc.c                        |    1 -
 drivers/mailbox/ti-msgmgr.c                        |   12 +-
 drivers/md/dm-rq.c                                 |    2 +-
 drivers/md/dm-snap.c                               |   18 +-
 drivers/md/md.c                                    |   30 +-
 drivers/md/raid10.c                                |    3 +-
 drivers/md/raid5-cache.c                           |   14 +-
 drivers/md/raid5-ppl.c                             |   12 +-
 drivers/md/raid5.c                                 |   65 +-
 drivers/media/i2c/ar0521.c                         |    1 -
 drivers/media/i2c/ov5648.c                         |    4 +-
 drivers/media/platform/qcom/venus/hfi_msgs.c       |    3 +
 drivers/memory/brcmstb_dpfe.c                      |   17 +-
 drivers/memory/emif.c                              |    3 +
 drivers/memory/samsung/exynos5422-dmc.c            |   11 +-
 drivers/memstick/core/ms_block.c                   |    3 +-
 drivers/memstick/core/mspro_block.c                |    3 +-
 drivers/mfd/da9150-core.c                          |    8 +-
 drivers/mfd/intel_quark_i2c_gpio.c                 |   52 +-
 drivers/mfd/rk8xx-core.c                           |    2 +-
 drivers/misc/enclosure.c                           |    3 +-
 drivers/misc/nsm.c                                 |    7 +-
 drivers/mmc/core/queue.c                           |    2 +-
 drivers/mtd/mtd_blkdevs.c                          |    7 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c       |    1 +
 drivers/mtd/spi-nor/spansion.c                     |    7 -
 drivers/mtd/ubi/block.c                            |    2 +-
 drivers/net/amt.c                                  |    8 +-
 drivers/net/can/dev/skb.c                          |    2 +-
 drivers/net/dsa/mv88e6xxx/chip.c                   |    8 +-
 drivers/net/ethernet/alacritech/slicoss.c          |    2 +-
 .../net/ethernet/aquantia/atlantic/aq_pci_func.c   |    2 +-
 drivers/net/ethernet/broadcom/asp2/bcmasp.c        |  121 +-
 drivers/net/ethernet/broadcom/asp2/bcmasp.h        |    4 -
 drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c   |   32 +-
 drivers/net/ethernet/broadcom/bgmac.c              |   51 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c    |    3 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c          |    8 +
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c      |    1 +
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     |  406 ++++---
 drivers/net/ethernet/broadcom/genet/bcmgenet.h     |    3 +
 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c |   80 +-
 drivers/net/ethernet/broadcom/tg3.c                |    6 +
 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c      |   12 +-
 drivers/net/ethernet/ibm/ibmveth.c                 |   41 +-
 drivers/net/ethernet/intel/ice/ice_lib.c           |    4 +
 drivers/net/ethernet/intel/ice/ice_ptp.c           |   49 +-
 drivers/net/ethernet/intel/ice/ice_ptp.h           |    6 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |    4 +-
 drivers/net/ethernet/marvell/octeontx2/nic/qos.c   |    2 +
 drivers/net/ethernet/mellanox/mlx4/intf.c          |   15 +-
 .../ethernet/mellanox/mlx5/core/en_accel/ipsec.c   |    3 +
 .../net/ethernet/mellanox/mlx5/core/en_selftest.c  |    4 +
 .../mlx5/core/steering/hws/mlx5hws_pat_arg.c       |    4 +-
 drivers/net/ethernet/microchip/fdma/fdma_api.c     |   45 +-
 drivers/net/ethernet/microchip/fdma/fdma_api.h     |   20 +-
 .../net/ethernet/microchip/lan966x/lan966x_fdma.c  |   17 +-
 .../net/ethernet/microchip/lan966x/lan966x_mac.c   |    4 +-
 .../net/ethernet/microchip/lan966x/lan966x_main.c  |   19 +-
 .../net/ethernet/microchip/lan966x/lan966x_ptp.c   |   10 +-
 .../net/ethernet/microchip/sparx5/sparx5_fdma.c    |   58 +-
 .../net/ethernet/microchip/sparx5/sparx5_main.c    |    7 +-
 .../net/ethernet/microchip/sparx5/sparx5_main.h    |    2 +
 .../net/ethernet/microchip/sparx5/sparx5_packet.c  |   15 +-
 .../net/ethernet/microchip/sparx5/sparx5_psfp.c    |   10 +-
 drivers/net/ethernet/netronome/nfp/flower/main.h   |    2 +
 .../ethernet/netronome/nfp/flower/tunnel_conf.c    |   24 +-
 .../net/ethernet/pensando/ionic/ionic_bus_pci.c    |    1 +
 drivers/net/ethernet/pensando/ionic/ionic_main.c   |   13 +-
 drivers/net/ethernet/qlogic/qede/qede_filter.c     |    2 +-
 drivers/net/ethernet/realtek/r8169_phy_config.c    |    6 +-
 drivers/net/ethernet/stmicro/stmmac/common.h       |    4 +-
 drivers/net/ethernet/stmicro/stmmac/descs.h        |    6 +-
 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c |    2 +-
 drivers/net/ethernet/stmicro/stmmac/enh_desc.c     |   25 +-
 drivers/net/ethernet/stmicro/stmmac/hwif.h         |    6 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac.h       |   10 +-
 .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c   |   39 -
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   66 +-
 .../net/ethernet/stmicro/stmmac/stmmac_selftests.c |    2 +-
 drivers/net/ethernet/xilinx/xilinx_axienet_main.c  |   86 +-
 drivers/net/gtp.c                                  |   51 +-
 drivers/net/hamradio/hdlcdrv.c                     |    5 +-
 drivers/net/loopback.c                             |    8 +-
 drivers/net/macsec.c                               |    5 +
 drivers/net/phy/Kconfig                            |    5 +-
 drivers/net/phy/Makefile                           |    2 +-
 drivers/net/phy/marvell.c                          |   97 +-
 drivers/net/phy/qcom/qca83xx.c                     |   58 +
 drivers/net/phy/realtek/Kconfig                    |    5 +
 drivers/net/phy/realtek/Makefile                   |    3 +
 .../net/phy/{realtek.c => realtek/realtek_main.c}  |  197 +++-
 drivers/net/ppp/pppoe.c                            |    3 +
 drivers/net/team/team_core.c                       |   11 +
 drivers/net/tun.c                                  |   10 +
 drivers/net/usb/cdc_mbim.c                         |    5 +-
 drivers/net/usb/cdc_ncm.c                          |    7 +-
 drivers/net/usb/lan78xx.c                          |    9 +-
 drivers/net/usb/usbnet.c                           |   32 +-
 drivers/net/veth.c                                 |    7 +-
 drivers/net/virtio_net.c                           |   12 +-
 drivers/net/wireless/ath/ath10k/htt_tx.c           |   12 +-
 drivers/net/wireless/ath/ath11k/Kconfig            |    3 +
 drivers/net/wireless/ath/ath11k/ahb.c              |    1 +
 drivers/net/wireless/ath/ath11k/ce.c               |    2 +-
 drivers/net/wireless/ath/ath11k/core.c             |   13 +-
 drivers/net/wireless/ath/ath11k/dp_rx.c            |   19 +-
 drivers/net/wireless/ath/ath11k/mac.c              |   33 +-
 drivers/net/wireless/ath/ath11k/mac.h              |    2 +-
 drivers/net/wireless/ath/ath11k/wmi.c              |    9 +
 .../net/wireless/ath/ath12k/debugfs_htt_stats.c    |    2 +-
 drivers/net/wireless/ath/ath12k/mac.c              |   21 +-
 drivers/net/wireless/ath/ath12k/pci.c              |   55 +-
 drivers/net/wireless/ath/ath6kl/cfg80211.c         |    2 -
 drivers/net/wireless/ath/carl9170/debug.c          |    5 +-
 drivers/net/wireless/ath/wil6210/txrx.h            |    4 +-
 drivers/net/wireless/broadcom/b43/debugfs.c        |    2 +-
 drivers/net/wireless/broadcom/b43legacy/debugfs.c  |    2 +-
 drivers/net/wireless/marvell/mwifiex/cmdevt.c      |   10 +-
 drivers/net/wireless/marvell/mwifiex/fw.h          |    6 +
 drivers/net/wireless/marvell/mwifiex/init.c        |    1 +
 drivers/net/wireless/marvell/mwifiex/main.c        |    4 +-
 drivers/net/wireless/marvell/mwifiex/main.h        |    1 +
 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c   |    3 +-
 drivers/net/wireless/mediatek/mt76/mac80211.c      |   11 +-
 drivers/net/wireless/mediatek/mt76/mt7603/dma.c    |   18 +-
 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c    |   13 +
 drivers/net/wireless/mediatek/mt76/mt7615/usb.c    |   17 +-
 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c   |   11 +-
 .../net/wireless/mediatek/mt76/mt7915/coredump.c   |    7 +-
 drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c |    6 +
 drivers/net/wireless/mediatek/mt76/mt7915/init.c   |    7 +-
 drivers/net/wireless/mediatek/mt76/mt7915/main.c   |    2 +-
 drivers/net/wireless/mediatek/mt76/mt7921/main.c   |   47 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c    |    2 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h |    5 +
 .../net/wireless/mediatek/mt76/mt7921/pci_mac.c    |    4 +-
 drivers/net/wireless/mediatek/mt76/mt7925/main.c   |   50 +-
 drivers/net/wireless/mediatek/mt76/mt7925/mcu.c    |    2 +-
 drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h |    5 +
 .../net/wireless/mediatek/mt76/mt7925/pci_mac.c    |    6 +-
 drivers/net/wireless/mediatek/mt76/mt792x.h        |    2 +
 drivers/net/wireless/mediatek/mt76/mt792x_mac.c    |    6 +-
 .../net/wireless/mediatek/mt76/mt7996/coredump.c   |    7 +-
 drivers/net/wireless/mediatek/mt76/mt7996/init.c   |    6 +
 drivers/net/wireless/mediatek/mt76/mt7996/mcu.c    |   46 +-
 drivers/net/wireless/mediatek/mt76/mt7996/pci.c    |    9 +-
 drivers/net/wireless/mediatek/mt76/mt7996/regs.h   |    8 +-
 drivers/net/wireless/mediatek/mt76/tx.c            |    7 +-
 drivers/net/wireless/mediatek/mt76/usb.c           |   16 +-
 drivers/net/wireless/realtek/rtl8xxxu/core.c       |   16 +-
 drivers/net/wireless/realtek/rtw88/debug.c         |    5 +
 drivers/net/wireless/realtek/rtw88/sdio.c          |   12 +
 drivers/net/wireless/silabs/wfx/bh.c               |    6 +-
 drivers/net/wireless/silabs/wfx/bus_sdio.c         |    1 +
 drivers/net/wireless/silabs/wfx/main.c             |   36 +-
 drivers/nvdimm/pmem.c                              |    6 +-
 drivers/nvme/host/apple.c                          |    1 -
 drivers/nvme/host/core.c                           |    1 -
 drivers/nvme/host/fabrics.c                        |   30 +-
 drivers/nvme/host/ioctl.c                          |    2 +-
 drivers/nvme/host/pr.c                             |  130 ++-
 drivers/nvme/host/tcp.c                            |   10 +-
 drivers/nvme/target/admin-cmd.c                    |    7 +-
 drivers/nvme/target/configfs.c                     |   24 +-
 drivers/nvme/target/core.c                         |   23 +-
 drivers/nvme/target/fabrics-cmd-auth.c             |    9 +-
 drivers/nvme/target/fabrics-cmd.c                  |    3 +-
 drivers/nvme/target/fc.c                           |   15 +-
 drivers/nvme/target/io-cmd-bdev.c                  |   29 +-
 drivers/nvme/target/loop.c                         |    2 -
 drivers/nvme/target/nvmet.h                        |    8 +
 drivers/nvme/target/rdma.c                         |   26 +-
 drivers/nvme/target/tcp.c                          |    7 +-
 drivers/nvme/target/zns.c                          |   12 +-
 drivers/nvmem/layouts/onie-tlv.c                   |    1 +
 drivers/nvmem/layouts/sl28vpd.c                    |    1 +
 drivers/opp/of.c                                   |    2 +-
 drivers/pci/controller/dwc/pci-dra7xx.c            |   22 +-
 drivers/pci/controller/dwc/pcie-qcom.c             |   90 +-
 drivers/pci/controller/pci-aardvark.c              |   31 +-
 drivers/pci/controller/pci-xgene.c                 |   11 +-
 drivers/pci/endpoint/functions/pci-epf-vntb.c      |    8 +-
 drivers/pci/iov.c                                  |   25 -
 drivers/pci/p2pdma.c                               |   10 +-
 drivers/pci/pci-label.c                            |   92 +-
 drivers/pci/pci.h                                  |    4 -
 drivers/pci/pcie/aer.c                             |   25 +-
 drivers/pci/probe.c                                |   15 +-
 drivers/pci/quirks.c                               |    2 +-
 drivers/pci/xen-pcifront.c                         |    5 +-
 drivers/perf/cxl_pmu.c                             |  100 +-
 drivers/perf/dwc_pcie_pmu.c                        |   11 +-
 drivers/perf/marvell_cn10k_tad_pmu.c               |    1 +
 drivers/phy/cadence/phy-cadence-sierra.c           |   11 +-
 drivers/phy/freescale/phy-fsl-samsung-hdmi.c       |  581 ++++++----
 drivers/phy/hisilicon/phy-hi3670-pcie.c            |    4 +-
 drivers/phy/rockchip/phy-rockchip-usbdp.c          |  287 +++--
 drivers/pinctrl/mediatek/pinctrl-mt7629.c          |    2 +-
 drivers/pinctrl/nuvoton/pinctrl-ma35.c             |    8 +-
 drivers/pinctrl/pinctrl-amd.c                      |   47 +-
 drivers/pinctrl/sprd/pinctrl-sprd.c                |    3 +
 drivers/pinctrl/stm32/Kconfig                      |    6 +-
 drivers/pinctrl/stm32/pinctrl-stm32.c              |   16 +-
 drivers/pinctrl/stm32/pinctrl-stm32.h              |   18 +-
 drivers/pinctrl/stm32/pinctrl-stm32mp257.c         |   11 +-
 drivers/pinctrl/sunplus/Kconfig                    |    8 +-
 drivers/platform/chrome/cros_ec_proto.c            |   32 +-
 drivers/platform/chrome/cros_ec_proto_test.c       |  158 ++-
 drivers/platform/chrome/cros_ec_typec.c            |   10 +
 drivers/platform/cznic/turris-omnia-mcu-gpio.c     |   31 +-
 drivers/platform/olpc/olpc-ec.c                    |    2 +-
 drivers/platform/x86/amd/pmc/pmc.c                 |    9 +-
 drivers/platform/x86/asus-wmi.c                    |   32 +
 drivers/platform/x86/gpd-pocket-fan.c              |    9 +-
 .../platform/x86/hp/hp-bioscfg/int-attributes.c    |    7 +-
 .../x86/hp/hp-bioscfg/passwdobj-attributes.c       |    2 +-
 .../platform/x86/hp/hp-bioscfg/spmobj-attributes.c |    7 +
 drivers/platform/x86/hp/hp-wmi.c                   |   24 +-
 drivers/platform/x86/ibm_rtl.c                     |    8 +-
 drivers/platform/x86/ideapad-laptop.c              |   12 +-
 drivers/platform/x86/intel/telemetry/core.c        |    4 +
 drivers/platform/x86/msi-ec.c                      |    9 +
 drivers/pmdomain/imx/scu-pd.c                      |   10 +-
 drivers/power/supply/ab8500_bmdata.c               |    2 +-
 drivers/power/supply/ab8500_btemp.c                |   28 +-
 drivers/power/supply/ab8500_chargalg.c             |    9 +-
 drivers/power/supply/ab8500_charger.c              |  402 ++++++-
 drivers/power/supply/ab8500_fg.c                   |   27 +-
 drivers/power/supply/bq24190_charger.c             |   53 +-
 drivers/power/supply/bq2515x_charger.c             |   15 +-
 drivers/power/supply/generic-adc-battery.c         |    3 +
 drivers/power/supply/gpio-charger.c                |    5 +-
 drivers/power/supply/mm8013.c                      |    1 +
 drivers/power/supply/qcom_battmgr.c                |   26 +-
 drivers/pwm/pwm-lp3943.c                           |    3 +
 drivers/pwm/pwm-mtk-disp.c                         |    4 +-
 drivers/pwm/pwm-renesas-tpu.c                      |   23 +-
 drivers/regulator/ab8500.c                         |  159 ++-
 drivers/regulator/fixed.c                          |    4 +
 drivers/regulator/irq_helpers.c                    |   38 +-
 drivers/regulator/mp886x.c                         |   13 +-
 drivers/regulator/qcom-rpmh-regulator.c            |    2 +-
 drivers/remoteproc/imx_dsp_rproc.c                 |   58 +-
 drivers/remoteproc/imx_rproc.c                     |   18 +-
 drivers/remoteproc/qcom_q6v5_adsp.c                |    2 +-
 drivers/remoteproc/remoteproc_core.c               |    3 +
 drivers/remoteproc/xlnx_r5_remoteproc.c            |    8 +-
 drivers/rpmsg/mtk_rpmsg.c                          |    1 +
 drivers/rpmsg/virtio_rpmsg_bus.c                   |  118 +-
 drivers/rtc/Kconfig                                |   21 +
 drivers/rtc/class.c                                |    8 +-
 drivers/rtc/rtc-abx80x.c                           |   58 +-
 drivers/rtc/rtc-bd70528.c                          |    5 +
 drivers/rtc/rtc-ds1685.c                           |   20 +-
 drivers/rtc/rtc-ftrtc010.c                         |   85 +-
 drivers/rtc/rtc-mpfs.c                             |    4 +-
 drivers/rtc/rtc-s35390a.c                          |  147 ++-
 drivers/s390/block/dasd_genhd.c                    |    1 -
 drivers/s390/block/scm_blk.c                       |    1 -
 drivers/s390/virtio/virtio_ccw.c                   |    6 +-
 drivers/scsi/ch.c                                  |    2 +-
 drivers/scsi/device_handler/scsi_dh_hp_sw.c        |    4 +-
 drivers/scsi/device_handler/scsi_dh_rdac.c         |   10 +-
 drivers/scsi/elx/libefc/efclib.c                   |    2 +
 drivers/scsi/hisi_sas/hisi_sas.h                   |    3 +
 drivers/scsi/hisi_sas/hisi_sas_main.c              |   43 +
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c             |    4 +
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c             |    4 +
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c             |   13 +-
 drivers/scsi/libsas/sas_expander.c                 |    5 +-
 drivers/scsi/libsas/sas_task.c                     |    2 +-
 drivers/scsi/mpi3mr/mpi3mr.h                       |    2 +-
 drivers/scsi/mpi3mr/mpi3mr_app.c                   |   47 +-
 drivers/scsi/mpi3mr/mpi3mr_fw.c                    |   17 +-
 drivers/scsi/mpi3mr/mpi3mr_os.c                    |  161 ++-
 drivers/scsi/mpi3mr/mpi3mr_transport.c             |   18 +-
 drivers/scsi/pm8001/pm8001_defs.h                  |   98 ++
 drivers/scsi/pm8001/pm8001_hwi.c                   |    2 +-
 drivers/scsi/pm8001/pm8001_hwi.h                   |    4 +-
 drivers/scsi/pm8001/pm80xx_hwi.c                   |    2 +-
 drivers/scsi/pm8001/pm80xx_hwi.h                   |  100 +-
 drivers/scsi/scsi_debug.c                          |  415 ++++++-
 drivers/scsi/scsi_lib.c                            |    7 +-
 drivers/scsi/scsi_lib_test.c                       |   25 +-
 drivers/scsi/scsi_scan.c                           |    8 +-
 drivers/scsi/scsi_transport_spi.c                  |    2 +-
 drivers/scsi/sd.c                                  |   20 +-
 drivers/scsi/ses.c                                 |    8 +-
 drivers/scsi/st.c                                  |   75 ++
 drivers/soc/qcom/apr.c                             |   50 +-
 drivers/soc/qcom/pmic_glink.c                      |   69 +-
 drivers/soc/qcom/pmic_pdcharger_ulog.c             |    2 +-
 drivers/soc/tegra/flowctrl.c                       |    7 +-
 drivers/soundwire/intel_auxdevice.c                |    2 +-
 drivers/spi/spi-bcm63xx-hsspi.c                    |    1 +
 drivers/spi/spi-fsl-spi.c                          |   22 +-
 drivers/spi/spi-mtk-nor.c                          |    1 +
 drivers/spi/spi-mxic.c                             |    8 +-
 drivers/spi/spi-omap2-mcspi.c                      |  242 ++--
 drivers/spi/spi-rspi.c                             |   49 +-
 drivers/spi/spi-sh-msiof.c                         |   50 +-
 drivers/spi/spi-sun4i.c                            |   56 +-
 drivers/spi/spi-tegra114.c                         |   49 +
 drivers/spi/spi.c                                  |    2 +-
 drivers/spmi/spmi-pmic-arb.c                       |    2 +-
 drivers/staging/iio/adc/ad7816.c                   |   33 +-
 drivers/staging/octeon/ethernet-tx.c               |    2 +-
 drivers/staging/rtl8723bs/core/rtw_mlme.c          |   13 -
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c      |    9 +-
 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c       |    6 +-
 drivers/staging/rtl8723bs/core/rtw_recv.c          |   53 +-
 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c       |    4 +-
 drivers/staging/rtl8723bs/hal/hal_com.c            |   20 +-
 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c  |   16 +-
 drivers/staging/rtl8723bs/hal/sdio_halinit.c       |    8 +-
 drivers/staging/rtl8723bs/include/drv_types.h      |   41 -
 drivers/staging/rtl8723bs/include/recv_osdep.h     |    4 -
 drivers/staging/rtl8723bs/os_dep/os_intfs.c        |   21 +-
 drivers/staging/rtl8723bs/os_dep/recv_linux.c      |   44 -
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c       |   45 +-
 drivers/staging/sm750fb/sm750.c                    |   10 +-
 drivers/target/target_core_device.c                |   87 +-
 drivers/target/target_core_stat.c                  |   69 +-
 drivers/target/target_core_tpg.c                   |   10 +-
 drivers/thermal/gov_power_allocator.c              |    7 +-
 drivers/thermal/sprd_thermal.c                     |    6 +
 drivers/thermal/thermal_trace.h                    |    4 +-
 drivers/thermal/ti-soc-thermal/ti-bandgap.c        |   10 +-
 drivers/thermal/ti-soc-thermal/ti-thermal-common.c |    4 +
 drivers/tty/serial/8250/8250_aspeed_vuart.c        |    2 +-
 drivers/tty/serial/8250/8250_bcm2835aux.c          |    2 +-
 drivers/tty/serial/8250/8250_bcm7271.c             |    2 +-
 drivers/tty/serial/8250/8250_dw.c                  |    2 +-
 drivers/tty/serial/8250/8250_em.c                  |    2 +-
 drivers/tty/serial/8250/8250_fsl.c                 |    2 +-
 drivers/tty/serial/8250/8250_ingenic.c             |    2 +-
 drivers/tty/serial/8250/8250_ioc3.c                |    2 +-
 drivers/tty/serial/8250/8250_lpc18xx.c             |    2 +-
 drivers/tty/serial/8250/8250_mtk.c                 |    2 +-
 drivers/tty/serial/8250/8250_of.c                  |    2 +-
 drivers/tty/serial/8250/8250_omap.c                |    2 +-
 drivers/tty/serial/8250/8250_platform.c            |    2 +-
 drivers/tty/serial/8250/8250_pxa.c                 |    2 +-
 drivers/tty/serial/8250/8250_tegra.c               |    2 +-
 drivers/tty/serial/8250/8250_uniphier.c            |   12 +-
 drivers/tty/serial/Kconfig                         |    1 +
 drivers/tty/serial/altera_jtaguart.c               |    2 +-
 drivers/tty/serial/altera_uart.c                   |    2 +-
 drivers/tty/serial/amba-pl011.c                    |    2 +-
 drivers/tty/serial/ar933x_uart.c                   |    2 +-
 drivers/tty/serial/atmel_serial.c                  |    2 +-
 drivers/tty/serial/bcm63xx_uart.c                  |    2 +-
 drivers/tty/serial/clps711x.c                      |    2 +-
 drivers/tty/serial/cpm_uart.c                      |    2 +-
 drivers/tty/serial/digicolor-usart.c               |    2 +-
 drivers/tty/serial/esp32_acm.c                     |    2 +-
 drivers/tty/serial/esp32_uart.c                    |    2 +-
 drivers/tty/serial/fsl_linflexuart.c               |    2 +-
 drivers/tty/serial/fsl_lpuart.c                    |    2 +-
 drivers/tty/serial/imx.c                           |    2 +-
 drivers/tty/serial/lantiq.c                        |    2 +-
 drivers/tty/serial/liteuart.c                      |    2 +-
 drivers/tty/serial/lpc32xx_hs.c                    |    2 +-
 drivers/tty/serial/ma35d1_serial.c                 |    4 +-
 drivers/tty/serial/max310x.c                       |  185 ++-
 drivers/tty/serial/mcf.c                           |    2 +-
 drivers/tty/serial/meson_uart.c                    |    2 +-
 drivers/tty/serial/milbeaut_usio.c                 |    2 +-
 drivers/tty/serial/mpc52xx_uart.c                  |    2 +-
 drivers/tty/serial/msm_serial.c                    |    2 +-
 drivers/tty/serial/mxs-auart.c                     |    2 +-
 drivers/tty/serial/omap-serial.c                   |    2 +-
 drivers/tty/serial/owl-uart.c                      |    2 +-
 drivers/tty/serial/pic32_uart.c                    |    2 +-
 drivers/tty/serial/pmac_zilog.c                    |    3 +-
 drivers/tty/serial/qcom_geni_serial.c              |    2 +-
 drivers/tty/serial/rda-uart.c                      |    2 +-
 drivers/tty/serial/sa1100.c                        |    2 +-
 drivers/tty/serial/samsung_tty.c                   |    2 +-
 drivers/tty/serial/sccnxp.c                        |    2 +-
 drivers/tty/serial/serial-tegra.c                  |    2 +-
 drivers/tty/serial/serial_txx9.c                   |   55 +-
 drivers/tty/serial/sh-sci.c                        |    2 +-
 drivers/tty/serial/sifive.c                        |    4 +-
 drivers/tty/serial/sprd_serial.c                   |    2 +-
 drivers/tty/serial/st-asc.c                        |    2 +-
 drivers/tty/serial/stm32-usart.c                   |    2 +-
 drivers/tty/serial/sunhv.c                         |    2 +-
 drivers/tty/serial/sunplus-uart.c                  |    2 +-
 drivers/tty/serial/sunsab.c                        |    2 +-
 drivers/tty/serial/sunsu.c                         |    2 +-
 drivers/tty/serial/sunzilog.c                      |    2 +-
 drivers/tty/serial/tegra-tcu.c                     |    2 +-
 drivers/tty/serial/timbuart.c                      |    2 +-
 drivers/tty/serial/uartlite.c                      |    2 +-
 drivers/tty/serial/ucc_uart.c                      |    2 +-
 drivers/tty/serial/xilinx_uartps.c                 |    2 +-
 drivers/ufs/core/ufshcd.c                          |   14 +-
 drivers/ufs/host/ufs-mediatek.c                    |   16 +-
 drivers/usb/gadget/composite.c                     |    2 +-
 drivers/usb/gadget/function/f_mass_storage.c       |    7 +-
 drivers/usb/gadget/udc/dummy_hcd.c                 |    4 +-
 drivers/usb/host/pci-quirks.c                      |    1 +
 drivers/usb/host/xhci-dbgtty.c                     |    2 +
 drivers/usb/image/microtek.c                       |    1 +
 drivers/usb/mon/mon_main.c                         |    3 +
 drivers/usb/musb/da8xx.c                           |    8 +-
 drivers/usb/storage/alauda.c                       |   95 +-
 drivers/vdpa/vdpa_sim/vdpa_sim_blk.c               |    9 +-
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c               |    9 +-
 drivers/vfio/cdx/main.c                            |   10 +-
 drivers/vfio/fsl-mc/vfio_fsl_mc.c                  |   10 +-
 drivers/vfio/pci/vfio_pci_core.c                   |    1 +
 drivers/vfio/platform/vfio_platform_common.c       |   10 +-
 drivers/vhost/scsi.c                               |   31 +-
 drivers/vhost/vringh.c                             |    4 +-
 drivers/video/fbdev/core/fbcon.c                   |   57 +
 drivers/video/fbdev/gxt4500.c                      |    1 +
 drivers/video/fbdev/kyro/fbdev.c                   |   19 +-
 drivers/virtio/virtio.c                            |    2 +
 drivers/virtio/virtio_pci_modern.c                 |   12 +-
 fs/backing-file.c                                  |   28 +
 fs/btrfs/accessors.c                               |  123 +-
 fs/btrfs/accessors.h                               |   37 -
 fs/btrfs/block-group.c                             |    6 +-
 fs/btrfs/ctree.c                                   |   51 +-
 fs/btrfs/ctree.h                                   |    2 +-
 fs/btrfs/defrag.c                                  |    2 +-
 fs/btrfs/disk-io.c                                 |    6 +-
 fs/btrfs/extent-io-tree.h                          |    7 -
 fs/btrfs/extent-tree.c                             |    3 +-
 fs/btrfs/free-space-cache.c                        |   10 +
 fs/btrfs/inode.c                                   |   74 +-
 fs/btrfs/ioctl.c                                   |   11 +
 fs/btrfs/messages.c                                |    5 +-
 fs/btrfs/qgroup.c                                  |    4 +-
 fs/btrfs/raid56.c                                  |   11 +-
 fs/btrfs/relocation.c                              |    3 -
 fs/btrfs/tests/inode-tests.c                       |   12 +-
 fs/btrfs/tree-mod-log.c                            |   13 +-
 fs/btrfs/verity.c                                  |   31 +-
 fs/btrfs/zoned.c                                   |    8 +-
 fs/ceph/addr.c                                     |  102 +-
 fs/ceph/inode.c                                    |    2 +-
 fs/ceph/mds_client.c                               |    2 +
 fs/ceph/mds_client.h                               |    3 +
 fs/ceph/super.c                                    |   29 +-
 fs/ceph/super.h                                    |    1 -
 fs/dcache.c                                        |    2 +
 fs/debugfs/file.c                                  |   81 +-
 fs/dlm/config.c                                    |   30 +-
 fs/dlm/dlm_internal.h                              |    5 +
 fs/dlm/lock.c                                      |   18 +-
 fs/dlm/lock.h                                      |    4 +-
 fs/eventpoll.c                                     |   18 +-
 fs/ext2/file.c                                     |    7 +
 fs/f2fs/node.c                                     |    4 +-
 fs/f2fs/super.c                                    |   33 +-
 fs/fs-writeback.c                                  |   17 +-
 fs/fs_pin.c                                        |   15 +-
 fs/fuse/file.c                                     |    5 +-
 fs/gfs2/bmap.c                                     |    2 +-
 fs/gfs2/inode.c                                    |    2 +-
 fs/hfs/btree.c                                     |    7 +-
 fs/hfsplus/btree.c                                 |    7 +-
 fs/hugetlbfs/inode.c                               |    6 +
 fs/isofs/dir.c                                     |    4 +-
 fs/isofs/isofs.h                                   |   11 +-
 fs/isofs/joliet.c                                  |   27 +-
 fs/isofs/namei.c                                   |    3 +-
 fs/kernfs/dir.c                                    |   12 +-
 fs/kernfs/symlink.c                                |   17 +-
 fs/minix/inode.c                                   |   16 +
 fs/minix/minix.h                                   |    9 +
 fs/minix/namei.c                                   |   27 +-
 fs/netfs/internal.h                                |   32 +-
 fs/nfs/dir.c                                       |   13 +-
 fs/nfs/filelayout/filelayout.c                     |    5 +-
 fs/nfs/flexfilelayout/flexfilelayout.c             |   81 +-
 fs/nfs/fs_context.c                                |    1 +
 fs/nfs/internal.h                                  |   31 +
 fs/nfs/nfs3proc.c                                  |    8 +
 fs/nfs/nfs4client.c                                |    7 +-
 fs/nfs/nfs4proc.c                                  |    5 +
 fs/nfs/nfs4xdr.c                                   |    3 +-
 fs/nfs/pnfs.c                                      |   12 +-
 fs/nfs/proc.c                                      |    8 +
 fs/nilfs2/namei.c                                  |    8 +-
 fs/nilfs2/recovery.c                               |   17 +
 fs/ntfs3/attrib.c                                  |   10 +-
 fs/ntfs3/file.c                                    |   35 +-
 fs/ntfs3/frecord.c                                 |  180 +--
 fs/ntfs3/fsntfs.c                                  |  130 +--
 fs/ntfs3/inode.c                                   |   13 +-
 fs/ntfs3/ntfs_fs.h                                 |   20 +-
 fs/ntfs3/xattr.c                                   |    8 +-
 fs/ocfs2/cluster/heartbeat.c                       |   52 +-
 fs/ocfs2/cluster/tcp.c                             |    8 +-
 fs/ocfs2/dlmglue.c                                 |   29 +-
 fs/ocfs2/dlmglue.h                                 |    5 +-
 fs/ocfs2/export.c                                  |   10 +-
 fs/ocfs2/inode.c                                   |    5 +-
 fs/ocfs2/move_extents.c                            |   62 +-
 fs/ocfs2/namei.c                                   |    6 +-
 fs/ocfs2/quota_local.c                             |   24 +
 fs/ocfs2/xattr.c                                   |  266 ++++-
 fs/ocfs2/xattr.h                                   |   12 +-
 fs/overlayfs/readdir.c                             |   41 +-
 fs/overlayfs/util.c                                |    2 +-
 fs/proc/generic.c                                  |    4 +
 fs/proc/kcore.c                                    |    8 +-
 fs/pstore/ram.c                                    |    1 +
 fs/pstore/ram_core.c                               |    6 +
 fs/quota/dquot.c                                   |   10 +-
 fs/smb/client/cifspdu.h                            |   95 +-
 fs/smb/client/smb2ops.c                            |    8 +-
 fs/smb/client/smb2pdu.c                            |   14 +-
 fs/smb/client/smb2pdu.h                            |   69 --
 fs/smb/common/smb2pdu.h                            |  230 +++-
 fs/smb/server/Kconfig                              |    1 +
 fs/smb/server/oplock.c                             |    8 +-
 fs/smb/server/smb2ops.c                            |    6 +-
 fs/smb/server/smb2pdu.c                            |  192 ++--
 fs/smb/server/smb2pdu.h                            |   58 -
 fs/smb/server/smb_common.c                         |    4 +-
 fs/smb/server/smb_common.h                         |   75 +-
 fs/smb/server/smbacl.c                             |   41 +-
 fs/smb/server/vfs_cache.c                          |   15 +-
 fs/splice.c                                        |   43 +-
 fs/stat.c                                          |    4 +-
 fs/userfaultfd.c                                   |   12 +-
 fs/xattr.c                                         |    2 +-
 fs/xfs/libxfs/xfs_bmap.c                           |   14 +-
 fs/xfs/libxfs/xfs_bmap.h                           |   10 +-
 include/acpi/acpi_bus.h                            |    9 +-
 include/acpi/acpi_drivers.h                        |    9 +-
 include/kvm/arm_vgic.h                             |    1 +
 include/linux/acpi.h                               |   24 +-
 include/linux/blk-mq.h                             |    7 +-
 include/linux/bpf.h                                |    9 +-
 include/linux/clk-provider.h                       |   22 +-
 include/linux/efi.h                                |   21 +-
 include/linux/etherdevice.h                        |   28 +
 include/linux/firewire.h                           |    1 -
 include/linux/fortify-string.h                     |    2 -
 include/linux/if_bridge.h                          |   77 +-
 include/linux/mfd/da9150/core.h                    |    1 +
 include/linux/mm.h                                 |   53 +-
 include/linux/mm_types.h                           |   13 +-
 include/linux/mmap_lock.h                          |   16 +
 include/linux/mtd/spinand.h                        |    2 +-
 include/linux/pm_wakeirq.h                         |    6 +
 include/linux/pm_wakeup.h                          |   17 +
 include/linux/quotaops.h                           |    5 +
 include/linux/shmem_fs.h                           |   15 +-
 include/linux/skbuff.h                             |   90 +-
 include/linux/slab.h                               |   60 +-
 include/linux/soc/ti/k3-ringacc.h                  |   31 +-
 include/linux/sunrpc/svc_rdma.h                    |    2 +-
 include/linux/userfaultfd_k.h                      |    8 +
 include/linux/wait.h                               |    6 +-
 include/linux/watch_queue.h                        |    6 +-
 include/net/bluetooth/bluetooth.h                  |    4 +-
 include/net/bluetooth/hci_sync.h                   |    1 +
 include/net/bluetooth/l2cap.h                      |    3 +-
 include/net/cfg80211.h                             |   12 +-
 include/net/cipso_ipv4.h                           |   11 +-
 include/net/inet_frag.h                            |    9 +
 include/net/ip.h                                   |    2 +-
 include/net/ip_vs.h                                |   50 +-
 include/net/netfilter/nf_conntrack_seqadj.h        |    1 +
 include/net/netlabel.h                             |   11 +-
 include/net/seg6_hmac.h                            |    3 +-
 include/net/sock.h                                 |    8 +-
 include/net/switchdev.h                            |    1 +
 include/scsi/libsas.h                              |    8 +
 include/scsi/scsi_cmnd.h                           |    7 +
 include/scsi/scsi_common.h                         |   31 +-
 include/scsi/scsi_device.h                         |   37 +-
 include/scsi/scsi_proto.h                          |   65 +-
 include/scsi/scsi_sense.h                          |  950 +++++++++++++++
 include/sound/control.h                            |    4 +-
 include/sound/core.h                               |   25 +-
 include/sound/pcm.h                                |    2 +
 include/sound/pcm_oss.h                            |    1 +
 include/sound/soc-component.h                      |    2 +-
 include/sound/ump.h                                |    6 +
 include/target/target_core_base.h                  |   20 +-
 include/trace/events/iocost.h                      |    7 +-
 include/trace/events/power.h                       |    3 +
 include/uapi/linux/firewire-cdev.h                 |    4 +-
 include/uapi/linux/iommufd.h                       |    2 +-
 include/uapi/sound/asequencer.h                    |   12 +-
 include/ufs/ufshcd.h                               |    8 +
 init/main.c                                        |    8 +-
 io_uring/eventfd.c                                 |    1 +
 kernel/bpf/bpf_iter.c                              |   24 +-
 kernel/bpf/bpf_lsm.c                               |    4 +-
 kernel/bpf/btf.c                                   |   27 +-
 kernel/bpf/core.c                                  |   54 +-
 kernel/bpf/helpers.c                               |    1 +
 kernel/bpf/offload.c                               |   25 +-
 kernel/bpf/syscall.c                               |  144 ++-
 kernel/bpf/task_iter.c                             |    6 +-
 kernel/bpf/verifier.c                              |   42 +-
 kernel/cgroup/cpuset.c                             |   45 +-
 kernel/debug/kdb/kdb_io.c                          |    1 -
 kernel/debug/kdb/kdb_main.c                        |    6 +-
 kernel/debug/kdb/kdb_private.h                     |    3 +-
 kernel/fork.c                                      |   44 +-
 kernel/kcov.c                                      |   35 +-
 kernel/kexec_file.c                                |    4 +-
 kernel/module/tracking.c                           |    2 +-
 kernel/nsproxy.c                                   |    2 +-
 kernel/profile.c                                   |    2 +-
 kernel/rcu/rcutorture.c                            |    2 +-
 kernel/rcu/tree.c                                  |    2 +-
 kernel/rcu/tree.h                                  |    3 +-
 kernel/rcu/tree_nocb.h                             |   60 +-
 kernel/reboot.c                                    |    4 +-
 kernel/resource_kunit.c                            |    3 +
 kernel/signal.c                                    |    5 +-
 kernel/time/timeconv.c                             |    6 +-
 kernel/time/timer.c                                |    2 +
 kernel/trace/bpf_trace.c                           |   80 +-
 kernel/trace/trace_btf.c                           |    3 +
 kernel/trace/trace_events_hist.c                   |   25 +-
 kernel/ucount.c                                    |    7 +-
 kernel/watch_queue.c                               |    2 +-
 lib/Kconfig.debug                                  |    1 -
 lib/bitmap-str.c                                   |   24 +-
 lib/decompress_unlz4.c                             |    4 +
 lib/kobject.c                                      |    2 +-
 lib/maple_tree.c                                   |   65 +-
 lib/test_hmm.c                                     |    2 +
 mm/cma.c                                           |    2 +
 mm/damon/reclaim.c                                 |    4 +-
 mm/filemap.c                                       |   31 +-
 mm/gup_test.c                                      |   17 +-
 mm/huge_memory.c                                   |   11 +-
 mm/hugetlb.c                                       |   55 +-
 mm/internal.h                                      |    4 +-
 mm/khugepaged.c                                    |   51 +-
 mm/ksm.c                                           |   40 +-
 mm/madvise.c                                       |    4 +
 mm/memcontrol.c                                    |    2 +
 mm/memory-tiers.c                                  |   29 +-
 mm/memory.c                                        |  106 +-
 mm/memory_hotplug.c                                |    6 +-
 mm/mmap.c                                          |    3 +-
 mm/mmap_lock.c                                     |   39 +
 mm/mremap.c                                        |   32 +-
 mm/oom_kill.c                                      |   22 +-
 mm/page_alloc.c                                    |    4 +-
 mm/rmap.c                                          |   20 +-
 mm/shmem.c                                         |   40 +-
 mm/slab_common.c                                   |   18 +-
 mm/truncate.c                                      |    7 +-
 mm/userfaultfd.c                                   |   14 +-
 mm/util.c                                          |   13 +
 mm/vma.c                                           |   68 +-
 net/9p/trans_xen.c                                 |    4 +-
 net/bluetooth/6lowpan.c                            |    3 +-
 net/bluetooth/hci_core.c                           |    4 +-
 net/bluetooth/hci_event.c                          |   58 +-
 net/bluetooth/hci_sync.c                           |   47 +-
 net/bluetooth/iso.c                                |    3 +
 net/bluetooth/l2cap_core.c                         |   24 +
 net/bluetooth/mgmt.c                               |  115 +-
 net/bluetooth/msft.c                               |    6 +
 net/bpf/test_run.c                                 |  171 ++-
 net/bridge/br_mdb.c                                |   16 +-
 net/bridge/br_multicast.c                          |   14 +-
 net/bridge/br_netlink.c                            |    2 +-
 net/bridge/br_private.h                            |   12 +
 net/bridge/br_stp.c                                |    4 +-
 net/bridge/br_stp_bpdu.c                           |    2 +-
 net/bridge/br_switchdev.c                          |   23 +-
 net/bridge/br_vlan.c                               |    7 +-
 net/bridge/br_vlan_options.c                       |    2 +-
 net/ceph/messenger_v1.c                            |    8 +-
 net/ceph/osdmap.c                                  |    2 +-
 net/core/bpf_sk_storage.c                          |    7 +
 net/core/dev.c                                     |   20 +-
 net/core/filter.c                                  |   58 +-
 net/core/gro.c                                     |    5 +-
 net/core/lwtunnel.c                                |    6 +
 net/core/selftests.c                               |    2 +-
 net/core/skbuff.c                                  |   11 +-
 net/core/sock.c                                    |    1 +
 net/dcb/dcbnl.c                                    |    2 +
 net/devlink/region.c                               |    5 +
 net/ipv4/cipso_ipv4.c                              |   16 +-
 net/ipv4/devinet.c                                 |   35 +-
 net/ipv4/gre_offload.c                             |    2 +-
 net/ipv4/inet_fragment.c                           |   66 +-
 net/ipv4/ip_fragment.c                             |   13 +-
 net/ipv4/ip_output.c                               |   15 +-
 net/ipv4/ip_tunnel.c                               |   14 +-
 net/ipv4/ipmr.c                                    |    5 +
 net/ipv4/tcp.c                                     |   14 +-
 net/ipv4/tcp_bic.c                                 |   14 +-
 net/ipv4/tcp_cubic.c                               |   14 +-
 net/ipv4/tcp_hybla.c                               |   16 +-
 net/ipv4/tcp_ipv4.c                                |   10 +-
 net/ipv4/tcp_metrics.c                             |   20 +-
 net/ipv4/tcp_offload.c                             |   12 +-
 net/ipv6/calipso.c                                 |    6 +-
 net/ipv6/exthdrs.c                                 |    2 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c            |   15 +-
 net/ipv6/reassembly.c                              |   13 +-
 net/ipv6/route.c                                   |   20 +-
 net/ipv6/seg6_hmac.c                               |    5 +-
 net/ipv6/seg6_local.c                              |    6 +-
 net/ipv6/sit.c                                     |    4 +-
 net/l2tp/l2tp_core.c                               |   51 +-
 net/l2tp/l2tp_core.h                               |    6 +-
 net/l2tp/l2tp_debugfs.c                            |    4 +-
 net/l2tp/l2tp_netlink.c                            |   11 +-
 net/l2tp/l2tp_ppp.c                                |    8 +-
 net/mac80211/cfg.c                                 |   49 +-
 net/mac80211/debugfs.c                             |    2 +-
 net/mac80211/ieee80211_i.h                         |    3 +-
 net/mac80211/main.c                                |    2 +
 net/mac80211/mesh.c                                |    3 +-
 net/mac80211/mesh_pathtbl.c                        |   17 +-
 net/mac80211/rx.c                                  |    1 +
 net/mac80211/tx.c                                  |  223 ++--
 net/mctp/route.c                                   |   10 +-
 net/mptcp/options.c                                |    9 +-
 net/netfilter/ipvs/ip_vs_conn.c                    |    8 +-
 net/netfilter/ipvs/ip_vs_ctl.c                     |   38 +-
 net/netfilter/ipvs/ip_vs_dh.c                      |   16 +-
 net/netfilter/ipvs/ip_vs_fo.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_lblc.c                    |    4 +-
 net/netfilter/ipvs/ip_vs_lblcr.c                   |    8 +-
 net/netfilter/ipvs/ip_vs_lc.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_mh.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_nq.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_ovf.c                     |    2 +-
 net/netfilter/ipvs/ip_vs_rr.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_sed.c                     |    4 +-
 net/netfilter/ipvs/ip_vs_sh.c                      |    2 +-
 net/netfilter/ipvs/ip_vs_sync.c                    |   23 +-
 net/netfilter/ipvs/ip_vs_twos.c                    |    4 +-
 net/netfilter/ipvs/ip_vs_wlc.c                     |    4 +-
 net/netfilter/ipvs/ip_vs_wrr.c                     |    2 +-
 net/netfilter/nf_conntrack_core.c                  |    5 +
 net/netfilter/nf_conntrack_seqadj.c                |   17 +
 net/netfilter/nf_flow_table_ip.c                   |   30 +-
 net/netfilter/nf_synproxy_core.c                   |    4 +-
 net/netfilter/nft_compat.c                         |   15 +
 net/netfilter/xt_dccp.c                            |    2 +-
 net/netlabel/netlabel_kapi.c                       |   24 +-
 net/netlink/af_netlink.c                           |   12 +-
 net/openvswitch/actions.c                          |    9 +
 net/openvswitch/vport-internal_dev.c               |    8 +-
 net/rds/af_rds.c                                   |   29 +-
 net/rds/bind.c                                     |    4 +-
 net/rds/ib_sysctl.c                                |    2 +-
 net/rds/rdma_transport.c                           |    3 +
 net/rds/rds.h                                      |    3 +
 net/rds/recv.c                                     |   11 +-
 net/rds/send.c                                     |    9 +-
 net/rds/sysctl.c                                   |    2 +-
 net/rds/tcp.c                                      |    5 +-
 net/rose/af_rose.c                                 |   56 +-
 net/rose/rose_link.c                               |    7 +-
 net/rose/rose_loopback.c                           |    7 +-
 net/rose/rose_route.c                              |   65 +-
 net/rxrpc/rxperf.c                                 |   12 -
 net/sched/act_api.c                                |   24 +-
 net/sched/sch_etf.c                                |    1 +
 net/sched/sch_gred.c                               |   16 +-
 net/sched/sch_taprio.c                             |    6 +-
 net/sctp/ipv6.c                                    |    6 +-
 net/sctp/sm_make_chunk.c                           |   24 +-
 net/sctp/sm_statefuns.c                            |    2 +-
 net/smc/smc_pnet.c                                 |   29 +-
 net/sunrpc/xprtsock.c                              |   34 +-
 net/switchdev/switchdev.c                          |    2 +-
 net/tipc/bearer.c                                  |    4 +
 net/tipc/node.c                                    |    2 +-
 net/tls/tls_device.c                               |   21 +-
 net/tls/tls_main.c                                 |    4 +-
 net/wireless/nl80211.c                             |    6 +-
 net/wireless/reg.c                                 |   41 +-
 net/wireless/sme.c                                 |   38 +-
 scripts/Makefile.vmlinux_o                         |    2 +-
 scripts/checkkconfigsymbols.py                     |    2 +-
 scripts/checkpatch.pl                              |    2 +
 scripts/clang-tools/run-clang-tools.py             |    1 +
 scripts/gdb/linux/radixtree.py                     |  203 +++-
 scripts/gdb/linux/stackdepot.py                    |    2 +-
 scripts/kconfig/conf.c                             |   19 +-
 scripts/kconfig/symbol.c                           |   39 +-
 scripts/kconfig/tests/conftest.py                  |    9 +-
 .../kconfig/tests/randconfig_probability/Kconfig   |   12 +
 .../tests/randconfig_probability/__init__.py       |  130 +++
 scripts/kconfig/tests/savedefconfig_range/Kconfig  |   60 +
 .../kconfig/tests/savedefconfig_range/__init__.py  |    8 +
 scripts/kconfig/tests/savedefconfig_range/config   |    7 +
 .../tests/savedefconfig_range/expected_defconfig   |    0
 scripts/make_fit.py                                |    3 +-
 security/apparmor/apparmorfs.c                     |   21 +-
 security/apparmor/domain.c                         |    9 +-
 security/apparmor/file.c                           |   23 +-
 security/apparmor/include/file.h                   |    5 +-
 security/apparmor/include/lib.h                    |    1 +
 security/apparmor/include/match.h                  |   19 +-
 security/apparmor/include/policy.h                 |   27 +-
 security/apparmor/label.c                          |   14 +-
 security/apparmor/lib.c                            |   23 +
 security/apparmor/lsm.c                            |   19 +
 security/apparmor/match.c                          |  158 ++-
 security/apparmor/net.c                            |    1 +
 security/apparmor/policy.c                         |    3 +
 security/apparmor/policy_compat.c                  |    6 +-
 security/apparmor/policy_ns.c                      |    6 +-
 security/apparmor/policy_unpack.c                  |   57 +-
 security/integrity/ima/ima_template.c              |    5 +
 security/ipe/audit.c                               |    8 -
 security/security.c                                |    3 +-
 security/selinux/netlabel.c                        |    5 +-
 security/smack/smack_lsm.c                         |   14 +-
 sound/core/control.c                               |   12 +-
 sound/core/control_compat.c                        |   21 +-
 sound/core/control_led.c                           |   74 +-
 sound/core/ctljack.c                               |    1 +
 sound/core/info.c                                  |    3 +-
 sound/core/init.c                                  |   33 +-
 sound/core/jack.c                                  |   11 +-
 sound/core/misc.c                                  |   27 +
 sound/core/oss/mixer_oss.c                         |   36 +-
 sound/core/oss/pcm_oss.c                           |   12 +
 sound/core/pcm.c                                   |   13 +-
 sound/core/pcm_compat.c                            |    4 +-
 sound/core/pcm_lib.c                               |   16 +-
 sound/core/pcm_local.h                             |    6 +
 sound/core/pcm_native.c                            |  122 +-
 sound/core/rawmidi.c                               |    3 +
 sound/core/seq/seq_clientmgr.c                     |   12 +-
 sound/core/seq/seq_compat.c                        |   15 +-
 sound/core/seq/seq_system.c                        |    9 +-
 sound/core/seq/seq_system.h                        |   31 +-
 sound/core/seq/seq_ump_client.c                    |   45 +-
 sound/core/timer.c                                 |    1 +
 sound/core/ump.c                                   |   80 +-
 sound/core/vmaster.c                               |   10 +-
 sound/drivers/aloop.c                              |   17 +-
 sound/drivers/pcmtest.c                            |   28 +-
 sound/hda/hdac_bus.c                               |    9 +-
 sound/pci/hda/hda_codec.c                          |    2 +-
 sound/pci/hda/hda_controller.h                     |    4 -
 sound/pci/hda/hda_intel.c                          |   91 +-
 sound/pci/hda/hda_jack.c                           |    9 +-
 sound/pci/oxygen/oxygen.c                          |   12 +-
 sound/pci/oxygen/oxygen_mixer.c                    |   60 +-
 sound/pci/oxygen/oxygen_pcm.c                      |   54 +-
 sound/pci/oxygen/xonar_cs43xx.c                    |    3 +-
 sound/pci/oxygen/xonar_dg_mixer.c                  |   33 +-
 sound/pci/oxygen/xonar_pcm179x.c                   |   18 +-
 sound/pci/oxygen/xonar_wm87x6.c                    |   31 +-
 sound/pci/via82xx.c                                |   11 +-
 sound/sh/aica.c                                    |    2 +-
 sound/soc/amd/acp-es8336.c                         |    5 +-
 sound/soc/amd/acp/acp-platform.c                   |    2 +-
 sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c      |   14 +-
 sound/soc/amd/ps/ps-pdm-dma.c                      |    2 +-
 sound/soc/amd/ps/ps-sdw-dma.c                      |    2 +-
 sound/soc/amd/raven/acp3x-pcm-dma.c                |    4 +-
 sound/soc/amd/renoir/acp3x-pdm-dma.c               |    2 +-
 sound/soc/amd/vangogh/acp5x-pcm-dma.c              |    2 +-
 sound/soc/amd/yc/acp6x-pdm-dma.c                   |    2 +-
 sound/soc/atmel/atmel-i2s.c                        |   43 +-
 sound/soc/atmel/atmel-pcm-pdc.c                    |    2 +
 sound/soc/codecs/adau17x1.c                        |    4 +-
 sound/soc/codecs/ak4642.c                          |    3 +-
 sound/soc/codecs/cs42l56.c                         |    1 -
 sound/soc/codecs/da732x.c                          |    2 +-
 sound/soc/codecs/es8316.c                          |    4 +-
 sound/soc/codecs/es8326.c                          |   26 +-
 sound/soc/codecs/mt6359-accdet.c                   |   50 +-
 sound/soc/codecs/nau8540.c                         |    4 +-
 sound/soc/codecs/rt1011.c                          |    4 +-
 sound/soc/codecs/rt1016.c                          |    4 +-
 sound/soc/codecs/rt1305.c                          |    4 +-
 sound/soc/codecs/rt1308.c                          |    4 +-
 sound/soc/codecs/rt1318.c                          |    3 +-
 sound/soc/codecs/rt5616.c                          |    3 +-
 sound/soc/codecs/rt5659.c                          |   10 +-
 sound/soc/codecs/rt5660.c                          |    4 +-
 sound/soc/codecs/rt5665.c                          |    4 +-
 sound/soc/codecs/rt5682-sdw.c                      |    3 +-
 sound/soc/codecs/rt711-sdca-sdw.c                  |    6 +-
 sound/soc/codecs/rt711-sdw.c                       |    8 +-
 sound/soc/codecs/rt712-sdca-sdw.c                  |    6 +-
 sound/soc/codecs/rt712-sdca.c                      |    5 +-
 sound/soc/codecs/rt722-sdca-sdw.c                  |    6 +-
 sound/soc/codecs/sta32x.c                          |   20 +-
 sound/soc/codecs/sta350.c                          |   20 +-
 sound/soc/codecs/tlv320adc3xxx.c                   |    2 +-
 sound/soc/codecs/tlv320aic32x4-clk.c               |   68 +-
 sound/soc/codecs/tlv320aic32x4-i2c.c               |   21 +-
 sound/soc/codecs/tlv320aic32x4-spi.c               |   25 +-
 sound/soc/codecs/tlv320aic32x4.c                   |  273 ++---
 sound/soc/codecs/tlv320aic32x4.h                   |    6 +-
 sound/soc/codecs/wcd-mbhc-v2.c                     |    8 +-
 sound/soc/codecs/wcd937x.c                         |   44 +-
 sound/soc/codecs/wm5100.c                          |    2 +-
 sound/soc/codecs/wm8510.c                          |    2 +-
 sound/soc/codecs/wm8737.c                          |    8 +-
 sound/soc/codecs/wm8750.c                          |    2 +-
 sound/soc/codecs/wm8955.c                          |    2 +-
 sound/soc/codecs/wm8983.c                          |    2 +-
 sound/soc/codecs/wm8985.c                          |    2 +-
 sound/soc/codecs/wm8990.c                          |   10 +-
 sound/soc/codecs/wm8991.c                          |   10 +-
 sound/soc/codecs/wm8994.c                          |  159 +--
 sound/soc/codecs/wm8994.h                          |    2 +
 sound/soc/codecs/wm_hubs.c                         |    2 +-
 sound/soc/codecs/wsa883x.c                         |    8 +-
 sound/soc/codecs/wsa884x.c                         |    8 +-
 sound/soc/dwc/dwc-i2s.c                            |    6 +-
 sound/soc/fsl/fsl_asrc.c                           |    8 +-
 sound/soc/fsl/fsl_asrc_dma.c                       |    5 +
 sound/soc/fsl/imx-pcm-rpmsg.c                      |    2 +-
 sound/soc/intel/atom/sst-atom-controls.c           |   38 +-
 sound/soc/intel/atom/sst-mfld-platform-pcm.c       |   36 +-
 sound/soc/intel/avs/pcm.c                          |    2 +
 sound/soc/intel/avs/utils.c                        |    6 +-
 sound/soc/mediatek/common/mtk-afe-fe-dai.c         |    8 +-
 sound/soc/mediatek/common/mtk-soundcard-driver.c   |   23 +-
 sound/soc/mediatek/mt2701/mt2701-cs42448.c         |   20 +-
 sound/soc/mediatek/mt2701/mt2701-wm8960.c          |    6 +-
 sound/soc/mediatek/mt6797/mt6797-afe-clk.c         |   14 +-
 sound/soc/mediatek/mt6797/mt6797-mt6351.c          |   24 +-
 sound/soc/mediatek/mt7986/mt7986-wm8960.c          |    6 +-
 sound/soc/mediatek/mt8173/mt8173-max98090.c        |    6 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c   |    6 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c   |   10 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650.c          |   10 +-
 sound/soc/mediatek/mt8183/mt8183-afe-clk.c         |   22 +-
 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c |   34 +-
 .../mt8183/mt8183-mt6358-ts3a227-max98357.c        |   34 +-
 sound/soc/mediatek/mt8186/mt8186-afe-clk.c         |   95 +-
 sound/soc/mediatek/mt8186/mt8186-mt6366.c          |   86 +-
 sound/soc/mediatek/mt8188/mt8188-afe-clk.c         |  104 +-
 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c         |   24 +-
 sound/soc/mediatek/mt8188/mt8188-mt6359.c          |   61 +-
 sound/soc/mediatek/mt8192/mt8192-afe-clk.c         |  139 ++-
 sound/soc/mediatek/mt8192/mt8192-afe-gpio.c        |   90 +-
 sound/soc/mediatek/mt8192/mt8192-afe-pcm.c         |    6 +-
 sound/soc/mediatek/mt8192/mt8192-dai-adda.c        |   44 +-
 sound/soc/mediatek/mt8192/mt8192-dai-i2s.c         |   20 +-
 sound/soc/mediatek/mt8192/mt8192-dai-tdm.c         |   18 +-
 .../mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c  |  115 +-
 sound/soc/mediatek/mt8195/mt8195-afe-clk.c         |   77 +-
 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c         |  102 +-
 sound/soc/mediatek/mt8195/mt8195-dai-etdm.c        |   99 +-
 sound/soc/mediatek/mt8195/mt8195-mt6359.c          |   60 +-
 sound/soc/mediatek/mt8365/mt8365-afe-pcm.c         |    7 +-
 sound/soc/mediatek/mt8365/mt8365-dai-i2s.c         |    2 +-
 sound/soc/mediatek/mt8365/mt8365-mt6357.c          |   14 +-
 sound/soc/qcom/qdsp6/q6apm.c                       |    1 +
 sound/soc/qcom/sdm845.c                            |   26 +-
 sound/soc/rockchip/rk3288_hdmi_analog.c            |   48 +-
 sound/soc/rockchip/rockchip_i2s.c                  |    4 +-
 sound/soc/samsung/midas_wm1811.c                   |   14 +-
 sound/soc/soc-ac97.c                               |    4 +-
 sound/soc/soc-card-test.c                          |    7 +-
 sound/soc/soc-component.c                          |    2 +-
 sound/soc/soc-link.c                               |   10 +-
 sound/soc/soc-ops.c                                |   10 +-
 sound/soc/soc-topology-test.c                      |    8 +-
 sound/soc/sof/imx/imx-common.c                     |    1 +
 sound/soc/xilinx/xlnx_formatter_pcm.c              |   18 +-
 sound/usb/6fire/control.c                          |    7 +
 sound/usb/caiaq/device.c                           |    9 +-
 sound/usb/caiaq/device.h                           |    6 +-
 sound/usb/caiaq/input.c                            |   29 +-
 sound/usb/caiaq/midi.c                             |    2 +
 sound/usb/line6/capture.c                          |    3 +-
 sound/usb/line6/pcm.c                              |    8 +-
 sound/usb/mixer.c                                  |  151 ++-
 sound/usb/mixer.h                                  |    6 +-
 sound/usb/mixer_quirks.c                           |    2 +-
 sound/usb/mixer_us16x08.c                          |   19 +-
 sound/usb/quirks-table.h                           |    2 +
 sound/usb/usx2y/us122l.c                           |    2 +-
 sound/virtio/virtio_pcm.h                          |    2 +
 sound/virtio/virtio_pcm_msg.c                      |   19 +
 sound/virtio/virtio_pcm_ops.c                      |    1 +
 tools/bpf/bpftool/common.c                         |   40 +
 tools/bpf/bpftool/gen.c                            |   91 +-
 tools/bpf/bpftool/link.c                           |   18 +-
 tools/bpf/bpftool/main.c                           |   24 +-
 tools/bpf/bpftool/main.h                           |    1 +
 tools/bpf/bpftool/map.c                            |  101 +-
 tools/bpf/bpftool/prog.c                           |    2 +-
 tools/bpf/bpftool/tracelog.c                       |    2 +-
 tools/cgroup/iocost_monitor.py                     |    7 +-
 tools/cgroup/memcg_shrinker.py                     |    2 +-
 tools/hv/vmbus_bufring.c                           |    6 -
 tools/include/linux/types.h                        |    5 +
 tools/include/nolibc/stdlib.h                      |    8 +-
 tools/include/nolibc/types.h                       |    2 +-
 tools/lib/bpf/btf.c                                |  300 +++--
 tools/lib/bpf/btf.h                                |    3 +
 tools/lib/bpf/btf_dump.c                           |    2 +-
 tools/lib/bpf/btf_relocate.c                       |    2 +-
 tools/lib/bpf/libbpf.c                             |   67 +-
 tools/lib/bpf/libbpf.map                           |    2 +
 tools/lib/bpf/libbpf_internal.h                    |   39 +
 tools/lib/bpf/relo_core.c                          |    2 +-
 tools/lib/bpf/skel_internal.h                      |   64 +-
 tools/lib/perf/mmap.c                              |    2 +-
 tools/perf/Documentation/perf-c2c.txt              |    2 +-
 tools/perf/Makefile.perf                           |    2 +-
 tools/perf/arch/arm/tests/dwarf-unwind.c           |    3 +-
 tools/perf/arch/arm/util/unwind-libdw.c            |    2 +-
 tools/perf/arch/arm64/tests/dwarf-unwind.c         |    3 +-
 tools/perf/arch/arm64/util/unwind-libdw.c          |    2 +-
 tools/perf/arch/csky/util/unwind-libdw.c           |    2 +-
 tools/perf/arch/loongarch/util/unwind-libdw.c      |    2 +-
 tools/perf/arch/powerpc/tests/dwarf-unwind.c       |    3 +-
 tools/perf/arch/powerpc/util/unwind-libdw.c        |    2 +-
 tools/perf/arch/riscv/util/unwind-libdw.c          |    2 +-
 tools/perf/arch/s390/util/unwind-libdw.c           |    2 +-
 tools/perf/arch/x86/tests/dwarf-unwind.c           |    2 +-
 tools/perf/arch/x86/util/unwind-libdw.c            |    2 +-
 tools/perf/builtin-buildid-list.c                  |    5 +-
 tools/perf/builtin-c2c.c                           |   16 +-
 tools/perf/builtin-kallsyms.c                      |   21 +-
 tools/perf/builtin-record.c                        |    4 +-
 tools/perf/builtin-script.c                        |   10 +-
 tools/perf/builtin-top.c                           |    8 +-
 tools/perf/builtin-trace.c                         |  149 ++-
 .../arch/x86/sierraforest/uncore-cache.json        |    5 +
 .../arch/x86/sierraforest/uncore-interconnect.json |    2 +
 .../arch/x86/skylakex/uncore-interconnect.json     |    6 +
 .../arch/x86/snowridgex/uncore-cache.json          |   68 ++
 .../arch/x86/snowridgex/uncore-interconnect.json   |   10 +
 tools/perf/tests/builtin-test.c                    |   15 +-
 tools/perf/tests/code-reading.c                    |   30 +-
 tools/perf/tests/dlfilter-test.c                   |   51 +-
 tools/perf/tests/dwarf-unwind.c                    |   53 +-
 tools/perf/tests/mmap-basic.c                      |    3 +
 tools/perf/tests/mmap-thread-lookup.c              |    6 +-
 tools/perf/tests/openat-syscall-tp-fields.c        |    4 +-
 tools/perf/tests/parse-no-sample-id-all.c          |    6 +-
 tools/perf/tests/perf-record.c                     |    2 +
 tools/perf/tests/perf-time-to-tsc.c                |    2 +
 tools/perf/tests/sample-parsing.c                  |  167 ++-
 tools/perf/tests/sigtrap.c                         |   20 +-
 tools/perf/tests/sw-clock.c                        |    3 +
 tools/perf/tests/switch-tracking.c                 |   14 +-
 tools/perf/tests/symbols.c                         |  104 +-
 tools/perf/ui/browsers/annotate-data.c             |    2 +-
 tools/perf/ui/tui/setup.c                          |    2 +-
 tools/perf/util/Build                              |    4 +-
 tools/perf/util/annotate-data.c                    |   21 +-
 tools/perf/util/arm-spe.c                          |   24 +-
 .../perf/util/arm64-frame-pointer-unwind-support.c |   29 +-
 tools/perf/util/auxtrace.c                         |   15 +-
 tools/perf/util/bpf-filter.c                       |   30 +-
 tools/perf/util/bpf-utils.h                        |    5 +
 tools/perf/util/btf.c                              |   27 +
 tools/perf/util/btf.h                              |   10 +
 tools/perf/util/cs-etm.c                           |   60 +-
 tools/perf/util/debug.c                            |   77 +-
 tools/perf/util/debug.h                            |    1 +
 tools/perf/util/env.c                              |    1 +
 tools/perf/util/evsel.c                            |   41 +-
 tools/perf/util/header.c                           |   18 +-
 tools/perf/util/intel-bts.c                        |    4 +-
 tools/perf/util/intel-pt.c                         |  136 ++-
 tools/perf/util/jitdump.c                          |  139 ++-
 tools/perf/util/machine.c                          |   63 +-
 tools/perf/util/machine.h                          |    5 +-
 tools/perf/util/mem-events.c                       |    2 +-
 tools/perf/util/mmap.c                             |    3 +-
 tools/perf/util/print_insn.h                       |    1 +
 tools/perf/util/probe-event.c                      |    5 +-
 tools/perf/util/python.c                           |   65 +-
 tools/perf/util/s390-cpumsf.c                      |    6 +-
 tools/perf/util/sample.c                           |   43 +
 tools/perf/util/sample.h                           |    9 +-
 .../util/scripting-engines/trace-event-python.c    |   29 +-
 tools/perf/util/session.c                          |   94 +-
 tools/perf/util/symbol.c                           |    4 +
 tools/perf/util/synthetic-events.c                 |   24 +-
 tools/perf/util/thread_map.c                       |   26 +
 tools/perf/util/thread_map.h                       |    1 +
 tools/perf/util/unwind-libdw.c                     |    9 +-
 tools/perf/util/unwind-libunwind-local.c           |   12 +-
 .../x86_energy_perf_policy.c                       |   18 +-
 tools/sched_ext/scx_flatcg.bpf.c                   |    2 +-
 tools/testing/cxl/test/cxl.c                       |    8 +-
 tools/testing/selftests/Makefile                   |    4 +-
 tools/testing/selftests/alsa/mixer-test.c          |    2 +
 tools/testing/selftests/alsa/test-pcmtest-driver.c |   27 +-
 tools/testing/selftests/arm64/signal/Makefile      |    4 +-
 tools/testing/selftests/bpf/network_helpers.c      |   46 +-
 .../bpf/prog_tests/cgroup_hierarchical_stats.c     |    4 +-
 tools/testing/selftests/bpf/prog_tests/empty_skb.c |   59 +-
 tools/testing/selftests/bpf/prog_tests/missed.c    |    8 +-
 .../bpf/prog_tests/prog_tests_framework.c          |   10 +-
 tools/testing/selftests/bpf/prog_tests/sockopt.c   |    4 +-
 .../testing/selftests/bpf/prog_tests/test_tunnel.c |   13 +-
 .../selftests/bpf/prog_tests/uprobe_multi_test.c   |    4 +-
 .../testing/selftests/bpf/progs/cpumask_success.c  |    6 +
 tools/testing/selftests/bpf/progs/empty_skb.c      |    7 +
 .../selftests/bpf/progs/verifier_vfs_accept.c      |   18 +
 .../selftests/bpf/progs/verifier_vfs_reject.c      |   15 +
 tools/testing/selftests/bpf/unpriv_helpers.c       |  101 +-
 tools/testing/selftests/breakpoints/Makefile       |    4 +-
 tools/testing/selftests/cgroup/test_core.c         |   51 +-
 tools/testing/selftests/cgroup/test_cpu.c          |    7 +-
 tools/testing/selftests/cgroup/test_cpuset.c       |    7 +-
 tools/testing/selftests/cgroup/test_freezer.c      |    7 +-
 tools/testing/selftests/cgroup/test_kill.c         |    7 +-
 tools/testing/selftests/cgroup/test_kmem.c         |    7 +-
 tools/testing/selftests/cgroup/test_memcontrol.c   |    7 +-
 tools/testing/selftests/cgroup/test_pids.c         |    2 +-
 tools/testing/selftests/cgroup/test_zswap.c        |  238 +++-
 .../selftests/clone3/clone3_clear_sighand.c        |    6 +-
 .../filesystems/epoll/epoll_wakeup_test.c          |   32 +-
 tools/testing/selftests/ftrace/ftracetest          |    2 +-
 tools/testing/selftests/ipc/Makefile               |    8 +-
 tools/testing/selftests/mm/vm_util.h               |    1 +
 tools/testing/selftests/net/lib/csum.c             |   67 +-
 .../selftests/net/netfilter/conntrack_vrf.sh       |   25 +-
 tools/testing/selftests/net/tcp_mmap.c             |    6 +-
 tools/testing/selftests/net/txtimestamp.c          |   23 +-
 tools/testing/selftests/prctl/Makefile             |    4 +-
 tools/testing/selftests/sched_ext/hotplug.c        |   34 +-
 tools/testing/selftests/sparc64/Makefile           |    4 +-
 .../selftests/thermal/intel/power_floor/Makefile   |   12 +-
 .../selftests/thermal/intel/workload_hint/Makefile |   12 +-
 .../testing/selftests/timers/clocksource-switch.c  |   23 +-
 tools/thermal/tmon/tmon.c                          |    2 +-
 usr/gen_init_cpio.c                                |    1 +
 1611 files changed, 24531 insertions(+), 11234 deletions(-)
author maintainer
#6 lore raw

PATCH 4/1756 9p/xen: drain response work after unbinding IRQ

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Yizhou Zhao <[email protected]>

[ Upstream commit 7b6f2e3c29fb4d76f1e4973280792eabbd526602 ]

commit ea4f1009408e ("9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition") added cancel_work_sync() to keep xen_9pfs_front_free() from freeing a ring while p9_xen_response() is still running.

The work is currently drained before the event channel IRQ is unbound. That leaves a race window where xen_9pfs_front_event_handler() can run after cancel_work_sync() returns and queue p9_xen_response() again. The following unbind_from_irqhandler() synchronizes with the IRQ handler, but it does not cancel work that the handler already queued. The teardown can then free the ring and private data while the response work remains pending, and the worker later dereferences ring->priv and priv->client.

Unbind the event channel IRQ before draining the work. Once the IRQ is unbound, no new response work can be queued by the backend event channel, and cancel_work_sync() waits for any work that was queued before or during the unbind. It is then safe to release the ring resources.

Fixes ea4f1009408e ("9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition")
Assisted-by GLM:GLM-5.1

Message-ID: <[email protected]>

---
 net/9p/trans_xen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/9p/trans_xen.c +2 -2
index 67f464acf6171..ef9bac5f4a24a 100644
@@ -288,12 +288,12 @@ static void xen_9pfs_front_free(struct xen_9pfs_front_priv *priv)
 		for (i = 0; i < XEN_9PFS_NUM_RINGS; i++) {
 			struct xen_9pfs_dataring *ring = &priv->rings[i];
 
-			cancel_work_sync(&ring->work);
-
 			if (!priv->rings[i].intf)
 				break;
 			if (priv->rings[i].irq > 0)
 				unbind_from_irqhandler(priv->rings[i].irq, ring);
+			cancel_work_sync(&ring->work);
+
 			if (priv->rings[i].data.in) {
 				for (j = 0;
 				     j < (1 << priv->rings[i].intf->ring_order);
Signature · 1 line
2.53.0
author maintainer
#15 lore raw

PATCH 13/1756 btrfs: prevent deleting the wrong subvolume by ID

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: guolingxing <[email protected]>

[ Upstream commit 1960146913b31b288ed2cd607d103ee3b41681d4 ]

When deleting a subvolume by ID, btrfs_ioctl_snap_destroy() first resolves the requested ID to a name, then looks up that name again under the parent directory lock.

A concurrent rename can change which subvolume is associated with the name between these operations. Since the deletion path does not verify the ID of the resolved subvolume, it can delete a different subvolume while leaving the requested one intact.

This was reproduced by repeatedly exchanging the names of two subvolumes using renameat2(RENAME_EXCHANGE) while deleting one of them by ID. The wrong subvolume was deleted in 9 out of 14 independent tests.

Fix this by checking that the resolved subvolume ID matches the requested ID while holding the parent directory lock. Return -EAGAIN on a mismatch so that userspace can retry the operation instead of being told that the requested subvolume does not exist.

Fixes 949964c92843 ("btrfs: add new BTRFS_IOC_SNAP_DESTROY_V2 ioctl")
[ sashal: Changed goto out_end_removing to goto out_dput to use the existing cleanup path. ]
---
 fs/btrfs/ioctl.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
fs/btrfs/ioctl.c +11 -0
index 3c3c767c858f6..aa49622cd302a 100644
@@ -2536,6 +2536,17 @@ static noinline int btrfs_ioctl_snap_destroy(struct file *file,
 
 	inode = d_inode(dentry);
 	dest = BTRFS_I(inode)->root;
+
+	/*
+	 * A concurrent rename may have changed which subvolume the name
+	 * refers to. Verify that the resolved ID still matches the requested ID.
+	 */
+	if (destroy_v2 && (vol_args2->flags & BTRFS_SUBVOL_SPEC_BY_ID) &&
+	    btrfs_root_id(dest) != vol_args2->subvolid) {
+		ret = -EAGAIN;
+		goto out_dput;
+	}
+
 	if (!capable(CAP_SYS_ADMIN)) {
 		/*
 		 * Regular user.  Only allow this with a special mount
Signature · 1 line
2.53.0
author maintainer
#16 lore raw

PATCH 14/1756 ocfs2/cluster: hold a reference on the heartbeat thread

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Karl Mehltretter <[email protected]>

[ Upstream commit aa2e38aabaae87236290e486a2b77cfa3adfbebe ]

Since commit 688bc88e2046 ("ocfs2/cluster: keep heartbeat local node stable"), o2hb_thread() leaves its loop and returns when the local node changes, for example after "echo 0 > node/<name>/local". The thread was started with kthread_run() and nothing holds a reference to its task_struct, so the task is freed once it exits, while reg->hr_task still points to it.

Reading the region's pid attribute then reads the freed task, and removing the region calls kthread_stop() on it:

  BUG: KASAN: slab-use-after-free in o2hb_region_pid_show+0xb3/0xc0
  refcount_t: addition on 0; use-after-free.
  Oops: Oops: 0000 [#1] SMP KASAN NOPTI
  RIP: 0010:kthread_stop+0xb1/0x390

The thread could already return by itself before, when heartbeat start was aborted or on an unclean stop, but the local node change makes it reachable from userspace at any time.

Create the thread, take a reference on it and only then wake it, so the reference cannot race with the thread exiting. Drop it with kthread_stop_put().

Fixes 688bc88e2046 ("ocfs2/cluster: keep heartbeat local node stable")
Assisted-by LLM
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Cen Zhang <[email protected]>
Cc Junxiao Bi <[email protected]>
Cc Heming Zhao <[email protected]>

Stable-dep-of: 0a8f258c0f01 ("ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute")

---
 fs/ocfs2/cluster/heartbeat.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
fs/ocfs2/cluster/heartbeat.c +8 -4
index 94743cef12f13..c7fd2e5c2c0bf 100644
@@ -1956,18 +1956,22 @@ static ssize_t o2hb_region_dev_store(struct config_item *item,
 	atomic_set(&reg->hr_unsteady_iterations, (live_threshold * 3));
 	o2hb_set_region_stopping(reg, false);
 
-	hb_task = kthread_run(o2hb_thread, reg, "o2hb-%s",
-			      reg->hr_item.ci_name);
+	hb_task = kthread_create(o2hb_thread, reg, "o2hb-%s",
+				 reg->hr_item.ci_name);
 	if (IS_ERR(hb_task)) {
 		ret = PTR_ERR(hb_task);
 		mlog_errno(ret);
 		goto out;
 	}
+	/* The thread may exit on its own, so pin it before it can run. */
+	get_task_struct(hb_task);
 
 	spin_lock(&o2hb_live_lock);
 	reg->hr_task = hb_task;
 	spin_unlock(&o2hb_live_lock);
 
+	wake_up_process(hb_task);
+
 	ret = wait_event_interruptible(o2hb_steady_queue,
 				atomic_read(&reg->hr_steady_iterations) == 0 ||
 				reg->hr_node_deleted);
@@ -2012,7 +2016,7 @@ static ssize_t o2hb_region_dev_store(struct config_item *item,
 		spin_unlock(&o2hb_live_lock);
 
 		if (hb_task)
-			kthread_stop(hb_task);
+			kthread_stop_put(hb_task);
 
 		o2hb_unmap_slot_data(reg);
 
@@ -2208,7 +2212,7 @@ static void o2hb_heartbeat_group_drop_item(struct config_group *group,
 	spin_unlock(&o2hb_live_lock);
 
 	if (hb_task)
-		kthread_stop(hb_task);
+		kthread_stop_put(hb_task);
 
 	if (o2hb_global_heartbeat_active()) {
 		spin_lock(&o2hb_live_lock);
Signature · 1 line
2.53.0
author maintainer
#17 lore raw

PATCH 15/1756 ocfs2/heartbeat: serialize concurrent writes to a regions dev attribute

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Eklavya Singh <[email protected]>

[ Upstream commit 0a8f258c0f012314c36b9e4818cdc0178c68f891 ]

o2hb_region_dev_store() checks reg->hr_bdev_file to see if the region is already started, but nothing stops two writers from doing that at the same time. configfs only serializes writes through the same open file, so two processes that each open the dev attribute can both get past the check:

A: hr_bdev_file is NULL, opens file A, sets hr_bdev_file = A
B: hr_bdev_file is NULL, opens file B, sets hr_bdev_file = B
A: start fails, fput(hr_bdev_file) drops B, sets it to NULL
B: start fails, fput(NULL)

Both calls also use the same hr_slots, hr_slot_data and hr_tmp_block, so the error paths can free the slot data twice.

syzbot hit the fput(NULL) with an unbound loop device, where every start fails with -EIO. With four threads doing the same thing on a KASAN kernel I get both crashes within a second:

  BUG: KASAN: double-free in o2hb_unmap_slot_data+0x14d/0x2f0
  BUG: kernel NULL pointer dereference, address: 0000000000000158

Add a mutex to the region and hold it in dev_store(), in the block_bytes, start_block and blocks stores, and in dev_show(), since they all look at hr_bdev_file. dev_store() cleans up with goto, so it takes the mutex in a small wrapper rather than with guard(). The mutex is dropped while dev_store() waits for the heartbeat to become steady, which takes seconds, so a read of dev doesn't stall behind a start. hr_bdev_file is already set at that point, so other writers still get -EINVAL, and the cleanup after the wait retakes the mutex.

With the patch the same test ran for 10 minutes with lockdep on and nothing was reported. So did a second one, with a working loop device, that interrupts starts during the wait while other threads read and write the attributes.

Fixes a7f6a5fb4bde ("[PATCH] OCFS2: The Second Oracle Cluster Filesystem")
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Heming Zhao <[email protected]>
Cc Deepanshu Kartikey <[email protected]>
Cc Cen Zhang <[email protected]>
---
 fs/ocfs2/cluster/heartbeat.c | 40 ++++++++++++++++++++++++++++++------
 1 file changed, 34 insertions(+), 6 deletions(-)
fs/ocfs2/cluster/heartbeat.c +34 -6
index c7fd2e5c2c0bf..85377208aa1ad 100644
@@ -268,6 +268,8 @@ struct o2hb_region {
 	struct list_head	hr_handler_list;
 	/* Serializes timeout arming against failed-start and teardown. */
 	struct mutex		hr_arming_mutex;
+	/* Serializes the dev, block_bytes, start_block and blocks attributes. */
+	struct mutex		hr_dev_mutex;
 	bool			hr_stopping;
 
 	/* last hb status, 0 for success, other value for error. */
@@ -1664,6 +1666,7 @@ static ssize_t o2hb_region_block_bytes_store(struct config_item *item,
 	unsigned long block_bytes;
 	unsigned int block_bits;
 
+	guard(mutex)(&reg->hr_dev_mutex);
 	if (reg->hr_bdev_file)
 		return -EINVAL;
 
@@ -1693,6 +1696,7 @@ static ssize_t o2hb_region_start_block_store(struct config_item *item,
 	char *p = (char *)page;
 	ssize_t ret;
 
+	guard(mutex)(&reg->hr_dev_mutex);
 	if (reg->hr_bdev_file)
 		return -EINVAL;
 
@@ -1718,6 +1722,7 @@ static ssize_t o2hb_region_blocks_store(struct config_item *item,
 	unsigned long tmp;
 	char *p = (char *)page;
 
+	guard(mutex)(&reg->hr_dev_mutex);
 	if (reg->hr_bdev_file)
 		return -EINVAL;
 
@@ -1735,10 +1740,12 @@ static ssize_t o2hb_region_blocks_store(struct config_item *item,
 
 static ssize_t o2hb_region_dev_show(struct config_item *item, char *page)
 {
+	struct o2hb_region *reg = to_o2hb_region(item);
 	unsigned int ret = 0;
 
-	if (to_o2hb_region(item)->hr_bdev_file)
-		ret = sprintf(page, "%pg\n", reg_bdev(to_o2hb_region(item)));
+	guard(mutex)(&reg->hr_dev_mutex);
+	if (reg->hr_bdev_file)
+		ret = sprintf(page, "%pg\n", reg_bdev(reg));
 
 	return ret;
 }
@@ -1856,11 +1863,9 @@ static int o2hb_populate_slot_data(struct o2hb_region *reg)
  * this is acting as commit; we set up all of hr_bdev_file and hr_task or
  * nothing
  */
-static ssize_t o2hb_region_dev_store(struct config_item *item,
-				     const char *page,
-				     size_t count)
+static ssize_t __o2hb_region_dev_store(struct o2hb_region *reg,
+				       const char *page, size_t count)
 {
-	struct o2hb_region *reg = to_o2hb_region(item);
 	struct task_struct *hb_task;
 	long fd;
 	int sectsize;
@@ -1869,6 +1874,8 @@ static ssize_t o2hb_region_dev_store(struct config_item *item,
 	ssize_t ret = -EINVAL;
 	int live_threshold;
 
+	lockdep_assert_held(&reg->hr_dev_mutex);
+
 	if (reg->hr_bdev_file)
 		return -EINVAL;
 
@@ -1972,9 +1979,15 @@ static ssize_t o2hb_region_dev_store(struct config_item *item,
 
 	wake_up_process(hb_task);
 
+	/*
+	 * Don't hold hr_dev_mutex across the wait, which can take seconds.
+	 * hr_bdev_file is already set, so other writers still get -EINVAL.
+	 */
+	mutex_unlock(&reg->hr_dev_mutex);
 	ret = wait_event_interruptible(o2hb_steady_queue,
 				atomic_read(&reg->hr_steady_iterations) == 0 ||
 				reg->hr_node_deleted);
+	mutex_lock(&reg->hr_dev_mutex);
 	if (ret) {
 		atomic_set(&reg->hr_steady_iterations, 0);
 		reg->hr_aborted_start = 1;
@@ -2028,6 +2041,20 @@ static ssize_t o2hb_region_dev_store(struct config_item *item,
 	return ret;
 }
 
+static ssize_t o2hb_region_dev_store(struct config_item *item,
+				     const char *page,
+				     size_t count)
+{
+	struct o2hb_region *reg = to_o2hb_region(item);
+	ssize_t ret;
+
+	mutex_lock(&reg->hr_dev_mutex);
+	ret = __o2hb_region_dev_store(reg, page, count);
+	mutex_unlock(&reg->hr_dev_mutex);
+
+	return ret;
+}
+
 static ssize_t o2hb_region_pid_show(struct config_item *item, char *page)
 {
 	struct o2hb_region *reg = to_o2hb_region(item);
@@ -2130,6 +2157,7 @@ static struct config_item *o2hb_heartbeat_group_make_item(struct config_group *g
 
 	INIT_LIST_HEAD(&reg->hr_all_item);
 	mutex_init(&reg->hr_arming_mutex);
+	mutex_init(&reg->hr_dev_mutex);
 	reg->hr_stopping = true;
 	INIT_DELAYED_WORK(&reg->hr_write_timeout_work, o2hb_write_timeout);
 	INIT_DELAYED_WORK(&reg->hr_nego_timeout_work, o2hb_nego_timeout);
Signature · 1 line
2.53.0
author maintainer
#18 lore raw

PATCH 16/1756 ACPI: utils: Add exclusive AML evaluation helpers

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ali Ahmet Memiş <[email protected]>

[ Upstream commit 80892972ff23bf0b9049230ef0931b34163aaed3 ]

ACPICA drops the interpreter lock while AML waits, for example around EC accesses, so two methods can run interleaved.

Some firmware relies on methods not interleaving, for instance by switching an EC page selector without taking the AML mutex that the other users of that page hold.

Add acpi_evaluate_object_exclusive(), acpi_evaluate_integer_exclusive() and acpi_execute_simple_method_exclusive() which serialize the evaluation under a global mutex, for callers that are known to be affected.

Stable-dep-of: f91c2cd6dbce ("platform/x86: ideapad-laptop: Evaluate ACPI methods exclusively")

---
 drivers/acpi/utils.c    | 41 +++++++++++++++++++++++++++++++++++++++++
 include/acpi/acpi_bus.h |  7 +++++++
 2 files changed, 48 insertions(+)
drivers/acpi/utils.c +41 -0
index 6de542d995189..219d3d23aee8a 100644
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/mutex.h>
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/types.h>
@@ -243,6 +244,28 @@ acpi_extract_package(union acpi_object *package,
 
 EXPORT_SYMBOL(acpi_extract_package);
 
+static DEFINE_MUTEX(acpi_exclusive_eval_lock);
+
+/**
+ * acpi_evaluate_object_exclusive - Evaluate an object without interleaving
+ * @handle: ACPI handle of the object or its scope.
+ * @pathname: Path of the object relative to @handle.
+ * @arguments: Arguments to pass, or NULL.
+ * @buffer: Buffer for the return value, or NULL.
+ *
+ * Same as acpi_evaluate_object(), but serialized with other exclusive
+ * evaluations.  Use it only for methods known to break when interleaved.
+ */
+acpi_status acpi_evaluate_object_exclusive(acpi_handle handle, acpi_string pathname,
+					   struct acpi_object_list *arguments,
+					   struct acpi_buffer *buffer)
+{
+	guard(mutex)(&acpi_exclusive_eval_lock);
+
+	return acpi_evaluate_object(handle, pathname, arguments, buffer);
+}
+EXPORT_SYMBOL_GPL(acpi_evaluate_object_exclusive);
+
 acpi_status
 acpi_evaluate_integer(acpi_handle handle,
 		      acpi_string pathname,
@@ -277,6 +300,16 @@ acpi_evaluate_integer(acpi_handle handle,
 
 EXPORT_SYMBOL(acpi_evaluate_integer);
 
+acpi_status acpi_evaluate_integer_exclusive(acpi_handle handle, acpi_string pathname,
+					    struct acpi_object_list *arguments,
+					    unsigned long long *data)
+{
+	guard(mutex)(&acpi_exclusive_eval_lock);
+
+	return acpi_evaluate_integer(handle, pathname, arguments, data);
+}
+EXPORT_SYMBOL_GPL(acpi_evaluate_integer_exclusive);
+
 int acpi_get_local_u64_address(acpi_handle handle, u64 *addr)
 {
 	acpi_status status;
@@ -686,6 +719,14 @@ acpi_status acpi_execute_simple_method(acpi_handle handle, char *method,
 }
 EXPORT_SYMBOL(acpi_execute_simple_method);
 
+acpi_status acpi_execute_simple_method_exclusive(acpi_handle handle, char *method, u64 arg)
+{
+	guard(mutex)(&acpi_exclusive_eval_lock);
+
+	return acpi_execute_simple_method(handle, method, arg);
+}
+EXPORT_SYMBOL_GPL(acpi_execute_simple_method_exclusive);
+
 /**
  * acpi_evaluate_ej0: Evaluate _EJ0 method for hotplug operations
  * @handle: ACPI device handle
include/acpi/acpi_bus.h +7 -0
index b8cf06904fa20..f46464d1430a2 100644
@@ -30,6 +30,12 @@ acpi_status
 acpi_evaluate_integer(acpi_handle handle,
 		      acpi_string pathname,
 		      struct acpi_object_list *arguments, unsigned long long *data);
+acpi_status acpi_evaluate_object_exclusive(acpi_handle handle, acpi_string pathname,
+					   struct acpi_object_list *arguments,
+					   struct acpi_buffer *buffer);
+acpi_status acpi_evaluate_integer_exclusive(acpi_handle handle, acpi_string pathname,
+					    struct acpi_object_list *arguments,
+					    unsigned long long *data);
 bool acpi_evaluate_reference(acpi_handle handle, acpi_string pathname,
 			     struct acpi_object_list *arguments,
 			     struct acpi_handle_list *list);
@@ -49,6 +55,7 @@ acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld
 bool acpi_has_method(acpi_handle handle, char *name);
 acpi_status acpi_execute_simple_method(acpi_handle handle, char *method,
 				       u64 arg);
+acpi_status acpi_execute_simple_method_exclusive(acpi_handle handle, char *method, u64 arg);
 acpi_status acpi_evaluate_ej0(acpi_handle handle);
 acpi_status acpi_evaluate_lck(acpi_handle handle, int lock);
 acpi_status acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function);
Signature · 1 line
2.53.0
author maintainer
#19 lore raw

PATCH 17/1756 platform/x86: ideapad-laptop: Evaluate ACPI methods exclusively

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ali Ahmet Memiş <[email protected]>

[ Upstream commit f91c2cd6dbcedf52e227b2eea8d7b99ecbac7552 ]

On some Lenovo IdeaPad and Yoga models, the battery _BIX takes the EC AML mutex and then calls the serialized RDER through RDIF, while GBMD calls RDER first and then takes the EC mutex. When the two run interleaved they deadlock until the mutex acquisition in RDER times out, and GBMD returns garbage that is reported as both charge types being enabled.

Evaluate all methods with the exclusive helpers, so that GBMD never runs interleaved with the battery methods.

---
 drivers/platform/x86/ideapad-laptop.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/platform/x86/ideapad-laptop.c +8 -4
index c7e8bcf3d6239..6349defc17385 100644
@@ -282,12 +282,16 @@ static void ideapad_shared_exit(struct ideapad_private *priv)
 #define IDEAPAD_EC_POLL_MIN_US 150
 #define IDEAPAD_EC_POLL_MAX_US 300
 
+/*
+ * On some models GBMD and the battery _BIX take the EC mutex and a
+ * serialized method in opposite order, so evaluate all methods exclusively.
+ */
 static int eval_int(acpi_handle handle, const char *name, unsigned long *res)
 {
 	unsigned long long result;
 	acpi_status status;
 
-	status = acpi_evaluate_integer(handle, (char *)name, NULL, &result);
+	status = acpi_evaluate_integer_exclusive(handle, (char *)name, NULL, &result);
 	if (ACPI_FAILURE(status))
 		return -EIO;
 
@@ -309,7 +313,7 @@ static int eval_int_with_arg(acpi_handle handle, const char *name, unsigned long
 	in_obj.type = ACPI_TYPE_INTEGER;
 	in_obj.integer.value = arg;
 
-	status = acpi_evaluate_integer(handle, (char *)name, &params, &result);
+	status = acpi_evaluate_integer_exclusive(handle, (char *)name, &params, &result);
 	if (ACPI_FAILURE(status))
 		return -EIO;
 
@@ -321,7 +325,7 @@ static int eval_int_with_arg(acpi_handle handle, const char *name, unsigned long
 
 static int exec_simple_method(acpi_handle handle, const char *name, unsigned long arg)
 {
-	acpi_status status = acpi_execute_simple_method(handle, (char *)name, arg);
+	acpi_status status = acpi_execute_simple_method_exclusive(handle, (char *)name, arg);
 
 	return ACPI_FAILURE(status) ? -EIO : 0;
 }
@@ -379,7 +383,7 @@ static int eval_vpcw(acpi_handle handle, unsigned long cmd, unsigned long data)
 	in_obj[1].type = ACPI_TYPE_INTEGER;
 	in_obj[1].integer.value = data;
 
-	status = acpi_evaluate_object(handle, "VPCW", &params, NULL);
+	status = acpi_evaluate_object_exclusive(handle, "VPCW", &params, NULL);
 	if (ACPI_FAILURE(status))
 		return -EIO;
 
Signature · 1 line
2.53.0
author maintainer
#20 lore raw

PATCH 18/1756 proc: dont let an entry below /proc/<pid>/net be a mountpoint

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Christian Brauner <[email protected]>

[ Upstream commit eeecea75ece2ba894bee4d3c53ed2e40abda8f0e ]

proc_net_d_revalidate() always returns 0 so that a dentry below /proc/<pid>/net is never reused after setns(). So lookup_fast() will end up calling d_invalidate(), which unhashes the dentry and detaches every mount on it, in every mount namespace; including locked mounts.

Then lookup_slow() creates a new dentry for the same entry. So a mount on /proc/<pid>/net/dev succeeds and goes away with the first lookup of the name by anybody with search permission on the directory. Given it's 0555 that's everyone's grandma. A mask on such a name hides nothing as the repro below shows.

Treat those entries like I did fd/, fdinfo/ and map_files/ and refuse to mount on them in the first place. It's nonsensical theater otherwise:

procnet net/dev stat

// SPDX-License-Identifier: GPL-2.0
/*
* procnet: cover an entry of /proc/<pid>/ with a bind mount, lock the mount,
* then look the name up.
*
* The first task stays alive, <pid> is its pid. The "container" task has its
* own mount namespace. There it binds a mask on /proc/<pid>/<name>. It drops to
* uid 1000 and enters a new user namespace with a new mount namespace, so that
* the mask is locked. Then one task looks the name up:
*

   *   stat    the container calls stat() on the name
   *   umount  the container calls umount2(MNT_DETACH) on the name
   *   nobody  a task with uid 65534 in the first namespaces calls stat()

*
* The container lists its mounts before and after (that does not look the
* name up) and then reads the name. MASK is fine. Anything else means that
* the lookup uncovered the entry.
*
* usage: procnet <name> stat|umount|nobody
* name "status" is the control, "net/dev" is a file below net, "net/stat" is
* a directory below net
*/
#define _GNU_SOURCE
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <sched.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/mount.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/wait.h>

  #define WORK "/run/pn"

  static char target[128];

  static void die(const char *what)
  {
  	fprintf(stderr, "FATAL %s: %s\n", what, strerror(errno));
  	exit(2);
  }

  static void write_str(const char *path, const char *s, int flags)
  {
  	int fd = open(path, O_WRONLY | flags, 0644);

  	if (fd < 0 || write(fd, s, strlen(s)) < 0)
  		die(path);
  	close(fd);
  }

  /* list the mounts below /proc without a lookup of the target */
  static void mounts(const char *when)
  {
  	char line[512];
  	FILE *f = fopen("/proc/self/mountinfo", "r");
  	int n = 0;

  	if (!f)
  		die("mountinfo");
  	while (fgets(line, sizeof(line), f)) {
  		if (!strstr(line, " /proc/"))
  			continue;
  		printf("container: %s: mount: %s", when, line);
  		n++;
  	}
  	fclose(f);
  	if (!n)
  		printf("container: %s: nothing is mounted below /proc\n", when);
  }

  static void show(const char *when, int isdir)
  {
  	char buf[48] = "";
  	int fd;

  	if (isdir) {
  		struct dirent *de;
  		DIR *d = opendir(target);
  		int hit = 0;

  		if (!d) {
  			printf("container: %s: opendir(%s) = %s\n", when, target, strerror(errno));
  			return;
  		}
  		printf("container: %s: readdir(%s) =", when, target);
  		while ((de = readdir(d))) {
  			if (de->d_name[0] == '.')
  				continue;
  			printf(" %s", de->d_name);
  			hit |= strcmp(de->d_name, "MASK");
  		}
  		closedir(d);
  		printf("%s\n", hit ? "   <-- HIT" : "");
  		return;
  	}
  	fd = open(target, O_RDONLY);
  	if (fd < 0) {
  		printf("container: %s: open(%s) = %s\n", when, target, strerror(errno));
  		return;
  	}
  	if (read(fd, buf, sizeof(buf) - 1) < 0)
  		die("read");
  	close(fd);
  	if (strchr(buf, '\n'))
  		*strchr(buf, '\n') = 0;
  	printf("container: %s: read(%s) = \"%s\"%s\n", when, target, buf,
  	       strncmp(buf, "MASK", 4) ? "   <-- HIT" : "");
  }

  int main(int argc, char **argv)
  {
  	const char *name = argc > 1 ? argv[1] : "net/dev";
  	const char *op = argc > 2 ? argv[2] : "stat";
  	int isdir = !strcmp(name, "net/stat");
  	int to_host[2], to_cont[2];
  	struct stat st;
  	pid_t pid;
  	char c;

  	setvbuf(stdout, NULL, _IOLBF, 0);
  	snprintf(target, sizeof(target), "/proc/%d/%s", getpid(), name);
  	if (unshare(CLONE_NEWNS) || mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL))
  		die("unshare");
  	mkdir(WORK, 0755);
  	if (mount("W", WORK, "tmpfs", 0, NULL))
  		die("mount W");
  	write_str(WORK "/mask", "MASK", O_CREAT);
  	mkdir(WORK "/maskdir", 0755);
  	write_str(WORK "/maskdir/MASK", "MASK", O_CREAT);
  	if (pipe(to_host) || pipe(to_cont))
  		die("pipe");

  	pid = fork();
  	if (pid < 0)
  		die("fork");
  	if (!pid) {
  		if (unshare(CLONE_NEWNS))
  			die("container unshare");
  		if (mount(isdir ? WORK "/maskdir" : WORK "/mask", target, NULL, MS_BIND, NULL)) {
  			printf("container: bind the mask on %s: %s\n", target, strerror(errno));
  			exit(0);
  		}
  		printf("container: bind the mask on %s: ok\n", target);
  		if (setgid(1000) || setuid(1000) || prctl(PR_SET_DUMPABLE, 1))
  			die("setuid");
  		/* lock the mount: a new user namespace with a copy of the tree */
  		if (unshare(CLONE_NEWUSER | CLONE_NEWNS))
  			die("container userns");
  		write_str("/proc/self/setgroups", "deny", 0);
  		write_str("/proc/self/uid_map", "0 1000 1", 0);
  		write_str("/proc/self/gid_map", "0 1000 1", 0);
  		mounts("before");
  		errno = 0;
  		if (!strcmp(op, "stat")) {
  			stat(target, &st);
  			printf("container: stat(%s): %s\n", target, strerror(errno));
  		} else if (!strcmp(op, "umount")) {
  			umount2(target, MNT_DETACH);
  			printf("container: umount2(%s, MNT_DETACH): %s\n", target, strerror(errno));
  		} else if (write(to_host[1], "g", 1) != 1 || read(to_cont[0], &c, 1) != 1) {
  			die("sync");
  		}
  		mounts("after");
  		show("after", isdir);
  		exit(0);
  	}
  	close(to_host[1]);
  	if (read(to_host[0], &c, 1) == 1) {
  		pid_t p2 = fork();

  		if (!p2) {
  			if (setgid(65534) || setuid(65534))
  				die("setuid");
  			errno = 0;
  			stat(target, &st);
  			printf("nobody: uid %u: stat(%s): %s\n", getuid(), target, strerror(errno));
  			exit(0);
  		}
  		waitpid(p2, NULL, 0);
  		if (write(to_cont[1], "g", 1) != 1)
  			die("sync");
  	}
  	waitpid(pid, NULL, 0);
  	return 0;
  }
Fixes 1fde6f21d90f ("proc: fix /proc/net/* after setns(2)")
[ sashal: replaced the PROC_ENTRY_FORCE_LOOKUP flag check with de->proc_dops == &proc_net_dentry_ops. ]
---
 fs/proc/generic.c | 4 ++++
 1 file changed, 4 insertions(+)
fs/proc/generic.c +4 -0
index c3cc99973ef64..e8fe204a88c39 100644
@@ -255,6 +255,10 @@ struct dentry *proc_lookup_de(struct inode *dir, struct dentry *dentry,
 		inode = proc_get_inode(dir->i_sb, de);
 		if (!inode)
 			return ERR_PTR(-ENOMEM);
+		/* never reused and so never a mountpoint for long */
+		if (de->proc_dops == &proc_net_dentry_ops)
+			return proc_splice_unmountable(inode, dentry,
+						       &proc_net_dentry_ops);
 		d_set_d_op(dentry, de->proc_dops);
 		return d_splice_alias(inode, dentry);
 	}
Signature · 1 line
2.53.0
author maintainer
#7 lore raw

PATCH 5/1756 ksmbd: revert fsids on durable reconnect and replay failure

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ian Bridges <[email protected]>

[ Upstream commit 539223f18026448f67d33d09719c355b91db7fd0 ]

On a durable handle reconnect or a request replay, smb2_open() switches to the SMB user's fsids before calling ksmbd_vfs_getattr(). If that call fails, the code jumps to err_out2 and skips ksmbd_revert_fsids() at err_out1. The user's credentials then stay installed on the shared ksmbd worker. Later work on that worker, including other users' requests, runs with the first user's fsuid, fsgid and supplementary groups. ksmbd_free_work_struct() also warns, because work->saved_cred is still set.

Jump to err_out1 instead. No path is held at this point, so skipping the path_put() at err_out is correct.

Fixes c8efcc786146 ("ksmbd: add support for durable handles v1/v2")
Fixes bb8bf7eb13b5 ("ksmbd: add SMB3 request replay support")
[ sashal: omitted the durable reconnect error-path hunk in smb2_open() ]
---
 fs/smb/server/smb2pdu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/smb/server/smb2pdu.c +1 -1
index f7e3d7986c4ca..1af013ae66f94 100644
@@ -3129,7 +3129,7 @@ int smb2_open(struct ksmbd_work *work)
 
 			rc = ksmbd_vfs_getattr(&fp->filp->f_path, &stat);
 			if (rc)
-				goto err_out2;
+				goto err_out1;
 
 			goto reconnected_fp;
 		}
Signature · 1 line
2.53.0
author maintainer
#8 lore raw

PATCH 6/1756 mm/ksm: fix use of a freed anon_vma at swap-in

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Hildenbrand (Arm) <[email protected]>

[ Upstream commit 4c2dec1dce368ad9e9b1814307cb5ef3832fa07e ]

A folio read from a swap slot previously shared by KSM can remain in the swap cache after the process that first mapped it exits. Its anon_vma can then be freed, so ksm_might_need_to_copy() must not dereference it to compare roots.

Doing so can result in some false-positives, resulting in the reverse mapping missing the new folio mapping, preventing migration and reclaim.

SLAB_TYPESAFE_BY_RCU allows individual anon_vma objects to be reused immediately after freeing. A stale pointer can then refer to another anon_vma whose root matches, even though the target VMA is not linked to that anon_vma.

Move the anonymous rmap compatibility checks into folio_anon_rmap_compatible(). Keep the page-index check and compare the folio's anon_vma pointer against the VMA's own anon_vma and root first.

If neither matches, bite the bullet and walk the VMA's anon_vma_chain. The VMA keeps these anon_vmas alive, and finding a match guarantees that reverse mapping can find the new mapping.

Lorenzo Stoakes says in a private discussion:

"This isn't quite equivalent to the existing check.

Every anon_vma in an anon_vma_chain shares the same root, but if you split a VMA then fork both of them like this:

VMA A
/ \ <split>
VMA B VMA C
\ /
root <- anon_vma 1
----^ ^---- <fork>
/ parent \
anon_vma 2 anon_vma 3
| |
VMA D VMA E

VMA's D and E both get their own new
anon_vma's such that:

VMA D: anon_vma 2 -> anon_vma 1 -> root
VMA E: anon_vma 3 -> anon_vma 1 -> root

And if you found a folio referencing anon_vma 2, the existing check:

	anon_vma->root == vma->anon-vma->root

Would be true for VMA's B, C, D & E.

However after your change it'd be true for VMA D only, as it's the only one with anon_vma 2 in its anon_vma_chain.

Whether or not that could actually happen in practice... 🙂 I don't know.

[...] after your change it'd be true for VMA D only, as it's the only one with anon_vma 2 in its anon_vma_chain. [...] I would [...] say that you are making the test stricter but more correct.
"

If this affects performance when KSM was never even involved, we could just track whether KSM ever merged anything and just skip these checks.

There isn't really a lot we can do otherwise: for mapped folios we might be able to use folio_get_anon_vma(), but for unmapped folios there really is no easy way to see if the anon_vma is still valid.

Document the (confusing) lifetime requirements of folio_anon_vma().

Fixes ba6f0ff3981e ("ksm: fix ksm swapin time optimization")
[ sashal: adapted the helper to use linear_page_index() and a non-const folio parameter without the unavailable vma_assert_stabilised() check. ]
---
 mm/ksm.c  | 35 ++++++++++++++++++++++++++++++-----
 mm/util.c | 13 +++++++++++++
 2 files changed, 43 insertions(+), 5 deletions(-)
mm/ksm.c +30 -5
index 8ce4cd5a382ce..e64a0dbcad5dd 100644
@@ -3059,11 +3059,39 @@ void __ksm_exit(struct mm_struct *mm)
 	trace_ksm_exit(mm);
 }
 
+static bool folio_anon_rmap_compatible(struct folio *folio,
+		struct vm_area_struct *vma, unsigned long addr)
+{
+	const struct anon_vma *anon_vma = folio_anon_vma(folio);
+	struct anon_vma_chain *avc;
+
+	VM_WARN_ON_ONCE_FOLIO(!folio_test_locked(folio), folio);
+	VM_WARN_ON_ONCE_FOLIO(folio_test_large(folio), folio);
+	VM_WARN_ON_ONCE_FOLIO(folio_test_ksm(folio), folio);
+
+	if (!anon_vma)
+		return true;
+	if (folio->index != linear_page_index(vma, addr))
+		return false;
+
+	/*
+	 * Careful: anon_vma might have been freed, so we cannot safely
+	 * dereference it. Add a fast path before we walk the anon_vma chain.
+	 */
+	if (anon_vma == vma->anon_vma || anon_vma == vma->anon_vma->root)
+		return true;
+
+	list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) {
+		if (avc->anon_vma == anon_vma)
+			return true;
+	}
+	return false;
+}
+
 struct folio *ksm_might_need_to_copy(struct folio *folio,
 			struct vm_area_struct *vma, unsigned long addr)
 {
 	struct page *page = folio_page(folio, 0);
-	struct anon_vma *anon_vma = folio_anon_vma(folio);
 	struct folio *new_folio;
 
 	if (folio_test_large(folio))
@@ -3073,10 +3101,7 @@ struct folio *ksm_might_need_to_copy(struct folio *folio,
 		if (folio_stable_node(folio) &&
 		    !(ksm_run & KSM_RUN_UNMERGE))
 			return folio;	/* no need to copy it */
-	} else if (!anon_vma) {
-		return folio;		/* no need to copy it */
-	} else if (folio->index == linear_page_index(vma, addr) &&
-			anon_vma->root == vma->anon_vma->root) {
+	} else if (folio_anon_rmap_compatible(folio, vma, addr)) {
 		return folio;		/* still no need to copy it */
 	}
 	if (PageHWPoison(page))
mm/util.c +13 -0
index 4f1275023eb73..8c6d8d4d62c4f 100644
@@ -820,6 +820,19 @@ void *vcalloc_noprof(size_t n, size_t size)
 }
 EXPORT_SYMBOL(vcalloc_noprof);
 
+/**
+ * folio_anon_vma - Get a folio's raw anon_vma pointer.
+ * @folio: The folio.
+ *
+ * The returned pointer may be stale for an unmapped folio. The caller
+ * must ensure the anon_vma stays alive before dereferencing it. A folio
+ * reference or lock alone is insufficient; use folio_get_anon_vma() when
+ * the anon_vma's lifetime is not otherwise protected. Note that
+ * folio_get_anon_vma() is only useful for folios that are still mapped.
+ *
+ * Return: The raw anon_vma pointer for an anonymous, non-KSM folio, or
+ * %NULL otherwise.
+ */
 struct anon_vma *folio_anon_vma(struct folio *folio)
 {
 	unsigned long mapping = (unsigned long)folio->mapping;
Signature · 1 line
2.53.0
author maintainer
#9 lore raw

PATCH 7/1756 ksmbd: enforce the read-only share flag when creating a stream

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ian Bridges <[email protected]>

[ Upstream commit 09139429fab3a5114c18d7c15fb161511d4d66c9 ]

When a share is read-only, smb2_open() rejects opens that would create or truncate a file. Creating a named stream on an existing file with streams_xattr sets neither O_CREAT nor O_TRUNC, so it passes this check, and smb2_set_stream_name_xattr() then creates the stream. On a Time Machine share, opening a missing AFP_AfpInfo stream also writes one. A user who can write a file at the filesystem level can therefore add streams to it through a read-only share.

Do not create a stream or synthesize AFP_AfpInfo when the share is not writable. Existing streams still open normally, and a missing stream opened with FILE_OPEN still returns STATUS_OBJECT_NAME_NOT_FOUND.

Fixes e2f34481b24d ("cifsd: add server-side procedures for SMB3")
Fixes eaff8e924f60 ("ksmbd: synthesize empty AFP_AfpInfo xattr on first probe")
[ sashal: omitted the writable-tree check in the AFP_AfpInfo stream synthesis branch ]
---
 fs/smb/server/smb2pdu.c | 3 +++
 1 file changed, 3 insertions(+)
fs/smb/server/smb2pdu.c +3 -0
index 1af013ae66f94..2577fbce80c4f 100644
@@ -2574,6 +2574,9 @@ static noinline int smb2_set_stream_name_xattr(const struct path *path,
 		return -EBADF;
 	}
 
+	if (!test_tree_conn_flag(fp->tcon, KSMBD_TREE_CONN_FLAG_WRITABLE))
+		return -EACCES;
+
 	rc = ksmbd_vfs_setxattr(idmap, path, xattr_stream_name, NULL, 0, 0, false);
 	if (rc < 0)
 		pr_err("Failed to store XATTR stream name :%d\n", rc);
Signature · 1 line
2.53.0
author maintainer
#10 lore raw

PATCH 8/1756 selftests/mm: include kselftest.h in vm_util.h

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Vernon Yang <[email protected]>

commit d8a866c766ebe34b4371d42f4a3edca200f5e645 upstream.

The 6.12.y backport of commit fdc3bc349794 ("ksm_tests: skip hugepage test when Transparent Hugepages are disabled"), added a KSFT_SKIP return to khugepaged.c, but the prerequisite include from upstream commit d8a866c766eb ("selftests/mm: add commentary about 9pfs bugs") was not backported.

As a result, the selftests/mm build fails:

khugepaged.c:1195:24: error: ‘KSFT_SKIP’ undeclared (first use in this function)

Add the missing include, only the vm_util.h hunk of commit d8a866c766eb ("selftests/mm: add commentary about 9pfs bugs") is needed here.

The remaining hunks depend on commit 32b42970e861 ("selftests/mm: skip gup_longterm tests on weird filesystems") and commit 571a4b62ed63 ("selftests/mm: skip map_populate on weird filesystems"), which are not present in this tree, so we don't need to backport the remaining hunks.

Fixes 6cd1e92981f8 ("ksm_tests: skip hugepage test when Transparent Hugepages are disabled")
---
 tools/testing/selftests/mm/vm_util.h | 1 +
 1 file changed, 1 insertion(+)
tools/testing/selftests/mm/vm_util.h +1 -0
index 823d07d84ad01..b3d1d17a09e4b 100644
@@ -5,6 +5,7 @@
 #include <err.h>
 #include <strings.h> /* ffsl() */
 #include <unistd.h> /* _SC_PAGESIZE */
+#include "../kselftest.h"
 
 #define BIT_ULL(nr)                   (1ULL << (nr))
 #define PM_SOFT_DIRTY                 BIT_ULL(55)
Signature · 1 line
2.53.0
author maintainer
#11 lore raw

PATCH 9/1756 PCI/AER: Fix memory leak in aer_recover_work_func() when pci_dev is missing

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Priyank Rathod <[email protected]>

[ Upstream commit d4c842c3af5bc52b3ca0b8a7f116114e43b6ba44 ]

When ACPI APEI/GHES processes PCIe AER error records, it allocates memory for aer_capability_regs (entry.regs) from ghes_estatus_pool and queues the entry into aer_recover_ring.

In aer_recover_work_func(), items are popped from aer_recover_ring via kfifo_get(). If pci_get_domain_bus_and_slot() fails to find a matching pci_dev, the code previously executed 'continue', bypassing the call to ghes_estatus_pool_region_free(). As a result, the memory allocated for entry.regs from ghes_estatus_pool was leaked.

This is reachable whenever the device reported by firmware is not (or is no longer) present in the PCI device tree, e.g. after hot-removal or when firmware reports an error for a device the kernel never enumerated.

Refactor aer_recover_work_func() to ensure ghes_estatus_pool_region_free() is called unconditionally for every dequeued entry, releasing the pool memory even when pci_dev is missing.

Fixes e2abc47a5a1a ("ACPI: APEI: Fix AER info corruption when error status data has multiple sections")
[ sashal: Adjusted patch context to preserve existing pr_err() logging instead of upstream pr_err_ratelimited(). ]
---
 drivers/pci/pcie/aer.c | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
drivers/pci/pcie/aer.c +12 -11
index 229853e9d565e..44fac6c2f437e 100644
@@ -1150,13 +1150,12 @@ static void aer_recover_work_func(struct work_struct *work)
 	while (kfifo_get(&aer_recover_ring, &entry)) {
 		pdev = pci_get_domain_bus_and_slot(entry.domain, entry.bus,
 						   entry.devfn);
-		if (!pdev) {
+		if (!pdev)
 			pr_err("no pci_dev for %04x:%02x:%02x.%x\n",
 			       entry.domain, entry.bus,
 			       PCI_SLOT(entry.devfn), PCI_FUNC(entry.devfn));
-			continue;
-		}
-		pci_print_aer(pdev, entry.severity, entry.regs);
+		else
+			pci_print_aer(pdev, entry.severity, entry.regs);
 		/*
 		 * Memory for aer_capability_regs(entry.regs) is being allocated from the
 		 * ghes_estatus_pool to protect it from overwriting when multiple sections
@@ -1166,13 +1165,15 @@ static void aer_recover_work_func(struct work_struct *work)
 		ghes_estatus_pool_region_free((unsigned long)entry.regs,
 					      sizeof(struct aer_capability_regs));
 
-		if (entry.severity == AER_NONFATAL)
-			pcie_do_recovery(pdev, pci_channel_io_normal,
-					 aer_root_reset);
-		else if (entry.severity == AER_FATAL)
-			pcie_do_recovery(pdev, pci_channel_io_frozen,
-					 aer_root_reset);
-		pci_dev_put(pdev);
+		if (pdev) {
+			if (entry.severity == AER_NONFATAL)
+				pcie_do_recovery(pdev, pci_channel_io_normal,
+						 aer_root_reset);
+			else if (entry.severity == AER_FATAL)
+				pcie_do_recovery(pdev, pci_channel_io_frozen,
+						 aer_root_reset);
+			pci_dev_put(pdev);
+		}
 	}
 }
 
Signature · 1 line
2.53.0
author maintainer
#12 lore raw

PATCH 10/1756 fbcon: Rebuild rotated font buffer on font change

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Yao Yiqi <[email protected]>

[ Upstream commit e4b6b865d45d8dafb6c6f28c8a993a5b4431d25a ]

fbcon_rotate_font() caches a rotated copy of the console font in par->rotated.buf. The buffer is sized from the font's width, height and charcount, and is rebuilt in fbcon_init(), fbcon_switch() and fbcon_modechanged(), but not in fbcon_do_set_font().

When the font is changed through KDFONTOP, the new geometry is installed and vc_resize() redraws before the buffer is rebuilt. The rotated putcs/cursor ops then index the old buffer with the new cell size; KASAN reports a slab-out-of-bounds read in soft_cursor().

Rebuild the buffer for the visible console before the redraw, as the other callers do: select the console's blitting state with set_blitting_type() (which also uploads the new font's map on tile-blitting hardware), then rebuild. Background consoles keep their rebuild at fbcon_switch() time, as the buffer is shared per framebuffer and must not be updated for a console that is not being displayed.

To ensure a correct rollback when the rebuild or the following vc_resize() fails, save the rotated font state, clear it before rebuilding, and restore it in the error path of fbcon_do_set_font().

Fixes 6cc50e1c5b57 ("[PATCH] fbcon: Console Rotation - Add support to rotate font bitmap")
[ sashal: adapted rotated font handling to the older fbcon_par layout with individual cache fields and a direct rotate_font callback ]
---
 drivers/video/fbdev/core/fbcon.c | 57 ++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
drivers/video/fbdev/core/fbcon.c +57 -0
index e582314f1ccc3..eabe5cc227457 100644
@@ -2427,6 +2427,12 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h, int charcount,
 	int resize, ret, old_userfont, old_width, old_height, old_charcount;
 	u8 *old_data = vc->vc_font.data;
 	unsigned short old_hi_font_mask = vc->vc_hi_font_mask;
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE_ROTATION
+	u8 *saved_fontdata = NULL, *saved_fontbuffer = NULL;
+	u32 saved_fd_size = 0;
+	int saved_cur_rotate = 0;
+	bool rotated_saved = false;
+#endif
 
 	resize = (w != vc->vc_font.width) || (h != vc->vc_font.height);
 	vc->vc_font.data = (void *)(p->fontdata = data);
@@ -2446,6 +2452,33 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h, int charcount,
 	else if (!vc->vc_hi_font_mask && charcount == 512)
 		set_vc_hi_font(vc, true);
 
+	/*
+	 * Select the console's blitting state and update the rotated font buffer
+	 * to match the new font, so that the rendering below does not use a
+	 * cache that was built for the old font. Clear the cached state so
+	 * the rebuild allocates a fresh buffer; the old state is kept until
+	 * the font change can no longer fail.
+	 */
+	if (con_is_visible(vc)) {
+		set_blitting_type(vc, info);
+		if (par->rotate_font) {
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE_ROTATION
+			saved_fontdata = par->fontdata;
+			saved_fontbuffer = par->fontbuffer;
+			saved_fd_size = par->fd_size;
+			saved_cur_rotate = par->cur_rotate;
+			par->fontdata = NULL;
+			par->fontbuffer = NULL;
+			par->fd_size = 0;
+			par->cur_rotate = 0;
+			rotated_saved = true;
+#endif
+			ret = par->rotate_font(info, vc);
+			if (ret)
+				goto err_out;
+		}
+	}
+
 	if (resize) {
 		int cols, rows;
 
@@ -2462,11 +2495,28 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h, int charcount,
 		update_screen(vc);
 	}
 
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE_ROTATION
+	if (rotated_saved)
+		kfree(saved_fontbuffer);
+#endif
 	if (old_userfont && (--REFCOUNT(old_data) == 0))
 		kfree(old_data - FONT_EXTRA_WORDS * sizeof(int));
 	return 0;
 
 err_out:
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE_ROTATION
+	/*
+	 * Drop the buffer built for the new font and restore the saved
+	 * state.
+	 */
+	if (rotated_saved) {
+		kfree(par->fontbuffer);
+		par->fontdata = saved_fontdata;
+		par->fontbuffer = saved_fontbuffer;
+		par->fd_size = saved_fd_size;
+		par->cur_rotate = saved_cur_rotate;
+	}
+#endif
 	p->fontdata = old_data;
 	vc->vc_font.data = old_data;
 
@@ -2486,6 +2536,13 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, int h, int charcount,
 	else if (!old_hi_font_mask && vc->vc_hi_font_mask)
 		set_vc_hi_font(vc, false);
 
+	/*
+	 * Re-select the blitting type, which re-uploads the font map on
+	 * tile-blitting hardware.
+	 */
+	if (con_is_visible(vc))
+		set_blitting_type(vc, info);
+
 	return ret;
 }
 
Signature · 1 line
2.53.0
author maintainer
#13 lore raw

PATCH 11/1756 mm/memcontrol: fix stuck FLUSHING_CACHED_CHARGE bit on isolated cpus

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Rik van Riel <[email protected]>

[ Upstream commit d2f28a1a652e0a43f6f63de9b4e4d8d5f2716803 ]

When drain_all_stock() sets FLUSHING_CACHED_CHARGE before checking isolation, schedule_drain_work() can drop the work in a separate RCU critical section, and housekeeping_update()'s synchronize_rcu() can race that second check, leaving the flag set.

drain_local_stock() only clears the bit for work that ran, so the flag remains set and the stock is never drained again.

Have schedule_drain_work() return whether the work was queued, and clear FLUSHING_CACHED_CHARGE in drain_all_stock() when the remote CPU is isolated, so future drains can retry.

Fixes 6a792697a53a ("memcg: do not drain charge pcp caches on remote isolated cpus")
Cc Johannes Weiner <[email protected]>
Cc Muchun Song <[email protected]>
Cc Roman Gushchin <[email protected]>
[ sashal: Adapted schedule_drain_work() result handling to an inline branch in drain_all_stock() for the combined charge cache. ]
---
 mm/memcontrol.c | 2 ++
 1 file changed, 2 insertions(+)
mm/memcontrol.c +2 -0
index 2aae088c86082..de7bd67619533 100644
@@ -1871,6 +1871,8 @@ void drain_all_stock(struct mem_cgroup *root_memcg)
 				drain_local_stock(&stock->work);
 			else if (!cpu_is_isolated(cpu))
 				schedule_work_on(cpu, &stock->work);
+			else
+				clear_bit(FLUSHING_CACHED_CHARGE, &stock->flags);
 		}
 	}
 	migrate_enable();
Signature · 1 line
2.53.0
author maintainer
#14 lore raw

PATCH 12/1756 drm/amdkfd: Validate the control stack of a restored queue

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: William Palacek <[email protected]>

[ Upstream commit 90d91a192751cd9a7d9d2286299bc72ec1c28179 ]

kfd_criu_restore_queue() takes the control stack size from the checkpoint image without the topology check create-queue does in kfd_queue_acquire_buffers(), which restore stopped calling in commit 1cafa8b29e02 ("drm/amdkfd: Don't acquire buffers during CRIU queue restore."). An image size of 0x300000 is accepted and sizes the MQD allocation, and 0xFFFFFFFF trips a page allocator warning in kmalloc().

restore_mqd() also keeps the image's cp_hqd_cntl_stack_size, cp_hqd_cntl_stack_offset and cp_hqd_wg_state_offset. With offset > size or wave state offset < size, get_wave_state() returns wrapped sizes.

Take the per-XCC size from topology, 0 for queues without a control stack, and reject larger images. In restore_mqd(), set the size to it and bound both offsets as init_mqd() does.

Fixes 626f7b3190b4 ("drm/amdkfd: CRIU add queues support")
Fixes 42c6c48214b7 ("drm/amdkfd: CRIU checkpoint and restore queue mqds")
(cherry picked from commit 92249023caee17bfc6f29c71d6aaa5f2298cf507)
[ sashal: Removed the NUM_XCC() multiplier because the existing restore path handles one control stack per image. ]
---
 .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c  |  3 +++
 .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c  |  3 +++
 .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c   |  3 +++
 .../gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c   |  3 +++
 .../amd/amdkfd/kfd_process_queue_manager.c    | 24 +++++++++++++++----
 5 files changed, 32 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c +3 -0
index 4a621791da230..99fdbf666c87d 100644
@@ -293,6 +293,9 @@ static void restore_mqd(struct mqd_manager *mm, void **mqd,
 	addr = mqd_mem_obj->gpu_addr;
 
 	memcpy(m, mqd_src, sizeof(*m));
+	m->cp_hqd_cntl_stack_size = qp->ctl_stack_size;
+	m->cp_hqd_cntl_stack_offset = min(m->cp_hqd_cntl_stack_offset, qp->ctl_stack_size);
+	m->cp_hqd_wg_state_offset = max(m->cp_hqd_wg_state_offset, qp->ctl_stack_size);
 
 	*mqd = m;
 	if (gart_addr)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c +3 -0
index ca90454b01acc..2f4caf637a065 100644
@@ -344,6 +344,9 @@ static void restore_mqd(struct mqd_manager *mm, void **mqd,
 	addr = mqd_mem_obj->gpu_addr;
 
 	memcpy(m, mqd_src, sizeof(*m));
+	m->cp_hqd_cntl_stack_size = qp->ctl_stack_size;
+	m->cp_hqd_cntl_stack_offset = min(m->cp_hqd_cntl_stack_offset, qp->ctl_stack_size);
+	m->cp_hqd_wg_state_offset = max(m->cp_hqd_wg_state_offset, qp->ctl_stack_size);
 
 	*mqd = m;
 	if (gart_addr)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +3 -0
index 1e220e8810922..0d22a377f3e33 100644
@@ -416,6 +416,9 @@ static void restore_mqd(struct mqd_manager *mm, void **mqd,
 	addr = mqd_mem_obj->gpu_addr;
 
 	memcpy(m, mqd_src, sizeof(*m));
+	m->cp_hqd_cntl_stack_size = qp->ctl_stack_size;
+	m->cp_hqd_cntl_stack_offset = min(m->cp_hqd_cntl_stack_offset, qp->ctl_stack_size);
+	m->cp_hqd_wg_state_offset = max(m->cp_hqd_wg_state_offset, qp->ctl_stack_size);
 
 	*mqd = m;
 	if (gart_addr)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c +3 -0
index f0de0893bc597..ae3bd2bb410a5 100644
@@ -305,6 +305,9 @@ static void restore_mqd(struct mqd_manager *mm, void **mqd,
 	addr = mqd_mem_obj->gpu_addr;
 
 	memcpy(m, mqd_src, sizeof(*m));
+	m->cp_hqd_cntl_stack_size = qp->ctl_stack_size;
+	m->cp_hqd_cntl_stack_offset = min(m->cp_hqd_cntl_stack_offset, qp->ctl_stack_size);
+	m->cp_hqd_wg_state_offset = max(m->cp_hqd_wg_state_offset, qp->ctl_stack_size);
 
 	*mqd = m;
 	if (gart_addr)
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c +20 -4
index bf3c7d055fc33..445fba8e4bbdd 100644
@@ -26,6 +26,7 @@
 #include <linux/list.h>
 #include "kfd_device_queue_manager.h"
 #include "kfd_priv.h"
+#include "kfd_topology.h"
 #include "kfd_kernel_queue.h"
 #include "amdgpu_amdkfd.h"
 #include "amdgpu_reset.h"
@@ -984,7 +985,6 @@ static void set_queue_properties_from_criu(struct queue_properties *qp,
 	qp->eop_ring_buffer_size = q_data->eop_ring_buffer_size;
 	qp->ctx_save_restore_area_address = q_data->ctx_save_restore_area_address;
 	qp->ctx_save_restore_area_size = q_data->ctx_save_restore_area_size;
-	qp->ctl_stack_size = q_data->ctl_stack_size;
 	qp->type = q_data->type;
 	qp->format = q_data->format;
 }
@@ -996,6 +996,7 @@ int kfd_criu_restore_queue(struct kfd_process *p,
 {
 	uint8_t *mqd, *ctl_stack, *q_extra_data = NULL;
 	struct kfd_criu_queue_priv_data *q_data;
+	struct kfd_topology_device *topo_dev;
 	struct kfd_process_device *pdd;
 	uint64_t q_extra_data_size;
 	struct queue_properties qp;
@@ -1032,6 +1033,24 @@ int kfd_criu_restore_queue(struct kfd_process *p,
 		goto exit;
 	}
 
+	memset(&qp, 0, sizeof(qp));
+	set_queue_properties_from_criu(&qp, q_data);
+
+	/* Per-XCC control stack size from topology, as create-queue requires */
+	if (qp.type == KFD_QUEUE_TYPE_COMPUTE && pdd->dev->kfd->cwsr_enabled) {
+		topo_dev = kfd_topology_device_by_id(pdd->dev->id);
+		if (!topo_dev) {
+			ret = -EINVAL;
+			goto exit;
+		}
+		qp.ctl_stack_size = topo_dev->node_props.ctl_stack_size;
+	}
+
+	if (q_data->ctl_stack_size > qp.ctl_stack_size) {
+		ret = -EINVAL;
+		goto exit;
+	}
+
 	*priv_data_offset += sizeof(*q_data);
 	q_extra_data_size = (uint64_t)q_data->ctl_stack_size + q_data->mqd_size;
 
@@ -1058,9 +1077,6 @@ int kfd_criu_restore_queue(struct kfd_process *p,
 	mqd = q_extra_data;
 	ctl_stack = mqd + q_data->mqd_size;
 
-	memset(&qp, 0, sizeof(qp));
-	set_queue_properties_from_criu(&qp, q_data);
-
 	ret = kfd_queue_acquire_buffers(pdd, &qp);
 	if (ret) {
 		pr_debug("failed to acquire user queue buffers for CRIU\n");
Signature · 1 line
2.53.0
author maintainer
#5 lore raw

PATCH 3/1756 mm/hugetlb: fix endless write fault on a leftover uffd bit

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Josef Bacik <[email protected]>

[ Upstream commit f61e1cf15fb44f9cf89d43d8ef01f926322bb1c4 ]

hugetlb_fault() resolves the uffd bit on a write fault only if the VMA is registered for userfaultfd write protection, and hugetlb_wp() bails out for any entry with the uffd bit set assuming hugetlb_fault() has already resolved it.

When a read-only hugetlb entry with the uffd bit set is mapped in a VMA that is not registered for uffd-wp, a write fault to it never makes progress. If the access comes from the kernel, e.g. read(2) from /dev/zero into such page, the task spins in the page fault handler, ignores SIGKILL and keeps holding the locks taken by the system call.

Such entries should not exist, but an unprivileged user can create them, for example with MADV_DONTNEED of a page protected with UFFDIO_RWPROTECT or with UFFDIO_COPY in MODE_WP racing with UFFDIO_UNREGISTER.

Clear the uffd bit when the VMA is not registered for uffd-wp and let the fault proceed to hugetlb_wp(), like do_wp_page() does for regular pages.

Note that a FOLL_FORCE write to a page protected with UFFDIO_RWPROTECT in a private VMA that was made PROT_NONE now drops the RWP protection of that page.

Original fix generated by an LLM and sent in private by Josef.

[[email protected]: massage commit message]
[[email protected]: convert comment into a TODO]
Fixes 60d5b473d61b ("mm/hugetlb: fix uffd wr-protection for CoW optimization path")
Cc Liam R. Howlett <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Jann Horn <[email protected]>
Cc Pedro Falcato <[email protected]>
Cc Muchun Song <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Miaohe Lin <[email protected]>
Cc Naoya Horiguchi <[email protected]>
Cc Adam Litke <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Rik van Riel <[email protected]>
Cc Peter Xu <[email protected]>
Cc Kiryl Shutsemau <[email protected]>
[ sashal: adapted to the existing huge_pte_uffd_wp() and huge_pte_clear_uffd_wp() helper names ]
---
 mm/hugetlb.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
mm/hugetlb.c +6 -2
index 1dd80a5b72b07..e6f913f227e6c 100644
@@ -6516,15 +6516,19 @@ vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
 		goto out_ptl;
 
 	/* Handle userfault-wp first, before trying to lock more pages */
-	if (userfaultfd_wp(vma) && huge_pte_uffd_wp(huge_ptep_get(mm, vmf.address, vmf.pte)) &&
+	if (huge_pte_uffd_wp(huge_ptep_get(mm, vmf.address, vmf.pte)) &&
 	    (flags & FAULT_FLAG_WRITE) && !huge_pte_write(vmf.orig_pte)) {
-		if (!userfaultfd_wp_async(vma)) {
+		if (userfaultfd_wp(vma) && !userfaultfd_wp_async(vma)) {
 			spin_unlock(vmf.ptl);
 			hugetlb_vma_unlock_read(vma);
 			mutex_unlock(&hugetlb_fault_mutex_table[hash]);
 			return handle_userfault(&vmf, VM_UFFD_WP);
 		}
 
+		/*
+		 * TODO: fix all cases where uffd PTE bits remain in VMAs that
+		 * are no longer registered with uffd.
+		 */
 		vmf.orig_pte = huge_pte_clear_uffd_wp(vmf.orig_pte);
 		set_huge_pte_at(mm, vmf.address, vmf.pte, vmf.orig_pte,
 				huge_page_size(hstate_vma(vma)));
Signature · 1 line
2.53.0
author maintainer
#22 lore raw

PATCH 20/1756 mm/userfaultfd: write-lock the VMA before waking waiters when unregistering

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Hildenbrand (Arm) <[email protected]>

[ Upstream commit 35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4 ]

userfaultfd_unregister() wakes pending missing faults before clearing the VMA's userfaultfd registration. With per-VMA fault locking, holding mmap_lock for write does not prevent another fault from queuing after the wakeup but before userfaultfd_clear_vma() write-locks the VMA. That waiter can then remain asleep indefinitely.

Call vma_start_write() before waking waiters. Existing fault handlers queue themselves before dropping the VMA read lock, and new readers are excluded until mmap_write_unlock().

Fixes 29a22b9e08d7 ("mm: handle userfaults under VMA lock")
[ sashal: adjusted the patch target to the older file location of userfaultfd_unregister() ]
---
 fs/userfaultfd.c | 3 +++
 1 file changed, 3 insertions(+)
fs/userfaultfd.c +3 -0
index cbd9d610c54bf..59f01cc7c5ace 100644
@@ -1513,6 +1513,9 @@ static int userfaultfd_unregister(struct userfaultfd_ctx *ctx,
 			start = vma->vm_start;
 		vma_end = min(end, vma->vm_end);
 
+		/* Prevent new userfaults from being queued after the wakeup. */
+		vma_start_write(vma);
+
 		if (userfaultfd_missing(vma)) {
 			/*
 			 * Wake any concurrent pending userfault while
Signature · 1 line
2.53.0
author maintainer
#31 lore raw

PATCH 29/1756 mm/vma: update VMA iterator state on error in new VMA merge

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Lorenzo Stoakes (ARM) <[email protected]>

[ Upstream commit 168ed9c5d5ec2fd326715eba5750c2b69e559ff3 ]

Commit cacded5e42b9 ("mm: avoid using vma_merge() for new VMAs") shared code between vma_merge_new_range() and vma_expand().

However in doing so, it failed to correctly restore the VMA iterator when vma_expand() errors out.

This is a problem when the immediately preceding VMA is mergeable and vmg->just_expand isn't specified, at which point the VMA iterator is moved to the previous VMA.

(Note that vmg->just_expand is a special case for brk(), where the iterator will already be positioned at the VMA to be expanded.)

Resolve things by restoring the VMA iterator on error. Use vma_iter_next_range() to do this, so it will correctly stop on the gap after the previous VMA, rather than skip to the next VMA after it (this is a new VMA merge, so is being applied at a gap).

To isolate the error handling, return early when a merge isn't possible (what the vmg->target check was doing before), then handle the merge success/failure case explicitly.

While here, update vma_expand() to jump to the nomem case when dup_anon_vma() fails, so vmg->state is correctly updated.

This doesn't impact anything in practice, but is the correct course and since it's part of the error path that this patch addresses, it makes sense to update it also.

Users are very unlikely to have observed the issue this patch addresses in practice, as it is near-impossible to fail an allocation for an anon_vma, but a process under memory pressure that receives a fatal signal could trigger it.

This issue was originally reported by Li Jinyue for which I am grateful. He indicated this was uncovered by a private syzkaller instance.

Fixes cacded5e42b9 ("mm: avoid using vma_merge() for new VMAs")
Cc Liam R. Howlett <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Jann Horn <[email protected]>
Cc Pedro Falcato <[email protected]>
[ sashal: Retained merge descriptor cleanup on expansion failure because the caller reuses the descriptor for retries. ]
---
 mm/vma.c | 44 +++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 19 deletions(-)
mm/vma.c +25 -19
index 85660d67b7942..6f165bf041031 100644
@@ -931,6 +931,7 @@ struct vm_area_struct *vma_merge_new_range(struct vma_merge_struct *vmg)
 	pgoff_t pglen = PHYS_PFN(end - start);
 	bool can_merge_left, can_merge_right;
 	bool just_expand = vmg->merge_flags & VMG_FLAG_JUST_EXPAND;
+	bool move_iter_back = false;
 
 	mmap_assert_write_locked(vmg->mm);
 	VM_WARN_ON(vmg->vma);
@@ -968,33 +969,38 @@ struct vm_area_struct *vma_merge_new_range(struct vma_merge_struct *vmg)
 			vmg->end = end;
 
 		/* In expand-only case we are already positioned at prev. */
-		if (!just_expand) {
-			/* Equivalent to going to the previous range. */
-			vma_prev(vmg->vmi);
-		}
+		if (!just_expand)
+			move_iter_back = true;
 	}
 
+	if (!can_merge_left && !can_merge_right)
+		return NULL;
+
+	if (move_iter_back)
+		vma_prev(vmg->vmi);
+
 	/*
 	 * Now try to expand adjacent VMA(s). This takes care of removing the
 	 * following VMA if we have VMAs on both sides.
 	 */
-	if (vmg->vma && !vma_expand(vmg)) {
-		khugepaged_enter_vma(vmg->vma, vmg->flags);
-		vmg->state = VMA_MERGE_SUCCESS;
-		return vmg->vma;
-	}
+	if (vma_expand(vmg)) {
+		/* Error occurred, restore iterator. */
+		if (move_iter_back)
+			vma_iter_next_range(vmg->vmi);
 
-	/* If expansion failed, reset state. Allows us to retry merge later. */
-	if (!just_expand) {
-		vmg->vma = NULL;
-		vmg->start = start;
-		vmg->end = end;
-		vmg->pgoff = pgoff;
-		if (vmg->vma == prev)
-			vma_iter_set(vmg->vmi, start);
+		/* If expansion failed, reset state. Allows us to retry merge later. */
+		if (!just_expand) {
+			vmg->vma = NULL;
+			vmg->start = start;
+			vmg->end = end;
+			vmg->pgoff = pgoff;
+		}
+		return NULL;
 	}
 
-	return NULL;
+	khugepaged_enter_vma(vmg->vma, vmg->flags);
+	vmg->state = VMA_MERGE_SUCCESS;
+	return vmg->vma;
 }
 
 /*
@@ -1032,7 +1038,7 @@ int vma_expand(struct vma_merge_struct *vmg)
 		vma_start_write(next);
 		ret = dup_anon_vma(vma, next, &anon_dup);
 		if (ret)
-			return ret;
+			goto nomem;
 	}
 
 	/* Not merging but overwriting any part of next is not handled. */
Signature · 1 line
2.53.0
author maintainer
#32 lore raw

PATCH 30/1756 f2fs: fix to fetch ino via ino_of_node() under cache lock

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Chao Yu <[email protected]>

[ Upstream commit cd6d8b1891395b681f2060916a4b83880b765698 ]

In f2fs_writeback_node_caches(), it's better to fetch ino via ino_of_node() under cache lock, otherwise, node cache content may become stale after cache is unlocked due to racing w/ truncation.

Commit 493b9dc8b52c ("f2fs: cache: use node cache") fixes similar issue in f2fs_flush_inline_data() introduced in commit 34c061ad85a2 ("f2fs: Avoid double lock for cp_rwsem during checkpoint").

Fixes 2049d4fcb057 ("f2fs: avoid multiple node page writes due to inline_data")
[ sashal: adapted node cache access in f2fs_writeback_node_caches() to page access in f2fs_sync_node_pages() ]
---
 fs/f2fs/node.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
fs/f2fs/node.c +3 -1
index 231a9281968e4..c5ea13cdb2e8e 100644
@@ -2100,9 +2100,11 @@ int f2fs_sync_node_pages(struct f2fs_sb_info *sbi,
 
 			/* flush inline_data */
 			if (page_private_inline(page)) {
+				nid_t ino = ino_of_node(page);
+
 				clear_page_private_inline(page);
 				unlock_page(page);
-				flush_inline_data(sbi, ino_of_node(page));
+				flush_inline_data(sbi, ino);
 				goto lock_node;
 			}
 
Signature · 1 line
2.53.0
author maintainer
#33 lore raw

PATCH 31/1756 mm/vma: fix expansion of VMA_MIXEDMAP_BIT VMAs

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Lorenzo Stoakes (ARM) <[email protected]>

[ Upstream commit 8146c6478224d8f6395c6b08a19c344a56d79867 ]

Commit ca3d76b0aa80 ("mm: add merging after mremap resize") combined merging with expansion of mremap()'d VMAs, however it also unintentionally disallowed the expansion of unmergeable VMAs.

Previously it was possible to expand a mixed mapping which mremap() had already ensured was a legal expansion.

This is clearly seen in the mremap() logic, as it checks vma_is_fixed_mapping() to determine legality of an expansion rather than vma_can_merge().

Additionally, copy_vma() allows for a failed merge to result in a new VMA being instantiated if MREMAP_MAYMOVE is specified.

However, this is not attempted, as a failure in vma_merge_extend() is assumed to be an -ENOMEM failure.

Since vma_merge_extend() is used exclusively by mremap() to perform a merge and/or expansion, resolve the issue by invoking vma_expand() for unmergeable VMAs there.

Explicitly assert that the VMA is both non-fixed and a mixed mapping. This provides double insurance against broken changes in future.

Note that khugepaged_enter_vma() (which vma_merge_new_range() runs) is redundant in this case, as a mixed mapping is not subject to khugepaged.

Also update the VMA userland tests to add a required predicate.

Fixes ca3d76b0aa80 ("mm: add merging after mremap resize")
Cc Liam R. Howlett <[email protected]>
Cc Jann Horn <[email protected]>
Cc Jakub Matěna <[email protected]>
[ sashal: Adapted VMA handling to use direct vm_flags checks and the existing vmg.vma merge-state field. ]
---
 mm/vma.c | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
mm/vma.c +19 -3
index 6f165bf041031..6f50712eb9b6d 100644
@@ -1550,12 +1550,28 @@ struct vm_area_struct *vma_merge_extend(struct vma_iterator *vmi,
 					struct vm_area_struct *vma,
 					unsigned long delta)
 {
-	VMG_VMA_STATE(vmg, vmi, vma, vma, vma->vm_end, vma->vm_end + delta);
+	const bool can_merge = !(vma->vm_flags & (VM_PFNMAP | VM_DONTEXPAND |
+						  VM_MIXEDMAP)) &&
+			      !is_vm_hugetlb_page(vma);
+	const unsigned long start =
+		can_merge ? vma->vm_end : vma->vm_start;
+	VMG_VMA_STATE(vmg, vmi, vma, vma, start, vma->vm_end + delta);
 
-	vmg.next = vma_iter_next_rewind(vmi, NULL);
 	vmg.vma = NULL; /* We use the VMA to populate VMG fields only. */
 
-	return vma_merge_new_range(&vmg);
+	if (can_merge) {
+		vmg.next = vma_iter_next_rewind(vmi, NULL);
+		return vma_merge_new_range(&vmg);
+	}
+
+	/* Mixed mappings are permitted to be expanded, not merged. */
+	VM_WARN_ON_ONCE(vma->vm_flags & (VM_PFNMAP | VM_DONTEXPAND));
+	VM_WARN_ON_ONCE(!(vma->vm_flags & VM_MIXEDMAP));
+	vma_prev(vmi); /* Reposition to start of VMA. */
+	vmg.vma = vma;
+	if (vma_expand(&vmg))
+		return NULL;
+	return vma;
 }
 
 void unlink_file_vma_batch_init(struct unlink_vma_file_batch *vb)
Signature · 1 line
2.53.0
author maintainer
#34 lore raw

PATCH 32/1756 drm/amdgpu: finish GPU recovery callbacks before restarting schedulers

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Prike Liang <[email protected]>

[ Upstream commit 733389cb31e2c55e355410759fdc68afe74a4582 ]

Run GPU post-reset callbacks, including KFD and display-audio resume, before restarting DRM scheduler workqueues. IP hardware initialization already happens inside ASIC recovery; this change orders the remaining callbacks before new scheduler submissions. Preserve the emergency-stop and guity job completition path's callbacks without starting schedulers,

(cherry picked from commit 1f6433e2b264e75c56ae95f187788806201bdbc3)
[ sashal: adapted resume helper reordering to existing inline code in amdgpu_device_gpu_recover() ]
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 48 +++++++++++-----------
 1 file changed, 25 insertions(+), 23 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +25 -23
index 037cb9ce69e42..798e82769e789 100644
@@ -6030,7 +6030,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
 	}
 
 	if (need_emergency_restart)
-		goto skip_sched_resume;
+		goto post_resume;
 
 	/*
 	 * Must check guilty signal here since after this point all old
@@ -6041,7 +6041,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
 	if (job && dma_fence_is_signaled(&job->hw_fence.base)) {
 		job_signaled = true;
 		dev_info(adev->dev, "Guilty job already signaled, skipping HW reset");
-		goto skip_hw_reset;
+		goto post_resume;
 	}
 
 retry:	/* Rest of adevs pre asic reset from XGMI hive. */
@@ -6087,7 +6087,28 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
 		amdgpu_device_stop_pending_resets(tmp_adev);
 	}
 
-skip_hw_reset:
+post_resume:
+	list_for_each_entry(tmp_adev, device_list_handle, reset_list) {
+		/* unlock kfd: SRIOV would do it separately */
+		if (!need_emergency_restart && !amdgpu_sriov_vf(tmp_adev))
+			amdgpu_amdkfd_post_reset(tmp_adev);
+
+		/* kfd_post_reset will do nothing if kfd device is not initialized,
+		 * need to bring up kfd here if it's not be initialized before
+		 */
+		if (!adev->kfd.init_complete)
+			amdgpu_amdkfd_device_init(adev);
+
+		if (audio_suspended)
+			amdgpu_device_resume_display_audio(tmp_adev);
+
+		amdgpu_device_unset_mp1_state(tmp_adev);
+
+		amdgpu_ras_set_error_query_ready(tmp_adev, true);
+	}
+
+	if (need_emergency_restart)
+		goto reset_unlock;
 
 	/* Post ASIC reset for all devs .*/
 	list_for_each_entry(tmp_adev, device_list_handle, reset_list) {
@@ -6126,26 +6147,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
 		}
 	}
 
-skip_sched_resume:
-	list_for_each_entry(tmp_adev, device_list_handle, reset_list) {
-		/* unlock kfd: SRIOV would do it separately */
-		if (!need_emergency_restart && !amdgpu_sriov_vf(tmp_adev))
-			amdgpu_amdkfd_post_reset(tmp_adev);
-
-		/* kfd_post_reset will do nothing if kfd device is not initialized,
-		 * need to bring up kfd here if it's not be initialized before
-		 */
-		if (!adev->kfd.init_complete)
-			amdgpu_amdkfd_device_init(adev);
-
-		if (audio_suspended)
-			amdgpu_device_resume_display_audio(tmp_adev);
-
-		amdgpu_device_unset_mp1_state(tmp_adev);
-
-		amdgpu_ras_set_error_query_ready(tmp_adev, true);
-	}
-
+reset_unlock:
 	tmp_adev = list_first_entry(device_list_handle, struct amdgpu_device,
 					    reset_list);
 	amdgpu_device_unlock_reset_domain(tmp_adev->reset_domain);
Signature · 1 line
2.53.0
author maintainer
#35 lore raw

PATCH 33/1756 drm/amdgpu: drop the gang leader reference when freeing gang jobs

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Jesse Zhang <[email protected]>

[ Upstream commit c1584e10a7deb655438f21867b2b7a356a9aaf9f ]

Every job of a gang except the leader holds a reference to the scheduled fence of the leader in job->gang_submit. Only amdgpu_job_free(), used for jobs which never ran, drops it, so for every gang submission which completes the scheduler fence of the leader, and with it its hardware fence, is leaked. amdgpu_job_free() in turn checks for the leader only after drm_sched_job_cleanup() cleared the scheduler fence, so a leader freed there drops a reference it never took.

On navi31, 100 submissions of a GFX + COMPUTE gang grow the slab cache drm_sched_fence is merged into by 60 to 180 objects each time, while 100 GFX only submissions don't.

Use amdgpu_job_free() for the jobs the scheduler frees too, and check for the gang leader there before drm_sched_job_cleanup() clears the scheduler fence. As the scheduler clears the entity of the jobs it picked up, check for the scheduler fence instead to tell whether the job needs cleaning up.

Keep freeing the remaining IBs with amdgpu_job_free_resources() after drm_sched_job_cleanup(), so that it frees them with the hardware fence or right away and not with the scheduler fence, which nobody signals for jobs aborted after drm_sched_job_arm(), like a CS returning -EAGAIN.

v2: unify amdgpu_job_free() and amdgpu_job_free_cb() (Christian), don't
free the remaining IBs with the scheduler fence
v3: drop the comments (Christian)
v4: free the IBs with amdgpu_job_free_resources() again (Christian)

Fixes 68ce8b242242 ("drm/amdgpu: add gang submit backend v2")
Fixes f7d66fb2ea43 ("drm/amdgpu: cleanup scheduler job initialization v2")
(cherry picked from commit df4d6d404d44bbc8fc850bc7f9f136a25dabf180)
[ sashal: adjusted cleanup context for an embedded hw_fence instead of separately allocated hardware and VM fences ]
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +5 -14
index 0abc38bb242ca..348a38ee36bb4 100644
@@ -274,17 +274,7 @@ void amdgpu_job_free_resources(struct amdgpu_job *job)
 
 static void amdgpu_job_free_cb(struct drm_sched_job *s_job)
 {
-	struct amdgpu_job *job = to_amdgpu_job(s_job);
-
-	drm_sched_job_cleanup(s_job);
-
-	amdgpu_sync_free(&job->explicit_sync);
-
-	/* only put the hw fence if has embedded fence */
-	if (!job->hw_fence.base.ops)
-		kfree(job);
-	else
-		dma_fence_put(&job->hw_fence.base);
+	amdgpu_job_free(to_amdgpu_job(s_job));
 }
 
 void amdgpu_job_set_gang_leader(struct amdgpu_job *job,
@@ -305,13 +295,14 @@ void amdgpu_job_set_gang_leader(struct amdgpu_job *job,
 
 void amdgpu_job_free(struct amdgpu_job *job)
 {
-	if (job->base.entity)
+	if (job->gang_submit != &job->base.s_fence->scheduled)
+		dma_fence_put(job->gang_submit);
+
+	if (job->base.s_fence)
 		drm_sched_job_cleanup(&job->base);
 
 	amdgpu_job_free_resources(job);
 	amdgpu_sync_free(&job->explicit_sync);
-	if (job->gang_submit != &job->base.s_fence->scheduled)
-		dma_fence_put(job->gang_submit);
 
 	if (!job->hw_fence.base.ops)
 		kfree(job);
Signature · 1 line
2.53.0
author maintainer
#36 lore raw

PATCH 34/1756 apparmor: fix profile leak when a policy load fails

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Georgia Garcia <[email protected]>

[ Upstream commit ce94927fa4173fcc1eca27bdc65a140064c8f1e6 ]

The error paths of aa_replace_profiles() and aa_unpack() do not break the refcount cycle between label and proxy. They just aa_put_profile() the new profiles, which drops the label refcount from 2 to 1, and the proxy keeps the profile alive. Every failed atomic policy load (e.g. "profile can not be replaced", or a later profile in the blob failing to unpack) leaks every new profile in the set, along with its proxy, rules and its loaddata reference.

The leak is usually not visible from userspace, because the raw_data directory for a failed load is not created, but it becomes visible when the blob is deduplicated onto an existing loaddata, which then keeps its policy/raw_data/<rev> directory forever.

Add aa_put_unpublished_profile(), which drops the profile's own proxy before putting the profile, and use it on those error paths. The proxy of an unpacked profile is always freshly allocated and not referenced by anything else before the profile is published, so putting it is safe.

Fixes 637f688dc3dc ("apparmor: switch from profiles to using labels on contexts")
[ sashal: Adjusted helper insertion context to retain the existing non-const AUDIT_MODE() parameter. ]
---
 security/apparmor/include/policy.h | 20 ++++++++++++++++++++
 security/apparmor/policy.c         |  3 +++
 security/apparmor/policy_unpack.c  |  4 +++-
 3 files changed, 26 insertions(+), 1 deletion(-)
security/apparmor/include/policy.h +20 -0
index e85824c90f430..47199bead884b 100644
@@ -382,6 +382,26 @@ static inline void aa_put_profile(struct aa_profile *p)
 		kref_put(&p->label.count.count, aa_label_kref);
 }
 
+/**
+ * aa_put_unpublished_profile - put a profile that was never made visible
+ * @p: profile  (MAYBE NULL)
+ *
+ * A newly allocated profile and its proxy reference each other
+ * (proxy->label holds a label refcount). That cycle is normally broken
+ * when the profile is replaced or removed, which redirects the proxy.
+ * A profile that is discarded before being added to the policy tree
+ * never goes through either path, so break the cycle here, otherwise
+ * the profile, its proxy and its rawdata are leaked.
+ */
+static inline void aa_put_unpublished_profile(struct aa_profile *p)
+{
+	if (p && p->label.proxy) {
+		aa_put_proxy(p->label.proxy);
+		p->label.proxy = NULL;
+	}
+	aa_put_profile(p);
+}
+
 static inline int AUDIT_MODE(struct aa_profile *profile)
 {
 	if (aa_g_audit != AUDIT_NORMAL)
security/apparmor/policy.c +3 -0
index c9ffb1eec7a7c..62345fad007c3 100644
@@ -1403,6 +1403,9 @@ ssize_t aa_replace_profiles(struct aa_ns *policy_ns, struct aa_label *label,
 	}
 	list_for_each_entry_safe(ent, tmp, &lh, list) {
 		list_del_init(&ent->list);
+		/* new was never added to the policy tree */
+		aa_put_unpublished_profile(ent->new);
+		ent->new = NULL;
 		aa_load_ent_free(ent);
 	}
 
security/apparmor/policy_unpack.c +3 -1
index 61d7ef232f320..0928c064ee9f9 100644
@@ -1512,11 +1512,13 @@ int aa_unpack(struct aa_loaddata *udata, struct list_head *lh,
 
 fail_profile:
 	kfree(ns_name);
-	aa_put_profile(profile);
+	aa_put_unpublished_profile(profile);
 
 fail:
 	list_for_each_entry_safe(ent, tmp, lh, list) {
 		list_del_init(&ent->list);
+		aa_put_unpublished_profile(ent->new);
+		ent->new = NULL;
 		aa_load_ent_free(ent);
 	}
 
Signature · 1 line
2.53.0
author maintainer
#37 lore raw

PATCH 35/1756 mm/ksm: mark migration stores with WRITE_ONCE()

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Chengfeng Ye <[email protected]>

[ Upstream commit d3863210464f69c18615cbe400d48a6e53e770d4 ]

ksm_get_folio() deliberately samples stable_node->kpfn and folio->mapping without taking the folio lock because the KSM folio may be migrated concurrently. folio_migrate_ksm() updates the same state using plain assignments.

The reader can load the old kpfn, then the migrator can store the new kpfn, execute smp_wmb(), and clear the old folio's mapping before the reader checks that mapping. Thus the initial kpfn load can overlap its update and the subsequent mapping load can overlap the clear, with no common lock. This leaves marked READ_ONCE() accesses racing with plain stores.

The kernel reported:

  BUG: KCSAN: data-race in folio_migrate_ksm / ksm_get_folio

read (marked) to 0xffff8ce401421330 of 8 bytes by task 48 on cpu 3:

   ksm_get_folio+0x7f/0x2a0
   ksm_scan_thread+0x1635/0x3330
   kthread+0x1af/0x1f0

write to 0xffff8ce401421330 of 8 bytes by task 102 on cpu 1:

   folio_migrate_ksm+0x6a/0xd0
   folio_migrate_flags+0x193/0x420
   __migrate_folio.isra.0+0x162/0x1a0
   migrate_folio+0x4c/0x70
   move_to_new_folio+0xd6/0x170

Use WRITE_ONCE() for both stores to pair them with the existing lockless reads. This preserves the existing smp_wmb()/smp_rmb() migration protocol and control flow while preventing compiler transformations of the shared accesses.

Fixes c8d6553b9580 ("ksm: make KSM page migration possible")
Cc Hugh Dickins <[email protected]>
[ sashal: Replaced FOLIO_MAPPING_KSM with the equivalent PAGE_MAPPING_KSM flag. ]
---
 mm/ksm.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
mm/ksm.c +3 -2
index e64a0dbcad5dd..9a98aa97317a4 100644
@@ -1067,7 +1067,8 @@ static inline void folio_set_stable_node(struct folio *folio,
 					 struct ksm_stable_node *stable_node)
 {
 	VM_WARN_ON_FOLIO(folio_test_anon(folio) && PageAnonExclusive(&folio->page), folio);
-	folio->mapping = (void *)((unsigned long)stable_node | PAGE_MAPPING_KSM);
+	WRITE_ONCE(folio->mapping,
+		   (void *)((unsigned long)stable_node | PAGE_MAPPING_KSM));
 }
 
 #ifdef CONFIG_SYSFS
@@ -3258,7 +3259,7 @@ void folio_migrate_ksm(struct folio *newfolio, struct folio *folio)
 	stable_node = folio_stable_node(folio);
 	if (stable_node) {
 		VM_BUG_ON_FOLIO(stable_node->kpfn != folio_pfn(folio), folio);
-		stable_node->kpfn = folio_pfn(newfolio);
+		WRITE_ONCE(stable_node->kpfn, folio_pfn(newfolio));
 		/*
 		 * newfolio->mapping was set in advance; now we need smp_wmb()
 		 * to make sure that the new stable_node->kpfn is visible
Signature · 1 line
2.53.0
author maintainer
#38 lore raw

PATCH 36/1756 platform/x86: hp-wmi: Order DMI board name arrays

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ilpo Järvinen <[email protected]>

[ Upstream commit 68779adbabdbb1891ba4d9b8c7d3be99ed5e0b3d ]

The hp-wmi driver has a number of arrays that are getting new entries and all/most entries have been added to the end of the array. As a result, the numerical order is mixed up in a few entries.

Reorder the array entries. Split lines for each two leading chars to make the arrays easier to read.

Add also trailing commas.

Stable-dep-of: d35a1ea827a2 ("platform/x86: hp-wmi: Add OMEN board 8A17 thermal profile support")

---
 drivers/platform/x86/hp/hp-wmi.c | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)
drivers/platform/x86/hp/hp-wmi.c +15 -9
index 02227a4392907..d189da2205609 100644
@@ -59,12 +59,16 @@ MODULE_ALIAS("wmi:5FB7F034-2C63-45E9-BE91-3D44E2C707E4");
  * contains "PerformanceControl".
  */
 static const char * const omen_thermal_profile_boards[] = {
-	"84DA", "84DB", "84DC", "8574", "8575", "860A", "87B5", "8572", "8573",
-	"8600", "8601", "8602", "8605", "8606", "8607", "8746", "8747", "8749",
-	"874A", "8603", "8604", "8748", "886B", "886C", "878A", "878B", "878C",
-	"88C8", "88CB", "8786", "8787", "8788", "88D1", "88D2", "88F4", "88FD",
-	"88F5", "88F6", "88F7", "88FE", "88FF", "8900", "8901", "8902", "8912",
-	"8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42", "8A15"
+	"84DA", "84DB", "84DC",
+	"8572", "8573", "8574", "8575",
+	"8600", "8601", "8602", "8603", "8604", "8605", "8606", "8607", "860A",
+	"8746", "8747", "8748", "8749", "874A", "8786", "8787", "8788", "878A",
+	"878B", "878C", "87B5",
+	"886B", "886C", "88C8", "88CB", "88D1", "88D2", "88F4", "88F5", "88F6",
+	"88F7", "88FD", "88FE", "88FF",
+	"8900", "8901", "8902", "8912", "8917", "8918", "8949", "894A", "89EB",
+	"8A15", "8A42",
+	"8BAD",
 };
 
 /* DMI Board names of Omen laptops that are specifically set to be thermal
@@ -72,7 +76,8 @@ static const char * const omen_thermal_profile_boards[] = {
  * the get system design information WMI call returns
  */
 static const char * const omen_thermal_profile_force_v0_boards[] = {
-	"8607", "8746", "8747", "8749", "874A", "8748"
+	"8607",
+	"8746", "8747", "8748", "8749", "874A",
 };
 
 /* DMI board names of Omen laptops that have a thermal profile timer which will
@@ -80,12 +85,13 @@ static const char * const omen_thermal_profile_force_v0_boards[] = {
  * "balanced" when reaching zero.
  */
 static const char * const omen_timed_thermal_profile_boards[] = {
-	"8BAD", "8A42", "8A15"
+	"8A15", "8A42",
+	"8BAD",
 };
 
 /* DMI Board names of Victus laptops */
 static const char * const victus_thermal_profile_boards[] = {
-	"8A25"
+	"8A25",
 };
 
 enum hp_wmi_radio {
Signature · 1 line
2.53.0
author maintainer
#39 lore raw

PATCH 37/1756 platform/x86: hp-wmi: Add OMEN board 8A17 thermal profile support

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ciro Pedrini <[email protected]>

[ Upstream commit d35a1ea827a2efaea7fb059ffafefae7c13b9556 ]

The HP OMEN 17-ck1xxx (board 8A17) isn't in omen_thermal_profile_boards, so hp-wmi uses the generic thermal profile query. The firmware only stores that value and never acts on it, so the EC stays in its default mode and the CPU is held at 45 W whatever profile is selected.

The board uses the OMEN interface (mode byte at EC 0x95, thermal policy v1) and also needs the timed profile quirk: without it, the EC drops back to the default mode about two minutes after each profile change.

Add 8A17 to omen_thermal_profile_boards and
omen_timed_thermal_profile_boards.

With this, all three profiles work and sustained package power under load goes from 45 W to 56-79 W.

Assisted-by Claude:claude-opus-5-5
[ sashal: Adjusted context to match the shorter omen_thermal_profile_boards array. ]
---
 drivers/platform/x86/hp/hp-wmi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/hp/hp-wmi.c +2 -2
index d189da2205609..e20f1ba937c09 100644
@@ -67,7 +67,7 @@ static const char * const omen_thermal_profile_boards[] = {
 	"886B", "886C", "88C8", "88CB", "88D1", "88D2", "88F4", "88F5", "88F6",
 	"88F7", "88FD", "88FE", "88FF",
 	"8900", "8901", "8902", "8912", "8917", "8918", "8949", "894A", "89EB",
-	"8A15", "8A42",
+	"8A15", "8A17", "8A42",
 	"8BAD",
 };
 
@@ -85,7 +85,7 @@ static const char * const omen_thermal_profile_force_v0_boards[] = {
  * "balanced" when reaching zero.
  */
 static const char * const omen_timed_thermal_profile_boards[] = {
-	"8A15", "8A42",
+	"8A15", "8A17", "8A42",
 	"8BAD",
 };
 
Signature · 1 line
2.53.0
author maintainer
#40 lore raw

PATCH 38/1756 inet: frags: bound the wmem charge of the socket completing a reassembly

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Eric Dumazet <[email protected]>

[ Upstream commit b71c101bbb9814d163c00234d43c41f0a17907d4 ]

When a socket owned fragment completes a reassembly queue, inet_frag_reasm_prepare() and inet_frag_reasm_finish() charge the truesize of all other fragments to its sk_wmem_alloc. These fragments were orphaned when queued, and might have been sent by someone else, for instance padded TUN packets.

Commit 3ae20e4697eb ("inet: frags: limit the truesize of a reassembly queue") bounds this charge to INT_MAX / 2 per queue, but a socket can complete several queues while the reassembled skbs are still alive, for instance held in a qdisc. sk_wmem_alloc can then go past INT_MAX, refcount_add() saturates it with a WARN, and the socket is leaked.

This is reachable from an unprivileged user/network namespace, by raising ipfrag_high_thresh.

Refuse the reassembly if the charge would push sk_wmem_alloc above 2 * sk_sndbuf, the bound ip_append_data() uses, plus 4MB of slack for fragments inflated by a refragmentation with a small MTU, and never above INT_MAX / 2. The cap matters for tun sockets, which use sk_sndbuf = INT_MAX, and whose skbs are still owned when act_ct or openvswitch reassemble them at ingress.

Several queues can complete at the same time on different cpus for the same socket, so the charge is reserved with a cmpxchg() loop in inet_frag_reasm_prepare(), before it modifies the queue, and settled in inet_frag_reasm_finish(). Move the size checks of ip_frag_reasm(), ip6_frag_reasm() and nf_ct_frag6_reasm() before inet_frag_reasm_prepare(), using the first fragment which becomes the head, so that a successful inet_frag_reasm_prepare() is always followed by inet_frag_reasm_finish(). All callers already kill the queue when inet_frag_reasm_prepare() returns NULL.

Found by code inspection (AI review), not reproduced.

---
 net/ipv4/inet_fragment.c                | 61 ++++++++++++++++++++++---
 net/ipv4/ip_fragment.c                  | 13 ++++--
 net/ipv6/netfilter/nf_conntrack_reasm.c | 13 ++++--
 net/ipv6/reassembly.c                   | 13 ++++--
 4 files changed, 78 insertions(+), 22 deletions(-)
net/ipv4/inet_fragment.c +54 -7
index 0224440720e12..8ecd70b4f20fc 100644
@@ -17,6 +17,7 @@
 #include <linux/rtnetlink.h>
 #include <linux/slab.h>
 #include <linux/rhashtable.h>
+#include <linux/sizes.h>
 
 #include <net/sock.h>
 #include <net/inet_frag.h>
@@ -512,6 +513,43 @@ int inet_frag_queue_insert(struct inet_frag_queue *q, struct sk_buff *skb,
 }
 EXPORT_SYMBOL(inet_frag_queue_insert);
 
+/* When a socket owned fragment completes a queue, the truesize of all
+ * other fragments is charged to its sk_wmem_alloc, although they were
+ * orphaned when queued and possibly sent by someone else.
+ * Bound this like ip_append_data() bounds the memory a socket can
+ * allocate (2 * sk_sndbuf), plus slack for fragments inflated by a
+ * refragmentation using a small MTU. Otherwise, several reassembled skbs
+ * alive at the same time can saturate sk_wmem_alloc, and leak the socket.
+ *
+ * Several queues can complete at the same time for the same socket,
+ * and some sockets (tun) use sk_sndbuf = INT_MAX. The charge is reserved
+ * with a cmpxchg() loop, a refcount_t has no helper for this.
+ */
+#define INET_FRAG_WMEM_SLACK	SZ_4M
+
+static bool inet_frag_wmem_reserve(struct sock *sk, unsigned int charge)
+{
+	u64 limit = 2ULL * READ_ONCE(sk->sk_sndbuf) + INET_FRAG_WMEM_SLACK;
+	int old = refcount_read(&sk->sk_wmem_alloc);
+
+	limit = min_t(u64, limit, INET_FRAG_MAX_TRUESIZE);
+	do {
+		if (old <= 0 || (u64)old + charge > limit)
+			return false;
+	} while (!atomic_try_cmpxchg(&sk->sk_wmem_alloc.refs, &old,
+				     old + charge));
+
+	return true;
+}
+
+static void inet_frag_wmem_adjust(struct sock *sk, int delta)
+{
+	if (delta >= 0)
+		refcount_add(delta, &sk->sk_wmem_alloc);
+	else
+		WARN_ON_ONCE(refcount_sub_and_test(-delta, &sk->sk_wmem_alloc));
+}
+
 void *inet_frag_reasm_prepare(struct inet_frag_queue *q, struct sk_buff *skb,
 			      struct sk_buff *parent)
 {
@@ -523,6 +561,11 @@ void *inet_frag_reasm_prepare(struct inet_frag_queue *q, struct sk_buff *skb,
 	int delta;
 
 	if (sk && is_skb_wmem(skb)) {
+		/* skb->truesize is already charged to sk, and is part of
+		 * q->truesize. inet_frag_reasm_finish() settles the charge.
+		 */
+		if (!inet_frag_wmem_reserve(sk, q->truesize - skb->truesize))
+			return NULL;
 		/* TX: skb->sk might have been passed as argument to
 		 * dst->output and must remain valid until tx completes.
 		 *
@@ -600,17 +643,18 @@ void *inet_frag_reasm_prepare(struct inet_frag_queue *q, struct sk_buff *skb,
 
 out_restore_sk:
 	if (orig_truesize) {
-		int ts_delta = head->truesize - orig_truesize;
-
 		/* if this reassembled skb is fragmented later,
 		 * fraglist skbs will get skb->sk assigned from head->sk,
 		 * and each frag skb will be released via sock_wfree.
-		 *
-		 * Update sk_wmem_alloc.
 		 */
 		head->sk = sk;
 		head->destructor = destructor;
-		refcount_add(ts_delta, &sk->sk_wmem_alloc);
+		/* On failure, head stays in the queue and will be freed
+		 * with the queue: only charge its truesize.
+		 */
+		if (!nextp)
+			inet_frag_wmem_adjust(sk, (int)head->truesize -
+						  (int)q->truesize);
 	}
 
 	return nextp;
@@ -621,7 +665,6 @@ void inet_frag_reasm_finish(struct inet_frag_queue *q, struct sk_buff *head,
 			    void *reasm_data, bool try_coalesce)
 {
 	struct sock *sk = is_skb_wmem(head) ? head->sk : NULL;
-	const unsigned int head_truesize = head->truesize;
 	struct sk_buff **nextp = reasm_data;
 	struct rb_node *rbn;
 	struct sk_buff *fp;
@@ -686,8 +729,12 @@ void inet_frag_reasm_finish(struct inet_frag_queue *q, struct sk_buff *head,
 	head->tstamp = q->stamp;
 	head->tstamp_type = q->tstamp_type;
 
+	/* After inet_frag_reasm_prepare(), q->truesize is charged to sk.
+	 * sum_truesize also includes what it added (skb_unclone() and
+	 * frag_list clone).
+	 */
 	if (sk)
-		refcount_add(sum_truesize - head_truesize, &sk->sk_wmem_alloc);
+		inet_frag_wmem_adjust(sk, sum_truesize - (int)q->truesize);
 }
 EXPORT_SYMBOL(inet_frag_reasm_finish);
 
net/ipv4/ip_fragment.c +8 -5
index 9cc55a0c64f7d..1fd7017300b3b 100644
@@ -413,16 +413,19 @@ static int ip_frag_reasm(struct ipq *qp, struct sk_buff *skb,
 		goto out_fail;
 	}
 
+	/* Check the size on the first fragment, which will become the head:
+	 * inet_frag_reasm_finish() must follow inet_frag_reasm_prepare().
+	 */
+	len = ip_hdrlen(skb_rb_first(&qp->q.rb_fragments)) + qp->q.len;
+	err = -E2BIG;
+	if (len > 65535)
+		goto out_oversize;
+
 	/* Make the one we just received the head. */
 	reasm_data = inet_frag_reasm_prepare(&qp->q, skb, prev_tail);
 	if (!reasm_data)
 		goto out_nomem;
 
-	len = ip_hdrlen(skb) + qp->q.len;
-	err = -E2BIG;
-	if (len > 65535)
-		goto out_oversize;
-
 	inet_frag_reasm_finish(&qp->q, skb, reasm_data,
 			       ip_frag_coalesce_ok(qp));
 
net/ipv6/netfilter/nf_conntrack_reasm.c +8 -5
index 60e8927329dde..8ccc0463bc21b 100644
@@ -330,11 +330,10 @@ static int nf_ct_frag6_reasm(struct frag_queue *fq, struct sk_buff *skb,
 	if (unlikely(ecn == 0xff))
 		goto err;
 
-	reasm_data = inet_frag_reasm_prepare(&fq->q, skb, prev_tail);
-	if (!reasm_data)
-		goto err;
-
-	payload_len = -skb_network_offset(skb) -
+	/* Check the size on the first fragment, which will become the head:
+	 * inet_frag_reasm_finish() must follow inet_frag_reasm_prepare().
+	 */
+	payload_len = -skb_network_offset(skb_rb_first(&fq->q.rb_fragments)) -
 		       sizeof(struct ipv6hdr) + fq->q.len -
 		       sizeof(struct frag_hdr);
 	if (payload_len > IPV6_MAXPLEN) {
@@ -343,6 +342,10 @@ static int nf_ct_frag6_reasm(struct frag_queue *fq, struct sk_buff *skb,
 		goto err;
 	}
 
+	reasm_data = inet_frag_reasm_prepare(&fq->q, skb, prev_tail);
+	if (!reasm_data)
+		goto err;
+
 	/* We have to remove fragment header from datagram and to relocate
 	 * header in order to calculate ICV correctly. */
 	skb_network_header(skb)[fq->nhoffset] = skb_transport_header(skb)[0];
net/ipv6/reassembly.c +8 -5
index 29e15ff9d7c1e..34031424c9789 100644
@@ -271,16 +271,19 @@ static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *skb,
 	if (unlikely(ecn == 0xff))
 		goto out_fail;
 
-	reasm_data = inet_frag_reasm_prepare(&fq->q, skb, prev_tail);
-	if (!reasm_data)
-		goto out_oom;
-
-	payload_len = -skb_network_offset(skb) -
+	/* Check the size on the first fragment, which will become the head:
+	 * inet_frag_reasm_finish() must follow inet_frag_reasm_prepare().
+	 */
+	payload_len = -skb_network_offset(skb_rb_first(&fq->q.rb_fragments)) -
 		       sizeof(struct ipv6hdr) + fq->q.len -
 		       sizeof(struct frag_hdr);
 	if (payload_len > IPV6_MAXPLEN)
 		goto out_oversize;
 
+	reasm_data = inet_frag_reasm_prepare(&fq->q, skb, prev_tail);
+	if (!reasm_data)
+		goto out_oom;
+
 	/* We have to remove fragment header from datagram and to relocate
 	 * header in order to calculate ICV correctly. */
 	nhoff = fq->nhoffset;
Signature · 1 line
2.53.0
author maintainer
#23 lore raw

PATCH 21/1756 backing-file: enforce append-only and immutable backing inodes

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Christian Brauner <[email protected]>

[ Upstream commit 19b18e01d0361ce495be153ecce80b581086ab3f ]

FUSE passthrough opens the backing file anew whenever the FUSE file is opened. fuse_passthrough_open() passes the flags of that open to backing_file_open() which opens the backing file with vfs_open() and the credentials of the server. But vfs_open() doesn't go through may_open(). So the backing inode is never checked for S_APPEND and S_IMMUTABLE. The checks that did run were done on the FUSE inode and that one never has either flag.

So anyone who may open the FUSE file for writing can overwrite an append-only backing file anywhere or write to an immutable one. The server only has to register the file and a read-only or even an O_PATH file descriptor is enough for that. Registering requires CAP_SYS_ADMIN but the writer can be any user that the server lets open the file.

The FUSE inode is checked instead of the backing inode in a few more places:

- do_mmap() refuses a shared mapping of an append-only file that was opened for writing. A FUSE file opened with O_RDWR | O_APPEND passes the open check and can then be mapped shared and written to at any offset.

- fcntl(F_SETFL) and RWF_NOAPPEND refuse to take append mode away from a file on an append-only inode. On the FUSE file both succeed. A synchronous write still appends because the backing file was opened with O_APPEND. But an asynchronous write is submitted with the flags of the user's kiocb and lands at the given offset.

Do the checks on the backing inode. backing_file_open() refuses to open an immutable inode for writing and an append-only inode for writing without O_APPEND, just like may_open(). backing_file_mmap() refuses a shared mapping of an append-only inode, just like do_mmap(). And writes and splices to a backing file in append mode fail if append mode was taken away from the user file.

A FUSE file that was opened before the backing file became append-only can still write anywhere. That's what happens on the native filesystem as well and the backing file of such a file isn't in append mode. Two differences remain. F_SETFL succeeds and the next write fails. And FUSE reports EIO for a refused open because it turns every error from opening the backing file into EIO.

overlayfs uses the same helpers but it mirrors S_APPEND and S_IMMUTABLE in its own inode and a chattr through the overlay never sets them on the upper inode. So for overlayfs this only changes something if the upper inode is changed behind the overlay's back.

Fixes 4a90451bbc7f ("fuse: implement open in passthrough mode")
[ sashal: Retained file_remove_privs(ctx->user_file) instead of file_remove_privs(iocb->ki_filp) to match the existing API. ]
---
 fs/backing-file.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
fs/backing-file.c +28 -0
index 2ed8f17aa5f48..a0caad973766b 100644
@@ -35,9 +35,21 @@ struct file *backing_file_open(const struct file *user_file, int flags,
 			       const struct cred *cred)
 {
 	const struct path *user_path = file_user_path(user_file);
+	struct inode *real_inode = d_inode(real_path->dentry);
 	struct file *f;
 	int error;
 
+	/*
+	 * may_open() checked the inode of the user file, which need not carry
+	 * S_APPEND and S_IMMUTABLE of the backing inode.
+	 */
+	if ((flags & O_ACCMODE) != O_RDONLY) {
+		if (IS_IMMUTABLE(real_inode))
+			return ERR_PTR(-EPERM);
+		if (IS_APPEND(real_inode) && !(flags & O_APPEND))
+			return ERR_PTR(-EPERM);
+	}
+
 	f = alloc_empty_backing_file(flags, cred, user_file);
 	if (IS_ERR(f))
 		return f;
@@ -224,6 +236,14 @@ ssize_t backing_file_write_iter(struct file *file, struct iov_iter *iter,
 	if (!iov_iter_count(iter))
 		return 0;
 
+	/*
+	 * F_SETFL and RWF_NOAPPEND can take append mode away from the user
+	 * file. They checked its inode, not the backing one.
+	 */
+	if ((file->f_flags & O_APPEND) && !(flags & IOCB_APPEND) &&
+	    IS_APPEND(file_inode(file)))
+		return -EPERM;
+
 	ret = file_remove_privs(ctx->user_file);
 	if (ret)
 		return ret;
@@ -312,6 +332,10 @@ ssize_t backing_file_splice_write(struct pipe_inode_info *pipe,
 	if (!out->f_op->splice_write)
 		return -EINVAL;
 
+	/* splice refuses a user file in append mode, so F_SETFL cleared it */
+	if ((out->f_flags & O_APPEND) && IS_APPEND(file_inode(out)))
+		return -EPERM;
+
 	ret = file_remove_privs(ctx->user_file);
 	if (ret)
 		return ret;
@@ -343,6 +367,10 @@ int backing_file_mmap(struct file *file, struct vm_area_struct *vma,
 	if (!file->f_op->mmap)
 		return -ENODEV;
 
+	/* do_mmap() checked the inode of the user file */
+	if ((vma->vm_flags & VM_SHARED) && IS_APPEND(file_inode(file)))
+		return -EACCES;
+
 	vma_set_file(vma, file);
 
 	old_cred = override_creds(ctx->cred);
Signature · 1 line
2.53.0
author maintainer
#41 lore raw

PATCH 39/1756 io_uring/eventfd: reset deferred signal state

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Yufan Chen <[email protected]>

[ Upstream commit 04fe9aeb4f3c0999e6715385664c677469dfd8f4 ]

Recursive eventfd wakeups must defer io_uring eventfd signaling because eventfd_signal_mask() rejects reentry from eventfd wakeup handlers. The io_ev_fd ops bit tracks an outstanding deferred signal so that the same rcu_head is not queued twice.

That bit is only set today. Once the first deferred callback runs, later recursive notifications still see the bit set and skip queueing another deferred signal. This can leave new completions without a matching eventfd wake after the first recursive deferral.

Clear the pending bit before issuing the deferred signal. If the wakeup path recurses while the callback runs, a new signal can be queued for the next RCU grace period while the current callback keeps its reference until it returns.

Fixes 60b6c075e8eb ("io_uring/eventfd: move to more idiomatic RCU free usage")
---
 io_uring/eventfd.c | 1 +
 1 file changed, 1 insertion(+)
io_uring/eventfd.c +1 -0
index 6a6ec9d4d6402..1859abc536487 100644
@@ -35,6 +35,7 @@ static void io_eventfd_do_signal(struct rcu_head *rcu)
 {
 	struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu);
 
+	atomic_andnot(BIT(IO_EVENTFD_OP_SIGNAL_BIT), &ev_fd->ops);
 	eventfd_signal_mask(ev_fd->cq_ev_fd, EPOLL_URING_WAKE);
 
 	if (refcount_dec_and_test(&ev_fd->refs))
Signature · 1 line
2.53.0
author maintainer
#42 lore raw

PATCH 40/1756 alpha: select SYSCTL_EXCEPTION_TRACE

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Matt Turner <[email protected]>

[ Upstream commit e517a172b77601839e1c52ac4303602e285804bb ]

Report unhandled user faults the way other architectures do, and hook up the debug.exception-trace sysctl that controls the reporting.

The message gives the faulting address, the PC and the user stack pointer, and is rate limited.

---
 arch/alpha/Kconfig    |  1 +
 arch/alpha/mm/fault.c | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
arch/alpha/Kconfig +1 -0
index 109a4cddcd138..33adbcce536a5 100644
@@ -38,6 +38,7 @@ config ALPHA
 	select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
 	select MMU_GATHER_NO_RANGE
 	select SPARSEMEM_EXTREME if SPARSEMEM
+	select SYSCTL_EXCEPTION_TRACE
 	select ZONE_DMA
 	help
 	  The Alpha is a 64-bit general-purpose processor designed and
arch/alpha/mm/fault.c +29 -0
index 53e170e965915..63a24afa7a155 100644
@@ -28,8 +28,32 @@
 #include <linux/uaccess.h>
 #include <linux/perf_event.h>
 
+#include <asm/pal.h>
+
 extern void die_if_kernel(char *,struct pt_regs *,long, unsigned long *);
 
+int show_unhandled_signals = 1;
+
+static void
+show_signal_msg(struct pt_regs *regs, unsigned long address, int signo,
+		const char *desc)
+{
+	const char *level;
+
+	if (!show_unhandled_signals || !unhandled_signal(current, signo))
+		return;
+	if (!printk_ratelimit())
+		return;
+
+	/* Losing init is fatal, so shout about it.  */
+	level = task_pid_nr(current) > 1 ? KERN_INFO : KERN_EMERG;
+
+	printk("%s%s[%d]: %s at %016lx pc %016lx sp %016lx\n",
+	       level, current->comm, task_pid_nr(current), desc,
+	       address, regs->pc, rdusp());
+	print_vma_addr(KERN_CONT "  in ", regs->pc);
+	printk(KERN_CONT "\n");
+}
 
 /*
  * Force a new ASN for a task.
@@ -223,6 +247,8 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
 	mmap_read_unlock(mm);
 	/* Send a sigbus, regardless of whether we were in kernel
 	   or user mode.  */
+	if (user_mode(regs))
+		show_signal_msg(regs, address, SIGBUS, "bus error");
 	force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *) address);
 	if (!user_mode(regs))
 		goto no_context;
@@ -244,6 +270,9 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
 	return;
 
  do_sigsegv:
+	show_signal_msg(regs, address, SIGSEGV,
+			si_code == SEGV_MAPERR ? "unmapped access"
+					       : "access violation");
 	force_sig_fault(SIGSEGV, si_code, (void __user *) address);
 	return;
 
Signature · 1 line
2.53.0
author maintainer
#43 lore raw

PATCH 41/1756 can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Vincent Mailhol <[email protected]>

[ Upstream commit 0fce44e29fce4b07642491b098afb41bd571e4f2 ]

Sending a PF_PACKET bypasses the CAN framework logic and can directly reach a CAN driver's xmit() function. The PF_PACKET framework only checks that skb->len does not exceed the net_device MTU.

For a CAN device that is not CAN XL capable, anything above CANFD_MTU (72 bytes) is therefore dropped before it reaches the driver. However, CAN XL frames are variable length. can_is_canxl_skb() accepts lengths in the range CANXL_HDR_SIZE + CANXL_MIN_DLEN up to CANXL_MTU, i.e. 13 to 2060 bytes.

As a result, an ETH_P_CANXL skb with a length between 13 and 72 bytes can pass both the MTU and the can_dropped_invalid_skb() checks.

A driver that does not support CAN XL will interpret canxl_frame->flags as a length because of the overlap with can_frame->len. And because CANXL_XLF is set, the resulting length is between 128 and 255. For drivers that do not check can_frame->len before copying can_frame->data, as most drivers do, this results in a buffer overflow of up to 247 bytes.

Drop ETH_P_CANXL skbs if the device does not have the CAN_CAP_XL capability. Keep can_is_canxl_skb() for the validation of CAN XL skbs.

Fixes fb08cba12b52 ("can: canxl: update CAN infrastructure for CAN XL frames")
[ sashal: Replaced can_cap_enabled(dev, CAN_CAP_XL) with can_is_canxl_dev_mtu(dev->mtu) because the capability API is unavailable. ]
---
 drivers/net/can/dev/skb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/dev/skb.c +1 -1
index 6fb1f9b2a9e20..b643995fc5369 100644
@@ -354,7 +354,7 @@ bool can_dropped_invalid_skb(struct net_device *dev, struct sk_buff *skb)
 		break;
 
 	case ETH_P_CANXL:
-		if (!can_is_canxl_skb(skb))
+		if (!can_is_canxl_dev_mtu(dev->mtu) || !can_is_canxl_skb(skb))
 			goto inval_skb;
 		break;
 
Signature · 1 line
2.53.0
author maintainer
#44 lore raw

PATCH 42/1756 ALSA: pcm: Optimize cpu_latency_qos_*() calls

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Takashi Iwai <[email protected]>

[ Upstream commit 9f6f4e97fd53908aecb0979507d9ff10a22288eb ]

We have a few cpu_latency_qos_*() calls in PCM callbacks, but they seem suboptimal in a few aspects:
- We call them at each time when the hw_params changed, but explicitly do remove and (re-)add; this could be cpu_latency_qos_update_request(), instead
- The setup of cpu_latency_qos_*() doesn't have to be in hw_params at all; it's not the place where the actual parameters are set up, but rather better at the prepare callback.
- The hw_free calls cpu_latency_qos_remove_request() unconditionally, which may be poking a WARNING when it wasn't queued.

For addressing the issues above, this patch cleans up and reorganize the cpu_latency_qos_*() calls in the PCM core by a couple helper functions. Now, they are set up at prepare callback, and cleared at hw_free and release callbacks via the new helpers.

Stable-dep-of: 9017bc3d13da ("ALSA: pcm: Prevent O_APPEND open on OSS streams")

---
 sound/core/pcm_native.c | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)
sound/core/pcm_native.c +25 -10
index dd135ed91c99c..f3b17ec2f1778 100644
@@ -751,11 +751,32 @@ EXPORT_SYMBOL_GPL(snd_pcm_runtime_buffer_set_silence);
 #define is_oss_stream(substream)	false
 #endif
 
+static void pcm_qos_req_clear(struct snd_pcm_substream *substream)
+{
+	if (cpu_latency_qos_request_active(&substream->latency_pm_qos_req))
+		cpu_latency_qos_remove_request(&substream->latency_pm_qos_req);
+}
+
+static void pcm_qos_req_update(struct snd_pcm_substream *substream, int usecs)
+{
+	if (usecs < 0) {
+		pcm_qos_req_clear(substream);
+		return;
+	}
+
+	if (cpu_latency_qos_request_active(&substream->latency_pm_qos_req))
+		cpu_latency_qos_update_request(&substream->latency_pm_qos_req,
+					       usecs);
+	else
+		cpu_latency_qos_add_request(&substream->latency_pm_qos_req,
+					    usecs);
+}
+
 static int snd_pcm_hw_params(struct snd_pcm_substream *substream,
 			     struct snd_pcm_hw_params *params)
 {
 	struct snd_pcm_runtime *runtime;
-	int err, usecs;
+	int err;
 	unsigned int bits;
 	snd_pcm_uframes_t frames;
 
@@ -862,12 +883,6 @@ static int snd_pcm_hw_params(struct snd_pcm_substream *substream,
 	snd_pcm_timer_resolution_change(substream);
 	snd_pcm_set_state(substream, SNDRV_PCM_STATE_SETUP);
 
-	if (cpu_latency_qos_request_active(&substream->latency_pm_qos_req))
-		cpu_latency_qos_remove_request(&substream->latency_pm_qos_req);
-	usecs = period_to_usecs(runtime);
-	if (usecs >= 0)
-		cpu_latency_qos_add_request(&substream->latency_pm_qos_req,
-					    usecs);
 	err = 0;
  _error:
 	if (err) {
@@ -944,7 +959,7 @@ static int snd_pcm_hw_free(struct snd_pcm_substream *substream)
 		goto unlock;
 	result = do_hw_free(substream);
 	snd_pcm_set_state(substream, SNDRV_PCM_STATE_OPEN);
-	cpu_latency_qos_remove_request(&substream->latency_pm_qos_req);
+	pcm_qos_req_clear(substream);
  unlock:
 	snd_pcm_buffer_access_unlock(runtime);
 	return result;
@@ -1972,6 +1987,7 @@ static int snd_pcm_do_prepare(struct snd_pcm_substream *substream,
 	err = substream->ops->prepare(substream);
 	if (err < 0)
 		return err;
+	pcm_qos_req_update(substream, period_to_usecs(substream->runtime));
 	return snd_pcm_do_reset(substream, state);
 }
 
@@ -2762,8 +2778,7 @@ void snd_pcm_release_substream(struct snd_pcm_substream *substream)
 		substream->ops->close(substream);
 		substream->hw_opened = 0;
 	}
-	if (cpu_latency_qos_request_active(&substream->latency_pm_qos_req))
-		cpu_latency_qos_remove_request(&substream->latency_pm_qos_req);
+	pcm_qos_req_clear(substream);
 	if (substream->pcm_release) {
 		substream->pcm_release(substream);
 		substream->pcm_release = NULL;
Signature · 1 line
2.53.0
author maintainer
#45 lore raw

PATCH 43/1756 ALSA: pcm: Prevent O_APPEND open on OSS streams

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Takashi Iwai <[email protected]>

[ Upstream commit 9017bc3d13da0ea4e63be618c87143a7b69185e6 ]

ALSA PCM core accepts to re-use the existing stream when O_APPEND is passed, and it's been used for dmix, etc. However, this mode isn't supposed to be used for OSS: the OSS stream allows re-configuration via its hw_params/hw_refine procedure even while it's being mmapped, so it implies the usage of only a single stream. Because of this assumption, the sanity check is skipped for OSS streams, and if user may attach to an existing OSS stream with O_APPEND, it may result in a UAF of the mapped pages which could be used as a privilege escalation exploit.

For addressing it, this patch simply prohibits the O_APPEND behavior on the OSS stream. O_APPEND is never used for OSS layer itself, so this can't break for the right applications.

---
 sound/core/pcm.c        | 2 ++
 sound/core/pcm_local.h  | 6 ++++++
 sound/core/pcm_native.c | 6 ------
 3 files changed, 8 insertions(+), 6 deletions(-)
sound/core/pcm.c +2 -0
index ff1e9f8c1ecae..18979f88f7159 100644
@@ -923,6 +923,8 @@ int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream,
 			return -ENODEV;
 		if (! SUBSTREAM_BUSY(substream))
 			return -EBADFD;
+		if (is_oss_stream(substream))
+			return -EINVAL;
 		substream->ref_count++;
 		*rsubstream = substream;
 		return 0;
sound/core/pcm_local.h +6 -0
index ecb21697ae3a4..4b134d435c24f 100644
@@ -80,4 +80,10 @@ static inline void snd_pcm_dma_buffer_sync(struct snd_pcm_substream *substream,
 		snd_dma_buffer_sync(snd_pcm_get_dma_buf(substream), mode);
 }
 
+#if IS_ENABLED(CONFIG_SND_PCM_OSS)
+#define is_oss_stream(substream)	((substream)->oss.oss)
+#else
+#define is_oss_stream(substream)	false
+#endif
+
 #endif	/* __SOUND_CORE_PCM_LOCAL_H */
sound/core/pcm_native.c +0 -6
index f3b17ec2f1778..24b923aabc9a2 100644
@@ -745,12 +745,6 @@ int snd_pcm_runtime_buffer_set_silence(struct snd_pcm_runtime *runtime)
 }
 EXPORT_SYMBOL_GPL(snd_pcm_runtime_buffer_set_silence);
 
-#if IS_ENABLED(CONFIG_SND_PCM_OSS)
-#define is_oss_stream(substream)	((substream)->oss.oss)
-#else
-#define is_oss_stream(substream)	false
-#endif
-
 static void pcm_qos_req_clear(struct snd_pcm_substream *substream)
 {
 	if (cpu_latency_qos_request_active(&substream->latency_pm_qos_req))
Signature · 1 line
2.53.0
author maintainer
#46 lore raw

PATCH 44/1756 tools: linux/types.h: Add 128-bit integer types for arm64 UAPI structures

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Will Deacon <[email protected]>

[ Upstream commit 10a47fb67340bca274276faf855d7d460afd9a7a ]

The arm64 UAPI exposes some 128-bit integer types to represent things such as fpsimd registers in the sigcontext. In preparation for defining these using the '__u128' typedef implemented by uapi/linux/types.h, copy that typedef over to the private linux/types.h header used by the tools directory.

Cc Arnd Bergmann <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc David Matlack <[email protected]>
---
 tools/include/linux/types.h | 5 +++++
 1 file changed, 5 insertions(+)
tools/include/linux/types.h +5 -0
index 8519386acd239..432b28f77ae2c 100644
@@ -23,6 +23,11 @@ typedef enum {
 	__GFP_HIGH
 } gfp_t;
 
+#ifdef __SIZEOF_INT128__
+typedef __signed__ __int128 __s128 __attribute__((aligned(16)));
+typedef unsigned __int128 __u128 __attribute__((aligned(16)));
+#endif
+
 /*
  * We define u64 as uint64_t for every architecture
  * so that we can print it with "%"PRIx64 without getting warnings.
Signature · 1 line
2.53.0
author maintainer
#47 lore raw

PATCH 45/1756 khugepaged: fix readahead lock inversion in collapse_file()

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Lance Yang <[email protected]>

[ Upstream commit eadce52a9ef657d561b3e76c9b5f178bd99735f5 ]

collapse_file() can call page_cache_sync_readahead() while still holding source folios locked. If truncate holds mapping->invalidate_lock exclusively and waits for one of those folios, readahead waits for invalidate_lock and neither side can make progress.

We need to release those folio locks before starting readahead. On a page cache miss, roll back first, populate the collapse range, and retry once. Doing readahead after rollback avoids an extra pass when all folios are already present. If another miss occurs on retry, give up rather than keep retrying while truncate or reclaim removes folios.

Keep page_cache_sync_readahead() and wait for read I/O with filemap_lock_folio(), releasing each folio before moving to the next. The existing uptodate check during collapse still handles read errors.

Shmem uses shmem_get_folio() for swapin and fallocated folios without taking mapping->invalidate_lock, so it is unaffected.

---
 mm/khugepaged.c | 49 +++++++++++++++++++++++++++++++++++++------------
 1 file changed, 37 insertions(+), 12 deletions(-)
mm/khugepaged.c +37 -12
index 1250d878d7242..2e9d0e13b068a 100644
@@ -1817,6 +1817,8 @@ static int collapse_file(struct mm_struct *mm, unsigned long addr,
 	XA_STATE_ORDER(xas, &mapping->i_pages, start, HPAGE_PMD_ORDER);
 	int nr_none = 0, result = SCAN_SUCCEED;
 	bool is_shmem = shmem_file(file);
+	bool do_readahead = false;
+	bool readahead_done = false;
 
 	VM_BUG_ON(!IS_ENABLED(CONFIG_READ_ONLY_THP_FOR_FS) && !is_shmem);
 	VM_BUG_ON(start & (HPAGE_PMD_NR - 1));
@@ -1828,6 +1830,10 @@ static int collapse_file(struct mm_struct *mm, unsigned long addr,
 
 	mapping_set_update(&xas, mapping);
 
+retry:
+	result = SCAN_SUCCEED;
+	do_readahead = false;
+	xas_set_order(&xas, start, HPAGE_PMD_ORDER);
 	__folio_set_locked(new_folio);
 	if (is_shmem)
 		__folio_set_swapbacked(new_folio);
@@ -1892,17 +1898,9 @@ static int collapse_file(struct mm_struct *mm, unsigned long addr,
 			}
 		} else {	/* !is_shmem */
 			if (!folio || xa_is_value(folio)) {
-				xas_unlock_irq(&xas);
-				page_cache_sync_readahead(mapping, &file->f_ra,
-							  file, index,
-							  end - index);
-				/* drain lru cache to help folio_isolate_lru() */
-				lru_add_drain();
-				folio = filemap_lock_folio(mapping, index);
-				if (IS_ERR(folio)) {
-					result = SCAN_FAIL;
-					goto xa_unlocked;
-				}
+				do_readahead = !readahead_done;
+				result = SCAN_FAIL;
+				goto xa_locked;
 			} else if (folio_test_dirty(folio)) {
 				/*
 				 * khugepaged only works on read-only fd,
@@ -2044,7 +2042,10 @@ static int collapse_file(struct mm_struct *mm, unsigned long addr,
 		 * in do_dentry_open() truncating the page cache. This is
 		 * particularly important if there are dirty folios in transit.
 		 */
-		filemap_invalidate_lock_shared(mapping);
+		if (!filemap_invalidate_trylock_shared(mapping)) {
+			result = SCAN_FAIL;
+			goto rollback;
+		}
 		filemap_nr_thps_inc(mapping);
 		/*
 		 * Paired with the fence in do_dentry_open() -> get_write_access()
@@ -2245,6 +2246,30 @@ static int collapse_file(struct mm_struct *mm, unsigned long addr,
 	new_folio->mapping = NULL;
 
 	folio_unlock(new_folio);
+
+	/* Readahead may take invalidate_lock; source folios are unlocked. */
+	if (do_readahead) {
+		for (index = start; index < end;) {
+			folio = filemap_lock_folio(mapping, index);
+			if (IS_ERR(folio)) {
+				page_cache_sync_readahead(mapping, &file->f_ra,
+							  file, index, end - index);
+				folio = filemap_lock_folio(mapping, index);
+				if (IS_ERR(folio)) {
+					result = SCAN_FAIL;
+					goto out_put;
+				}
+			}
+			index = folio_next_index(folio);
+			folio_unlock(folio);
+			folio_put(folio);
+		}
+		/* Drain the local LRU batch before retrying isolation. */
+		lru_add_drain();
+		readahead_done = true;
+		goto retry;
+	}
+out_put:
 	folio_put(new_folio);
 out:
 	VM_BUG_ON(!list_empty(&pagelist));
Signature · 1 line
2.53.0
author maintainer
#48 lore raw

PATCH 46/1756 hwmon: (sht15) Remove redundant dev_err()

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Pan Chuang <[email protected]>

[ Upstream commit b8ffbb950dffbcf810ba41e776516cf3438bbe25 ]

Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in devm_request_*_irq()"), devm_request_irq() automatically logs detailed error messages on failure. Remove the now-redundant driver-specific dev_err() call.

Stable-dep-of: 5eab1e7f7ed1 ("hwmon: (sht15) Stop deferred work before releasing its resources")

---
 drivers/hwmon/sht15.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/hwmon/sht15.c +1 -3
index 3d55047e9baf9..48bcd362c4808 100644
@@ -981,10 +981,8 @@ static int sht15_probe(struct platform_device *pdev)
 			       IRQF_TRIGGER_FALLING,
 			       "sht15 data",
 			       data);
-	if (ret) {
-		dev_err(&pdev->dev, "failed to get irq for data line\n");
+	if (ret)
 		goto err_release_reg;
-	}
 	disable_irq_nosync(gpiod_to_irq(data->data));
 	ret = sht15_connection_reset(data);
 	if (ret)
Signature · 1 line
2.53.0
author maintainer
#49 lore raw

PATCH 47/1756 hwmon: (sht15) Stop deferred work before releasing its resources

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Myeonghun Pak <[email protected]>

[ Upstream commit 5eab1e7f7ed12893f3864fe46ffcd5a41a752d6a ]

The IRQ handler and regulator notifier can leave work pending after a measurement or notification completes. Neither work item is drained before its resources are released on removal or probe failure.

Disable read_work before freeing the IRQ, since the worker can re-enable it. Use request_irq()/free_irq() for explicit teardown. Unregister the regulator notifier before cancelling update_supply_work and disabling the regulator. Apply the same ordering to probe failures.

Fixes 251eb40f5ccd ("hwmon: sht15 humidity sensor driver")
[groeck: Dropped obsolete 'Assisted-by: tag]
---
 drivers/hwmon/sht15.c | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
drivers/hwmon/sht15.c +14 -8
index 48bcd362c4808..8af2336052b0e 100644
@@ -31,6 +31,7 @@
 #include <linux/bitrev.h>
 #include <linux/gpio/consumer.h>
 #include <linux/of.h>
+#include <linux/workqueue.h>
 
 /* Commands */
 #define SHT15_MEASURE_TEMP		0x03
@@ -976,25 +977,22 @@ static int sht15_probe(struct platform_device *pdev)
 		goto err_release_reg;
 	}
 
-	ret = devm_request_irq(&pdev->dev, gpiod_to_irq(data->data),
-			       sht15_interrupt_fired,
-			       IRQF_TRIGGER_FALLING,
-			       "sht15 data",
-			       data);
+	ret = request_irq(gpiod_to_irq(data->data), sht15_interrupt_fired,
+			  IRQF_TRIGGER_FALLING, "sht15 data", data);
 	if (ret)
 		goto err_release_reg;
 	disable_irq_nosync(gpiod_to_irq(data->data));
 	ret = sht15_connection_reset(data);
 	if (ret)
-		goto err_release_reg;
+		goto err_free_irq;
 	ret = sht15_soft_reset(data);
 	if (ret)
-		goto err_release_reg;
+		goto err_free_irq;
 
 	ret = sysfs_create_group(&pdev->dev.kobj, &sht15_attr_group);
 	if (ret) {
 		dev_err(&pdev->dev, "sysfs create failed\n");
-		goto err_release_reg;
+		goto err_free_irq;
 	}
 
 	data->hwmon_dev = hwmon_device_register(data->dev);
@@ -1007,9 +1005,13 @@ static int sht15_probe(struct platform_device *pdev)
 
 err_release_sysfs_group:
 	sysfs_remove_group(&pdev->dev.kobj, &sht15_attr_group);
+err_free_irq:
+	disable_work_sync(&data->read_work);
+	free_irq(gpiod_to_irq(data->data), data);
 err_release_reg:
 	if (!IS_ERR(data->reg)) {
 		regulator_unregister_notifier(data->reg, &data->nb);
+		cancel_work_sync(&data->update_supply_work);
 		regulator_disable(data->reg);
 	}
 	return ret;
@@ -1023,12 +1025,16 @@ static void sht15_remove(struct platform_device *pdev)
 	hwmon_device_unregister(data->hwmon_dev);
 	sysfs_remove_group(&pdev->dev.kobj, &sht15_attr_group);
 
+	disable_work_sync(&data->read_work);
+	free_irq(gpiod_to_irq(data->data), data);
+
 	ret = sht15_soft_reset(data);
 	if (ret)
 		dev_err(&pdev->dev, "Failed to reset device (%pe)\n", ERR_PTR(ret));
 
 	if (!IS_ERR(data->reg)) {
 		regulator_unregister_notifier(data->reg, &data->nb);
+		cancel_work_sync(&data->update_supply_work);
 		regulator_disable(data->reg);
 	}
 }
Signature · 1 line
2.53.0
author maintainer
#50 lore raw

PATCH 48/1756 mm/mremap: fix moving PUD leaves

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Josef Bacik <[email protected]>

[ Upstream commit 440c8779757f09f290770b1d361dc1516a9d0b3e ]

pud_none_or_clear_bad() only really works on page tables. PUD leaves confuse the check and make us clear the page table entry and print a warning.

Since commit aed877c2b4257 ("device/dax: properly refcount device dax pages when mapping"), this also leaks device-DAX folio references, mapcounts and RSS accounting, resulting in "Bad rss-counter state" warnings on exit.

Allow PUD leaves in get_old_pud(). If a PUD leaf cannot be moved as a whole or the move fails, split it. This unmaps it with proper accounting instead of treating the leaf entry as a PMD table.

Keep using pud_trans_huge() for now, in the future this code should be cleaned up to just check for PUD leaves.

Fix generated by an LLM and sent by Josef Bacik in private.

Fixes a00cc7d9dd93 ("mm, x86: add support for PUD-sized transparent hugepages")
[ david: fallthrough after splitting ]
[ sashal: Adapted pagetable_move_control-based calls to individual arguments while retaining explicit pud_devmap() checks. ]
---
 mm/mremap.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
mm/mremap.c +6 -6
index d4666f1ab5939..079127769ea3a 100644
@@ -47,7 +47,8 @@ static pud_t *get_old_pud(struct mm_struct *mm, unsigned long addr)
 		return NULL;
 
 	pud = pud_offset(p4d, addr);
-	if (pud_none_or_clear_bad(pud))
+	if (!pud_trans_huge(*pud) && !pud_devmap(*pud) &&
+	    pud_none_or_clear_bad(pud))
 		return NULL;
 
 	return pud;
@@ -624,12 +625,11 @@ unsigned long move_page_tables(struct vm_area_struct *vma,
 		if (!new_pud)
 			break;
 		if (pud_trans_huge(*old_pud) || pud_devmap(*old_pud)) {
-			if (extent == HPAGE_PUD_SIZE) {
-				move_pgt_entry(HPAGE_PUD, vma, old_addr, new_addr,
-					       old_pud, new_pud, need_rmap_locks);
-				/* We ignore and continue on error? */
+			if (extent == HPAGE_PUD_SIZE &&
+			    move_pgt_entry(HPAGE_PUD, vma, old_addr, new_addr,
+					   old_pud, new_pud, need_rmap_locks))
 				continue;
-			}
+			split_huge_pud(vma, old_pud, old_addr);
 		} else if (IS_ENABLED(CONFIG_HAVE_MOVE_PUD) &&
 			   extent == PUD_SIZE && uffd_supports_move) {
 
Signature · 1 line
2.53.0
author maintainer
#24 lore raw

PATCH 22/1756 mm/userfaultfd: wake waiters when registration modes are removed

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Hildenbrand (Arm) <[email protected]>

[ Upstream commit 4eee9c389b072e161549d46dcb1ae10b0222717e ]

UFFDIO_REGISTER can replace MISSING or MINOR tracking without waking faults that are already queued. For example, switching an anonymous range from MISSING to WP leaves a missing-fault waiter asleep until userspace explicitly wakes it.

When a registration change removes a UFFD mode, wake waiters in the affected interval after updating the VMA. The VMA is write-locked at this point, so no new faults can queue under the old modes and woken threads cannot retry until mmap_write_unlock(). Waiters for retained modes in the same interval may also wake and refault.

The hang reproduces for MISSING-to-WP and MINOR-to-MISSING transitions, with both read and unread fault events.

Fixes 63b2d4174c4a ("userfaultfd: wp: add the writeprotect API to userfaultfd ioctl")
[ sashal: replaced the local wake_userfault_range() wrapper with a direct wake_userfault() call, exposing the helper and its range structure across files ]
---
 fs/userfaultfd.c              |  9 ++-------
 include/linux/userfaultfd_k.h |  8 ++++++++
 mm/userfaultfd.c              | 12 ++++++++++++
 3 files changed, 22 insertions(+), 7 deletions(-)
fs/userfaultfd.c +2 -7
index 59f01cc7c5ace..e1b1a5b1a757a 100644
@@ -71,11 +71,6 @@ struct userfaultfd_wait_queue {
 	bool waken;
 };
 
-struct userfaultfd_wake_range {
-	unsigned long start;
-	unsigned long len;
-};
-
 /* internal indication that UFFD_API ioctl was successfully executed */
 #define UFFD_FEATURE_INITIALIZED		(1u << 31)
 
@@ -1185,8 +1180,8 @@ static void __wake_userfault(struct userfaultfd_ctx *ctx,
 	spin_unlock_irq(&ctx->fault_pending_wqh.lock);
 }
 
-static __always_inline void wake_userfault(struct userfaultfd_ctx *ctx,
-					   struct userfaultfd_wake_range *range)
+void wake_userfault(struct userfaultfd_ctx *ctx,
+		    struct userfaultfd_wake_range *range)
 {
 	unsigned seq;
 	bool need_wakeup;
include/linux/userfaultfd_k.h +8 -0
index 8ff68ce1860be..8b8be5fa2eb57 100644
@@ -82,6 +82,14 @@ struct userfaultfd_ctx {
 	struct mm_struct *mm;
 };
 
+struct userfaultfd_wake_range {
+	unsigned long start;
+	unsigned long len;
+};
+
+void wake_userfault(struct userfaultfd_ctx *ctx,
+		    struct userfaultfd_wake_range *range);
+
 extern vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason);
 
 /* A combined operation mode + behavior flags. */
mm/userfaultfd.c +12 -0
index 29d2366d88fa1..10685c46f0866 100644
@@ -1965,6 +1965,8 @@ int userfaultfd_register_range(struct userfaultfd_ctx *ctx,
 		prev = vma;
 
 	for_each_vma_range(vmi, vma, end) {
+		const bool any_mode_removed = vma->vm_flags & __VM_UFFD_FLAGS & ~vm_flags;
+
 		cond_resched();
 
 		BUG_ON(!vma_can_userfault(vma, vm_flags, wp_async));
@@ -1999,6 +2001,16 @@ int userfaultfd_register_range(struct userfaultfd_ctx *ctx,
 		 */
 		userfaultfd_set_ctx(vma, ctx, vm_flags);
 
+		/* Retry faults for removed modes while the VMA is write-locked. */
+		if (any_mode_removed) {
+			struct userfaultfd_wake_range range = {
+				.start = start,
+				.len = vma_end - start,
+			};
+
+			wake_userfault(ctx, &range);
+		}
+
 		if (is_vm_hugetlb_page(vma) && uffd_disable_huge_pmd_share(vma))
 			hugetlb_unshare_all_pmds(vma);
 
Signature · 1 line
2.53.0
author maintainer
#51 lore raw

PATCH 49/1756 mm/mremap: recheck PUDs under the page table lock

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: David Hildenbrand (Arm) <[email protected]>

[ Upstream commit 402882943dfa8bab5c2bcc66189f9fb2828f248e ]

Once get_old_pud() is fixed to accept PUD leaves, unmap_mapping_range() can clear a leaf between the lookup and the move. Holding mmap_lock in write mode does not prevent this.

If the zap happens before move_page_tables() tests the entry, an empty PUD can reach move_normal_pud(), where pud_populate() turns it into a present page table entry. If it happens after the test, move_huge_pud() can instead try to move an empty entry, triggering CONFIG_DEBUG_VM warnings on powerpc.

Recheck the source under the page table lock in both helpers. Treat an empty source in move_normal_pud() as a completed move, and use __pud_trans_huge_lock() in move_huge_pud().

In the future we should likely have the code lookup a PUD/PMD lockless once, instead of multiple times, because one of the problematic bits here is the:

pud_trans_huge(*old_pud)

Fixes 0881ace292b6 ("mm/mremap: use pmd/pud_poplulate to update page table entries")
[ sashal: Adapted pagetable_move_control context to use direct vma and address arguments. ]
---
 mm/mremap.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
mm/mremap.c +8 -2
index 079127769ea3a..3d5c2f69fdbfd 100644
@@ -346,14 +346,18 @@ static bool move_normal_pud(struct vm_area_struct *vma, unsigned long old_addr,
 	if (new_ptl != old_ptl)
 		spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING);
 
-	/* Clear the pud */
 	pud = *old_pud;
+	if (unlikely(pud_none(pud)))
+		goto out_unlock;
+
+	/* Clear the pud */
 	pud_clear(old_pud);
 
 	VM_BUG_ON(!pud_none(*new_pud));
 
 	pud_populate(mm, new_pud, pud_pgtable(pud));
 	flush_tlb_range(vma, old_addr, old_addr + PUD_SIZE);
+out_unlock:
 	if (new_ptl != old_ptl)
 		spin_unlock(new_ptl);
 	spin_unlock(old_ptl);
@@ -388,7 +392,9 @@ static bool move_huge_pud(struct vm_area_struct *vma, unsigned long old_addr,
 	 * We don't have to worry about the ordering of src and dst
 	 * ptlocks because exclusive mmap_lock prevents deadlock.
 	 */
-	old_ptl = pud_lock(vma->vm_mm, old_pud);
+	old_ptl = __pud_trans_huge_lock(old_pud, vma);
+	if (unlikely(!old_ptl))
+		return false;
 	new_ptl = pud_lockptr(mm, new_pud);
 	if (new_ptl != old_ptl)
 		spin_lock_nested(new_ptl, SINGLE_DEPTH_NESTING);
Signature · 1 line
2.53.0
author maintainer
#52 lore raw

PATCH 50/1756 mm: page_alloc: do not give all non-blocking requests reserve access

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Johannes Weiner <[email protected]>

[ Upstream commit 6ee3d87b940848aaed5d4e8d005c5f674bf2637a ]

Patch series "mm: page_alloc: fix reserve access for non-blocking requests", v2.

Two fixes for how non-blocking allocations interact with the highatomic reserve. There are prerequisites for Salvatore's "mm/page_alloc: avoid direct reclaim and compaction for costly __GFP_NORETRY allocations" [0].

Patch 1 narrows which requests may physically take highatomic pages, patch 2 narrows which requests may count them in their watermark check.

Both are prerequisites for Salvatore's patch: it clears __GFP_DIRECT_RECLAIM for costly __GFP_NORETRY requests, which turns every large page cache folio allocation that reaches the slowpath into a non-blocking one. Without patch 1, those requests may fall back to the highatomic freelists reserved for atomic requests. Without patch 2, they count the free highatomic pages in their watermark check while being served from regular memory, so they can consume regular high-order blocks below the min watermark by the size of the reserve. GFP_NOWAIT requests hit both paths today, so these are existing problems worthy of their own stable backports; but Salvatore's patch would widen them significantly.

Patch 2 reproduction: a GFP_NOWAIT burst under memory pressure can drain regular free memory to zero while the highatomic reserve sits idle. Measured on a 32G box with an anonymous working set, swap, and a full 290M reserve, three synthetic bursts drove the 28G Normal zone's regular free memory to 28M, 0.8M and 0.6M against a 60M min watermark. Swapout failed its swap table allocation inside reclaim, reclaim scanned 13M pages to free 200k, and page faults stalled for tens to hundreds of milliseconds. With the fix the burst stops at the min watermark and nothing else happens. This was found in review and reproduced synthetically; it has not been observed in production.

GFP_ATOMIC order-0 requests have a milder version of the same problem:
They are entitled to the reserve but are served regular memory first, so the fix there has to change the watermark check and the freelist order together. Salvatore's change doesn't interact with this, though; fixing that is left for a separate patch.

This patch (of 2):

281dd25c1a01 ("mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves") accidentally gave all non-blocking allocation requests access to highatomic reserves, which includes GFP_NOWAIT and other sites clearing __GFP_DIRECT_RECLAIM.

While this improved atomic request success rate, it's unintentionally broad and can actually worsen highatomic requests by squandering the reserves on requests that don't need it.

There are concurrent efforts to clear __GFP_DIRECT_RECLAIM altogether for costly order __GFP_NORETRY requests, which would then also fall into this exemption and deplete reserves even faster.

What GFP_ATOMIC has over the others is __GFP_HIGH, which alloc_flags_slowpath() translates to ALLOC_MIN_RESERVE.

Narrow the exemption to contexts that have both ALLOC_NON_BLOCK | ALLOC_MIN_RESERVE.

Fixes 281dd25c1a01 ("mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves")
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Salvatore Dipietro <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Dave Chinner <[email protected]>
Cc Matt Fleming <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Brendan Jackman <[email protected]>
Cc Zi Yan <[email protected]>
[ sashal: moved the ALLOC_MASK_ATOMIC definition from the page allocation header to the internal header ]
---
 mm/internal.h   | 3 +++
 mm/page_alloc.c | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
mm/internal.h +3 -0
index 7aca909c54052..9fbed032a9c1a 100644
@@ -1230,6 +1230,9 @@ unsigned int reclaim_clean_pages_from_list(struct zone *zone,
 /* Flags that allow allocations below the min watermark. */
 #define ALLOC_RESERVES (ALLOC_NON_BLOCK|ALLOC_MIN_RESERVE|ALLOC_HIGHATOMIC|ALLOC_OOM)
 
+/* Flags that mean GFP_ATOMIC */
+#define ALLOC_MASK_ATOMIC (ALLOC_NON_BLOCK|ALLOC_MIN_RESERVE)
+
 enum ttu_flags;
 struct tlbflush_unmap_batch;
 
mm/page_alloc.c +3 -1
index 869296e43349e..51a1aad29d5a8 100644
@@ -3001,7 +3001,9 @@ struct page *rmqueue_buddy(struct zone *preferred_zone, struct zone *zone,
 			 * reserves as failing now is worse than failing a
 			 * high-order atomic allocation in the future.
 			 */
-			if (!page && (alloc_flags & (ALLOC_OOM|ALLOC_NON_BLOCK)))
+			if (!page &&
+			    ((alloc_flags & ALLOC_OOM) ||
+			     (alloc_flags & ALLOC_MASK_ATOMIC) == ALLOC_MASK_ATOMIC))
 				page = __rmqueue_smallest(zone, order, MIGRATE_HIGHATOMIC);
 
 			if (!page) {
Signature · 1 line
2.53.0
author maintainer
#53 lore raw

PATCH 51/1756 drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Leo Liu <[email protected]>

[ Upstream commit a56c2536c399d57a9bb1c02fd411e0c25859af3b ]

When hw_init() fails, amdgpu_device_ip_fini_early() skips hw_fini() because status.hw was never set. For VCN, UVD (including UVD ENC), VCE, and JPEG, hw_fini() is where cancel_delayed_work_sync() is called. Any idle work queued during the partial hw_init() is therefore left pending after sw_fini() frees the adev state the handler touches.

Cancel the idle work in each hw_init() error path, immediately before returning the error, so that hw_fini() remains the sole cancel site on the normal teardown path with no duplication.

Fixes 416e1fab4752 ("drm/amdgpu: drop redundant cancel_delayed_work_sync call")
Assisted-by Claude:Claude-Sonnet-4.6
(cherry picked from commit 7ff2327fde029e97d0050fcb94e3f4063c318547)
[ sashal: Adapted per-instance VCN idle-work cancellation to the shared VCN worker also used by JPEG 1.0. ]
---
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c   |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c   |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c   |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c   |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c    |  4 +++-
 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c    |  4 +++-
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c    |  4 +++-
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c    |  4 +++-
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c    |  4 +++-
 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c    |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c    |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c    |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c    |  9 +++++++--
 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c    |  8 ++++++--
 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c    |  8 ++++++--
 drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c    |  8 ++++++--
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c    |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c  |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c  |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c  |  6 +++++-
 drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c  | 10 +++++++++-
 24 files changed, 119 insertions(+), 28 deletions(-)
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c +5 -1
index 5c95cf6167d94..3135ec3ac25a7 100644
@@ -132,11 +132,15 @@ static int jpeg_v2_0_hw_init(void *handle)
 {
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 	struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec;
+	int r;
 
 	adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell,
 		(adev->doorbell_index.vcn.vcn_ring0_1 << 1), 0);
 
-	return amdgpu_ring_test_helper(ring);
+	r = amdgpu_ring_test_helper(ring);
+	if (r)
+		cancel_delayed_work_sync(&adev->jpeg.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c +5 -1
index e4cfa6b7141f6..22ad2213a85e8 100644
@@ -193,10 +193,14 @@ static int jpeg_v2_5_hw_init(void *handle)
 
 		r = amdgpu_ring_test_helper(ring);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->jpeg.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c +5 -1
index 27a27de6c6c3d..635279f7a9090 100644
@@ -146,11 +146,15 @@ static int jpeg_v3_0_hw_init(void *handle)
 {
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 	struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec;
+	int r;
 
 	adev->nbio.funcs->vcn_doorbell_range(adev, ring->use_doorbell,
 		(adev->doorbell_index.vcn.vcn_ring0_1 << 1), 0);
 
-	return amdgpu_ring_test_helper(ring);
+	r = amdgpu_ring_test_helper(ring);
+	if (r)
+		cancel_delayed_work_sync(&adev->jpeg.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c +5 -1
index 90f64a46bff7c..e641b1a917349 100644
@@ -178,10 +178,14 @@ static int jpeg_v4_0_hw_init(void *handle)
 
 		r = amdgpu_ring_test_helper(ring);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->jpeg.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c +5 -1
index c4f812939a85f..76d9201d7249c 100644
@@ -347,12 +347,16 @@ static int jpeg_v4_0_3_hw_init(void *handle)
 							VCN_JPEG_DB_CTRL__EN_MASK);
 				r = amdgpu_ring_test_helper(ring);
 				if (r)
-					return r;
+					goto error;
 			}
 		}
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->jpeg.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c +5 -1
index 78a9fb26bce2e..3ec310fbdb903 100644
@@ -201,10 +201,14 @@ static int jpeg_v4_0_5_hw_init(void *handle)
 		ring = adev->jpeg.inst[i].ring_dec;
 		r = amdgpu_ring_test_helper(ring);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->jpeg.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c +5 -1
index d0f800e7938dd..cc3344b069746 100644
@@ -145,9 +145,13 @@ static int jpeg_v5_0_0_hw_init(void *handle)
 
 	r = amdgpu_ring_test_helper(ring);
 	if (r)
-		return r;
+		goto error;
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->jpeg.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c +3 -1
index dc5cc48a31350..ca13fa271288a 100644
@@ -710,7 +710,9 @@ static int uvd_v3_1_hw_init(void *handle)
 	amdgpu_ring_commit(ring);
 
 done:
-	if (!r)
+	if (r)
+		cancel_delayed_work_sync(&adev->uvd.idle_work);
+	else
 		DRM_INFO("UVD initialized successfully.\n");
 
 	return r;
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c +3 -1
index a1227867dc887..c2d1d38c1b3ca 100644
@@ -198,7 +198,9 @@ static int uvd_v4_2_hw_init(void *handle)
 	amdgpu_ring_commit(ring);
 
 done:
-	if (!r)
+	if (r)
+		cancel_delayed_work_sync(&adev->uvd.idle_work);
+	else
 		DRM_INFO("UVD initialized successfully.\n");
 
 	return r;
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c +3 -1
index fd4acb1300f93..2101f96f6b28d 100644
@@ -190,7 +190,9 @@ static int uvd_v5_0_hw_init(void *handle)
 	amdgpu_ring_commit(ring);
 
 done:
-	if (!r)
+	if (r)
+		cancel_delayed_work_sync(&adev->uvd.idle_work);
+	else
 		DRM_INFO("UVD initialized successfully.\n");
 
 	return r;
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +3 -1
index 71a16073c43b2..47e7987be0ba6 100644
@@ -513,7 +513,9 @@ static int uvd_v6_0_hw_init(void *handle)
 	}
 
 done:
-	if (!r) {
+	if (r) {
+		cancel_delayed_work_sync(&adev->uvd.idle_work);
+	} else {
 		if (uvd_v6_0_enc_support(adev))
 			DRM_INFO("UVD and UVD ENC initialized successfully.\n");
 		else
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c +3 -1
index bc0fca75417ce..a03b32f40bdab 100644
@@ -581,7 +581,9 @@ static int uvd_v7_0_hw_init(void *handle)
 		}
 	}
 done:
-	if (!r)
+	if (r)
+		cancel_delayed_work_sync(&adev->uvd.idle_work);
+	else
 		DRM_INFO("UVD and UVD ENC initialized successfully.\n");
 
 	return r;
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c +5 -1
index 8a6c24b98f1fa..843227ec96e03 100644
@@ -467,12 +467,16 @@ static int vce_v2_0_hw_init(void *handle)
 	for (i = 0; i < adev->vce.num_rings; i++) {
 		r = amdgpu_ring_test_helper(&adev->vce.ring[i]);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	DRM_INFO("VCE initialized successfully.\n");
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vce.idle_work);
+	return r;
 }
 
 static int vce_v2_0_hw_fini(void *handle)
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +5 -1
index 4c7f6c2e1adee..5d4758ce474fe 100644
@@ -477,12 +477,16 @@ static int vce_v3_0_hw_init(void *handle)
 	for (i = 0; i < adev->vce.num_rings; i++) {
 		r = amdgpu_ring_test_helper(&adev->vce.ring[i]);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	DRM_INFO("VCE initialized successfully.\n");
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vce.idle_work);
+	return r;
 }
 
 static int vce_v3_0_hw_fini(void *handle)
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c +5 -1
index 14ead62ec57db..df3220ab98bbd 100644
@@ -528,12 +528,16 @@ static int vce_v4_0_hw_init(void *handle)
 	for (i = 0; i < adev->vce.num_rings; i++) {
 		r = amdgpu_ring_test_helper(&adev->vce.ring[i]);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	DRM_INFO("VCE initialized successfully.\n");
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vce.idle_work);
+	return r;
 }
 
 static int vce_v4_0_hw_fini(void *handle)
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +7 -2
index 563721c551634..be1e799795848 100644
@@ -250,18 +250,23 @@ static int vcn_v1_0_hw_init(void *handle)
 
 	r = amdgpu_ring_test_helper(ring);
 	if (r)
-		return r;
+		goto error_vcn;
 
 	for (i = 0; i < adev->vcn.num_enc_rings; ++i) {
 		ring = &adev->vcn.inst->ring_enc[i];
 		r = amdgpu_ring_test_helper(ring);
 		if (r)
-			return r;
+			goto error_vcn;
 	}
 
 	ring = adev->jpeg.inst->ring_dec;
 	r = amdgpu_ring_test_helper(ring);
+	if (r)
+		goto error_vcn;
+	return 0;
 
+error_vcn:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
 	return r;
 }
 
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c +6 -2
index 29f5f6b1eb0a4..72975d44c1240 100644
@@ -287,7 +287,7 @@ static int vcn_v2_0_hw_init(void *handle)
 
 	r = amdgpu_ring_test_helper(ring);
 	if (r)
-		return r;
+		goto error;
 
 	//Disable vcn decode for sriov
 	if (amdgpu_sriov_vf(adev))
@@ -297,10 +297,14 @@ static int vcn_v2_0_hw_init(void *handle)
 		ring = &adev->vcn.inst->ring_enc[i];
 		r = amdgpu_ring_test_helper(ring);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +6 -2
index 20ef8835b12b1..e5cd2c9371358 100644
@@ -365,18 +365,22 @@ static int vcn_v2_5_hw_init(void *handle)
 
 			r = amdgpu_ring_test_helper(ring);
 			if (r)
-				return r;
+				goto error;
 
 			for (i = 0; i < adev->vcn.num_enc_rings; ++i) {
 				ring = &adev->vcn.inst[j].ring_enc[i];
 				r = amdgpu_ring_test_helper(ring);
 				if (r)
-					return r;
+					goto error;
 			}
 		}
 	}
 
 	return r;
+
+error:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c +6 -2
index c175c58c6073d..518cde0476232 100644
@@ -397,18 +397,22 @@ static int vcn_v3_0_hw_init(void *handle)
 
 			r = amdgpu_ring_test_helper(ring);
 			if (r)
-				return r;
+				goto error;
 
 			for (j = 0; j < adev->vcn.num_enc_rings; ++j) {
 				ring = &adev->vcn.inst[i].ring_enc[j];
 				r = amdgpu_ring_test_helper(ring);
 				if (r)
-					return r;
+					goto error;
 			}
 		}
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c +5 -1
index e9d43924bcd73..276d6e7d14bdc 100644
@@ -332,11 +332,15 @@ static int vcn_v4_0_hw_init(void *handle)
 
 			r = amdgpu_ring_test_helper(ring);
 			if (r)
-				return r;
+				goto error;
 		}
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c +5 -1
index 7edb6da93fd2e..f4061a2ed83cb 100644
@@ -313,11 +313,15 @@ static int vcn_v4_0_3_hw_init(void *handle)
 
 			r = amdgpu_ring_test_helper(ring);
 			if (r)
-				return r;
+				goto error;
 		}
 	}
 
 	return r;
+
+error:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c +5 -1
index f0354a7dfb461..da0daf9bcaa2d 100644
@@ -283,10 +283,14 @@ static int vcn_v4_0_5_hw_init(void *handle)
 
 		r = amdgpu_ring_test_helper(ring);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c +5 -1
index f8994e4bdf4b6..3c7fd45917788 100644
@@ -250,10 +250,14 @@ static int vcn_v5_0_0_hw_init(void *handle)
 
 		r = amdgpu_ring_test_helper(ring);
 		if (r)
-			return r;
+			goto error;
 	}
 
 	return 0;
+
+error:
+	cancel_delayed_work_sync(&adev->vcn.idle_work);
+	return r;
 }
 
 /**
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c +9 -1
index 0034e71283964..d0a6496b731be 100644
@@ -257,11 +257,19 @@ static int vcn_v5_0_1_hw_init(struct amdgpu_ip_block *ip_block)
 
 			r = amdgpu_ring_test_helper(ring);
 			if (r)
-				return r;
+				goto error;
 		}
 	}
 
 	return 0;
+
+error:
+	while (i >= 0) {
+		if (!(adev->vcn.harvest_config & (1 << i)))
+			cancel_delayed_work_sync(&adev->vcn.inst[i].idle_work);
+		i--;
+	}
+	return r;
 }
 
 /**
Signature · 1 line
2.53.0
author maintainer
#54 lore raw

PATCH 52/1756 drm/amd/display: set allow_freesync before validating a new stream

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Mikhail Gavrilov <[email protected]>

[ Upstream commit ab18dd3061eb2d92e60c8bbf9a435c25962e449f ]

After resume from S3, DC enables SubVP on a single FreeSync display at a high refresh rate, although dcn32_allow_subvp_high_refresh_rate() is meant to keep SubVP off that configuration ("For single display cases, freesync must be disabled"). On an RX 7900 XTX driving a FreeSync TV at 3840x2160@120, amdgpu_dm_capabilities reports sub-viewport disabled after boot and enabled after "rtcwake -m mem", and the memory clock starts switching. It stays that way until a later commit re-validates the state; a CRTC gamma change (toggling Night Light) turns SubVP off again.

The policy reads dc_stream_state::allow_freesync while the new state is validated, but amdgpu_dm sets that field only in amdgpu_dm_update_freesync_state_on_stream(), on the first flip after the commit. A stream created by a modeset is therefore validated as if FreeSync were off. On resume, dm_destroy_cached_state() drops the streams and forces a modeset, so the resumed state is validated without FreeSync.

Set allow_freesync in amdgpu_dm_get_freesync_config_for_crtc(), which atomic check calls for every active CRTC and which already writes ignore_msa_timing_param to the stream. It uses vrr_supported, the condition the flip-time value is derived from. With this change the same TV keeps SubVP disabled across "rtcwake -m mem".

On this machine SubVP is also what exposes the single-frame scanout corruption reported in the thread linked below, so the FreeSync setting stopped working as a workaround after every suspend.

Fixes 87f0c16e0eeb ("drm/amd/display: Enable SubVP for high refresh rate displays")
(cherry picked from commit 29793918b0eb63b6810b248a906f87dd79b70be5)
[ sashal: adapted the change to get_freesync_config_for_crtc() instead of amdgpu_dm_get_freesync_config_for_crtc() ]
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8 -0
index 305a9fe006de4..175cf9e1a24e7 100644
@@ -10546,6 +10546,14 @@ static void get_freesync_config_for_crtc(
 					vrefresh >= aconnector->min_vfreq &&
 					vrefresh <= aconnector->max_vfreq;
 
+	/*
+	 * DC reads allow_freesync while validating the new state, for example
+	 * to keep SubVP off a single FreeSync display, but it is otherwise set
+	 * only on the first flip after the commit.  Set it here, so that a
+	 * stream created by this commit is not validated without it.
+	 */
+	new_crtc_state->stream->allow_freesync = new_crtc_state->vrr_supported;
+
 	if (new_crtc_state->vrr_supported) {
 		new_crtc_state->stream->ignore_msa_timing_param = true;
 		fs_vid_mode = new_crtc_state->freesync_config.state == VRR_STATE_ACTIVE_FIXED;
Signature · 1 line
2.53.0
author maintainer
#55 lore raw

PATCH 53/1756 hugetlbfs: enforce F_SEAL_EXEC in setattr

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Eva Kurchatova <[email protected]>

[ Upstream commit b7f570e7cea761ec7eb4a3a9557a3a082d14e88c ]

F_SEAL_EXEC is enforced by shmem_setattr(), but hugetlbfs_setattr() does not check it. As a result, fchmod() can change the execute bits of a sealed hugetlbfs memfd.

Use memfd_check_seals_mode() in hugetlbfs_setattr() to reject changes to execute bits when F_SEAL_EXEC is set.

This also fixes the memfd_test hugetlbfs SEAL-EXEC subtest, where fchmod() incorrectly succeeded after applying F_SEAL_EXEC.

Fixes 6fd7353829ca ("mm/memfd: add F_SEAL_EXEC")
[ david: use common helper; fixup Fixes:; check only regular files ]
[ sashal: Replaced the unavailable memfd_check_seals_mode() helper call with its equivalent inline check. ]
---
 fs/hugetlbfs/inode.c | 6 ++++++
 1 file changed, 6 insertions(+)
fs/hugetlbfs/inode.c +6 -0
index 1a12932b58806..2856c3bbc38d4 100644
@@ -932,6 +932,12 @@ static int hugetlbfs_setattr(struct mnt_idmap *idmap,
 	if (error)
 		return error;
 
+	if (S_ISREG(inode->i_mode) && (ia_valid & ATTR_MODE)) {
+		if ((info->seals & F_SEAL_EXEC) &&
+		    ((inode->i_mode ^ attr->ia_mode) & 0111))
+			return -EPERM;
+	}
+
 	if (ia_valid & ATTR_SIZE) {
 		loff_t oldsize = inode->i_size;
 		loff_t newsize = attr->ia_size;
Signature · 1 line
2.53.0
author maintainer
#56 lore raw

PATCH 54/1756 drm/msm/hdmi: Handle msm_hdmi_power_on() errors during .atomic_pre_enable()

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit dd6ecace57851878e62367a6f1a26dd5b9aa217f ]

Properly handle power up failures during .atomic_pre_enable() by aborting the .atomic_pre_enable() to avoid accessing registers why blocks did not bring up. Otherwise this could lead to imprecise aborts when accessing MMIO while entire power domain is off.

Fixes ba3d7bf3a7ab ("drm/msm/hdmi: Convert PHY files according to new design")

Patchwork: https://patchwork.freedesktop.org/patch/752652/

[ sashal: adapted atomic_pre_enable() error handling to pre_enable() with explicit regulator and multiple-clock cleanup ]
---
 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 30 +++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c +25 -5
index b4abac49f5d96..4b874b1c846ad 100644
@@ -11,7 +11,7 @@
 #include "msm_kms.h"
 #include "hdmi.h"
 
-static void msm_hdmi_power_on(struct drm_bridge *bridge)
+static int msm_hdmi_power_on(struct drm_bridge *bridge)
 {
 	struct drm_device *dev = bridge->dev;
 	struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge);
@@ -19,11 +19,15 @@ static void msm_hdmi_power_on(struct drm_bridge *bridge)
 	const struct hdmi_platform_config *config = hdmi->config;
 	int i, ret;
 
-	pm_runtime_get_sync(&hdmi->pdev->dev);
+	ret = pm_runtime_resume_and_get(&hdmi->pdev->dev);
+	if (ret)
+		return ret;
 
 	ret = regulator_bulk_enable(config->pwr_reg_cnt, hdmi->pwr_regs);
-	if (ret)
+	if (ret) {
 		DRM_DEV_ERROR(dev->dev, "failed to enable pwr regulator: %d\n", ret);
+		goto err_pm_put;
+	}
 
 	if (config->pwr_clk_cnt > 0) {
 		DBG("pixclock: %lu", hdmi->pixclock);
@@ -39,8 +43,19 @@ static void msm_hdmi_power_on(struct drm_bridge *bridge)
 		if (ret) {
 			DRM_DEV_ERROR(dev->dev, "failed to enable pwr clk: %s (%d)\n",
 					config->pwr_clk_names[i], ret);
+			goto err_clk_unprepare;
 		}
 	}
+
+	return 0;
+
+err_clk_unprepare:
+	for (; i > 0; i--)
+		clk_disable_unprepare(hdmi->pwr_clks[i - 1]);
+	regulator_bulk_disable(config->pwr_reg_cnt, hdmi->pwr_regs);
+err_pm_put:
+	pm_runtime_put(&hdmi->pdev->dev);
+	return ret;
 }
 
 static void power_off(struct drm_bridge *bridge)
@@ -135,8 +150,13 @@ static void msm_hdmi_bridge_pre_enable(struct drm_bridge *bridge)
 	DBG("power up");
 
 	if (!hdmi->power_on) {
-		msm_hdmi_phy_resource_enable(phy);
-		msm_hdmi_power_on(bridge);
+		if (msm_hdmi_phy_resource_enable(phy))
+			return;
+
+		if (msm_hdmi_power_on(bridge)) {
+			msm_hdmi_phy_resource_disable(phy);
+			return;
+		}
 		hdmi->power_on = true;
 		if (hdmi->hdmi_mode) {
 			msm_hdmi_config_avi_infoframe(hdmi);
Signature · 1 line
2.53.0
author maintainer
#57 lore raw

PATCH 55/1756 drm/amd/display: Signal PQ EOTF in FreeSync infopacket for DP HDR

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Melissa Wen <[email protected]>

[ Upstream commit 81f923b065801c7d30042bcda31ccb9449b4f58b ]

Commit c2791297013e ("drm/amd/display: Add color bit info to freesync infoframe") created the app_tf interface for FreeSync HDR and commit c21a764a98cb ("drm/amd/display: Send PQ bit in AMD VSIF") used it to set PB9 bit 5 (PQ EOTF) in v2/v3 AMD Freesync infopacket. However, Linux never made use of this interface: DM ignores what userspace sets regarding HDR and always passes TRANSFER_FUNC_UNKNOWN as app_tf, so the PQ bit is never set in the infopacket received by the eDP panel.

Check the EOTF in the HDR static metadata and set the PQ bit in Freesync infopacket for DP accordingly. This fixes gray-washed HDR on KDE/GNOME on Framework 13 Pro AI 9 HX 370 (DCN 3.5) and may fix similar issues on other VRR-capable panels that advertise Replay in its AMD VSDB.

It doesn't affect color/EOTF bits on infopackets for SDR and native HDMI.

(cherry picked from commit b318f3e13dd73781404670d3b3c6cf2177e0119c)
[ sashal: inlined the upstream dm_dp_in_hdr_mode() condition in the existing update_freesync_state_on_stream() function ]
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +11 -1
index 175cf9e1a24e7..0302109de6baa 100644
@@ -8817,6 +8817,8 @@ static void prepare_flip_isr(struct amdgpu_crtc *acrtc)
 		      acrtc->crtc_id);
 }
 
+#define DP_HDR_SDP_EOTF_IDX 2
+
 static void update_freesync_state_on_stream(
 	struct amdgpu_display_manager *dm,
 	struct dm_crtc_state *new_crtc_state,
@@ -8832,6 +8834,8 @@ static void update_freesync_state_on_stream(
 	bool pack_sdp_v1_3 = false;
 	struct amdgpu_dm_connector *aconn;
 	enum vrr_packet_type packet_type = PACKET_TYPE_VRR;
+	enum color_transfer_func app_tf;
+	const struct dc_info_packet *hdr;
 
 	if (!new_stream)
 		return;
@@ -8883,12 +8887,18 @@ static void update_freesync_state_on_stream(
 					&new_stream->adaptive_sync_infopacket);
 	}
 
+	hdr = &new_stream->hdr_static_metadata;
+	app_tf = dc_is_dp_signal(new_stream->signal) && hdr->valid &&
+		 hdr->sb[DP_HDR_SDP_EOTF_IDX] == HDMI_EOTF_SMPTE_ST2084 ?
+		 TRANSFER_FUNC_PQ2084 :
+		 TRANSFER_FUNC_UNKNOWN;
+
 	mod_freesync_build_vrr_infopacket(
 		dm->freesync_module,
 		new_stream,
 		&vrr_params,
 		packet_type,
-		TRANSFER_FUNC_UNKNOWN,
+		app_tf,
 		&vrr_infopacket,
 		pack_sdp_v1_3);
 
Signature · 1 line
2.53.0
author maintainer
#58 lore raw

PATCH 56/1756 hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Guenter Roeck <[email protected]>

[ Upstream commit 95638f1f05ced75a82e83f610cd01b636d2a21b1 ]

In init_temp_data(), pdata->nr_cores is populated from topology_num_cores_per_package() before allocating pdata->core_data. If that allocation fails, init_temp_data() returns NULL with pdata->core_data still NULL and pdata->nr_cores set to a positive value.

coretemp_add_core() logs the error without failing coretemp_cpu_online(), so the CPU still comes online with pdata->hwmon_dev registered. When the CPU is later taken offline (or the module is unloaded), coretemp_cpu_offline() calls get_temp_data(pd, cpu), which loops up to pdata->nr_cores and dereferences the NULL pdata->core_data pointer.

Store the core count in a local variable and assign pdata->nr_cores only after pdata->core_data is allocated, preserving the invariant that pdata->nr_cores is zero whenever pdata->core_data is NULL.

Fixes 1a793caf6f69 ("hwmon: (coretemp) Use dynamic allocated memory for core temp_data")
[ sashal: used kcalloc() with NUM_REAL_CORES instead of kzalloc_objs() with topology_num_cores_per_package() ]
---
 drivers/hwmon/coretemp.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/hwmon/coretemp.c +4 -2
index cc81b849c09ef..7f8ff6dd16bfa 100644
@@ -497,11 +497,13 @@ init_temp_data(struct platform_data *pdata, unsigned int cpu, int pkg_flag)
 		 * Will replace hardcoded NUM_REAL_CORES with actual per package core count
 		 * when this information becomes available.
 		 */
-		pdata->nr_cores = NUM_REAL_CORES;
-		pdata->core_data = kcalloc(pdata->nr_cores, sizeof(struct temp_data *),
+		int nr_cores = NUM_REAL_CORES;
+
+		pdata->core_data = kcalloc(nr_cores, sizeof(struct temp_data *),
 					   GFP_KERNEL);
 		if (!pdata->core_data)
 			return NULL;
+		pdata->nr_cores = nr_cores;
 	}
 
 	tdata = kzalloc(sizeof(struct temp_data), GFP_KERNEL);
Signature · 1 line
2.53.0
author maintainer
#59 lore raw

PATCH 57/1756 drm/amd/pm: populate unique ID for smu 13.0.7

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Kevin Wang <[email protected]>

[ Upstream commit 079f9103d9cde68fb2ccc414e94520f43ee102de ]

The smu 13.0.7 backend does not register get_unique_id, leaving adev->unique_id at zero and KFD topology without the stable GPU identifier consumed by HIP.

The failure is observed at:

    auto ierr = hipDeviceGetUuid(&uuid, 0);
Fixes 113cc31dde66 ("drm/amd/pm: add SMU_13_0_7 ppt_funcs for SMU_13_0_7")
(cherry picked from commit 5e2585daaf8336d9ce1bf52e55a9b7a8cdbf625b)
[ sashal: Moved smu_v13_0_7_get_unique_id() immediately before smu_v13_0_7_ppt_funcs because the upstream neighboring functions are absent. ]
---
 .../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +20 -0
index 9467db88969c6..22420256750fa 100644
@@ -2669,6 +2669,25 @@ static int smu_v13_0_7_set_power_limit(struct smu_context *smu,
 	return 0;
 }
 
+static void smu_v13_0_7_get_unique_id(struct smu_context *smu)
+{
+	SmuMetricsExternal_t metrics_external;
+	SmuMetrics_t *metrics = &metrics_external.SmuMetrics;
+	struct amdgpu_device *adev = smu->adev;
+	u32 upper32 = 0, lower32 = 0;
+	int ret;
+
+	ret = smu_cmn_get_metrics_table(smu, &metrics_external, false);
+	if (ret)
+		goto out;
+
+	upper32 = metrics->PublicSerialNumberUpper;
+	lower32 = metrics->PublicSerialNumberLower;
+
+out:
+	adev->unique_id = ((u64)upper32 << 32) | lower32;
+}
+
 static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
 	.get_allowed_feature_mask = smu_v13_0_7_get_allowed_feature_mask,
 	.set_default_dpm_table = smu_v13_0_7_set_default_dpm_table,
@@ -2739,6 +2758,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
 	.enable_uclk_shadow = smu_v13_0_enable_uclk_shadow,
 	.set_wbrf_exclusion_ranges = smu_v13_0_set_wbrf_exclusion_ranges,
 	.interrupt_work = smu_v13_0_interrupt_work,
+	.get_unique_id = smu_v13_0_7_get_unique_id,
 };
 
 void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)
Signature · 1 line
2.53.0
author maintainer
#60 lore raw

PATCH 58/1756 btrfs: raid56: do not verify the content if there is no data checksum

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Qu Wenruo <[email protected]>

[ Upstream commit d00b85308abee300dfb7e1ac642f38bab9ec7492 ]

[BUG]
There is a bug report that fio can fail to sync the data on a degraded RAID56 mount:

  # mkfs.btrfs -m raid1 -d raid5 -f $dev1 $dev2 $dev3
  # mount $dev1 $mnt
  # btrfs balance start -d $mnt
  # umount $mnt
  # btrfs dev scan -u $dev2
  # wipefs -fa $dev2
  # mount -o degraded $dev1 $mnt
  # fio --name=degraded-write --directory=$mnt --rw=randwrite --fdatasync=4 \
		--bs=4k --size=512M --randrepeat=1

The run will fail at fsync:

fio: io_u error on file /mnt/btrfs/degraded-write.0.0: Input/output error: datasync offset=142254080, buflen=0
fio: pid=2064, err=5/file:io_u.c:2008, func=io_u error, error=Input/output error

[CAUSE]
With extra debug output, it shows the problem pretty well:

rbio=2876243968 faila=0 sectornr=0
rbio=2876243968 error=0-15 csum=2 bio=15

The first line shows the rbio's full stripe logical, and stripe/sector number when verify_one_sector() failed.

The second line shows more detail about the rbio, the sector range [0, 16) is corrupted, which indicates the first data stripe is corrupted, matching the missing device.

The important part is that the csum bitmap shows the data csum is only for sector number 2, meanwhile the failed verification is at sector number 0.

This means we did the checksum verification even if no corresponding checksum is populated.

[FIX]
There is already a similar check at verify_bio_data_sectors(), but unfortunately there is no such check at verify_one_sector().

Add the missing check to skip the csum verification if there is no corresponding data checksum.

Fixes 7a3150723061 ("btrfs: raid56: do data csum verification during RMW cycle")
[ sashal: Adjusted verify_one_sector() context for the existing struct sector_ptr and btrfs_check_sector_csum() instead of physical-address helpers. ]
---
 fs/btrfs/raid56.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
fs/btrfs/raid56.c +8 -3
index 8afadf994b8c8..9f8515370eb8d 100644
@@ -1789,6 +1789,8 @@ static int verify_one_sector(struct btrfs_raid_bio *rbio,
 {
 	struct btrfs_fs_info *fs_info = rbio->bioc->fs_info;
 	struct sector_ptr *sector;
+	const unsigned int total_sector_nr =
+		stripe_nr * rbio->stripe_nsectors + sector_nr;
 	u8 csum_buf[BTRFS_CSUM_SIZE];
 	u8 *csum_expected;
 	int ret;
@@ -1799,6 +1801,11 @@ static int verify_one_sector(struct btrfs_raid_bio *rbio,
 	/* No way to verify P/Q as they are not covered by data csum. */
 	if (stripe_nr >= rbio->nr_data)
 		return 0;
+
+	/* No data checksum for this sector. */
+	if (!test_bit(total_sector_nr, rbio->csum_bitmap))
+		return 0;
+
 	/*
 	 * If we're rebuilding a read, we have to use pages from the
 	 * bio list if possible.
@@ -1811,9 +1818,7 @@ static int verify_one_sector(struct btrfs_raid_bio *rbio,
 
 	ASSERT(sector->page);
 
-	csum_expected = rbio->csum_buf +
-			(stripe_nr * rbio->stripe_nsectors + sector_nr) *
-			fs_info->csum_size;
+	csum_expected = rbio->csum_buf + total_sector_nr * fs_info->csum_size;
 	ret = btrfs_check_sector_csum(fs_info, sector->page, sector->pgoff,
 				      csum_buf, csum_expected);
 	return ret;
Signature · 1 line
2.53.0
author maintainer
#25 lore raw

PATCH 23/1756 f2fs: fix to update superblock crc in sanity_check_area_boundary()

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Chao Yu <[email protected]>

[ Upstream commit f8f956c7ec8c0285d7a80bed497d2f7adcbded15 ]

This patch fixes the bug reported by Sashiko:

We should update superblock crc along w/ raw_super->segment_count in sanity_check_area_boundary() if sb_checksum feature is enabled.

Fixes d440c52d3151 ("f2fs: support superblock checksum")
[ sashal: Added sbi as the first argument to f2fs_crc32() to match the older checksum API. ]
---
 fs/f2fs/super.c | 6 ++++++
 1 file changed, 6 insertions(+)
fs/f2fs/super.c +6 -0
index ec3e20cd6c5eb..facf7647b5095 100644
@@ -3571,6 +3571,12 @@ static inline bool sanity_check_area_boundary(struct f2fs_sb_info *sbi,
 		/* fix in-memory information all the time */
 		raw_super->segment_count = cpu_to_le32((main_end_blkaddr -
 				segment0_blkaddr) >> log_blocks_per_seg);
+		if (__F2FS_HAS_FEATURE(raw_super, F2FS_FEATURE_SB_CHKSUM)) {
+			__u32 crc = f2fs_crc32(sbi, raw_super,
+					offsetof(struct f2fs_super_block, crc));
+
+			raw_super->crc = cpu_to_le32(crc);
+		}
 
 		if (f2fs_readonly(sb) || f2fs_hw_is_readonly(sbi)) {
 			set_sbi_flag(sbi, SBI_NEED_SB_WRITE);
Signature · 1 line
2.53.0
author maintainer
#61 lore raw

PATCH 59/1756 ocfs2: validate move extents against a stable EOF

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Cen Zhang <[email protected]>

[ Upstream commit 84db6619cb702c37cf848b450c21b9c9706b0775 ]

The move-extents range must be bounded by the inode size used for extent movement. ocfs2_ioctl_move_extents() checks and clamps the request before taking the local inode and cluster locks in ocfs2_move_extents(). It also uses separate i_size_read() calls for the range check and subtraction.

A concurrent truncate can invalidate the first check and make the later unsigned subtraction underflow:

Move-extents ioctl Truncate
------------------ --------
check me_start <= i_size
take inode and cluster locks shrink EOF below me_start release locks
compare me_start + me_len with EOF
set me_len = EOF - me_start
[unsigned underflow]
acquire inode and cluster locks
select extents using the bad range

A truncate after clamping can also leave the range extending beyond EOF. Conversely, the cached size may be smaller than the size refreshed when the cluster inode lock is acquired. Early validation can then reject a valid start or permanently shorten the requested length and threshold. The me_start + me_len comparison can also wrap for a large input length.

Validate and adjust the original request once, after inode_lock(), the exclusive rw lock and ocfs2_inode_lock() have stabilized and refreshed the size. Read EOF once, reject a start beyond it, and bound the length by EOF minus start. Normalize the threshold using the same EOF snapshot. This keeps zero as the default-threshold sentinel until validation uses the size that will govern extent movement.

Move goal validation after range adjustment as well. Its allocation-group capacity check uses me_len and must see the EOF-clamped length. Both validation failures use the existing inode-lock unwind path before any extent movement or transaction starts.

Range errors now reach the ioctl's normal copyout path, as goal errors already did. Unlike the old early rejection, a failed copyout can therefore override -EINVAL with -EFAULT.

Fixes 53069d4e7695 ("Ocfs2/move_extents: move/defrag extents within a certain range.")
Assisted-by LLM
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Heming Zhao <[email protected]>
Cc Jia-Ju Bai <[email protected]>
[ sashal: inlined the upstream range-validation helper into ocfs2_move_extents() to avoid adding a new function ]
---
 fs/ocfs2/move_extents.c | 62 ++++++++++++++++++++---------------------
 1 file changed, 31 insertions(+), 31 deletions(-)
fs/ocfs2/move_extents.c +31 -31
index decf14ea21478..279726e5f7cfe 100644
@@ -906,8 +906,10 @@ static int __ocfs2_move_extents_range(struct buffer_head *di_bh,
 static int ocfs2_move_extents(struct ocfs2_move_extents_context *context)
 {
 	int status;
+	u64 i_size;
 	handle_t *handle;
 	struct inode *inode = context->inode;
+	struct ocfs2_move_extents *range = context->range;
 	struct ocfs2_dinode *di;
 	struct buffer_head *di_bh = NULL;
 	struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
@@ -932,6 +934,35 @@ static int ocfs2_move_extents(struct ocfs2_move_extents_context *context)
 		goto out_rw_unlock;
 	}
 
+	i_size = i_size_read(inode);
+	if (range->me_start > i_size) {
+		status = -EINVAL;
+		mlog_errno(status);
+		goto out_inode_unlock;
+	}
+
+	if (range->me_len > i_size - range->me_start)
+		range->me_len = i_size - range->me_start;
+
+	/*
+	 * The default threshold for defragmentation is 1 MiB, which
+	 * matches the maximum OCFS2 cluster size.
+	 */
+	if (!range->me_threshold)
+		range->me_threshold = 1024 * 1024;
+
+	if (range->me_threshold > i_size)
+		range->me_threshold = i_size;
+
+	/* The goal check depends on the adjusted range length. */
+	if (!context->auto_defrag) {
+		status = ocfs2_validate_and_adjust_move_goal(inode, context->range);
+		if (status) {
+			mlog_errno(status);
+			goto out_inode_unlock;
+		}
+	}
+
 	/*
 	 * rememer ip_xattr_sem also needs to be held if necessary
 	 */
@@ -1024,49 +1055,18 @@ int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp)
 		goto out_free;
 	}
 
-	if (range.me_start > i_size_read(inode)) {
-		status = -EINVAL;
-		goto out_free;
-	}
-
-	if (range.me_start + range.me_len > i_size_read(inode))
-			range.me_len = i_size_read(inode) - range.me_start;
-
 	context->range = &range;
 
-	/*
-	 * ok, the default theshold for the defragmentation
-	 * is 1M, since our maximum clustersize was 1M also.
-	 * any thought?
-	 */
-	if (!range.me_threshold)
-		range.me_threshold = 1024 * 1024;
-
-	if (range.me_threshold > i_size_read(inode))
-		range.me_threshold = i_size_read(inode);
-
 	if (range.me_flags & OCFS2_MOVE_EXT_FL_AUTO_DEFRAG) {
 		context->auto_defrag = 1;
 
 		if (range.me_flags & OCFS2_MOVE_EXT_FL_PART_DEFRAG)
 			context->partial = 1;
-	} else {
-		/*
-		 * first best-effort attempt to validate and adjust the goal
-		 * (physical address in block), while it can't guarantee later
-		 * operation can succeed all the time since global_bitmap may
-		 * change a bit over time.
-		 */
-
-		status = ocfs2_validate_and_adjust_move_goal(inode, &range);
-		if (status)
-			goto out_copy;
 	}
 
 	status = ocfs2_move_extents(context);
 	if (status)
 		mlog_errno(status);
-out_copy:
 	/*
 	 * movement/defragmentation may end up being partially completed,
 	 * that's the reason why we need to return userspace the finished
Signature · 1 line
2.53.0
author maintainer
#62 lore raw

PATCH 60/1756 hwmon: (chipcap2) Switch to guard() for mutext handling

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Javier Carrasco <[email protected]>

[ Upstream commit 232ba88182083b4410df41cf310c9a16b84e547e ]

Switch to guard() for mutex handling to simplify the code, getting rid of the 'ret = x, break; return ret;' construct and return the result of the operation instead.

Stable-dep-of: bed5f0c075eb ("hwmon: chipcap2: serialize access to the alarm indicators")

---
 drivers/hwmon/chipcap2.c | 63 ++++++++++++----------------------------
 1 file changed, 18 insertions(+), 45 deletions(-)
drivers/hwmon/chipcap2.c +18 -45
index 6a69c7699594b..2572710fb2384 100644
@@ -13,6 +13,7 @@
 
 #include <linux/bitfield.h>
 #include <linux/bits.h>
+#include <linux/cleanup.h>
 #include <linux/completion.h>
 #include <linux/delay.h>
 #include <linux/hwmon.h>
@@ -573,55 +574,40 @@ static int cc2_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
 		    int channel, long *val)
 {
 	struct cc2_data *data = dev_get_drvdata(dev);
-	int ret = 0;
 
-	mutex_lock(&data->dev_access_lock);
+	guard(mutex)(&data->dev_access_lock);
 
 	switch (type) {
 	case hwmon_temp:
-		ret = cc2_measurement(data, type, val);
-		break;
+		return cc2_measurement(data, type, val);
 	case hwmon_humidity:
 		switch (attr) {
 		case hwmon_humidity_input:
-			ret = cc2_measurement(data, type, val);
-			break;
+			return cc2_measurement(data, type, val);
 		case hwmon_humidity_min:
-			ret = cc2_get_reg_val(data, CC2_R_ALARM_L_ON, val);
-			break;
+			return cc2_get_reg_val(data, CC2_R_ALARM_L_ON, val);
 		case hwmon_humidity_min_hyst:
-			ret = cc2_get_reg_val(data, CC2_R_ALARM_L_OFF, val);
-			break;
+			return cc2_get_reg_val(data, CC2_R_ALARM_L_OFF, val);
 		case hwmon_humidity_max:
-			ret = cc2_get_reg_val(data, CC2_R_ALARM_H_ON, val);
-			break;
+			return cc2_get_reg_val(data, CC2_R_ALARM_H_ON, val);
 		case hwmon_humidity_max_hyst:
-			ret = cc2_get_reg_val(data, CC2_R_ALARM_H_OFF, val);
-			break;
+			return cc2_get_reg_val(data, CC2_R_ALARM_H_OFF, val);
 		case hwmon_humidity_min_alarm:
-			ret = cc2_humidity_min_alarm_status(data, val);
-			break;
+			return cc2_humidity_min_alarm_status(data, val);
 		case hwmon_humidity_max_alarm:
-			ret = cc2_humidity_max_alarm_status(data, val);
-			break;
+			return cc2_humidity_max_alarm_status(data, val);
 		default:
-			ret = -EOPNOTSUPP;
+			return -EOPNOTSUPP;
 		}
-		break;
 	default:
-		ret = -EOPNOTSUPP;
+		return -EOPNOTSUPP;
 	}
-
-	mutex_unlock(&data->dev_access_lock);
-
-	return ret;
 }
 
 static int cc2_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
 		     int channel, long val)
 {
 	struct cc2_data *data = dev_get_drvdata(dev);
-	int ret;
 	u16 arg;
 	u8 cmd;
 
@@ -631,41 +617,28 @@ static int cc2_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
 	if (val < 0 || val > CC2_RH_MAX)
 		return -EINVAL;
 
-	mutex_lock(&data->dev_access_lock);
+	guard(mutex)(&data->dev_access_lock);
 
 	switch (attr) {
 	case hwmon_humidity_min:
 		cmd = CC2_W_ALARM_L_ON;
 		arg = cc2_rh_to_reg(val);
-		ret = cc2_write_reg(data, cmd, arg);
-		break;
-
+		return cc2_write_reg(data, cmd, arg);
 	case hwmon_humidity_min_hyst:
 		cmd = CC2_W_ALARM_L_OFF;
 		arg = cc2_rh_to_reg(val);
-		ret = cc2_write_reg(data, cmd, arg);
-		break;
-
+		return cc2_write_reg(data, cmd, arg);
 	case hwmon_humidity_max:
 		cmd = CC2_W_ALARM_H_ON;
 		arg = cc2_rh_to_reg(val);
-		ret = cc2_write_reg(data, cmd, arg);
-		break;
-
+		return cc2_write_reg(data, cmd, arg);
 	case hwmon_humidity_max_hyst:
 		cmd = CC2_W_ALARM_H_OFF;
 		arg = cc2_rh_to_reg(val);
-		ret = cc2_write_reg(data, cmd, arg);
-		break;
-
+		return cc2_write_reg(data, cmd, arg);
 	default:
-		ret = -EOPNOTSUPP;
-		break;
+		return -EOPNOTSUPP;
 	}
-
-	mutex_unlock(&data->dev_access_lock);
-
-	return ret;
 }
 
 static int cc2_get_irqs(struct cc2_data *data, struct device *dev)
Signature · 1 line
2.53.0
author maintainer
#63 lore raw

PATCH 61/1756 hwmon: (chipcap2) Drop unnecessary include files

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Guenter Roeck <[email protected]>

[ Upstream commit 4c8d758d4ebff3780d09599f2c8db5d6af3ca2af ]

The driver does not perform any locking, does not execute or use any sleep related functionality, and does not allocate memory. Drop the unnecessary include files.

Stable-dep-of: bed5f0c075eb ("hwmon: chipcap2: serialize access to the alarm indicators")

---
 drivers/hwmon/chipcap2.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/hwmon/chipcap2.c +0 -7
index 2572710fb2384..4a9c51c792aed 100644
@@ -82,7 +82,6 @@ struct cc2_data {
 	struct completion complete;
 	struct device *hwmon;
 	struct i2c_client *client;
-	struct mutex dev_access_lock; /* device access lock */
 	struct regulator *regulator;
 	const char *name;
 	int irq_ready;
@@ -575,8 +574,6 @@ static int cc2_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
 {
 	struct cc2_data *data = dev_get_drvdata(dev);
 
-	guard(mutex)(&data->dev_access_lock);
-
 	switch (type) {
 	case hwmon_temp:
 		return cc2_measurement(data, type, val);
@@ -617,8 +614,6 @@ static int cc2_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
 	if (val < 0 || val > CC2_RH_MAX)
 		return -EINVAL;
 
-	guard(mutex)(&data->dev_access_lock);
-
 	switch (attr) {
 	case hwmon_humidity_min:
 		cmd = CC2_W_ALARM_L_ON;
@@ -712,8 +707,6 @@ static int cc2_probe(struct i2c_client *client)
 
 	i2c_set_clientdata(client, data);
 
-	mutex_init(&data->dev_access_lock);
-
 	data->client = client;
 
 	data->regulator = devm_regulator_get_exclusive(dev, "vdd");
Signature · 1 line
2.53.0
author maintainer
#64 lore raw

PATCH 62/1756 hwmon: chipcap2: serialize access to the alarm indicators

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Javier Carrasco <[email protected]>

[ Upstream commit bed5f0c075eb99442fca6a61c009a32752eceda2 ]

low_alarm and high_alarm are accessed from the threaded interrupt handlers and from sysfs without any locking, which can lead to lost alarms.

Add a mutex to serialize the access to the alarm indicators and to process_irqs, which the handlers use to decide whether an interrupt belongs to an ongoing operation.

Fixes 3af350929e75 ("hwmon: Add support for Amphenol ChipCap 2")
[groeck: Dropped obsolete 'Assisted-by: tag]
---
 drivers/hwmon/chipcap2.c | 58 +++++++++++++++++++++++++---------------
 1 file changed, 37 insertions(+), 21 deletions(-)
drivers/hwmon/chipcap2.c +37 -21
index 4a9c51c792aed..8d2f7ba4c1789 100644
@@ -20,6 +20,7 @@
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
+#include <linux/mutex.h>
 #include <linux/module.h>
 #include <linux/unaligned.h>
 #include <linux/regulator/consumer.h>
@@ -88,6 +89,8 @@ struct cc2_data {
 	int irq_low;
 	int irq_high;
 	bool process_irqs;
+	/* protects process_irqs and the alarm indicators */
+	struct mutex irq_lock;
 	bool regulator_enabled;
 };
 
@@ -119,7 +122,8 @@ static int cc2_enable(struct cc2_data *data)
 
 	/* exclusive regulator, check in case a disable failed */
 	if (data->regulator_enabled) {
-		data->process_irqs = true;
+		scoped_guard(mutex, &data->irq_lock)
+			data->process_irqs = true;
 		return 0;
 	}
 
@@ -134,7 +138,8 @@ static int cc2_enable(struct cc2_data *data)
 
 	usleep_range(CC2_STARTUP_TIME_US, CC2_STARTUP_TIME_US + 125);
 
-	data->process_irqs = true;
+	scoped_guard(mutex, &data->irq_lock)
+		data->process_irqs = true;
 
 	return 0;
 }
@@ -151,7 +156,8 @@ static void cc2_disable(struct cc2_data *data)
 		synchronize_irq(data->irq_high);
 
 	/* ignore alarms triggered by voltage toggling when powering up */
-	data->process_irqs = false;
+	scoped_guard(mutex, &data->irq_lock)
+		data->process_irqs = false;
 
 	/* exclusive regulator, check in case an enable failed */
 	if (!data->regulator_enabled)
@@ -507,10 +513,12 @@ static irqreturn_t cc2_low_interrupt(int irq, void *data)
 {
 	struct cc2_data *cc2 = data;
 
-	if (cc2->process_irqs) {
-		hwmon_notify_event(cc2->hwmon, hwmon_humidity,
-				   hwmon_humidity_min_alarm, 0);
-		cc2->rh_alarm.low_alarm = true;
+	scoped_guard(mutex, &cc2->irq_lock) {
+		if (cc2->process_irqs) {
+			hwmon_notify_event(cc2->hwmon, hwmon_humidity,
+					   hwmon_humidity_min_alarm, 0);
+			cc2->rh_alarm.low_alarm = true;
+		}
 	}
 
 	return IRQ_HANDLED;
@@ -520,10 +528,12 @@ static irqreturn_t cc2_high_interrupt(int irq, void *data)
 {
 	struct cc2_data *cc2 = data;
 
-	if (cc2->process_irqs) {
-		hwmon_notify_event(cc2->hwmon, hwmon_humidity,
-				   hwmon_humidity_max_alarm, 0);
-		cc2->rh_alarm.high_alarm = true;
+	scoped_guard(mutex, &cc2->irq_lock) {
+		if (cc2->process_irqs) {
+			hwmon_notify_event(cc2->hwmon, hwmon_humidity,
+					   hwmon_humidity_max_alarm, 0);
+			cc2->rh_alarm.high_alarm = true;
+		}
 	}
 
 	return IRQ_HANDLED;
@@ -539,11 +549,13 @@ static int cc2_humidity_min_alarm_status(struct cc2_data *data, long *val)
 	if (ret < 0)
 		return ret;
 
-	if (data->rh_alarm.low_alarm) {
-		*val = (measurement < min_hyst) ? 1 : 0;
-		data->rh_alarm.low_alarm = *val;
-	} else {
-		*val = 0;
+	scoped_guard(mutex, &data->irq_lock) {
+		if (data->rh_alarm.low_alarm) {
+			*val = (measurement < min_hyst) ? 1 : 0;
+			data->rh_alarm.low_alarm = *val;
+		} else {
+			*val = 0;
+		}
 	}
 
 	return 0;
@@ -559,11 +571,13 @@ static int cc2_humidity_max_alarm_status(struct cc2_data *data, long *val)
 	if (ret < 0)
 		return ret;
 
-	if (data->rh_alarm.high_alarm) {
-		*val = (measurement > max_hyst) ? 1 : 0;
-		data->rh_alarm.high_alarm = *val;
-	} else {
-		*val = 0;
+	scoped_guard(mutex, &data->irq_lock) {
+		if (data->rh_alarm.high_alarm) {
+			*val = (measurement > max_hyst) ? 1 : 0;
+			data->rh_alarm.high_alarm = *val;
+		} else {
+			*val = 0;
+		}
 	}
 
 	return 0;
@@ -707,6 +721,8 @@ static int cc2_probe(struct i2c_client *client)
 
 	i2c_set_clientdata(client, data);
 
+	mutex_init(&data->irq_lock);
+
 	data->client = client;
 
 	data->regulator = devm_regulator_get_exclusive(dev, "vdd");
Signature · 1 line
2.53.0
author maintainer
#65 lore raw

PATCH 63/1756 hwmon: chipcap2: synchronize ready IRQ state

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Javier Carrasco <[email protected]>

[ Upstream commit 8c02722be2caa6604a837b81faeaba78250eda4a ]

The ready IRQ handler can race with reinit_completion() in the enable path. In particular, a handler from an earlier operation can complete the completion after it is reset for a new operation.

Use irq_lock to serialize access to the completion and process_irqs. Disable IRQ processing and synchronize any running handler before resetting the completion for a new operation.

Fixes 3af350929e75 ("hwmon: Add support for Amphenol ChipCap 2")
[groeck: Dropped obsolete 'Assisted-by: tag]
---
 drivers/hwmon/chipcap2.c | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
drivers/hwmon/chipcap2.c +17 -5
index 8d2f7ba4c1789..e466f8f39d52f 100644
@@ -120,6 +120,16 @@ static int cc2_enable(struct cc2_data *data)
 {
 	int ret;
 
+	if (data->irq_ready > 0) {
+		scoped_guard(mutex, &data->irq_lock)
+			data->process_irqs = false;
+
+		synchronize_irq(data->irq_ready);
+
+		scoped_guard(mutex, &data->irq_lock)
+			reinit_completion(&data->complete);
+	}
+
 	/* exclusive regulator, check in case a disable failed */
 	if (data->regulator_enabled) {
 		scoped_guard(mutex, &data->irq_lock)
@@ -127,9 +137,6 @@ static int cc2_enable(struct cc2_data *data)
 		return 0;
 	}
 
-	/* clear any pending completion */
-	try_wait_for_completion(&data->complete);
-
 	ret = regulator_enable(data->regulator);
 	if (ret < 0)
 		return ret;
@@ -159,6 +166,9 @@ static void cc2_disable(struct cc2_data *data)
 	scoped_guard(mutex, &data->irq_lock)
 		data->process_irqs = false;
 
+	if (data->irq_ready > 0)
+		synchronize_irq(data->irq_ready);
+
 	/* exclusive regulator, check in case an enable failed */
 	if (!data->regulator_enabled)
 		return;
@@ -503,8 +513,10 @@ static irqreturn_t cc2_ready_interrupt(int irq, void *data)
 {
 	struct cc2_data *cc2 = data;
 
-	if (cc2->process_irqs)
-		complete(&cc2->complete);
+	scoped_guard(mutex, &cc2->irq_lock) {
+		if (cc2->process_irqs)
+			complete(&cc2->complete);
+	}
 
 	return IRQ_HANDLED;
 }
Signature · 1 line
2.53.0
author maintainer
#66 lore raw

PATCH 64/1756 ksmbd: do not read past the DACL in the access denied debug message

In reply to Greg Kroah-Hartman

6.12-stable review patch. If anyone has any objections, please let me know.

------------------

From: Ian Bridges <[email protected]>

[ Upstream commit 8296a64df5448548f410fb246c1d88a93609602b ]

When smb_check_perm_dacl() falls back to the POSIX ACL and then denies the request, its debug message prints the access mask of the ACE that the second DACL walk stopped at. On that path the walk ran to the end of the DACL, so the pointer is one past the last ACE. If the DACL is the last part of the stored security descriptor, the message reads 4 bytes past the buffer, and KASAN reports a slab-out-of-bounds read in smb_check_perm_dacl().

Print the requested and allowed masks instead. They are what the check compares.

Fixes e2f34481b24d ("cifsd: add server-side procedures for SMB3")
[ sashal: adjusted context for the check_access_bits label and expanded access mask ]
---
 fs/smb/server/smbacl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/smb/server/smbacl.c +2 -2
index 63f7bccb4d9af..d8c01e775d941 100644
@@ -1650,8 +1650,8 @@ int smb_check_perm_dacl(struct ksmbd_conn *conn, const struct path *path,
 check_access_bits:
 	if (granted &
 	    ~(access_bits | FILE_READ_ATTRIBUTES | READ_CONTROL | WRITE_DAC | DELETE)) {
-		ksmbd_debug(SMB, "Access denied with winACL, granted : %x, access_req : %x\n",
-			    granted, le32_to_cpu(ace->access_req));
+		ksmbd_debug(SMB, "Access denied with winACL, requested : %x, allowed : %x\n",
+			    granted, access_bits);
 		rc = -EACCES;
 		goto err_out;
 	}
Signature · 1 line
2.53.0