diff options
author | Wang Wensheng <[email protected]> | 2023-03-01 11:37:02 +0000 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-04-22 12:53:53 +0200 |
commit | 74d6c68c74fac3e6bdc28fba69889ed7ef05a7f8 (patch) | |
tree | 4c2dfbe33cd34d9c385b0a212e7594697c7186e2 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 96c6e56d3ed46840d575102b7b76a760b28de55b (diff) |
watchdog: sbsa: Test WDOG_HW_RUNNING bit in suspend and resume
If the sbsa_gwdt is enabled by BIOS, the kernel set WDOG_HW_RUNNING bit
and keep it alive before anyone else would open it. When system suspend,
the sbsa_gwdt would not be disabled because WDOG_ACTIVE is not set. Then
the sbsa_gwdt would reach timeout since no one touch it during system
suspend.
To solve this, just test WDOG_HW_RUNNING bit in suspend and disable the
sbsa_gwdt if the bit is set, then reopen it accordingly in resume
process.
Signed-off-by: Wang Wensheng <[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/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions