On Fri, Oct 16, 2020 at 11:01 AM Petr Mladek <pmla...@suse.com> wrote: > > On Fri 2020-10-16 11:51:09, Joseph Jang wrote: > > From: josephjang <josephj...@google.com> > > > > Add suspend timeout handler to prevent device stuck during suspend/ > > resume process. Suspend timeout handler will dump disk sleep task > > at first round timeout and trigger kernel panic at second round timeout. > > The default timer for each round is 30 seconds. > > A better solution would be to resume instead of panic().
Well, abort the suspend if it happens during suspend or continue if it happens during resume, But we have a suspend watchdog already, don't we?