2023-12-18 14:11:30

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.10 00/62] 5.10.205-rc1 review

This is the start of the stable review cycle for the 5.10.205 release.
There are 62 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, 20 Dec 2023 13:50:31 +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.205-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 <[email protected]>
Linux 5.10.205-rc1

Naveen N Rao <[email protected]>
powerpc/ftrace: Fix stack teardown in ftrace_no_trace

Naveen N Rao <[email protected]>
powerpc/ftrace: Create a dummy stackframe to fix stack unwind

Mazin Al Haddad <[email protected]>
tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf()

Jiri Slaby <[email protected]>
tty: n_gsm, remove duplicates of parameters

Daniel Starke <[email protected]>
tty: n_gsm: fix tty registration before control channel open

Roy Luo <[email protected]>
USB: gadget: core: adjust uevent timing on gadget unbind

Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs

Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix writing to the buffer with max_data_size

Steven Rostedt (Google) <[email protected]>
ring-buffer: Have saved event hold the entire event

Steven Rostedt (Google) <[email protected]>
tracing: Update snapshot buffer on resize if it is allocated

Steven Rostedt (Google) <[email protected]>
ring-buffer: Fix memory leak of free page

Florent Revest <[email protected]>
team: Fix use-after-free when an option instance allocation fails

James Houghton <[email protected]>
arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify

Baokun Li <[email protected]>
ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS

Krzysztof Kozlowski <[email protected]>
soundwire: stream: fix NULL pointer dereference for multi_link

Mark Rutland <[email protected]>
perf: Fix perf_event_validate_size() lockdep splat

Denis Benato <[email protected]>
HID: hid-asus: add const to read-only outgoing usb buffer

Lech Perczak <[email protected]>
net: usb: qmi_wwan: claim interface 4 for ZTE MF290

Linus Torvalds <[email protected]>
asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation

Aoba K <[email protected]>
HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad

Denis Benato <[email protected]>
HID: hid-asus: reset the backlight brightness level on resume

Oliver Neukum <[email protected]>
HID: add ALWAYS_POLL quirk for Apple kb

Brett Raye <[email protected]>
HID: glorious: fix Glorious Model I HID report

Andy Shevchenko <[email protected]>
platform/x86: intel_telemetry: Fix kernel doc descriptions

Coly Li <[email protected]>
bcache: avoid NULL checking to c->root in run_cache_set()

Coly Li <[email protected]>
bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()

Colin Ian King <[email protected]>
bcache: remove redundant assignment to variable cur_idx

Coly Li <[email protected]>
bcache: avoid oversize memory allocation by small stripe_size

Ming Lei <[email protected]>
blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"

Oliver Neukum <[email protected]>
usb: aqc111: check packet for fixup for true limit

Jason-JH.Lin <[email protected]>
drm/mediatek: Add spinlock for setting vblank event in atomic_begin

Maxime Ripard <[email protected]>
drm: Use state helper instead of CRTC state pointer

Maxime Ripard <[email protected]>
drm/atomic: Pass the full state to CRTC atomic begin and flush

Jiaxun Yang <[email protected]>
PCI: loongson: Limit MRRS to 256

Bjorn Helgaas <[email protected]>
Revert "PCI: acpiphp: Reassign resources on bridge if necessary"

Hartmut Knaack <[email protected]>
ALSA: hda/realtek: Apply mute LED quirk for HP15-db

Kai Vehmanen <[email protected]>
ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants

Hangyu Hua <[email protected]>
fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()

Jens Axboe <[email protected]>
cred: switch to using atomic_long_t

Igor Russkikh <[email protected]>
net: atlantic: fix double free in ring reinit logic

Hyunwoo Kim <[email protected]>
appletalk: Fix Use-After-Free in atalk_ioctl

Andrew Halaney <[email protected]>
net: stmmac: Handle disabled MDIO busses from devicetree

