2023-05-28 20:53:45

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 6.1 000/119] 6.1.31-rc1 review

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 <[email protected]>
Linux 6.1.31-rc1

David Epping <[email protected]>
net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE

Christophe JAILLET <[email protected]>
3c589_cs: Fix an error handling path in tc589_probe()

Wen Gu <[email protected]>
net/smc: Reset connection when trying to use SMCRv2 fails.

Sen Chu <[email protected]>
regulator: mt6359: add read check for PMIC MT6359

Sudeep Holla <[email protected]>
firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors

Hugo Villeneuve <[email protected]>
arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay

Shay Drory <[email protected]>
net/mlx5: Devcom, serialize devcom registration

Shay Drory <[email protected]>
net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device

Shay Drory <[email protected]>
net/mlx5: Collect command failures data only for known commands

Roi Dayan <[email protected]>
net/mlx5: Fix error message when failing to allocate device memory

Yevgeny Kliteynik <[email protected]>
net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE

Shay Drory <[email protected]>
net/mlx5: Handle pairing of E-switch via uplink un/load APIs

Erez Shitrit <[email protected]>
net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs

Jakub Kicinski <[email protected]>
net/mlx5e: do as little as possible in napi poll when budget is 0

Vlad Buslov <[email protected]>
net/mlx5e: Use correct encap attribute during invalidation

Vlad Buslov <[email protected]>
net/mlx5e: Fix deadlock in tc route query code

Rahul Rameshbabu <[email protected]>
net/mlx5e: Fix SQ wake logic in ptp napi_poll context

Dan Carpenter <[email protected]>
platform/mellanox: mlxbf-pmc: fix sscanf() error checking

Christophe JAILLET <[email protected]>
forcedeth: Fix an error handling path in nv_probe()

Xin Long <[email protected]>
sctp: fix an issue that plpmtu can never go to complete state

Dave Jiang <[email protected]>
cxl: Wait Memory_Info_Valid before access memory related info

Amadeusz Sławiński <[email protected]>
ASoC: Intel: avs: Access path components under lock

Cezary Rojewski <[email protected]>
ASoC: Intel: avs: Fix declaration of enum avs_channel_config

Cezary Rojewski <[email protected]>
ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg

Vernon Lovejoy <[email protected]>
x86/show_trace_log_lvl: Ensure stack pointer is aligned, again

Dan Carpenter <[email protected]>
xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()

Maximilian Heyne <[email protected]>
x86/pci/xen: populate MSI sysfs entries

Alexander Stein <[email protected]>
ARM: dts: imx6qdl-mba6: Add missing pvcie-supply regulator

Dan Carpenter <[email protected]>
coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()

Steve Wahl <[email protected]>
platform/x86: ISST: Remove 8 socket limit

Alexander Stein <[email protected]>
regulator: pca9450: Fix BUCK2 enable_mask

Hao Ge <[email protected]>
fs: fix undefined behavior in bit shift for SB_NOUSER

Sudeep Holla <[email protected]>
firmware: arm_ffa: Fix FFA device names for logical partitions

Sudeep Holla <[email protected]>
firmware: arm_ffa: Check if ffa_driver remove is present before executing

Etienne Carriere <[email protected]>
optee: fix uninited async notif value

Daisuke Nojiri <[email protected]>
power: supply: sbs-charger: Fix INHIBITED bit for Status reg

Hans de Goede <[email protected]>
power: supply: bq24190: Call power_supply_changed() after updating input current

Hans de Goede <[email protected]>
power: supply: bq25890: Call power_supply_changed() after updating input current or voltage

Hans de Goede <[email protected]>
power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize

Hans de Goede <[email protected]>
power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes

Hans de Goede <[email protected]>
power: supply: bq27xxx: Move bq27xxx_battery_update() down

Hans de Goede <[email protected]>
power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()

Hans de Goede <[email protected]>
power: supply: bq27xxx: Fix poll_interval handling and races on remove

Hans de Goede <[email protected]>
power: supply: bq27xxx: Fix I2C IRQ race on remove

Hans de Goede <[email protected]>
power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition

Kang Chen <[email protected]>
power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe

