lkml.org 
[lkml]   [2019]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Linux-stm32] [PATCH v2 1/1] drivers: watchdog: stm32_iwdg: set WDOG_HW_RUNNING at probe
Date
Hello Christophe,

On 11/22/19 9:24 AM, Christophe Roullier wrote:
> + /*
> + * In case of CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED is set
> + * (Means U-Boot/bootloaders leaves the watchdog running)
> + * When we get here we should make a decision to prevent
> + * any side effects before user space daemon will take care of it.
> + * The best option, taking into consideration that there is no
> + * way to read values back from hardware, is to enforce watchdog
> + * being run with deterministic values.

What about the "ONF: Watchdog enable status bit" in the IWDG_SR register?

Cheers
Ahmad

--
Pengutronix e.K. | |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |

\
 
 \ /
  Last update: 2019-11-22 11:29    [W:0.378 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site