Re: [PATCH v2] PM / core: Allow configuring the DPM watchdog to warn earlier than panic
From: Rafael J. Wysocki
Date: Tue Jan 14 2025 - 15:26:39 EST
On Fri, Jan 10, 2025 at 3:50 AM Tomasz Figa <tfiga@xxxxxxxxxxxx> wrote:
>
> On Fri, Jan 10, 2025 at 6:01 AM Douglas Anderson <dianders@xxxxxxxxxxxx> wrote:
> >
> > Allow configuring the DPM watchdog to warn about slow suspend/resume
> > functions without causing a system panic(). This allows you to set the
> > DPM_WATCHDOG_WARNING_TIMEOUT to something like 5 or 10 seconds to get
> > warnings about slow suspend/resume functions that eventually succeed.
> >
> > Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> > ---
> >
> > Changes in v2:
> > - Print the warning at warn level, not emergency level.
> > - Add help text to DPM_WATCHDOG_WARNING_TIMEOUT.
> >
> > drivers/base/power/main.c | 24 +++++++++++++++++++-----
> > kernel/power/Kconfig | 21 ++++++++++++++++++++-
> > 2 files changed, 39 insertions(+), 6 deletions(-)
> >
>
> Thanks for addressing my comments.
>
> Reviewed-by: Tomasz Figa <tfiga@xxxxxxxxxxxx>
Applied as 6.14 material, thanks!