[PATCH 5.10 00/98] 5.10.165-rc2 review

From: Greg Kroah-Hartman
Date: Mon Jan 23 2023 - 04:53:01 EST


This is the start of the stable review cycle for the 5.10.165 release.
There are 98 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 Wed, 25 Jan 2023 09:48:53 +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/v5.x/stable-review/patch-5.10.165-rc2.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 5.10.165-rc2

Jens Axboe <axboe@xxxxxxxxx>
io_uring/rw: remove leftover debug statement

Jens Axboe <axboe@xxxxxxxxx>
io_uring/rw: ensure kiocb_end_write() is always called

Pavel Begunkov <asml.silence@xxxxxxxxx>
io_uring: fix double poll leak on repolling

Alviro Iskandar Setiawan <alviro.iskandar@xxxxxxxxx>
io_uring: Clean up a false-positive warning from GCC 9.3.0

Hugh Dickins <hughd@xxxxxxxxxx>
mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma

Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx>
Bluetooth: hci_qca: Fixed issue during suspend

Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx>
Bluetooth: hci_qca: check for SSR triggered flag while suspend

Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx>
Bluetooth: hci_qca: Wait for SSR completion during suspend

Stephan Gerhold <stephan@xxxxxxxxxxx>
soc: qcom: apr: Make qcom,protection-domain optional again

Eric Dumazet <edumazet@xxxxxxxxxx>
Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"

Yang Yingliang <yangyingliang@xxxxxxxxxx>
net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()

Paolo Abeni <pabeni@xxxxxxxxxx>
net/ulp: use consistent error code when blocking ULP

Stefan Metzmacher <metze@xxxxxxxxx>
io_uring/net: fix fast_iov assignment in io_setup_async_msg()

Jens Axboe <axboe@xxxxxxxxx>
io_uring: io_kiocb_update_pos() should not touch file for non -1 offset

Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
tracing: Use alignof__(struct {type b;}) instead of offsetof()

YingChi Long <me@xxxxxxxxx>
x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN

Alex Deucher <alexander.deucher@xxxxxxx>
Revert "drm/amdgpu: make display pinning more flexible (v2)"

Ard Biesheuvel <ardb@xxxxxxxxxx>
efi: rt-wrapper: Add missing include

Ard Biesheuvel <ardb@xxxxxxxxxx>
arm64: efi: Execute runtime services from a dedicated stack

Joshua Ashton <joshua@xxxxxxxxx>
drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix

Joshua Ashton <joshua@xxxxxxxxx>
drm/amd/display: Calculate output_color_space after pixel encoding adjustment

hongao <hongao@xxxxxxxxxxxxx>
drm/amd/display: Fix set scaling doesn's work

Sasa Dragic <sasa.dragic@xxxxxxxxx>
drm/i915: re-disable RC6p on Sandy Bridge

Alexander Usyskin <alexander.usyskin@xxxxxxxxx>
mei: me: add meteor lake point M DID

Khazhismel Kumykov <khazhy@xxxxxxxxxxxx>
gsmi: fix null-deref in gsmi_get_variable

Tobias Schramm <t.schramm@xxxxxxxxxxx>
serial: atmel: fix incorrect baudrate setup

Mohan Kumar <mkumard@xxxxxxxxxx>
dmaengine: tegra210-adma: fix global intr clear

Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
serial: pch_uart: Pass correct sg to dma_unmap_sg()

Heiner Kallweit <hkallweit1@xxxxxxxxx>
dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation

Heiner Kallweit <hkallweit1@xxxxxxxxx>
dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation

Juhyung Park <qkrwngud825@xxxxxxxxx>
usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210

Maciej Żenczykowski <maze@xxxxxxxxxx>
usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()

Daniel Scally <dan.scally@xxxxxxxxxxxxxxxx>
usb: gadget: g_webcam: Send color matching descriptor per frame

Prashant Malani <pmalani@xxxxxxxxxxxx>
usb: typec: altmodes/displayport: Fix pin assignment calculation

Prashant Malani <pmalani@xxxxxxxxxxxx>
usb: typec: altmodes/displayport: Add pin assignment helper

Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
usb: host: ehci-fsl: Fix module alias

Michael Adler <michael.adler@xxxxxxxxxxx>
USB: serial: cp210x: add SCALANCE LPE-9000 device id

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
USB: gadgetfs: Fix race between mounting and unmounting

Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer

Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
thunderbolt: Use correct function to calculate maximum USB3 link rate

Enzo Matsumiya <ematsumiya@xxxxxxx>
cifs: do not include page data when checking signature

Filipe Manana <fdmanana@xxxxxxxx>
btrfs: fix race between quota rescan and disable leading to NULL pointer deref

Haibo Chen <haibo.chen@xxxxxxx>
mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting

Samuel Holland <samuel@xxxxxxxxxxxx>
mmc: sunxi-mmc: Fix clock refcount imbalance during unbind

