This is the start of the stable review cycle for the 6.1.31 release. There are 119 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 Tue, 30 May 2023 19:08:13 +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.1.31-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.1.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 6.1.31-rc1 David Epping <david.epping@xxxxxxxxxxxxxxxxxxxxxxxxxx> net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> 3c589_cs: Fix an error handling path in tc589_probe() Wen Gu <guwen@xxxxxxxxxxxxxxxxx> net/smc: Reset connection when trying to use SMCRv2 fails. Sen Chu <sen.chu@xxxxxxxxxxxx> regulator: mt6359: add read check for PMIC MT6359 Sudeep Holla <sudeep.holla@xxxxxxx> firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx> arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay Shay Drory <shayd@xxxxxxxxxx> net/mlx5: Devcom, serialize devcom registration Shay Drory <shayd@xxxxxxxxxx> net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device Shay Drory <shayd@xxxxxxxxxx> net/mlx5: Collect command failures data only for known commands Roi Dayan <roid@xxxxxxxxxx> net/mlx5: Fix error message when failing to allocate device memory Yevgeny Kliteynik <kliteyn@xxxxxxxxxx> net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE Shay Drory <shayd@xxxxxxxxxx> net/mlx5: Handle pairing of E-switch via uplink un/load APIs Erez Shitrit <erezsh@xxxxxxxxxx> net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs Jakub Kicinski <kuba@xxxxxxxxxx> net/mlx5e: do as little as possible in napi poll when budget is 0 Vlad Buslov <vladbu@xxxxxxxxxx> net/mlx5e: Use correct encap attribute during invalidation Vlad Buslov <vladbu@xxxxxxxxxx> net/mlx5e: Fix deadlock in tc route query code Rahul Rameshbabu <rrameshbabu@xxxxxxxxxx> net/mlx5e: Fix SQ wake logic in ptp napi_poll context Dan Carpenter <dan.carpenter@xxxxxxxxxx> platform/mellanox: mlxbf-pmc: fix sscanf() error checking Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> forcedeth: Fix an error handling path in nv_probe() Xin Long <lucien.xin@xxxxxxxxx> sctp: fix an issue that plpmtu can never go to complete state Dave Jiang <dave.jiang@xxxxxxxxx> cxl: Wait Memory_Info_Valid before access memory related info Amadeusz Sławiński <amadeuszx.slawinski@xxxxxxxxxxxxxxx> ASoC: Intel: avs: Access path components under lock Cezary Rojewski <cezary.rojewski@xxxxxxxxx> ASoC: Intel: avs: Fix declaration of enum avs_channel_config Cezary Rojewski <cezary.rojewski@xxxxxxxxx> ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg Vernon Lovejoy <vlovejoy@xxxxxxxxxx> x86/show_trace_log_lvl: Ensure stack pointer is aligned, again Dan Carpenter <dan.carpenter@xxxxxxxxxx> xen/pvcalls-back: fix double frees with pvcalls_new_active_socket() Maximilian Heyne <mheyne@xxxxxxxxx> x86/pci/xen: populate MSI sysfs entries Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx> ARM: dts: imx6qdl-mba6: Add missing pvcie-supply regulator Dan Carpenter <dan.carpenter@xxxxxxxxxx> coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet() Steve Wahl <steve.wahl@xxxxxxx> platform/x86: ISST: Remove 8 socket limit Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx> regulator: pca9450: Fix BUCK2 enable_mask Hao Ge <gehao@xxxxxxxxxx> fs: fix undefined behavior in bit shift for SB_NOUSER Sudeep Holla <sudeep.holla@xxxxxxx> firmware: arm_ffa: Fix FFA device names for logical partitions Sudeep Holla <sudeep.holla@xxxxxxx> firmware: arm_ffa: Check if ffa_driver remove is present before executing Etienne Carriere <etienne.carriere@xxxxxxxxxx> optee: fix uninited async notif value Daisuke Nojiri <dnojiri@xxxxxxxxxxxx> power: supply: sbs-charger: Fix INHIBITED bit for Status reg Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq24190: Call power_supply_changed() after updating input current Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq25890: Call power_supply_changed() after updating input current or voltage Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq27xxx: Move bq27xxx_battery_update() down Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status() Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq27xxx: Fix poll_interval handling and races on remove Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq27xxx: Fix I2C IRQ race on remove Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition Kang Chen <void0red@xxxxxxxxx> power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: leds: Fix blink to LED on transition Steve French <stfrench@xxxxxxxxxxxxx> cifs: mapchars mount option ignored Gavrilov Ilia <Ilia.Gavrilov@xxxxxxxxxxx> ipv6: Fix out-of-bounds access in ipv6_find_tlv() Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx> lan966x: Fix unloading/loading of the driver Anton Protopopov <aspsk@xxxxxxxxxxxxx> bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps Will Deacon <will@xxxxxxxxxx> bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields Sunil Goutham <sgoutham@xxxxxxxxxxx> octeontx2-pf: Fix TSOv6 offload Po-Hsu Lin <po-hsu.lin@xxxxxxxxxxxxx> selftests: fib_tests: mute cleanup error message Matthew Auld <matthew.auld@xxxxxxxxx> drm: fix drmm_mutex_init() Pratyush Yadav <ptyadav@xxxxxxxxx> net: fix skb leak in __skb_tstamp_tx() Ravulapati Vishnu Vardhan Rao <quic_visr@xxxxxxxxxxx> ASoC: lpass: Fix for KASAN use_after_free out of bounds Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> media: radio-shark: Add endpoint checks Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> USB: sisusbvga: Add endpoint checks Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> USB: core: Add routines for endpoint checks in old drivers Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated(). Taehee Yoo <ap420073@xxxxxxxxx> net: fix stack overflow when LRO is disabled for virtual interfaces Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> fbdev: udlfb: Fix endpoint check Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> debugobjects: Don't wake up kswapd from fill_pool() Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> irqchip/mips-gic: Use raw spinlock for gic_lock Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable Zhang Rui <rui.zhang@xxxxxxxxx> x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms Kan Liang <kan.liang@xxxxxxxxxxxxxxx> perf/x86/uncore: Correct the number of CHAs on SPR Jack Xiao <Jack.Xiao@xxxxxxx> drm/amd/amdgpu: limit one queue per gang Hardik Garg <hargar@xxxxxxxxxxxxxxxxxxx> selftests/memfd: Fix unknown type name build failure Carlos Llamas <cmllamas@xxxxxxxxxx> binder: fix UAF of alloc->vma in race with munmap() Carlos Llamas <cmllamas@xxxxxxxxxx> binder: fix UAF caused by faulty buffer cleanup Carlos Llamas <cmllamas@xxxxxxxxxx> binder: add lockless binder_alloc_(set|get)_vma() Carlos Llamas <cmllamas@xxxxxxxxxx> Revert "android: binder: stop saving a pointer to the VMA" Carlos Llamas <cmllamas@xxxxxxxxxx> Revert "binder_alloc: add missing mmap_lock calls when using the VMA" Jonatas Esteves <jntesteves@xxxxxxxxx> drm/amd/pm: Fix output of pp_od_clk_voltage Evan Quan <evan.quan@xxxxxxx> drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7 Alex Deucher <alexander.deucher@xxxxxxx> drm/radeon: reintroduce radeon_dp_work_func content Jocelyn Falempe <jfalempe@xxxxxxxxxx> drm/mgag200: Fix gamma lut not initialized. Frank Li <Frank.Li@xxxxxxx> dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type Josef Bacik <josef@xxxxxxxxxxxxxx> btrfs: use nofs when cleaning up aborted transactions Zev Weiss <zev@xxxxxxxxxxxxxxxxx> gpio: mockup: Fix mode of debugfs files Helge Deller <deller@xxxxxx> parisc: Handle kprobes breakpoints only in kernel context Helge Deller <deller@xxxxxx> parisc: Enable LOCKDEP support Helge Deller <deller@xxxxxx> parisc: Allow to reboot machine after system halt Helge Deller <deller@xxxxxx> parisc: Fix flush_dcache_page() for usage from irq context Helge Deller <deller@xxxxxx> parisc: Handle kgdb breakpoints only in kernel context Helge Deller <deller@xxxxxx> parisc: Use num_present_cpus() in alternative patching code Max Filippov <jcmvbkbc@xxxxxxxxx> xtensa: add __bswap{si,di}2 helpers Max Filippov <jcmvbkbc@xxxxxxxxx> xtensa: fix signal delivery to FDPIC process Finn Thain <fthain@xxxxxxxxxxxxxx> m68k: Move signal frame following exception on 68020/030 Tudor Ambarus <tudor.ambarus@xxxxxxxxxx> net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize Matthias Kaehlcke <mka@xxxxxxxxxxxx> ASoC: rt5682: Disable jack detection interrupt during suspend Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: bq25890: Fix external_power_changed race Hans de Goede <hdegoede@xxxxxxxxxx> power: supply: axp288_fuel_gauge: Fix external_power_changed race Christian Loehle <CLoehle@xxxxxxxxxxxxxx> mmc: block: ensure error propagation for non-blk Haibo Chen <haibo.chen@xxxxxxx> mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> SUNRPC: Don't change task->tk_status after the call to rpc_exit_task Bin Li <bin.li@xxxxxxxxxxxxx> ALSA: hda/realtek: Enable headset onLenovo M70/M90 Takashi Iwai <tiwai@xxxxxxx> ALSA: hda: Fix unhandled register update during auto-suspend period Adam Stylinski <kungfujesus06@xxxxxxxxx> ALSA: hda/ca0132: add quirk for EVGA X299 DARK David Arcari <darcari@xxxxxxxxxx> platform/x86/intel/ifs: Annotate work queue on stack so object debug does not complain Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> x86/mm: Avoid incomplete Global INVLPG flushes Peter Collingbourne <pcc@xxxxxxxxxx> arm64: Also reset KASAN tag if page is not PG_mte_tagged Roberto Sassu <roberto.sassu@xxxxxxxxxx> ocfs2: Switch to security_inode_init_security() Robin Chen <robin.chen@xxxxxxx> drm/amd/display: hpd rx irq not working with eDP interface Steffen Bätz <steffen@xxxxxxxxxxxx> net: dsa: mv88e6xxx: Add RGMII delay to 88E6320 Hans de Goede <hdegoede@xxxxxxxxxx> platform/x86: hp-wmi: Fix cast to smaller integer type warning Kees Cook <keescook@xxxxxxxxxxxx> skbuff: Proactively round up to kmalloc bucket size Jack Xiao <Jack.Xiao@xxxxxxx> drm/amdgpu/mes11: enable reg active poll Jack Xiao <Jack.Xiao@xxxxxxx> drm/amd/amdgpu: update mes11 api def Gregory Oakes <gregory.oakes@xxxxxxx> watchdog: sp5100_tco: Immediately trigger upon starting. Jarkko Sakkinen <jarkko@xxxxxxxxxx> tpm: Prevent hwrng from activating during resume Jarkko Sakkinen <jarkko@xxxxxxxxxx> tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx> tpm, tpm_tis: startup chip before testing for interrupts Jarkko Sakkinen <jarkko@xxxxxxxxxx> tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx> tpm, tpm_tis: Only handle supported interrupts Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx> tpm, tpm_tis: Avoid cache incoherency in test for interrupts Linyu Yuan <quic_linyyuan@xxxxxxxxxxx> usb: dwc3: fix gadget mode suspend interrupt handler issue ------------- Diffstat: .../devicetree/bindings/usb/cdns,usb3.yaml | 2 +- Makefile | 4 +- arch/arm/boot/dts/imx6qdl-mba6.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 8 +- arch/arm64/mm/copypage.c | 5 +- arch/m68k/kernel/signal.c | 14 +- arch/parisc/Kconfig | 4 + arch/parisc/include/asm/cacheflush.h | 4 + arch/parisc/kernel/alternative.c | 2 +- arch/parisc/kernel/cache.c | 5 +- arch/parisc/kernel/process.c | 11 +- arch/parisc/kernel/traps.c | 8 +- arch/x86/events/intel/uncore_snbep.c | 11 ++ arch/x86/kernel/cpu/topology.c | 5 +- arch/x86/kernel/dumpstack.c | 7 +- arch/x86/mm/init.c | 25 +++ arch/x86/pci/xen.c | 8 +- arch/xtensa/kernel/signal.c | 35 +++- arch/xtensa/kernel/xtensa_ksyms.c | 4 + arch/xtensa/lib/Makefile | 2 +- arch/xtensa/lib/bswapdi2.S | 21 +++ arch/xtensa/lib/bswapsi2.S | 16 ++ drivers/android/binder.c | 28 ++- drivers/android/binder_alloc.c | 64 ++++--- drivers/android/binder_alloc.h | 4 +- drivers/android/binder_alloc_selftest.c | 2 +- drivers/char/tpm/tpm-chip.c | 52 ++++-- drivers/char/tpm/tpm-interface.c | 10 ++ drivers/char/tpm/tpm.h | 1 + drivers/char/tpm/tpm_tis.c | 2 +- drivers/char/tpm/tpm_tis_core.c | 187 ++++++++++++--------- drivers/char/tpm/tpm_tis_core.h | 3 +- drivers/cxl/core/pci.c | 85 +++++++++- drivers/cxl/cxlpci.h | 2 + drivers/firmware/arm_ffa/bus.c | 19 ++- drivers/firmware/arm_ffa/driver.c | 6 + drivers/gpio/gpio-mockup.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 9 +- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 1 + drivers/gpu/drm/amd/display/dc/core/dc_link.c | 9 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 6 + drivers/gpu/drm/amd/include/mes_v11_api_def.h | 6 +- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 12 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 1 + drivers/gpu/drm/drm_managed.c | 22 +-- drivers/gpu/drm/mgag200/mgag200_mode.c | 5 + drivers/gpu/drm/radeon/radeon_irq_kms.c | 10 ++ drivers/hwtracing/coresight/coresight-tmc-etr.c | 2 +- drivers/irqchip/irq-mips-gic.c | 32 ++-- drivers/media/radio/radio-shark.c | 10 ++ drivers/media/radio/radio-shark2.c | 10 ++ drivers/mmc/core/block.c | 5 + drivers/mmc/host/sdhci-esdhc-imx.c | 18 +- drivers/net/bonding/bond_main.c | 8 +- drivers/net/dsa/mv88e6xxx/chip.c | 2 + drivers/net/dsa/mv88e6xxx/port.c | 9 + drivers/net/dsa/mv88e6xxx/port.h | 2 + drivers/net/ethernet/3com/3c589_cs.c | 11 +- .../net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 4 +- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 3 +- drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c | 2 + .../ethernet/mellanox/mlx5/core/en/tc_tun_encap.c | 4 +- drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h | 2 + drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 23 +-- drivers/net/ethernet/mellanox/mlx5/core/en_tx.c | 19 ++- drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c | 16 +- drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 4 + .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 7 +- .../net/ethernet/mellanox/mlx5/core/lib/devcom.c | 70 ++++++-- .../net/ethernet/mellanox/mlx5/core/lib/devcom.h | 1 + drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +- .../ethernet/mellanox/mlx5/core/steering/dr_cmd.c | 4 +- .../ethernet/mellanox/mlx5/core/steering/dr_ste.c | 3 +- .../net/ethernet/microchip/lan966x/lan966x_main.c | 10 ++ drivers/net/ethernet/nvidia/forcedeth.c | 1 + drivers/net/phy/mscc/mscc_main.c | 1 + drivers/net/team/team.c | 7 +- drivers/net/usb/cdc_ncm.c | 24 ++- drivers/platform/mellanox/mlxbf-pmc.c | 5 +- drivers/platform/x86/hp/hp-wmi.c | 2 +- drivers/platform/x86/intel/ifs/load.c | 2 +- .../x86/intel/speed_select_if/isst_if_common.c | 12 +- drivers/power/supply/axp288_fuel_gauge.c | 2 +- drivers/power/supply/bq24190_charger.c | 1 + drivers/power/supply/bq25890_charger.c | 5 +- drivers/power/supply/bq27xxx_battery.c | 175 ++++++++++--------- drivers/power/supply/bq27xxx_battery_i2c.c | 3 +- drivers/power/supply/mt6360_charger.c | 4 +- drivers/power/supply/power_supply_leds.c | 5 +- drivers/power/supply/sbs-charger.c | 2 +- drivers/regulator/mt6359-regulator.c | 7 +- drivers/regulator/pca9450-regulator.c | 4 +- drivers/tee/optee/smc_abi.c | 4 +- drivers/usb/core/usb.c | 76 +++++++++ drivers/usb/dwc3/core.h | 2 + drivers/usb/dwc3/gadget.c | 10 +- drivers/usb/misc/sisusbvga/sisusb.c | 14 ++ drivers/video/fbdev/udlfb.c | 13 +- drivers/watchdog/sp5100_tco.c | 4 + drivers/xen/pvcalls-back.c | 9 +- fs/btrfs/disk-io.c | 9 + fs/cifs/fs_context.c | 8 + fs/ocfs2/namei.c | 2 + fs/ocfs2/xattr.c | 30 +++- include/drm/drm_managed.h | 18 +- include/linux/arm_ffa.h | 1 + include/linux/fs.h | 42 ++--- include/linux/if_team.h | 1 + include/linux/mlx5/mlx5_ifc.h | 4 +- include/linux/msi.h | 9 +- include/linux/power/bq27xxx_battery.h | 4 + include/linux/tpm.h | 14 +- include/linux/usb.h | 5 + include/net/bonding.h | 1 + include/uapi/sound/skl-tplg-interface.h | 3 +- kernel/bpf/hashtab.c | 6 +- kernel/bpf/verifier.c | 2 +- kernel/irq/msi.c | 4 +- lib/debugobjects.c | 2 +- net/core/skbuff.c | 56 +++--- net/ipv4/udplite.c | 2 + net/ipv6/exthdrs_core.c | 2 + net/ipv6/udplite.c | 2 + net/sctp/transport.c | 11 +- net/smc/af_smc.c | 9 +- net/smc/smc_core.c | 1 + net/sunrpc/sched.c | 5 +- sound/hda/hdac_device.c | 2 +- sound/pci/hda/patch_ca0132.c | 1 + sound/pci/hda/patch_realtek.c | 2 + sound/soc/codecs/lpass-tx-macro.c | 5 + sound/soc/codecs/rt5682-i2c.c | 4 +- sound/soc/codecs/rt5682.c | 6 + sound/soc/codecs/rt5682.h | 1 + sound/soc/intel/avs/apl.c | 6 +- sound/soc/intel/avs/messages.h | 2 +- tools/testing/selftests/memfd/fuse_test.c | 1 + tools/testing/selftests/net/fib_tests.sh | 2 +- 138 files changed, 1201 insertions(+), 511 deletions(-)