Re: [PATCH v6] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-03-16 Thread josephjang
Since dpm_watchdog just cover two functions __device_suspend() and device_resume(), we proposed to move it to core power suspend.c to extend its coverage and monitor more devices suspend hand issues. We propose to use new name suspend watchdog and new timeout handler to cover more sleep hang is

Re: [PATCH v4] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-28 Thread josephjang
> diff --git a/MAINTAINERS b/MAINTAINERS > index 867157311dc8..ecd988b4a838 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7788,6 +7788,8 @@ F:include/linux/freezer.h > F: include/linux/pm.h > F: include/linux/suspend.h > F: kernel/power/ > +F: kernel/power/suspend

Re: [PATCH v4] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-28 Thread josephjang
> diff --git a/MAINTAINERS b/MAINTAINERS > index 867157311dc8..ecd988b4a838 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7788,6 +7788,8 @@ F:include/linux/freezer.h > F: include/linux/pm.h > F: include/linux/suspend.h > F: kernel/power/ > +F: kernel/power/suspend

[PATCH v3] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2020-11-17 Thread josephjang
On Fri, Nov 13, 2020 at 2:26 PM Greg Kroah-Hartman wrote: > > On Fri, Oct 23, 2020 at 02:04:17PM +0800, Joseph Jang wrote: > > Since dpm_watchdog just cover device power management, we proposed to > > move it to core power suspend.c to cover not only device power management > > hang issues, bu

[PATCH v2] power: suspend: Replace dpm_watchdog by sleep timer

2020-10-21 Thread josephjang
> On Wed, Oct 21, 2020 at 4:09 AM Joseph Jang wrote: > > > > Since dpm_watchdog just cover device power management, we proposed sleep > > timer to cover not only device power management hang issues, but also > > core power management hand issue. > > > > Add sleep timer and timeout handler to

[PATCH v2] power: suspend: Replace dpm_watchdog by sleep timer

2020-10-21 Thread josephjang
On Wed, Oct 21, 2020 at 4:09 AM Joseph Jang wrote: > > Since dpm_watchdog just cover device power management, we proposed sleep > timer to cover not only device power management hang issues, but also > core power management hand issue. > > Add sleep timer and timeout handler to prevent device stu

[PATCH] power: suspend: Add suspend timeout handler

2020-10-20 Thread josephjang
On Tue, Oct 20, 2020 at 08:15:38AM +, josephj...@google.com wrote: > > 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 fir

[PATCH] power: suspend: Add suspend timeout handler

2020-10-20 Thread josephjang
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 tim

[PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread josephjang
> > On Fri, Oct 16, 2020 at 3:22 PM wrote: > > > > Thank you Rafael's promptly response. > > > > > On Fri, Oct 16, 2020 at 5:51 AM Joseph Jang wrote: > > > > > > > > From: josephjang > > > > > > > >

[PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread josephjang
Thank you Rafael's promptly response. On Fri, Oct 16, 2020 at 5:51 AM Joseph Jang wrote: > > From: josephjang > > Add suspend timeout handler to prevent device stuck during suspend/ > resume process. Suspend timeout handler will dump disk sleep task > at first round tim

[PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread josephjang
Thank you Greg's promptly reply. let me try to explain detail in following. On Fri, Oct 16, 2020 at 11:51:09AM +0800, Joseph Jang wrote: From: josephjang Please use your name as spelled out like you did above in the email header. Sure, I will update the patch again like following.

[PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread josephjang
Thank you Petr for promptly reply. On Fri 2020-10-16 11:51:09, Joseph Jang wrote: > From: josephjang > > 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