Ian Abbott <abbotti@xxxxxxxxx>
comedi: adv_pci1760: Fix PWM instruction handling

Flavio Suligoi <f.suligoi@xxxxxxx>
usb: core: hub: disable autosuspend for TI TUSB8041

Ola Jeppsson <ola@xxxxxxxx>
misc: fastrpc: Fix use-after-free race condition for maps

Abel Vesa <abel.vesa@xxxxxxxxxx>
misc: fastrpc: Don't remove map on creater_process and device_release

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100

Arnd Bergmann <arnd@xxxxxxxx>
staging: vchiq_arm: fix enum vchiq_status return types

Duke Xin(辛安文) <duke_xinanwen@xxxxxxx>
USB: serial: option: add Quectel EM05CN modem

Duke Xin(辛安文) <duke_xinanwen@xxxxxxx>
USB: serial: option: add Quectel EM05CN (SG) modem

Ali Mirghasemi <ali.mirghasemi1376@xxxxxxxxx>
USB: serial: option: add Quectel EC200U modem

Duke Xin(辛安文) <duke_xinanwen@xxxxxxx>
USB: serial: option: add Quectel EM05-G (RS) modem

Duke Xin(辛安文) <duke_xinanwen@xxxxxxx>
USB: serial: option: add Quectel EM05-G (CS) modem

Duke Xin(辛安文) <duke_xinanwen@xxxxxxx>
USB: serial: option: add Quectel EM05-G (GR) modem

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
prlimit: do_prlimit needs to have a speculation check

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
usb: acpi: add helper to check port lpm capability using acpi _DSM

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: Add a flag to disable USB3 lpm on a xhci root port level.

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: Add update_hub_device override for PCI xHCI hosts

Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
xhci: Fix null pointer dereference when host dies

Jimmy Hu <hhhuuu@xxxxxxxxxx>
usb: xhci: Check endpoint is valid before dereferencing it

Ricardo Ribalda <ribalda@xxxxxxxxxxxx>
xhci-pci: set the dma max_seg_size

Jens Axboe <axboe@xxxxxxxxx>
io_uring/rw: defer fsnotify calls to task context

Dylan Yudaken <dylany@xxxxxx>
io_uring: do not recalculate ppos unnecessarily

Dylan Yudaken <dylany@xxxxxx>
io_uring: update kiocb->ki_pos at execution time

Dylan Yudaken <dylany@xxxxxx>
io_uring: remove duplicated calls to io_kiocb_ppos

Jens Axboe <axboe@xxxxxxxxx>
io_uring: ensure that cached task references are always put on exit

Pavel Begunkov <asml.silence@xxxxxxxxx>
io_uring: fix CQ waiting timeout handling

Pavel Begunkov <asml.silence@xxxxxxxxx>
io_uring: lock overflowing for IOPOLL

Jens Axboe <axboe@xxxxxxxxx>
io_uring: check for valid register opcode earlier

Dylan Yudaken <dylany@xxxxxxxx>
io_uring: fix async accept on O_NONBLOCK sockets

Jens Axboe <axboe@xxxxxxxxx>
io_uring: allow re-poll if we made progress

Jens Axboe <axboe@xxxxxxxxx>
io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)

Jens Axboe <axboe@xxxxxxxxx>
io_uring: add flag for disabling provided buffer recycling

Jens Axboe <axboe@xxxxxxxxx>
io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly

Pavel Begunkov <asml.silence@xxxxxxxxx>
io_uring: improve send/recv error handling

Jens Axboe <axboe@xxxxxxxxx>
io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL

Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Bluetooth: hci_qca: Fix driver shutdown on closed serdev

Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx>
Bluetooth: hci_qca: Wait for timeout during suspend

Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
drm/i915/gt: Reset twice

Yuchi Yang <yangyuchi66@xxxxxxxxx>
ALSA: hda/realtek - Turn on power early

Ding Hui <dinghui@xxxxxxxxxxxxxx>
efi: fix userspace infinite retry read efivars after EFI runtime services page fault

Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
nilfs2: fix general protection fault in nilfs_btree_insert()

Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>
zonefs: Detect append writes at invalid locations

Shawn.Shao <shawn.shao@xxxxxxxxxxxxxxx>
Add exception protection processing for vd in axi_chan_handle_err function

Alexander Wetzel <alexander@xxxxxxxxxxxxxx>
wifi: mac80211: sdata can be NULL during AMPDU start

Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices

Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
f2fs: let's avoid panic if extent_tree is not created

Mikulas Patocka <mpatocka@xxxxxxxxxx>
x86/asm: Fix an assembler warning with current binutils

Qu Wenruo <wqu@xxxxxxxx>
btrfs: always report error in run_one_delayed_ref()

Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
RDMA/srp: Move large values to a new enum for gcc13

Daniil Tatianin <d-tatianin@xxxxxxxxxxxxxx>
net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats

