From: Emmanuel Grumbach The firmware dump in SC/WH was not complete, we couldn't dump the DCCMs of the device's CPUs. It turns out we were missing a part that stops the UMAC completely to unlock the access to the DCCM and that this is needed starting from AX210 (even though the bug was not seen on this device). We did stop the UMAC when we dumped the DRAM_IMR section, but the latest firmware versions don't ask to dump the DRAM_IMR which is maybe why this bug is seen on SC/WH only. Add the write to the UREG_CHICK register to stop the UMAC completely as part of the firmware reset handshake which is run upon firmware dump and upon stop_device() as well. Signed-off-by: Emmanuel Grumbach Signed-off-by: Miri Korenblit --- drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c index dce6043fe962..ebd7d5b5a6d0 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c @@ -147,6 +147,9 @@ _iwl_trans_pcie_fw_reset_handshake(struct iwl_trans *trans, } trans_pcie->fw_reset_state = FW_RESET_IDLE; + if (trans->mac_cfg->device_family >= IWL_DEVICE_FAMILY_AX210) + iwl_trans_set_bits_prph(trans, IMR_UREG_CHICK, + IMR_UREG_CHICK_HALT_UMAC_PERMANENTLY_MSK); } void iwl_trans_pcie_fw_reset_handshake(struct iwl_trans *trans) -- 2.34.1