Hello! My notebook unable to suspend / resume due to bug in kernel. I discovered with series of 'git bisect' rebuilds bogus commit. To make recent (I'm using 5.10) kernel to work I had to revert: 69a74aef8a18eef20fb0044b5e164af41b84db21 Following my original bug report against debian kernel (no one responds): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982956
Another person reporting same hardware issues related to the same commit: * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995927
CC'ing the relevant people. Commit 69a74aef8a18eef20fb0044b5e164af41b84db21 "e100: use generic power management" breaks suspend/resume for some configurations.
Not sure how this go assigned to Intel WiFi. Adding Tony from Intel Ethernet as well. If the issue does not get addressed please just send a revert to the ML.
My fault, that was my first assumption suspend / resume freeze related to my ipw2100. I did assign it to wifi by mistake. it is clear now 100% e100 issue.
Hi Alexey! Thanks for following up on your report for this. I looked into this code, it seems patently wrong. From the description of the problem I suspect the device is being left in D3 after the resume, and timing out all operations. As for a fix, I'll attach a proposed patch here, but I don't think I have an e100 laying around any more to test.
Created attachment 299499 [details] proposed fix, only compile tested Hi, if you can please give this patch a try, and forgive me if it doesn't quite work right as I can't test it easily. Feedback welcome!
Created attachment 299501 [details] proposed fix, only compile tested This change is more likely to work, since we're thinking the device likely isn't enabled correctly (probably the pci_enable_master() is the whole bug)
Hank Jesse! It works! I haven't tested ethernet connection it self, since I'm using wifi on this machine. But interfaces comes up and suspend / resume works fine without task blocked for... kernel spam! I've tested v5.14.16 + debian patches + [299501 patch]
Patch posted to Intel-Wired-Lan https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20211111214356.612453-1-jesse.brandeburg@intel.com/
Patch accepted upstream: https://lore.kernel.org/netdev/163723620924.17258.12932119103111984410.git-patchwork-notify@kernel.org/ I have no way to set this bug to resolved in bugzilla, can someone help?