Rasmus Villemoes <[email protected]>
net: stmmac: use dev_err_probe() for reporting mdio bus registration failure

Nikolay Kuratov <[email protected]>
vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()

Yusong Gao <[email protected]>
sign-file: Fix incorrect return values check

David Arinzon <[email protected]>
net: ena: Fix XDP redirection error

David Arinzon <[email protected]>
net: ena: Destroy correct number of xdp queues upon failure

Dong Chenchen <[email protected]>
net: Remove acked SYN flag from packet in the transmit queue correctly

Dinghao Liu <[email protected]>
qed: Fix a potential use-after-free in qed_cxt_tables_alloc

Hyunwoo Kim <[email protected]>
net/rose: Fix Use-After-Free in rose_ioctl

Hyunwoo Kim <[email protected]>
atm: Fix Use-After-Free in do_vcc_ioctl

Radu Bulie <[email protected]>
net: fec: correct queue selection

Vladimir Oltean <[email protected]>
net: vlan: introduce skb_vlan_eth_hdr()

Chengfeng Ye <[email protected]>
atm: solos-pci: Fix potential deadlock on &tx_queue_lock

Chengfeng Ye <[email protected]>
atm: solos-pci: Fix potential deadlock on &cli_queue_lock

Stefan Wahren <[email protected]>
qca_spi: Fix reset behavior

Stefan Wahren <[email protected]>
qca_debug: Fix ethtool -G iface tx behavior

Stefan Wahren <[email protected]>
qca_debug: Prevent crash on TX ring changes

Maciej Żenczykowski <[email protected]>
net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX

Mikhail Khvainitski <[email protected]>
HID: lenovo: Restrict detection of patched firmware only to USB cptkbd

David Howells <[email protected]>
afs: Fix refcount underflow from error handling race

Florian Westphal <[email protected]>
netfilter: nf_tables: fix 'exist' matching on bigendian arches


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

Diffstat:

Makefile | 4 +-
arch/arm64/include/asm/pgtable.h | 6 +
arch/powerpc/kernel/trace/ftrace_64_mprofile.S | 17 ++-
block/blk-throttle.c | 2 +
drivers/atm/solos-pci.c | 8 +-
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 8 +-
drivers/gpu/drm/arm/hdlcd_crtc.c | 2 +-
drivers/gpu/drm/armada/armada_crtc.c | 12 +-
drivers/gpu/drm/ast/ast_mode.c | 9 +-
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 4 +-
drivers/gpu/drm/drm_atomic_helper.c | 8 +-
drivers/gpu/drm/exynos/exynos_drm_crtc.c | 4 +-
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 2 +-
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 4 +-
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 4 +-
drivers/gpu/drm/imx/dcss/dcss-crtc.c | 4 +-
drivers/gpu/drm/imx/ipuv3-crtc.c | 4 +-
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 22 ++--
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 24 ++--
drivers/gpu/drm/meson/meson_crtc.c | 4 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 +-
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 4 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 4 +-
drivers/gpu/drm/mxsfb/mxsfb_kms.c | 2 +-
drivers/gpu/drm/omapdrm/omap_crtc.c | 4 +-
drivers/gpu/drm/qxl/qxl_display.c | 2 +-
drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 4 +-
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 ++-
drivers/gpu/drm/sti/sti_crtc.c | 2 +-
drivers/gpu/drm/stm/ltdc.c | 2 +-
drivers/gpu/drm/sun4i/sun4i_crtc.c | 6 +-
drivers/gpu/drm/tegra/dc.c | 12 +-
drivers/gpu/drm/tidss/tidss_crtc.c | 4 +-
drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +-
drivers/gpu/drm/vboxvideo/vbox_mode.c | 2 +-
drivers/gpu/drm/vc4/vc4_drv.h | 3 +-
drivers/gpu/drm/vc4/vc4_hvs.c | 4 +-
drivers/gpu/drm/virtio/virtgpu_display.c | 6 +-
drivers/gpu/drm/vkms/vkms_crtc.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 4 +-
drivers/gpu/drm/xlnx/zynqmp_disp.c | 4 +-
drivers/gpu/drm/zte/zx_vou.c | 2 +-
drivers/hid/hid-asus.c | 25 +++-
drivers/hid/hid-glorious.c | 16 ++-
drivers/hid/hid-ids.h | 11 +-
drivers/hid/hid-lenovo.c | 3 +-
drivers/hid/hid-multitouch.c | 5 +
drivers/hid/hid-quirks.c | 1 +
drivers/md/bcache/bcache.h | 1 +
drivers/md/bcache/btree.c | 7 ++
drivers/md/bcache/super.c | 4 +-
drivers/md/bcache/writeback.c | 2 +-
drivers/net/ethernet/amazon/ena/ena_eth_com.c | 3 -
drivers/net/ethernet/amazon/ena/ena_netdev.c | 13 +-
drivers/net/ethernet/aquantia/atlantic/aq_ring.c | 5 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 +-
drivers/net/ethernet/emulex/benet/be_main.c | 2 +-
drivers/net/ethernet/freescale/fec_main.c | 27 ++---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +-
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
.../net/ethernet/qlogic/netxen/netxen_nic_main.c | 2 +-
drivers/net/ethernet/qlogic/qed/qed_cxt.c | 1 +
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 4 +-
drivers/net/ethernet/qualcomm/qca_debug.c | 17 +--
drivers/net/ethernet/qualcomm/qca_spi.c | 20 +++-
drivers/net/ethernet/sfc/tx_tso.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 13 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 8 +-
drivers/net/team/team.c | 4 +-
drivers/net/usb/aqc111.c | 8 +-
drivers/net/usb/qmi_wwan.c | 1 +
drivers/pci/controller/pci-loongson.c | 46 +++++++-
drivers/pci/hotplug/acpiphp_glue.c | 9 +-
drivers/platform/x86/intel_telemetry_core.c | 4 +-
drivers/soundwire/stream.c | 7 +-
drivers/staging/gdm724x/gdm_lte.c | 4 +-
drivers/tty/n_gsm.c | 131 +++++++++++++--------
drivers/usb/gadget/udc/core.c | 4 +-
fs/afs/rxrpc.c | 2 +-
fs/ext4/mballoc.c | 4 +
fs/fuse/dax.c | 1 +
include/asm-generic/qspinlock.h | 2 +-
include/drm/drm_modeset_helper_vtables.h | 4 +-
include/linux/cred.h | 8 +-
include/linux/if_vlan.h | 12 +-
include/net/addrconf.h | 12 +-
include/net/if_inet6.h | 4 -
kernel/cred.c | 64 +++++-----
kernel/events/core.c | 10 ++
kernel/trace/ring_buffer.c | 18 ++-
kernel/trace/trace.c | 4 +-
net/appletalk/ddp.c | 9 +-
net/atm/ioctl.c | 7 +-
net/batman-adv/soft-interface.c | 2 +-
net/ipv4/tcp_output.c | 6 +
net/ipv6/addrconf.c | 6 +-
net/netfilter/nft_exthdr.c | 2 +-
net/netfilter/nft_fib.c | 8 +-
net/rose/af_rose.c | 4 +-
net/vmw_vsock/virtio_transport_common.c | 2 +-
scripts/sign-file.c | 12 +-
sound/pci/hda/patch_hdmi.c | 2 +
sound/pci/hda/patch_realtek.c | 1 +
105 files changed, 564 insertions(+), 312 deletions(-)




2023-12-18 15:25:12

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/62] 5.10.205-rc1 review

On Mon, 18 Dec 2023 at 19:37, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.10.205 release.
> There are 62 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, 20 Dec 2023 13:50:31 +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.205-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


commit that is causing build failure,
drm/atomic: Pass the full state to CRTC atomic begin and flush
[ Upstream commit f6ebe9f9c9233a6114eb922aba9a0c9ccc2d2e14 ]


