[PATCH 5.10 000/121] 5.10.102-rc1 review

Greg Kroah-Hartman
2022-02-21T09:10:12Z

This is the start of the stable review cycle for the 5.10.102 release.
There are 121 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, 23 Feb 2022 08:48:58 +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.102-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-5.10.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Linux 5.10.102-rc1

Cheng Jui Wang <cheng-jui.wang@mediatek.com>
lockdep: Correct lock_classes index mapping

Rafał Miłecki <rafal@milecki.pl>
i2c: brcmstb: fix support for DSL and CM variants

Waiman Long <longman@redhat.com>
copy_process(): Move fd_install() out of sighand->siglock critical section

Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()

Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
i2c: qcom-cci: don't delete an unregistered adapter

Jiasheng Jiang <jiasheng@iscas.ac.cn>
dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size

Miaoqian Lin <linmq006@gmail.com>
dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe

Jiasheng Jiang <jiasheng@iscas.ac.cn>
dmaengine: sh: rcar-dmac: Check for error num after setting mask

Eric Dumazet <edumazet@google.com>
net: sched: limit TC_ACT_REPEAT loops

Eliav Farber <farbere@amazon.com>
EDAC: Fix calculation of returned address and next offset in edac_align_ptr()

James Smart <jsmart2021@gmail.com>
scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop

Jing Leng <jleng@ambarella.com>
kconfig: fix failing to generate auto.conf

Marc St-Amand <mstamand@ciena.com>
net: macb: Align the dma and coherent dma masks

Slark Xiao <slark_xiao@163.com>
net: usb: qmi_wwan: Add support for Dell DW5829e

JaeSang Yoo <js.yoo.5b@gmail.com>
tracing: Fix tp_printk option related with tp_printk_stop_on_boot

Sascha Hauer <s.hauer@pengutronix.de>
drm/rockchip: dw_hdmi: Do not leave clock enabled in error case

Dan Aloni <dan.aloni@vastdata.com>
xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create

Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
soc: aspeed: lpc-ctrl: Block error printing on probe defer cases

Zoltán Böszörményi <zboszor@gmail.com>
ata: libata-core: Disable TRIM on M88V29

Brenda Streiff <brenda.streiff@ni.com>
kconfig: let 'shell' return enough output for deep path names

Axel Rasmussen <axelrasmussen@google.com>
selftests: fixup build warnings in pidfd / clone3 tests

Axel Rasmussen <axelrasmussen@google.com>
pidfd: fix test failure due to stack overflow on some arches

Christian Hewitt <christianshewitt@gmail.com>
arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610

Christian Hewitt <christianshewitt@gmail.com>
arm64: dts: meson-g12: add ATF BL32 reserved-memory region

Christian Hewitt <christianshewitt@gmail.com>
arm64: dts: meson-gx: add ATF BL32 reserved-memory region

Florian Westphal <fw@strlen.de>
netfilter: conntrack: don't refresh sctp entries in closed state

Guo Ren <guoren@linux.alibaba.com>
irqchip/sifive-plic: Add missing thead,c900-plic match string

Al Cooper <alcooperx@gmail.com>
phy: usb: Leave some clocks running during suspend

Ye Guojin <ye.guojin@zte.com.cn>
ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of

Wan Jiabing <wanjiabing@vivo.com>
ARM: OMAP2+: hwmod: Add of_node_put() before break

Trond Myklebust <trond.myklebust@hammerspace.com>
NFS: Don't set NFS_INO_INVALID_XATTR if there is no xattr cache

Jim Mattson <jmattson@google.com>
KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW

Jim Mattson <jmattson@google.com>
KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event

Like Xu <likexu@tencent.com>
KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()

Miaoqian Lin <linmq006@gmail.com>
Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj

david regan <dregan@mail.com>
mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status

Bryan O'Donoghue <bryan.odonoghue@linaro.org>
mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()

Linus Torvalds <torvalds@linux-foundation.org>
tty: n_tty: do not look ahead for EOL character past the end of the buffer

Trond Myklebust <trond.myklebust@hammerspace.com>
NFS: Do not report writeback errors in nfs_getattr()

