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

2019-04-04 Thread Nicholas Piggin
Gautham R Shenoy's on April 4, 2019 9:19 pm: > Hello Nicholas, > > On Tue, Apr 2, 2019 at 4:57 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 he

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

2019-04-04 Thread Gautham R Shenoy
Hello Nicholas, On Tue, Apr 2, 2019 at 4:57 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 po

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

2019-04-02 Thread Ravi Bangoria
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 warning

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

2019-04-02 Thread Nicholas Piggin
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