Hans de Goede <[email protected]>
power: supply: leds: Fix blink to LED on transition

Steve French <[email protected]>
cifs: mapchars mount option ignored

Gavrilov Ilia <[email protected]>
ipv6: Fix out-of-bounds access in ipv6_find_tlv()

Horatiu Vultur <[email protected]>
lan966x: Fix unloading/loading of the driver

Anton Protopopov <[email protected]>
bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps

Will Deacon <[email protected]>
bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields

Sunil Goutham <[email protected]>
octeontx2-pf: Fix TSOv6 offload

Po-Hsu Lin <[email protected]>
selftests: fib_tests: mute cleanup error message

Matthew Auld <[email protected]>
drm: fix drmm_mutex_init()

Pratyush Yadav <[email protected]>
net: fix skb leak in __skb_tstamp_tx()

Ravulapati Vishnu Vardhan Rao <[email protected]>
ASoC: lpass: Fix for KASAN use_after_free out of bounds

Alan Stern <[email protected]>
media: radio-shark: Add endpoint checks

Alan Stern <[email protected]>
USB: sisusbvga: Add endpoint checks

Alan Stern <[email protected]>
USB: core: Add routines for endpoint checks in old drivers

Kuniyuki Iwashima <[email protected]>
udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().

Taehee Yoo <[email protected]>
net: fix stack overflow when LRO is disabled for virtual interfaces

Alan Stern <[email protected]>
fbdev: udlfb: Fix endpoint check

Tetsuo Handa <[email protected]>
debugobjects: Don't wake up kswapd from fill_pool()

Jiaxun Yang <[email protected]>
irqchip/mips-gic: Use raw spinlock for gic_lock

Jiaxun Yang <[email protected]>
irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable

Zhang Rui <[email protected]>
x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms

Kan Liang <[email protected]>
perf/x86/uncore: Correct the number of CHAs on SPR

Jack Xiao <[email protected]>
drm/amd/amdgpu: limit one queue per gang

Hardik Garg <[email protected]>
selftests/memfd: Fix unknown type name build failure

Carlos Llamas <[email protected]>
binder: fix UAF of alloc->vma in race with munmap()

Carlos Llamas <[email protected]>
binder: fix UAF caused by faulty buffer cleanup

Carlos Llamas <[email protected]>
binder: add lockless binder_alloc_(set|get)_vma()

Carlos Llamas <[email protected]>
Revert "android: binder: stop saving a pointer to the VMA"

Carlos Llamas <[email protected]>
Revert "binder_alloc: add missing mmap_lock calls when using the VMA"

Jonatas Esteves <[email protected]>
drm/amd/pm: Fix output of pp_od_clk_voltage

Evan Quan <[email protected]>
drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7

Alex Deucher <[email protected]>
drm/radeon: reintroduce radeon_dp_work_func content

Jocelyn Falempe <[email protected]>
drm/mgag200: Fix gamma lut not initialized.

Frank Li <[email protected]>
dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type

Josef Bacik <[email protected]>
btrfs: use nofs when cleaning up aborted transactions

Zev Weiss <[email protected]>
gpio: mockup: Fix mode of debugfs files

Helge Deller <[email protected]>
parisc: Handle kprobes breakpoints only in kernel context

Helge Deller <[email protected]>
parisc: Enable LOCKDEP support

Helge Deller <[email protected]>
parisc: Allow to reboot machine after system halt

Helge Deller <[email protected]>
parisc: Fix flush_dcache_page() for usage from irq context

Helge Deller <[email protected]>
parisc: Handle kgdb breakpoints only in kernel context

Helge Deller <[email protected]>
parisc: Use num_present_cpus() in alternative patching code

Max Filippov <[email protected]>
xtensa: add __bswap{si,di}2 helpers

Max Filippov <[email protected]>
xtensa: fix signal delivery to FDPIC process

Finn Thain <[email protected]>
m68k: Move signal frame following exception on 68020/030

Tudor Ambarus <[email protected]>
net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize

Matthias Kaehlcke <[email protected]>
ASoC: rt5682: Disable jack detection interrupt during suspend

Hans de Goede <[email protected]>
power: supply: bq25890: Fix external_power_changed race

Hans de Goede <[email protected]>
power: supply: axp288_fuel_gauge: Fix external_power_changed race

Christian Loehle <[email protected]>
mmc: block: ensure error propagation for non-blk

Haibo Chen <[email protected]>
mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works

Trond Myklebust <[email protected]>
SUNRPC: Don't change task->tk_status after the call to rpc_exit_task

Bin Li <[email protected]>
ALSA: hda/realtek: Enable headset onLenovo M70/M90

Takashi Iwai <[email protected]>
ALSA: hda: Fix unhandled register update during auto-suspend period

Adam Stylinski <[email protected]>
ALSA: hda/ca0132: add quirk for EVGA X299 DARK

David Arcari <[email protected]>
platform/x86/intel/ifs: Annotate work queue on stack so object debug does not complain

Dave Hansen <[email protected]>
x86/mm: Avoid incomplete Global INVLPG flushes

Peter Collingbourne <[email protected]>
arm64: Also reset KASAN tag if page is not PG_mte_tagged

Roberto Sassu <[email protected]>
ocfs2: Switch to security_inode_init_security()

Robin Chen <[email protected]>
drm/amd/display: hpd rx irq not working with eDP interface

Steffen Bätz <[email protected]>
net: dsa: mv88e6xxx: Add RGMII delay to 88E6320

Hans de Goede <[email protected]>
platform/x86: hp-wmi: Fix cast to smaller integer type warning

Kees Cook <[email protected]>
skbuff: Proactively round up to kmalloc bucket size

Jack Xiao <[email protected]>
drm/amdgpu/mes11: enable reg active poll

Jack Xiao <[email protected]>
drm/amd/amdgpu: update mes11 api def

Gregory Oakes <[email protected]>
watchdog: sp5100_tco: Immediately trigger upon starting.

Jarkko Sakkinen <[email protected]>
tpm: Prevent hwrng from activating during resume

Jarkko Sakkinen <[email protected]>
tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers

Lino Sanfilippo <[email protected]>
tpm, tpm_tis: startup chip before testing for interrupts

Jarkko Sakkinen <[email protected]>
tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume

Lino Sanfilippo <[email protected]>
tpm, tpm_tis: Only handle supported interrupts

Lino Sanfilippo <[email protected]>
tpm, tpm_tis: Avoid cache incoherency in test for interrupts

Linyu Yuan <[email protected]>
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(-)




2023-05-29 05:44:18

by Bagas Sanjaya

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On Sun, May 28, 2023 at 08:10:00PM +0100, Greg Kroah-Hartman wrote:
> 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.
>

Successfully compiled and installed bindeb-pkgs on my computer (Acer
Aspire E15, Intel Core i3 Haswell). No noticeable regressions.

Tested-by: Bagas Sanjaya <[email protected]>

--
An old man doll... just what I always wanted! - Clara


Attachments:
(No filename) (559.00 B)
signature.asc (235.00 B)
Download all attachments

2023-05-29 10:27:37

by Takeshi Ogasawara

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

Hi Greg

On Mon, May 29, 2023 at 4:34 AM Greg Kroah-Hartman
<[email protected]> wrote:
>
> 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

6.1.31-rc1 tested.

Build successfully completed.
Boot successfully completed.
No dmesg regressions.
Video output normal.
Sound output normal.

Lenovo ThinkPad X1 Carbon Gen10(Intel i7-1260P(x86_64), arch linux)

Thanks

Tested-by: Takeshi Ogasawara <[email protected]>

2023-05-29 12:10:36

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On Sun, May 28, 2023 at 08:10:00PM +0100, Greg Kroah-Hartman wrote:
> 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.

Tested-by: Conor Dooley <[email protected]>

Thanks,
Conor


Attachments:
(No filename) (380.00 B)
signature.asc (235.00 B)
Download all attachments

2023-05-29 13:20:38

by Markus Reichelt

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

* Greg Kroah-Hartman <[email protected]> wrote:

> 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.

Hi Greg

6.1.31-rc1