Trond Myklebust <trond.myklebust@hammerspace.com>
NFS: LOOKUP_DIRECTORY is also ok with symlinks

Laibin Qiu <qiulaibin@huawei.com>
block/wbt: fix negative inflight counter when remove scsi device

Martin Povišer <povik+lin@cutebit.org>
ASoC: tas2770: Insert post reset delay

Jens Wiklander <jens.wiklander@linaro.org>
optee: use driver internal tee_context for some rpc

Jens Wiklander <jens.wiklander@linaro.org>
tee: export teedev_open() and teedev_close_context()

Sean Christopherson <seanjc@google.com>
KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests

Christian Eggers <ceggers@arri.de>
mtd: rawnand: gpmi: don't leak PM reference in error path

Anders Roxell <anders.roxell@linaro.org>
powerpc/lib/sstep: fix 'ptesync' build error

Mark Brown <broonie@kernel.org>
ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()

Mark Brown <broonie@kernel.org>
ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()

Takashi Iwai <tiwai@suse.de>
ALSA: hda: Fix missing codec probe on Shenker Dock 15

Takashi Iwai <tiwai@suse.de>
ALSA: hda: Fix regression on forced probe mask option

Takashi Iwai <tiwai@suse.de>
ALSA: hda/realtek: Fix deadlock by COEF mutex

Yu Huang <diwang90@gmail.com>
ALSA: hda/realtek: Add quirk for Legion Y9000X 2019

Muhammad Usama Anjum <usama.anjum@collabora.com>
selftests/exec: Add non-regular to TEST_GEN_PROGS

Arnaldo Carvalho de Melo <acme@redhat.com>
perf bpf: Defer freeing string after possible strlen() on it

Radu Bulie <radu-andrei.bulie@nxp.com>
dpaa2-eth: Initialize mutex used in one step timestamping path

Kees Cook <keescook@chromium.org>
libsubcmd: Fix use-after-free for realloc(..., 0)

Eric Dumazet <edumazet@google.com>
bonding: fix data-races around agg_select_timer

Eric Dumazet <edumazet@google.com>
net_sched: add __rcu annotation to netdev->qdisc

Eric Dumazet <edumazet@google.com>
drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit

Zhang Changzhong <zhangchangzhong@huawei.com>
bonding: force carrier update when releasing slave

Xin Long <lucien.xin@gmail.com>
ping: fix the dif and sdif check in ping_lookup

Miquel Raynal <miquel.raynal@bootlin.com>
net: ieee802154: ca8210: Fix lifs/sifs periods

Alexey Khoroshilov <khoroshilov@ispras.ru>
net: dsa: lantiq_gswip: fix use after free in gswip_remove()

Mans Rullgard <mans@mansr.com>
net: dsa: lan9303: fix reset on probe

Willem de Bruijn <willemb@google.com>
ipv6: per-netns exclusive flowlabel checks

Pablo Neira Ayuso <pablo@netfilter.org>
netfilter: nft_synproxy: unregister hooks on init error path

Hangbin Liu <liuhangbin@gmail.com>
selftests: netfilter: fix exit value for nft_concat_range

Johannes Berg <johannes.berg@intel.com>
iwlwifi: pcie: gen2: fix locking when "HW not ready"

Johannes Berg <johannes.berg@intel.com>
iwlwifi: pcie: fix locking when "HW not ready"

Siva Mullati <siva.mullati@intel.com>
drm/i915/gvt: Make DRM_I915_GVT depend on X86

Seth Forshee <sforshee@digitalocean.com>
vsock: remove vsock from connected table when connect is interrupted by a signal

Jani Nikula <jani.nikula@intel.com>
drm/i915/opregion: check port number bounds for SWSCI display power state

Nicholas Bishop <nicholasbishop@google.com>
drm/radeon: Fix backlight control on iMac 12,1

Johannes Berg <johannes.berg@intel.com>
iwlwifi: fix use-after-free

Sean Christopherson <seanjc@google.com>
kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled

Sami Tolvanen <samitolvanen@google.com>
kbuild: lto: merge module sections

Jason A. Donenfeld <Jason@zx2c4.com>
random: wake up /dev/random writers after zap

Kees Cook <keescook@chromium.org>
gcc-plugins/stackleak: Use noinstr in favor of notrace

Igor Pylypiv <ipylypiv@google.com>
Revert "module, async: async_synchronize_full() on module init iff async is used"

Jan Beulich <jbeulich@suse.com>
x86/Xen: streamline (and fix) PV CPU enumeration

Christian König <christian.koenig@amd.com>
drm/amdgpu: fix logic inversion in check

Sagi Grimberg <sagi@grimberg.me>
nvme-rdma: fix possible use-after-free in transport error_recovery work

Sagi Grimberg <sagi@grimberg.me>
nvme-tcp: fix possible use-after-free in transport error_recovery work

Sagi Grimberg <sagi@grimberg.me>
nvme: fix a possible use-after-free in controller reset during load

John Garry <john.garry@huawei.com>
scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task

John Garry <john.garry@huawei.com>
scsi: pm8001: Fix use-after-free for aborted TMF sas_task

Darrick J. Wong <djwong@kernel.org>
quota: make dquot_quota_sync return errors from ->sync_fs

Darrick J. Wong <djwong@kernel.org>
vfs: make freeze_super abort when sync_filesystem returns error

Duoming Zhou <duoming@zju.edu.cn>
ax25: improve the incomplete fix to avoid UAF and NPD bugs

Cristian Marussi <cristian.marussi@arm.com>
selftests: skip mincore.check_file_mmap when fs lacks needed support

Cristian Marussi <cristian.marussi@arm.com>
selftests: openat2: Skip testcases that fail with EOPNOTSUPP

Cristian Marussi <cristian.marussi@arm.com>
selftests: openat2: Add missing dependency in Makefile

Cristian Marussi <cristian.marussi@arm.com>
selftests: openat2: Print also errno in failure messages

Yang Xu <xuyang2018.jy@fujitsu.com>
selftests/zram: Adapt the situation that /dev/zram0 is being used

Yang Xu <xuyang2018.jy@fujitsu.com>
selftests/zram01.sh: Fix compression ratio calculation

Yang Xu <xuyang2018.jy@fujitsu.com>
selftests/zram: Skip max_comp_streams interface on newer kernel

Miquel Raynal <miquel.raynal@bootlin.com>
net: ieee802154: at86rf230: Stop leaking skb's

Li Zhijian <lizhijian@cn.fujitsu.com>
kselftest: signal all child processes

Nícolas F. R. A. Prado <nfraprado@collabora.com>
selftests: rtc: Increase test timeout so that all tests run

Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
platform/x86: ISST: Fix possible circular locking dependency detected

Yuka Kawajiri <yukx00@gmail.com>
platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1

Dāvis Mosāns <davispuh@gmail.com>
btrfs: send: in case of IO error log it

Andy Shevchenko <andriy.shevchenko@linux.intel.com>
parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()

Long Li <longli@microsoft.com>
PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology

Linus Torvalds <torvalds@linux-foundation.org>
mm: don't try to NUMA-migrate COW pages that have other uses

Christian Löhle <CLoehle@hyperstone.com>
mmc: block: fix read single on recovery logic

John David Anglin <dave.anglin@bell.net>
parisc: Fix sglist access in ccio-dma.c

John David Anglin <dave.anglin@bell.net>
parisc: Fix data TLB miss in sba_unmap_sg

John David Anglin <dave.anglin@bell.net>
parisc: Drop __init from map_pages declaration

Randy Dunlap <rdunlap@infradead.org>
serial: parisc: GSC: fix build when IOSAPIC is not set

Sean Christopherson <seanjc@google.com>
Revert "svm: Add warning message for AVIC IPI invalid target"

Sergio Costas <rastersoft@gmail.com>
HID:Add support for UGTABLET WP5540

James Smart <jsmart2021@gmail.com>
scsi: lpfc: Fix mailbox command failure during driver initialization

Oliver Hartkopp <socketcan@hartkopp.net>
can: isotp: add SF_BROADCAST support for functional addressing

Norbert Slusarek <nslusarek@gmx.net>
can: isotp: prevent race between isotp_bind() and isotp_setsockopt()

Yang Shi <shy828301@gmail.com>
fs/proc: task_mmu.c: don't read mapcount for migration entry

Linus Torvalds <torvalds@linux-foundation.org>
fget: clarify and improve __fget_files() implementation

Paul E. McKenney <paulmck@kernel.org>
rcu: Do not report strict GPs for outgoing CPUs

Roman Gushchin <guro@fb.com>
mm: memcg: synchronize objcg lists with a dedicated spinlock

Ben Skeggs <bskeggs@redhat.com>
drm/nouveau/pmu/gm200-: use alternate falcon reset sequence

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

Diffstat:

Makefile | 4 +-
arch/arm/mach-omap2/display.c | 2 +-
arch/arm/mach-omap2/omap_hwmod.c | 4 +-
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 6 +
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 8 --
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 +
arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 8 --
arch/parisc/lib/iomap.c | 18 +++
arch/parisc/mm/init.c | 9 +-
arch/powerpc/lib/sstep.c | 2 +
arch/x86/kvm/pmu.c | 15 +--
arch/x86/kvm/pmu.h | 3 +-
arch/x86/kvm/svm/avic.c | 2 -
arch/x86/kvm/svm/pmu.c | 8 +-
arch/x86/kvm/svm/svm.c | 7 +-
arch/x86/kvm/vmx/pmu_intel.c | 9 +-
arch/x86/xen/enlighten_pv.c | 4 -
arch/x86/xen/smp_pv.c | 26 +---
block/bfq-iosched.c | 2 +
block/elevator.c | 2 -
drivers/ata/libata-core.c | 1 +
drivers/char/random.c | 5 +-
drivers/dma/sh/rcar-dmac.c | 9 +-
drivers/dma/stm32-dmamux.c | 4 +-
drivers/edac/edac_mc.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-
drivers/gpu/drm/i915/Kconfig | 1 +
drivers/gpu/drm/i915/display/intel_opregion.c | 15 +++
drivers/gpu/drm/nouveau/nvkm/falcon/base.c | 8 +-
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm200.c | 31 ++++-
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h | 2 +
drivers/gpu/drm/radeon/atombios_encoders.c | 3 +-
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 14 +--
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-quirks.c | 1 +
drivers/hv/vmbus_drv.c | 5 +-
drivers/i2c/busses/i2c-brcmstb.c | 2 +-
drivers/i2c/busses/i2c-qcom-cci.c | 16 ++-
drivers/irqchip/irq-sifive-plic.c | 1 +
drivers/mmc/core/block.c | 28 ++---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 2 +-
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 3 +-
drivers/mtd/nand/raw/qcom_nandc.c | 14 +--
drivers/net/bonding/bond_3ad.c | 30 ++++-
drivers/net/bonding/bond_main.c | 5 +-
drivers/net/dsa/lan9303-core.c | 2 +-
drivers/net/dsa/lantiq_gswip.c | 2 +-
drivers/net/ethernet/cadence/macb_main.c | 2 +-
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 2 +-
drivers/net/ieee802154/at86rf230.c | 13 +-
drivers/net/ieee802154/ca8210.c | 4 +-
drivers/net/usb/qmi_wwan.c | 2 +
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 +
.../net/wireless/intel/iwlwifi/pcie/trans-gen2.c | 3 +-
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 3 +-
drivers/nvme/host/core.c | 9 +-
drivers/nvme/host/rdma.c | 1 +
drivers/nvme/host/tcp.c | 1 +
drivers/parisc/ccio-dma.c | 3 +-
drivers/parisc/sba_iommu.c | 3 +-
drivers/pci/controller/pci-hyperv.c | 13 +-
drivers/phy/broadcom/phy-brcm-usb.c | 38 ++++++
.../x86/intel_speed_select_if/isst_if_common.c | 97 +++++++++------
drivers/platform/x86/touchscreen_dmi.c | 24 ++++
drivers/scsi/lpfc/lpfc.h | 1 +
drivers/scsi/lpfc/lpfc_attr.c | 3 +
drivers/scsi/lpfc/lpfc_els.c | 20 ++-
drivers/scsi/lpfc/lpfc_nportdisc.c | 5 +-
drivers/scsi/lpfc/lpfc_sli.c | 15 ++-
drivers/scsi/pm8001/pm8001_sas.c | 5 +
drivers/scsi/pm8001/pm80xx_hwi.c | 4 +-
drivers/soc/aspeed/aspeed-lpc-ctrl.c | 7 +-
drivers/tee/optee/core.c | 8 ++
drivers/tee/optee/optee_private.h | 2 +
drivers/tee/optee/rpc.c | 8 +-
drivers/tee/tee_core.c | 6 +-
drivers/tty/n_tty.c | 6 +-
drivers/tty/serial/8250/8250_gsc.c | 2 +-
fs/btrfs/send.c | 4 +
fs/file.c | 72 ++++++++---
fs/nfs/dir.c | 4 +-
fs/nfs/inode.c | 23 +++-
fs/proc/task_mmu.c | 43 +++++--
fs/quota/dquot.c | 11 +-
fs/super.c | 19 +--
include/linux/memcontrol.h | 5 +-
include/linux/netdevice.h | 2 +-
include/linux/sched.h | 1 -
include/linux/tee_drv.h | 14 +++
include/net/bond_3ad.h | 2 +-
include/net/ipv6.h | 5 +-
include/net/netns/ipv6.h | 3 +-
include/uapi/linux/can/isotp.h | 2 +-
kernel/async.c | 3 -
kernel/fork.c | 7 +-
kernel/locking/lockdep.c | 4 +-
kernel/module.c | 25 +---
kernel/rcu/tree_plugin.h | 2 +-
kernel/stackleak.c | 5 +-
kernel/trace/trace.c | 4 +
mm/memcontrol.c | 10 +-
mm/mprotect.c | 2 +-
net/ax25/af_ax25.c | 9 +-
net/can/isotp.c | 71 ++++++++---
net/core/drop_monitor.c | 11 +-
net/core/rtnetlink.c | 6 +-
net/ipv4/ping.c | 11 +-
net/ipv6/ip6_flowlabel.c | 4 +-
net/netfilter/nf_conntrack_proto_sctp.c | 9 ++
net/netfilter/nft_synproxy.c | 4 +-
net/sched/act_api.c | 13 +-
net/sched/cls_api.c | 6 +-
net/sched/sch_api.c | 22 ++--
net/sched/sch_generic.c | 29 +++--
net/sunrpc/xprtrdma/verbs.c | 3 +
net/vmw_vsock/af_vsock.c | 1 +
scripts/kconfig/confdata.c | 13 +-
scripts/kconfig/preprocess.c | 2 +-
scripts/module.lds.S | 26 ++++
sound/pci/hda/hda_intel.c | 5 +-
sound/pci/hda/patch_realtek.c | 40 +++---
sound/soc/codecs/tas2770.c | 7 +-
sound/soc/soc-ops.c | 29 +++--
tools/lib/subcmd/subcmd-util.h | 11 +-
tools/perf/util/bpf-loader.c | 3 +-
tools/testing/selftests/clone3/clone3.c | 2 -
tools/testing/selftests/exec/Makefile | 4 +-
tools/testing/selftests/kselftest_harness.h | 4 +-
tools/testing/selftests/mincore/mincore_selftest.c | 20 ++-
.../selftests/netfilter/nft_concat_range.sh | 2 +-
tools/testing/selftests/openat2/Makefile | 2 +-
tools/testing/selftests/openat2/helpers.h | 12 +-
tools/testing/selftests/openat2/openat2_test.c | 12 +-
tools/testing/selftests/pidfd/pidfd.h | 13 +-
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 22 +++-
tools/testing/selftests/pidfd/pidfd_test.c | 6 +-
tools/testing/selftests/pidfd/pidfd_wait.c | 5 +-
tools/testing/selftests/rtc/settings | 2 +-
tools/testing/selftests/zram/zram.sh | 15 +--
tools/testing/selftests/zram/zram01.sh | 33 ++---
tools/testing/selftests/zram/zram02.sh | 1 -
tools/testing/selftests/zram/zram_lib.sh | 134 ++++++++++++++-------
145 files changed, 1052 insertions(+), 516 deletions(-)