Re: [PATCH] watchdog: sbsa_gwdt: add shutdown hook to driver

2020-08-27 Thread Guenter Roeck
tchdog.org > > Cc: linux-watch...@vger.kernel.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH] watchdog: sbsa_gwdt: add shutdown hook to driver > > > > On 8/24/20 1:18 AM, Qiang Zhao wrote: > > > From: Zhao Qiang > > > > > > Kexec maybe nee

RE: [PATCH] watchdog: sbsa_gwdt: add shutdown hook to driver

2020-08-27 Thread Qiang Zhao
: [PATCH] watchdog: sbsa_gwdt: add shutdown hook to driver > > On 8/24/20 1:18 AM, Qiang Zhao wrote: > > From: Zhao Qiang > > > > Kexec maybe need more time than timeout of wdt(sbsa) which will reset > > the system. > > So it is necessary to add shutdown hook to disab

Re: [PATCH] watchdog: sbsa_gwdt: add shutdown hook to driver

2020-08-24 Thread Guenter Roeck
On 8/24/20 1:18 AM, Qiang Zhao wrote: > From: Zhao Qiang > > Kexec maybe need more time than timeout of wdt(sbsa) > which will reset the system. > So it is necessary to add shutdown hook to disable the > wdt when run kexec. > Please explain why watchdog_stop_on_reboot() does not work. Thanks,

[PATCH] watchdog: sbsa_gwdt: add shutdown hook to driver

2020-08-24 Thread Qiang Zhao
From: Zhao Qiang Kexec maybe need more time than timeout of wdt(sbsa) which will reset the system. So it is necessary to add shutdown hook to disable the wdt when run kexec. Signed-off-by: Zhao Qiang --- drivers/watchdog/sbsa_gwdt.c | 9 + 1 file changed, 9 insertions(+) diff --git