diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2024-10-29 06:13:24 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-10-29 06:34:43 +0300 |
commit | dc1308bee1ed03b4d698d77c8bd670d399dcd04d (patch) | |
tree | fed72fae2396fc52ac1ff2a4c7b6c209e1297acd /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 722d89c34cc496aadc737e2df40234580fa05877 (diff) | |
download | linux-dc1308bee1ed03b4d698d77c8bd670d399dcd04d.tar.xz |
selftests/watchdog-test: Fix system accidentally reset after watchdog-test
When running watchdog-test with 'make run_tests', the watchdog-test will
be terminated by a timeout signal(SIGTERM) due to the test timemout.
And then, a system reboot would happen due to watchdog not stop. see
the dmesg as below:
```
[ 1367.185172] watchdog: watchdog0: watchdog did not stop!
```
Fix it by registering more signals(including SIGTERM) in watchdog-test,
where its signal handler will stop the watchdog.
After that
# timeout 1 ./watchdog-test
Watchdog Ticking Away!
.
Stopping watchdog ticks...
Link: https://lore.kernel.org/all/20241029031324.482800-1-lizhijian@fujitsu.com/
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions