]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dbg_ini: add consecutive trigger firing support
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Tue, 2 Apr 2019 12:28:46 +0000 (15:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 29 Jun 2019 07:08:05 +0000 (10:08 +0300)
commit6985d2d9db881003aacb0dc5ea1631b3c240b10e
tree60fe82ed42499f3557320ff3d3ab430b08f5e2d6
parent2f4a8ac47211ac4eab93358bf269ed62fa6778c5
iwlwifi: dbg_ini: add consecutive trigger firing support

When a dump trigger is fired, the driver sets IWL_FWRT_STATUS_DUMPING and
aborts any consecutive dump collection.
To allow consecutive triggers firing, use 5 dump workers and allocate
them upon incoming dump collection requests.

This functionality is needed since in ini debug mode each trigger may
have entirely different memory regions to collect unlike the legacy
mode in which all the triggers dump the same memory regions.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/fw/init.c
drivers/net/wireless/intel/iwlwifi/fw/runtime.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c