https://bugzilla.kernel.org/show_bug.cgi?id=211277
--- Comment #13 from Jerome C (me@jeromec.com) --- (In reply to kolAflash from comment #12)
I've tried doing a bisect using this script. Unfortunately I couldn't reproduce the bug this way. So I bisecting will take a lot longer.
for i in {0..19}; do echo -e "\n${i}" /usr/sbin/rtcwake --seconds 15 --mode no systemctl start suspend.target sleep 15 done
Hiya
I did some testing myself recently and unfortunately doing 20 tests was not enough for me. I found that it could be 50 - 100 resumes before it would fail so I capped mine at 150 resumes, there were too many times where things looked fine for me with less than 50. After I tested kernels between 5.10.4 to 5.11-rc5 ( I didn't use 5.10.0 to 5.10.3 ) and found that this commit
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=...
was causing the issue for me