diff options
author | Wolfram Sang <[email protected]> | 2020-12-19 18:34:15 +0100 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-02-07 14:41:19 +0100 |
commit | fa01fa70039cd969acde606672e2b9846205bd0f (patch) | |
tree | f8f2cc5c66df50150d2a6ae8381959d9d160fba0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 17f0d1b9bd3333228b5c420f2dae2d7a980636b8 (diff) |
watchdog: renesas_wdt: don't sleep in atomic context
In the restart handler, we hit multiple OOPSes. One because of
usleep_range() and one because of RPM. So, instead of re-using
rwdt_start(), we implement an atomic version of it in the restart
handler. As a little bonus, reboot will occur sooner because we can now
use the smallest divider in the custom restart routine.
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions