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

王擎 wangqing at vivo.com
Wed May 5 18:51:30 PDT 2021


>On 4/24/21 6:52 PM, Wang Qing wrote:
>> 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 <wangqing at vivo.com>
>
>Reviewed-by: Guenter Roeck <linux at 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?

Qing




More information about the Linux-mediatek mailing list