Build log:
------------
drivers/gpu/drm/sun4i/sun4i_crtc.c: In function 'sun4i_crtc_atomic_begin':
drivers/gpu/drm/sun4i/sun4i_crtc.c:63:44: error: implicit declaration
of function 'drm_atomic_get_old_crtc_state'
[-Werror=implicit-function-declaration]
63 | struct drm_crtc_state *old_state =
drm_atomic_get_old_crtc_state(state,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/sun4i/sun4i_crtc.c:63:44: warning: initialization of
'struct drm_crtc_state *' from 'int' makes pointer from integer
without a cast [-Wint-conversion]
cc1: some warnings being treated as errors

Reported-by: Linux Kernel Functional Testing <[email protected]>

Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.204-60-g0b1eceef25bc/testrun/21731369/suite/build/test/gcc-12-lkftconfig-kunit/history/

lore links,
- https://lore.kernel.org/stable/CA+G9fYupBYRYc5eAdHt6TH+xfoCRE31=FpDMS+-QY3b6rKPOQQ@mail.gmail.com/

--
Linaro LKFT
https://lkft.linaro.org

2023-12-19 00:55:47

by Dominique Martinet

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/62] 5.10.205-rc1 review

Naresh Kamboju wrote on Mon, Dec 18, 2023 at 08:54:13PM +0530:
> commit that is causing build failure,
> drm/atomic: Pass the full state to CRTC atomic begin and flush
> [ Upstream commit f6ebe9f9c9233a6114eb922aba9a0c9ccc2d2e14 ]

I also had to fix up a few nxp-provided drivers because of this commits,
it seems a bit heavy-handed for stable trees when users can have a
couple of out of tree modules.

It's marked as a stable dep of fe4c5f662097 ("drm/mediatek: Add spinlock
for setting vblank event in atomic_begin") but that looks like it's only
because of the context and it should be easy to backport that commit
without the crtc atomic begin/flush rework -- what do you think?

--
Dominique

2023-12-19 07:29:39

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/62] 5.10.205-rc1 review

On Tue, Dec 19, 2023 at 09:54:45AM +0900, Dominique Martinet wrote:
> Naresh Kamboju wrote on Mon, Dec 18, 2023 at 08:54:13PM +0530:
> > commit that is causing build failure,
> > drm/atomic: Pass the full state to CRTC atomic begin and flush
> > [ Upstream commit f6ebe9f9c9233a6114eb922aba9a0c9ccc2d2e14 ]
>
> I also had to fix up a few nxp-provided drivers because of this commits,
> it seems a bit heavy-handed for stable trees when users can have a
> couple of out of tree modules.
>
> It's marked as a stable dep of fe4c5f662097 ("drm/mediatek: Add spinlock
> for setting vblank event in atomic_begin") but that looks like it's only
> because of the context and it should be easy to backport that commit
> without the crtc atomic begin/flush rework -- what do you think?

Good catch, I've dropped those two larger dependent patches now and
fixed up the spinlock patch by hand to work properly.

I'll push out a -rc2 now, thanks!

greg k-h

2023-12-21 15:50:20

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/62] 5.10.205-rc1 review

On 12/18/23 06:51, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.10.205 release.
> There are 62 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, 20 Dec 2023 13:50:31 +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.205-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
>

Still doesn't boot on my test system. I am getting closer to finding
the problem. The combination of ZSTD config options and compressed
amdgpu firmware seems to be the trigger. I did find null pointer
deferenece in amdgpu_gfx_rlc_setup_cp_table() related to compressed
mce2_fw when renoir_mec2.bin load fails.

This fix will be in mainline - I still have to find why I don't see
the null reference problem on mainline and all other stables. It could
be that it is taking a different path to get to this point on 5.10
when renoir_mec2.bin is compressed.

I will keep you updated.

thanks,
-- Shuah