AM335x (BeagleBone Black Wireless) suspend/resume regression starting in Linux 6.10
Hi,
I have some issues when trying to bump a BeagleBone Black Wireless board from Linux 6.6 to 6.12 (or later). When using rtcwake to test suspend/resume the system freezes on
[ 209.104183] PM: suspend entry (deep) [ 209.111191] Filesystems sync: 0.003 seconds [ 209.147496] Freezing user space processes [ 209.155818] Freezing user space processes completed (elapsed 0.003 seconds) [ 209.163098] OOM killer disabled. [ 209.166495] Freezing remaining freezable tasks [ 209.172805] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [ 209.180559] printk: Suspending console(s) (use no_console_suspend to debug)
I have also tried with no_console_suspend then I can see below additional printouts before the system stalls
[ 215.505253] omap8250 48022000.serial: ttyS1: Unable to drain transmitter [ 215.531553] l4ls-clkctrl:0034:0: failed to disable
I tried to bisect the issue and reverting below commits seems to solve it on 6.10 -> 6.12 kernels.
4bcc2e91b9e7 bus: ti-sysc: Drop legacy idle quirk handling 2414277f5145 bus: ti-sysc: Drop legacy quirk handling for smartreflex 5f711f036588 bus: ti-sysc: Drop legacy quirk handling for uarts
BUT on Linux 6.17 I tried to revert above commits and it still seems to hang. Anyone that knows how I can debug this further or have any suggestion for what is really wrong here?
BR Petter