diff options
author | Rob Barnes <robbarnes@google.com> | 2023-01-04 04:15:24 +0300 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2023-01-06 06:48:06 +0300 |
commit | 957445d730badbea1b3b2ef038e60d2ca38abd0a (patch) | |
tree | c6a7e6e8e65c785d80b635b63fbf643d2d457863 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d90fa2c64d59f5f151beeef5dbc599784b3391ca (diff) | |
download | linux-957445d730badbea1b3b2ef038e60d2ca38abd0a.tar.xz |
platform/chrome: cros_ec: Shutdown on EC Panic
When an EC panic is reported, attempt an orderly shutdown.
Force a shutdown after a brief timeout if the orderly shutdown
fails for any reason.
Using the common hw_protection_shutdown utility function since
an EC panic has the potential to cause hw damage.
This is all best effort. EC should also force a hard reset after a
short timeout.
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20230104011524.369764-3-robbarnes@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions