Re: [PATCH 6.1 00/15] 6.1.48-rc1 review

From: Florian Fainelli
Date: Thu Aug 24 2023 - 17:32:13 EST


On 8/24/23 07:14, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 6.1.48 release.
There are 15 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 Sat, 26 Aug 2023 14:14: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/v6.x/stable-review/patch-6.1.48-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 <florian.fainelli@xxxxxxxxxxxx>

I was not testing system wide suspend resume until recently and am seeing various issues with drivers that implement resume_noirq, but only on a specific platform, see below. I will see about bisecting that at some point.

[ 15.856930] Disabling non-boot CPUs ...
[ 15.862349] CPU1 killed.
[ 15.865684] Enabling non-boot CPUs ...
[ 15.870067] CPU1 is up
[ 15.872627] brcm-gisb-arb 47c400000.gisb-arb: PM: calling brcmstb_gisb_arb_resume_noirq+0x0/0x60 @ 1147, parent: rdb
[ 15.883177] brcm-gisb-arb 47c400000.gisb-arb: PM: brcmstb_gisb_arb_resume_noirq+0x0/0x60 returned 0 after 2 usecs
[ 15.893893] bcmgenet 47d580000.ethernet: PM: calling bcmgenet_resume_noirq+0x0/0xc0 @ 1147, parent: rdb
[ 15.903611] bcmgenet 47d580000.ethernet: PM: bcmgenet_resume_noirq+0x0/0xc0 returned 0 after 303 usecs
[ 36.902964] rcu: INFO: rcu_sched self-detected stall on CPU
[ 36.908533] rcu: 0-....: (20991 ticks this GP) idle=0b1c/1/0x40000002 softirq=1785/1785 fqs=5251
[ 36.917402] (t=21008 jiffies g=1237 q=1 ncpus=2)
[ 36.922104] CPU: 0 PID: 1147 Comm: rtcwake Not tainted 6.1.45-g02e3f13ba3f3 #2
[ 36.929321] Hardware name: Broadcom STB (Flattened Device Tree)
[ 36.935234] PC is at _raw_spin_unlock_irqrestore+0x24/0x28
[ 36.940719] LR is at resume_irqs+0x9c/0x138
[ 36.944899] pc : [<c0d61f80>] lr : [<c028c9e0>] psr: 00030113
[ 36.951159] sp : d1165e28 ip : c391f200 fp : c2204d00
[ 36.956376] r10: c235e344 r9 : 40030113 r8 : c391f26c
[ 36.961593] r7 : 00000000 r6 : c22489c0 r5 : 00000030 r4 : c391f200
[ 36.968113] r3 : 0000000e r2 : 00000500 r1 : 40030113 r0 : c391f26c
[ 36.974634] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 36.981763] Control: 30c5383d Table: 036d12c0 DAC: fffffffd
[ 36.987511] _raw_spin_unlock_irqrestore from resume_irqs+0x9c/0x138
[ 36.993865] resume_irqs from dpm_resume_noirq+0x14/0x1c
[ 36.999178] dpm_resume_noirq from suspend_devices_and_enter+0x23c/0x890
[ 37.005884] suspend_devices_and_enter from pm_suspend+0x39c/0x414
[ 37.012063] pm_suspend from state_store+0x74/0xd4
[ 37.016852] state_store from kernfs_fop_write_iter+0x10c/0x1c4
[ 37.022779] kernfs_fop_write_iter from vfs_write+0x24c/0x354
[ 37.028532] vfs_write from ksys_write+0x60/0xd8
[ 37.033148] ksys_write from ret_fast_syscall+0x0/0x4c
[ 37.038285] Exception stack(0xd1165fa8 to 0xd1165ff0)
[ 37.043330] 5fa0: 00000004 004ab3e8 00000004 004ab3e8 00000004 00000000
[ 37.051502] 5fc0: 00000004 004ab3e8 004aa180 00000004 b6ef6b2c 0ee6b280 004aa180 0049703b
[ 37.059673] 5fe0: 0000006c be89fb30 b6e21150 b6e7abbc

--
Florian