watchdog: honour hw_margin_ms property
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | watchdog: remove stale ifndef CONFIG_WATCHDOG_TIMEOUT_MSECS from wdt.h | +0 | 0 replies | |
| 2/3 | watchdog: move initr_watchdog() to wdt-uclass.c | +0 | 0 replies | |
| 3/3 | watchdog: honour hw_margin_ms DT property | +0 | 1 reply | |
| 3/3 | watchdog: honour hw_margin_ms DT property | +0 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Stefan Roese |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] watchdog: honour hw_margin_ms property
Quoted 10 lines · Rasmus Villemoes
Some watchdogs must be reset more often than the once-per-second ratelimit used by the generic
watchdog_resetfunction inwdt-uclass.c. There's precedent (from the gpio-wdt driver in linux) for using a property calledhw_margin_msto let the device tree tell the driver how often the device needs resetting. So use that generically. No change in default behaviour.On top of https://patchwork.ozlabs.org/patch/1242772/ .
Stefan, something like this?
Yes, thanks for looking into this.
Quoted 3 lines
That at least solves half my problems and
might be useful to others as well. Then I'll have to figure out the time-stands-still problem in some other way.
If its too hard to enable interrupts in SPL for you or to provide some other means of a working get_timer() API, then we needto find another solution. You started with this weak function, which of course works. What other options are there? Adding a callback mechanism to register platform specific callback functions? Even though this might get a little bit too complicated.
Thanks,
Stefan