diff options
author | 2022-01-24 10:53:02 -0800 | |
---|---|---|
committer | 2022-01-25 11:15:08 +0000 | |
commit | abd75d14fed6e63976b940ee8a46e05b6b92bf5e (patch) | |
tree | 9592d255fe65a87872960f4f1bbd280ed951a579 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ionic: add FW_STOPPING state (diff) | |
download | linux-dev-abd75d14fed6e63976b940ee8a46e05b6b92bf5e.tar.xz linux-dev-abd75d14fed6e63976b940ee8a46e05b6b92bf5e.zip |
ionic: better handling of RESET event
When IONIC_EVENT_RESET is received, we only need to start the
fw_down process if we aren't already down, and we need to be
sure to set the FW_STOPPING state on the way.
If this is how we noticed that FW was stopped, it is most
likely from a FW update, and we'll see a new FW generation.
The update happens quickly enough that we might not see
fw_status==0, so we need to be sure things get restarted when
we see the fw_generation change.
Fixes: d2662072c094 ("ionic: monitor fw status generation")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions