[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0iCgWaasL_obdYW8eC+wErCRjWCHVuKMizMr7dshTqSvQ@mail.gmail.com>
Date: Fri, 16 Oct 2020 15:03:34 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Petr Mladek <pmladek@...e.com>, Joseph Jang <josephjang@...gle.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rjw@...ysocki.net>,
Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>, jonglin@...gle.com,
woodylin@...gle.com, markcheng@...gle.com
Subject: Re: [PATCH] power: suspend: Add suspend timeout handler
On Fri, Oct 16, 2020 at 11:01 AM Petr Mladek <pmladek@...e.com> wrote:
>
> On Fri 2020-10-16 11:51:09, Joseph Jang wrote:
> > From: josephjang <josephjang@...gle.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?
Powered by blists - more mailing lists