On Tue, Jun 03, 2025 at 03:04:33PM +0200, Rafael J. Wysocki wrote: > On Tue, Jun 3, 2025 at 2:27 PM Chris Bainbridge > <chris.bainbri...@gmail.com> wrote: > > > > On Tue, 3 Jun 2025 at 13:24, Rafael J. Wysocki <raf...@kernel.org> wrote: > > > > > > > > This patch does fix the list corruption, but the "Unbalanced > > > > pm_runtime_enable" still occurs: > > > > > > Have you applied it together with the previous patch? > > > > Yes > > So it looks like some devices have power.is_suspended set from the > previous cycle which causes device_resume() to attempt to resume them > even though they have not been suspended in the current cycle yet. > > Please try the attached patch in addition to the previous 2 patches. > > Thanks!
That fixed it. Passed 30 attempted suspends without error. Reported-and-tested-by: Chris Bainbridge <chris.bainbri...@gmail.com>