Re: [PATCH] power: suspend: Add sleep timer and timeout handler

2020-10-20 Thread Greg Kroah-Hartman
On Tue, Oct 20, 2020 at 02:22:26PM +0800, Joseph Jang wrote: > Add sleep timer and timeout handler to prevent device stuck during suspend/ > resume process. The timeout handler will dump disk sleep task at first > round timeout and trigger kernel panic at second round timeout. > The default timer f

[PATCH] power: suspend: Add sleep timer and timeout handler

2020-10-19 Thread Joseph Jang
Add sleep timer and timeout handler to prevent device stuck during suspend/ resume process. The 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 defined in CONFIG_PM_SLEEP_TIMER_TIMEOUT. Signed-of