linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help me fix a regression caused by 56b9918490 (PM: sleep: Simplify suspend-to-idle control flow)
@ 2019-11-22  0:11 Kenneth R. Crudup
  2019-11-22 10:12 ` Rafael J. Wysocki
  0 siblings, 1 reply; 37+ messages in thread
From: Kenneth R. Crudup @ 2019-11-22  0:11 UTC (permalink / raw)
  To: rafael.j.wysocki; +Cc: linux-pm


I've been running Linus' tip for a while, mostly to get the PM improvements
on s2idle (I hate this mode so much- I'm tired of taking a warm laptop out
of my bag) and I'd reported after a previous merge to Linus' tip from pm-next:

On Wed, 18 Sep 2019, Kenneth R. Crudup wrote:

> - Randomly, if left suspended, nothing other than a hard power off will get
>   it back  ...  It appears "ec_no_wakeup=1" doesn't have this issue

So I noticed this bug seems to only happen if the laptop is plugged in and
charging- but only if the battery is < 100%; now that I had a real failure
mode I started bisecting, and I traced it to 56b991849, "PM: sleep: Simplify
suspend-to-idle control flow".

What happens is I'll initiate a suspend, then when I try to resume the power
LED doesn't come on, and the machine is completely unresponsive. I have to
force a reset by holding the power key.

I'd like to help you fix this issue; I figure if it's affecting my device
it's affecting others, too. I'm quite proficient with the kernel overall,
but know very little about ACPI or the EC. I'm assuming- totally wild guess-
that when we get some of those EC GPEs(?) while suspended(?) we're panic()ing
or hanging somewhere so the BIOS is getting hung up and the whole system is
stalled out.

Where should I begin to help debug this? I have EFI store set up so BUG_ON()s
et al.  will dump there for retrival later if inserting those at critical
places could help.

Thanks,

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Silicon Valley

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2019-11-28 16:25 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-22  0:11 Help me fix a regression caused by 56b9918490 (PM: sleep: Simplify suspend-to-idle control flow) Kenneth R. Crudup
2019-11-22 10:12 ` Rafael J. Wysocki
2019-11-22 12:45   ` Rafael J. Wysocki
2019-11-22 17:35     ` Kenneth R. Crudup
2019-11-23 10:24     ` Kenneth R. Crudup
2019-11-24 16:02       ` Rafael J. Wysocki
2019-11-25  3:40         ` Kenneth R. Crudup
2019-11-25 13:27           ` Rafael J. Wysocki
2019-11-25 14:14             ` Rafael J. Wysocki
2019-11-25 18:27               ` Kenneth R. Crudup
2019-11-25 20:11                 ` Kenneth R. Crudup
2019-11-25 20:19                   ` Kenneth R. Crudup
2019-11-25 22:01                   ` Rafael J. Wysocki
2019-11-25 23:32                     ` Kenneth R. Crudup
2019-11-26  8:50                       ` Rafael J. Wysocki
2019-11-26 16:12                         ` Rafael J. Wysocki
2019-11-26 16:15                         ` Kenneth R. Crudup
2019-11-26 16:27                           ` Rafael J. Wysocki
2019-11-26 16:35                             ` Kenneth R. Crudup
2019-11-26 18:48                               ` Rafael J. Wysocki
2019-11-26 19:03                                 ` Kenneth R. Crudup
2019-11-26 19:09                                   ` Rafael J. Wysocki
2019-11-26 19:13                                     ` Kenneth R. Crudup
2019-11-26 19:45                                     ` Kenneth R. Crudup
2019-11-26 23:56                                     ` Kenneth R. Crudup
2019-11-27  2:35                                       ` Kenneth R. Crudup
2019-11-27  8:31                                         ` Rafael J. Wysocki
2019-11-27 22:30                                           ` Kenneth R. Crudup
2019-11-28 16:25                                             ` Rafael J. Wysocki
2019-11-25 21:47                 ` Rafael J. Wysocki
2019-11-25 16:21             ` Kenneth R. Crudup
2019-11-25 21:46               ` Rafael J. Wysocki
2019-11-25 23:02                 ` Kenneth R. Crudup
2019-11-26  8:53                   ` Rafael J. Wysocki
2019-11-25  5:50         ` Kenneth R. Crudup
2019-11-25  7:17           ` Kenneth R. Crudup
2019-11-22 17:29   ` Kenneth R. Crudup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).