Thread (9 messages) 9 messages, 3 authors, 2021-05-17

Re: [PATCH V9 1/2] watchdog: mtk: support pre-timeout when the bark irq is available

From: Guenter Roeck <linux@roeck-us.net>
Date: 2021-05-06 02:10:29
Also in: linux-devicetree, linux-mediatek, linux-watchdog, lkml

On 5/5/21 6:51 PM, 王擎 wrote:
quoted
On 4/24/21 6:52 PM, Wang Qing wrote:
quoted
Use the bark interrupt as the pretimeout notifier if available.

When the watchdog timer expires in dual mode, an interrupt will be
triggered first, then the timing restarts. The reset signal will be
initiated when the timer expires again.

The pretimeout notification shall occur at timeout-sec/2.

V2:
- panic() by default if WATCHDOG_PRETIMEOUT_GOV is not enabled.

V3:
- Modify the pretimeout behavior, manually reset after the pretimeout
- is processed and wait until timeout.

V4:
- Remove pretimeout related processing. 
- Add dual mode control separately.

V5:
- Fix some formatting and printing problems.

V6:
- Realize pretimeout processing through dualmode.

V7:
- Add set_pretimeout().

V8/V9:
- Fix some formatting problems.

Signed-off-by: Wang Qing <redacted>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>

Note that the version history should be after "---".

Guenter
Thanks, Guenter.
And what do I need to do if I want merge into the next-tree?
Wim should take care of that.

Guenter


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help