[PATCH] powerpc/watchdog: Use hrtimers for per-CPU heartbeat

Ravi Bangoria ravi.bangoria at linux.ibm.com
Wed Apr 3 14:42:54 AEDT 2019



On 4/2/19 4:55 PM, Nicholas Piggin wrote:
> Using a jiffies timer creates a dependency on the tick_do_timer_cpu
> incrementing jiffies. If that CPU has locked up and jiffies is not
> incrementing, the watchdog heartbeat timer for all CPUs stops and
> creates false positives and confusing warnings on local CPUs, and
> also causes the SMP detector to stop, so the root cause is never
> detected.
> 
> Fix this by using hrtimer based timers for the watchdog heartbeat,
> like the generic kernel hardlockup detector.
> 
> Reported-by: Ravikumar Bangoria <ravi.bangoria at in.ibm.com>

Reported-by: Ravi Bangoria <ravi.bangoria at linux.ibm.com>

Thanks,
Ravi



More information about the Linuxppc-dev mailing list