Ricardo Cañuelo <ricardo.canuelo@xxxxxxxxxxxxx>
tools/virtio: initialize spinlocks in vring_test.c

Hao Sun <sunhao.th@xxxxxxxxx>
selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID

Olga Kornievskaia <olga.kornievskaia@xxxxxxxxx>
pNFS/filelayout: Fix coalescing test for single DS

Naohiro Aota <naohiro.aota@xxxxxxx>
btrfs: fix trace event name typo for FLUSH_DELAYED_REFS


-------------

Diffstat:

...2a-usb2-phy.yaml => amlogic,g12a-usb2-phy.yaml} | 8 +-
...ie-phy.yaml => amlogic,g12a-usb3-pcie-phy.yaml} | 6 +-
Makefile | 4 +-
arch/arm64/include/asm/efi.h | 3 +
arch/arm64/kernel/efi-rt-wrapper.S | 14 +-
arch/arm64/kernel/efi.c | 27 +++
arch/x86/kernel/fpu/init.c | 7 +-
arch/x86/lib/iomap_copy_64.S | 2 +-
drivers/bluetooth/hci_qca.c | 68 +++++-
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 6 +
drivers/dma/tegra210-adma.c | 2 +-
drivers/firmware/efi/runtime-wrappers.c | 1 +
drivers/firmware/google/gsmi.c | 7 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 3 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +-
.../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 +-
drivers/gpu/drm/i915/gt/intel_reset.c | 34 ++-
drivers/gpu/drm/i915/i915_pci.c | 3 +-
drivers/infiniband/ulp/srp/ib_srp.h | 8 +-
drivers/misc/fastrpc.c | 26 ++-
drivers/misc/mei/hw-me-regs.h | 2 +
drivers/misc/mei/pci-me.c | 2 +
drivers/mmc/host/sdhci-esdhc-imx.c | 22 +-
drivers/mmc/host/sunxi-mmc.c | 8 +-
drivers/net/ethernet/mellanox/mlx5/core/health.c | 1 +
.../wireless/broadcom/brcm80211/brcmfmac/pcie.c | 2 +-
drivers/soc/qcom/apr.c | 3 +-
drivers/staging/comedi/drivers/adv_pci1760.c | 2 +-
.../include/linux/raspberrypi/vchiq.h | 2 +-
.../vc04_services/interface/vchiq_arm/vchiq_arm.h | 4 +-
drivers/thunderbolt/tunnel.c | 2 +-
drivers/tty/serial/atmel_serial.c | 8 +-
drivers/tty/serial/pch_uart.c | 2 +-
drivers/tty/serial/qcom_geni_serial.c | 18 +-
drivers/usb/core/hub.c | 13 ++
drivers/usb/core/usb-acpi.c | 65 ++++++
drivers/usb/gadget/function/f_ncm.c | 4 +-
drivers/usb/gadget/legacy/inode.c | 28 ++-
drivers/usb/gadget/legacy/webcam.c | 3 +
drivers/usb/host/ehci-fsl.c | 2 +-
drivers/usb/host/xhci-pci.c | 45 ++++
drivers/usb/host/xhci-ring.c | 5 +-
drivers/usb/host/xhci.c | 18 +-
drivers/usb/host/xhci.h | 5 +
drivers/usb/misc/iowarrior.c | 2 +-
drivers/usb/serial/cp210x.c | 1 +
drivers/usb/serial/option.c | 17 ++
drivers/usb/storage/uas-detect.h | 13 ++
drivers/usb/storage/unusual_uas.h | 7 -
drivers/usb/typec/altmodes/displayport.c | 22 +-
fs/btrfs/extent-tree.c | 7 +-
fs/btrfs/qgroup.c | 25 ++-
fs/cifs/smb2pdu.c | 15 +-
fs/f2fs/extent_cache.c | 3 +-
fs/nfs/filelayout/filelayout.c | 8 +
fs/nilfs2/btree.c | 15 +-
fs/zonefs/super.c | 22 ++
include/linux/usb.h | 3 +
include/trace/events/btrfs.h | 2 +-
include/trace/trace_events.h | 2 +-
io_uring/io-wq.c | 2 +-
io_uring/io_uring.c | 250 ++++++++++++++++-----
kernel/sys.c | 2 +
mm/khugepaged.c | 14 +-
net/ethtool/ioctl.c | 3 +-
net/ipv4/tcp_ulp.c | 2 +-
net/mac80211/agg-tx.c | 6 +-
net/mac80211/driver-ops.c | 3 +
net/mac80211/iface.c | 1 -
sound/pci/hda/patch_realtek.c | 30 +--
.../selftests/bpf/prog_tests/jeq_infer_not_null.c | 9 +
.../selftests/bpf/progs/jeq_infer_not_null_fail.c | 42 ++++
tools/virtio/vringh_test.c | 2 +
73 files changed, 814 insertions(+), 223 deletions(-)