This is the start of the stable review cycle for the 5.10.164 release.
There are 64 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, 18 Jan 2023 15:47:28 +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.164-r…
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(a)linuxfoundation.org>
Linux 5.10.164-rc1
Ferry Toth <ftoth(a)exalondelft.nl>
Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
Jens Axboe <axboe(a)kernel.dk>
io_uring/io-wq: only free worker if it was allocated for creation
Jens Axboe <axboe(a)kernel.dk>
io_uring/io-wq: free worker if task_work creation is canceled
Rob Clark <robdclark(a)chromium.org>
drm/virtio: Fix GEM handle creation UAF
Johan Hovold <johan+linaro(a)kernel.org>
efi: fix NULL-deref in init error path
Mark Rutland <mark.rutland(a)arm.com>
arm64: cmpxchg_double*: hazard against entire exchange variable
Mark Rutland <mark.rutland(a)arm.com>
arm64: atomics: remove LL/SC trampolines
Mark Rutland <mark.rutland(a)arm.com>
arm64: atomics: format whitespace consistently
Peter Newman <peternewman(a)google.com>
x86/resctrl: Fix task CLOSID/RMID update race
Reinette Chatre <reinette.chatre(a)intel.com>
x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI
Paolo Bonzini <pbonzini(a)redhat.com>
KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
Paolo Bonzini <pbonzini(a)redhat.com>
Documentation: KVM: add API issues section
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
Yong Wu <yong.wu(a)mediatek.com>
iommu/mediatek-v1: Add error handle for mtk_iommu_probe
Aaron Thompson <dev(a)aaront.org>
mm: Always release pages to the buddy allocator in memblock_free_late().
Gavin Li <gavinl(a)nvidia.com>
net/mlx5e: Don't support encap rules with gbp option
Rahul Rameshbabu <rrameshbabu(a)nvidia.com>
net/mlx5: Fix ptp max frequency adjustment range
Ido Schimmel <idosch(a)nvidia.com>
net/sched: act_mpls: Fix warning during failed attribute validation
Minsuk Kang <linuxlovemin(a)yonsei.ac.kr>
nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
Roger Pau Monne <roger.pau(a)citrix.com>
hvc/xen: lock console list traversal
Angela Czubak <aczubak(a)marvell.com>
octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
Subbaraya Sundeep <sbhatta(a)marvell.com>
octeontx2-af: Map NIX block from CGX connection
Subbaraya Sundeep <sbhatta(a)marvell.com>
octeontx2-af: Update get/set resource count functions
Tung Nguyen <tung.q.nguyen(a)dektech.com.au>
tipc: fix unexpected link reset due to discovery messages
Emanuele Ghidoli <emanuele.ghidoli(a)toradex.com>
ASoC: wm8904: fix wrong outputs volume after power reactivation
Ricardo Ribalda <ribalda(a)chromium.org>
regulator: da9211: Use irq handler when ready
Eliav Farber <farbere(a)amazon.com>
EDAC/device: Fix period calculation in edac_device_reset_delay_period()
Peter Zijlstra <peterz(a)infradead.org>
x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
Kajol Jain <kjain(a)linux.ibm.com>
powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
Gavrilov Ilia <Ilia.Gavrilov(a)infotecs.ru>
netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
Nicolas Dichtel <nicolas.dichtel(a)6wind.com>
xfrm: fix rcu lock in xfrm_notify_userpolicy()
Ye Bin <yebin10(a)huawei.com>
ext4: fix uninititialized value in 'ext4_evict_inode'
Ferry Toth <ftoth(a)exalondelft.nl>
usb: ulpi: defer ulpi_register on ulpi_read_id timeout
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: Prevent infinite loop in transaction errors recovery for streams
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: move and rename xhci_cleanup_halted_endpoint()
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: store TD status in the td struct instead of passing it along
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: move xhci_td_cleanup so it can be called by more functions
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: Add xhci_reset_halted_ep() helper function
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: adjust parameters passed to cleanup_halted_endpoint()
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: get isochronous ring directly from endpoint structure
Mathias Nyman <mathias.nyman(a)linux.intel.com>
xhci: Avoid parsing transfer events several times
Li Jun <jun.li(a)nxp.com>
clk: imx: imx8mp: add shared clk gate for usb suspend clk
Li Jun <jun.li(a)nxp.com>
dt-bindings: clocks: imx8mp: Add ID for usb suspend clock
Lucas Stach <l.stach(a)pengutronix.de>
clk: imx8mp: add clkout1/2 support
Marek Vasut <marex(a)denx.de>
clk: imx8mp: Add DISP2 pixel clock
Kim Phillips <kim.phillips(a)amd.com>
iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
Suravee Suthikulpanit <suravee.suthikulpanit(a)amd.com>
iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands
Qiang Yu <quic_qianyu(a)quicinc.com>
bus: mhi: host: Fix race between channel preparation and M0 event
Herbert Xu <herbert(a)gondor.apana.org.au>
ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
Yang Yingliang <yangyingliang(a)huawei.com>
ixgbe: fix pci device refcount leak
Hans de Goede <hdegoede(a)redhat.com>
platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
Kuogee Hsieh <quic_khsieh(a)quicinc.com>
drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
Konrad Dybcio <konrad.dybcio(a)linaro.org>
drm/msm/adreno: Make adreno quirks not overwrite each other
Volker Lendecke <vl(a)samba.org>
cifs: Fix uninitialized memory read for smb311 posix symlink create
Heiko Carstens <hca(a)linux.ibm.com>
s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
Heiko Carstens <hca(a)linux.ibm.com>
s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
Brian Norris <computersforpeace(a)gmail.com>
ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
Alexander Egorenkov <egorenar(a)linux.ibm.com>
s390/kexec: fix ipl report address for kdump
Adrian Hunter <adrian.hunter(a)intel.com>
perf auxtrace: Fix address filter duplicate symbol selection
Jonathan Corbet <corbet(a)lwn.net>
docs: Fix the docs build with Sphinx 6.0
Ard Biesheuvel <ardb(a)kernel.org>
efi: tpm: Avoid READ_ONCE() for accessing the event log
Marc Zyngier <maz(a)kernel.org>
KVM: arm64: Fix S1PTW handling on RO memslots
Luka Guzenko <l.guzenko(a)web.de>
ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
Pablo Neira Ayuso <pablo(a)netfilter.org>
netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 51 +++-
Documentation/sphinx/load_config.py | 6 +-
Documentation/virt/kvm/api.rst | 60 +++++
Makefile | 4 +-
arch/arm64/include/asm/atomic_ll_sc.h | 114 ++++----
arch/arm64/include/asm/atomic_lse.h | 16 +-
arch/arm64/include/asm/kvm_emulate.h | 22 +-
arch/powerpc/include/asm/imc-pmu.h | 2 +-
arch/powerpc/perf/imc-pmu.c | 136 +++++-----
arch/s390/include/asm/cpu_mf.h | 31 ++-
arch/s390/include/asm/percpu.h | 2 +-
arch/s390/kernel/machine_kexec_file.c | 5 +-
arch/s390/kernel/perf_cpum_sf.c | 101 ++++---
arch/x86/boot/bioscall.S | 4 +-
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 26 +-
arch/x86/kvm/cpuid.c | 32 +--
drivers/bus/mhi/core/pm.c | 3 +-
drivers/clk/imx/clk-imx8mp.c | 23 +-
drivers/edac/edac_device.c | 17 +-
drivers/edac/edac_module.h | 2 +-
drivers/firmware/efi/efi.c | 9 +-
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 10 +-
drivers/gpu/drm/msm/dp/dp_aux.c | 4 +
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 10 +-
drivers/iommu/amd/init.c | 89 ++++--
drivers/iommu/mtk_iommu_v1.c | 26 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c | 14 +-
drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 17 +-
drivers/net/ethernet/marvell/octeontx2/af/cgx.h | 6 +-
drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 134 ++++++++--
drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 4 +
.../net/ethernet/marvell/octeontx2/af/rvu_cgx.c | 15 ++
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c | 21 +-
.../ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c | 2 +
.../net/ethernet/mellanox/mlx5/core/lib/clock.c | 2 +-
drivers/nfc/pn533/usb.c | 44 ++-
drivers/platform/x86/sony-laptop.c | 21 +-
drivers/regulator/da9211-regulator.c | 11 +-
drivers/tty/hvc/hvc_xen.c | 46 ++--
drivers/usb/host/xhci-mem.c | 4 +
drivers/usb/host/xhci-ring.c | 297 +++++++++++----------
drivers/usb/host/xhci.h | 6 +-
fs/cifs/link.c | 1 +
fs/ext4/super.c | 1 +
include/dt-bindings/clock/imx8mp-clock.h | 10 +-
include/linux/tpm_eventlog.h | 4 +-
io_uring/io-wq.c | 6 +
mm/memblock.c | 8 +-
net/ipv6/raw.c | 4 +
net/netfilter/ipset/ip_set_bitmap_ip.c | 4 +-
net/netfilter/nft_payload.c | 2 +-
net/sched/act_mpls.c | 8 +-
net/tipc/node.c | 12 +-
net/xfrm/xfrm_user.c | 7 +-
sound/pci/hda/patch_realtek.c | 23 ++
sound/soc/codecs/wm8904.c | 7 +
sound/soc/qcom/lpass-cpu.c | 5 +-
tools/perf/util/auxtrace.c | 2 +-
58 files changed, 1015 insertions(+), 538 deletions(-)
Dear Linux folks,
Could you please apply commit 0c25422d34b4 (scsi: mpt3sas: Remove
scsi_dma_map() error messages) to the 5.15.y series?
commit 0c25422d34b4726b2707d5f38560943155a91b80
Author: Sreekanth Reddy <sreekanth.reddy(a)broadcom.com>
Date: Thu Mar 3 19:32:03 2022 +0530
scsi: mpt3sas: Remove scsi_dma_map() error messages
When scsi_dma_map() fails by returning a sges_left value less than
zero,
the amount of logging produced can be extremely high. In a recent
end-user
environment, 1200 messages per second were being sent to the log
buffer.
This eventually overwhelmed the system and it stalled.
These error messages are not needed. Remove them.
Link:
https://lore.kernel.org/r/20220303140203.12642-1-sreekanth.reddy@broadcom.c…
Suggested-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy(a)broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen(a)oracle.com>
We see this regression after upgrading from Linux 5.10 to 5.15 on our
file servers with Broadcom/LSI SAS3008 PCI-Express Fusion-MPT SAS-3
(mpt3sas) – though luckily our systems do not stall/crash.
The commit message does not say anything about, what commit caused these
error to be appearing – the log statements have been there since
v4.20-rc1, if I am not mistaken, so it must be something else –, and
also do not mention, why these log messages are not needed, but the new
error condition is actually expected.
In the Canonical/Ubuntu bug tracker I found the explanation below [2].
> 2. mpt3sas: Remove scsi_dma_map errors messages:
> When driver set the DMA mask to 32bit then we observe that the
> SWIOTLB bounce buffers are getting exhausted quickly. For most of the
> IOs driver observe that scsi_dma_map() API returned with failure
> status and hence driver was printing below error message. Since this
> error message is getting printed per IO and if user issues heavy IOs
> then we observe that kernel overwhelmed with this error message. Also
> we will observe the kernel panic when the serial console is enabled.
> So to limit this issue, we removed this error message though this
> patch.
> "scsi_dma_map failed: request for 1310720 bytes!"
The Launchpad issue was created in March 2022, and the fixed Linux
kernel package 5.15.0-53.59 for Ubuntu 22.04 released on November 15th,
2022.
Sreekanth, looking again, you are the patch author, one of the Broadcom
maintainers (LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI)) and created the
Launchpad bug report. I am surprised you didn’t get it backported upstream.
Kind regards,
Paul
[1]:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
[2]: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1965927
"[Ubuntu 22.04] mpt3sas: Request to include latest bug fix patches"