diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-04-09 14:40:05 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 06:46:12 -0700 |
commit | 0fe8ed038e8898c358ac1ba8a3902a0312da4728 (patch) | |
tree | 502a1b0097eefd20b804ab60016d04515013f286 /scripts | |
parent | efa336f785df9a620bb9ef79dfd2f3cb30eac699 (diff) | |
download | linux-rpi3-0fe8ed038e8898c358ac1ba8a3902a0312da4728.tar.gz linux-rpi3-0fe8ed038e8898c358ac1ba8a3902a0312da4728.tar.bz2 linux-rpi3-0fe8ed038e8898c358ac1ba8a3902a0312da4728.zip |
powerpc/watchdog: Use hrtimers for per-CPU heartbeat
[ Upstream commit 7ae3f6e130e8dc6188b59e3b4ebc2f16e9c8d053 ]
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.
Cc: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Reported-by: Ravikumar Bangoria <ravi.bangoria@in.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Reported-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions