diff options
author | Stephan Gerhold <[email protected]> | 2022-06-29 10:48:16 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-07-23 14:21:28 +0200 |
commit | 066951ca33ced33f84a725214494df2ee8ad49bd (patch) | |
tree | 66a47e79aa646a9dc4878721c1486e14892da10e /tools/testing/selftests/bpf/prog_tests | |
parent | e7c54a412f49e9a9b8145d96a34ff3a06375dd43 (diff) |
watchdog: pm8916_wdt: Handle watchdog enabled by bootloader
The bootloader might already enable the watchdog to catch hangs
during the boot process. In that case the kernel needs to ping
the watchdog temporarily until userspace is fully started.
Add a check for this in the probe() function and set the WDOG_HW_RUNNING
flag to make the watchdog core handle this automatically.
Signed-off-by: Stephan Gerhold <[email protected]>
Reviewed-by: Loic Poulain <[email protected]>
Reviewed-by: Guenter Roeck <[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/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions