diff options
| author | Shahar S Matityahu <shahar.s.matityahu@intel.com> | 2018-11-22 08:01:30 +0200 |
|---|---|---|
| committer | Luca Coelho <luciano.coelho@intel.com> | 2019-01-29 16:10:32 +0200 |
| commit | 487ec49c358a5c9d4fed386cee7f17a81572a7df (patch) | |
| tree | 2fc9404398b15500bf4b9e56cfdea06f96c838d7 /tools/perf/scripts/python | |
| parent | 9bf13bee2d74a3b7bc0a59b1af7ad5f0a37f2176 (diff) | |
| download | linux-487ec49c358a5c9d4fed386cee7f17a81572a7df.tar.gz linux-487ec49c358a5c9d4fed386cee7f17a81572a7df.zip | |
iwlwifi: trigger dump on assert prior to setting the device up
In the regular flow, when we receive an assert, ieee80211_reconfig is
called which reconfig the driver using iwl_mvm_mac_start.
iwl_mvm_mac_start is clearing the restart bit and does dump collection.
Prior to setting the device up, ieee80211_reconfig does not call
iwl_mvm_mac_start since there is nothing to reconfig and we miss the
dump collection of the assert.
solve it by checking the restart bit before we stop the device
and trigger a dump collection in case it is set.
note that we don't need to do it in the fmac case since in fmac
assert flow in iwl_fmac_nic_error we call iwl_fw_dbg_collect_desc
so we can be sure that there will a dump collection in
iwl_fmac_stop_device.
Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