compiles, boots and runs here on x86_64
(AMD Ryzen 5 PRO 4650G, Slackware64-15.0)

Tested-by: Markus Reichelt <[email protected]>

2023-05-29 13:33:08

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On Mon, 29 May 2023 at 01:04, Greg Kroah-Hartman
<[email protected]> wrote:
>
> 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


Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.

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

## Build
* kernel: 6.1.31-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-6.1.y
* git commit: 8482df0ff7e727d4244b8bf8537cce39a474eefc
* git describe: v6.1.29-413-g8482df0ff7e7
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.29-413-g8482df0ff7e7

## Test Regressions (compared to v6.1.29-293-ge00a3d96f756)

## Metric Regressions (compared to v6.1.29-293-ge00a3d96f756)

## Test Fixes (compared to v6.1.29-293-ge00a3d96f756)

## Metric Fixes (compared to v6.1.29-293-ge00a3d96f756)

## Test result summary
total: 170063, pass: 146595, fail: 3956, skip: 19237, xfail: 275

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 151 total, 150 passed, 1 failed
* arm64: 54 total, 53 passed, 1 failed
* i386: 41 total, 38 passed, 3 failed
* mips: 30 total, 28 passed, 2 failed
* parisc: 8 total, 8 passed, 0 failed
* powerpc: 38 total, 36 passed, 2 failed
* riscv: 16 total, 15 passed, 1 failed
* s390: 16 total, 16 passed, 0 failed
* sh: 14 total, 12 passed, 2 failed
* sparc: 8 total, 8 passed, 0 failed
* x86_64: 46 total, 46 passed, 0 failed

## Test suites summary
* boot
* fwts
* igt-gpu-tools
* kselftest-android
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-drivers-dma-buf
* kselftest-efivarfs
* kselftest-exec
* kselftest-filesystems
* kselftest-filesystems-binderfs
* kselftest-firmware
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-kexec
* kselftest-kvm
* kselftest-lib
* kselftest-livepatch
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mount
* kselftest-mqueue
* kselftest-net
* kselftest-net-forwarding
* kselftest-net-mptcp
* kselftest-netfilter
* kselftest-nsfs
* kselftest-openat2
* kselftest-pid_namespace
* kselftest-pidfd
* kselftest-proc
* kselftest-pstore
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-splice
* kselftest-static_keys
* kselftest-sync
* kselftest-sysctl
* kselftest-tc-testing
* kselftest-timens
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-user_events
* kselftest-vDSO
* kselftest-watchdog
* kselftest-x86
* kselftest-zram
* kunit
* kvm-unit-tests
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-fsx
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* network-basic-tests
* perf
* rcutorture
* v4l2-compliance
* vdso

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

2023-05-29 16:23:27

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On Sun, May 28, 2023 at 08:10:00PM +0100, Greg Kroah-Hartman wrote:
> 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.
>

Build results:
total: 155 pass: 155 fail: 0
Qemu test results:
total: 519 pass: 519 fail: 0

Tested-by: Guenter Roeck <[email protected]>

Guenter

2023-05-29 22:01:52

by Ron Economos

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On 5/28/23 12:10 PM, Greg Kroah-Hartman wrote:
> 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

Built and booted successfully on RISC-V RV64 (HiFive Unmatched).

Tested-by: Ron Economos <[email protected]>


2023-05-30 09:20:58

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On Sun, 28 May 2023 20:10:00 +0100, Greg Kroah-Hartman wrote:
> 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

All tests passing for Tegra ...

Test results for stable-v6.1:
11 builds: 11 pass, 0 fail
28 boots: 28 pass, 0 fail
130 tests: 130 pass, 0 fail

Linux version: 6.1.31-rc1-g8482df0ff7e7
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
tegra20-ventana, tegra210-p2371-2180,
tegra210-p3450-0000, tegra30-cardhu-a04

Tested-by: Jon Hunter <[email protected]>

Jon

2023-05-30 10:58:36

by Pavel Machek

[permalink] [raw]
Subject: Wrong/strange TPM patches was Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

Hi!

> 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.

> Lino Sanfilippo <[email protected]>
> tpm, tpm_tis: Avoid cache incoherency in test for interrupts

Description on this one is wrong/confused. There's no cache problem in
the code. Plus test_bit and friend already use bit number, so

- bool itpm = priv->flags & TPM_TIS_ITPM_WORKAROUND;
+ bool itpm = test_bit(TPM_TIS_ITPM_WORKAROUND, &priv->flags);

@@ -87,6 +87,7 @@ enum tpm_tis_flags {
TPM_TIS_ITPM_WORKAROUND = BIT(0),
TPM_TIS_INVALID_STATUS = BIT(1),
TPM_TIS_DEFAULT_CANCELLATION = BIT(2),
+ TPM_TIS_IRQ_TESTED = BIT(3),
};

this enum needs to go from BIT() to raw numbers.

You can just do return tpm_pm_resume();

> Jarkko Sakkinen <[email protected]>
> tpm: Prevent hwrng from activating during resume

@@ -429,6 +431,14 @@ int tpm_pm_resume(struct device *dev)
if (chip == NULL)
return -ENODEV;

+ chip->flags &= ~TPM_CHIP_FLAG_SUSPENDED;
+
+ /*
+ * Guarantee that SUSPENDED is written last, so that hwrng does not
+ * activate before the chip has been fully resumed.
+ */
+ wmb();
+
return 0;
}
EXPORT_SYMBOL_GPL(tpm_pm_resume);

This code is confused. First, either you don't need memory barriers
here, or you need real locking. Second, if you want to guarantee flags
are written last, you need to put the barrier before the
assignment. (But ... get rid of that confusion, first).

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Attachments:
(No filename) (1.88 kB)
signature.asc (201.00 B)
Download all attachments

2023-05-30 12:05:46

by Linus Torvalds

[permalink] [raw]
Subject: Re: Wrong/strange TPM patches was Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On Tue, May 30, 2023 at 6:46 AM Pavel Machek <[email protected]> wrote:
>
> > Lino Sanfilippo <[email protected]>
> > tpm, tpm_tis: Avoid cache incoherency in test for interrupts
>
> Description on this one is wrong/confused.

Yes. Commit 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in
test for interrupts") in mainline.

The change to test_bit/set_bit may be a good one (and adding the
IRQ_TESTED case to the bit flags), but that commit wasn't it.

As you say, the enum should now enumerate bits, not bitmasks.

Linus

2023-05-30 12:12:05

by Chris Paterson

[permalink] [raw]
Subject: RE: [PATCH 6.1 000/119] 6.1.31-rc1 review

Hello Greg,

> From: Greg Kroah-Hartman <[email protected]>
> Sent: Sunday, May 28, 2023 8:10 PM
>
> 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.

CIP configurations built and booted with Linux 6.1.31-rc1 (8482df0ff7e7):
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/pipelines/881425030
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/commits/linux-6.1.y

Tested-by: Chris Paterson (CIP) <[email protected]>

Kind regards, Chris

2023-05-30 13:22:38

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: Wrong/strange TPM patches was Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On Tue, May 30, 2023 at 12:46:49PM +0200, Pavel Machek wrote:
> Hi!
>
> > 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.
>
> > Lino Sanfilippo <[email protected]>
> > tpm, tpm_tis: Avoid cache incoherency in test for interrupts
>
> Description on this one is wrong/confused. There's no cache problem in
> the code. Plus test_bit and friend already use bit number, so
>
> - bool itpm = priv->flags & TPM_TIS_ITPM_WORKAROUND;
> + bool itpm = test_bit(TPM_TIS_ITPM_WORKAROUND, &priv->flags);
>
> @@ -87,6 +87,7 @@ enum tpm_tis_flags {
> TPM_TIS_ITPM_WORKAROUND = BIT(0),
> TPM_TIS_INVALID_STATUS = BIT(1),
> TPM_TIS_DEFAULT_CANCELLATION = BIT(2),
> + TPM_TIS_IRQ_TESTED = BIT(3),
> };
>
> this enum needs to go from BIT() to raw numbers.
>
> You can just do return tpm_pm_resume();
>
> > Jarkko Sakkinen <[email protected]>
> > tpm: Prevent hwrng from activating during resume
>
> @@ -429,6 +431,14 @@ int tpm_pm_resume(struct device *dev)
> if (chip == NULL)
> return -ENODEV;
>
> + chip->flags &= ~TPM_CHIP_FLAG_SUSPENDED;
> +
> + /*
> + * Guarantee that SUSPENDED is written last, so that hwrng does not
> + * activate before the chip has been fully resumed.
> + */
> + wmb();
> +
> return 0;
> }
> EXPORT_SYMBOL_GPL(tpm_pm_resume);
>
> This code is confused. First, either you don't need memory barriers
> here, or you need real locking. Second, if you want to guarantee flags
> are written last, you need to put the barrier before the
> assignment. (But ... get rid of that confusion, first).

Care to submit patches to resolve this? It's this way in Linus's tree
now from what I can tell, and these changes were needed for another
stable-marked change, so I'll leave them in for now.

thanks,

greg k-h

2023-05-30 14:24:37

by Lino Sanfilippo

[permalink] [raw]
Subject: Re: Wrong/strange TPM patches was Re: [PATCH 6.1 000/119] 6.1.31-rc1 review


Hi,


On 30.05.23 15:02, Greg Kroah-Hartman wrote:
> ATTENTION: This e-mail is from an external sender. Please check attachments and links before opening e.g. with mouseover.
>
>
> On Tue, May 30, 2023 at 12:46:49PM +0200, Pavel Machek wrote:
>> Hi!
>>
>>> 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.
>>
>>> Lino Sanfilippo <[email protected]>
>>> tpm, tpm_tis: Avoid cache incoherency in test for interrupts
>>
>> Description on this one is wrong/confused. There's no cache problem in
>> the code. Plus test_bit and friend already use bit number, so
>>
>> - bool itpm = priv->flags & TPM_TIS_ITPM_WORKAROUND;
>> + bool itpm = test_bit(TPM_TIS_ITPM_WORKAROUND, &priv->flags);
>>
>> @@ -87,6 +87,7 @@ enum tpm_tis_flags {
>> TPM_TIS_ITPM_WORKAROUND = BIT(0),
>> TPM_TIS_INVALID_STATUS = BIT(1),
>> TPM_TIS_DEFAULT_CANCELLATION = BIT(2),
>> + TPM_TIS_IRQ_TESTED = BIT(3),
>> };
>>
>> this enum needs to go from BIT() to raw numbers.
>>
>> You can just do return tpm_pm_resume();
>>
>>> Jarkko Sakkinen <[email protected]>
>>> tpm: Prevent hwrng from activating during resume
>>
>> @@ -429,6 +431,14 @@ int tpm_pm_resume(struct device *dev)
>> if (chip == NULL)
>> return -ENODEV;
>>
>> + chip->flags &= ~TPM_CHIP_FLAG_SUSPENDED;
>> +
>> + /*
>> + * Guarantee that SUSPENDED is written last, so that hwrng does not
>> + * activate before the chip has been fully resumed.
>> + */
>> + wmb();
>> +
>> return 0;
>> }
>> EXPORT_SYMBOL_GPL(tpm_pm_resume);
>>
>> This code is confused. First, either you don't need memory barriers
>> here, or you need real locking. Second, if you want to guarantee flags
>> are written last, you need to put the barrier before the
>> assignment. (But ... get rid of that confusion, first).
>
> Care to submit patches to resolve this? It's this way in Linus's tree
> now from what I can tell, and these changes were needed for another
> stable-marked change, so I'll leave them in for now.
>

First, thanks for the review Pavel and for spotting this.
I will send a patch to fix the enums.

Regards,
Lino



2023-05-30 17:12:40

by Allen Pais

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

> 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
>

Compiled and booted on my x86_64 and ARM64 test systems. No errors or
regressions.

Tested-by: Allen Pais <[email protected]>

Thanks.

2023-05-30 19:45:31

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/119] 6.1.31-rc1 review

On 5/28/23 12:10, Greg Kroah-Hartman wrote:
> 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

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on
BMIPS_GENERIC:

Tested-by: Florian Fainelli <[email protected]>
--
Florian