Patch "iwlwifi: mvm: don't restart HW if suspend fails with unified image" has been added to the 4.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
iwlwifi: mvm: don't restart HW if suspend fails with unified image
to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
iwlwifi-mvm-don-t-restart-hw-if-suspend-fails-with-unified-image.patch
and it can be found in the queue-4.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
bac453ab3745eaa64137ea6e77e009b45954f0aeMon Sep 17 00:00:00 2001
From: Luca Coelho <[email protected]>
Date: Fri, 7 Oct 2016 15:16:26 +0300
Subject: iwlwifi: mvm: don't restart HW if suspend fails with unified image
From: Luca Coelho <[email protected]>
commit bac453ab3745eaa64137ea6e77e009b45954f0ae upstream.
For unified images, we shouldn't restart the HW if suspend fails. The only reason for restarting the HW with non-unified images is to go back to the D0 image.
--- drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/d3.c +8 -5
@@ -1262,12 +1262,15 @@ static int __iwl_mvm_suspend(struct ieeeiwl_trans_d3_suspend (mvm->trans, test, !unified_image); out:if (ret <0 ) { -iwl_mvm_ref (mvm,IWL_MVM_REF_UCODE_DOWN ); -if (mvm->restart_fw >0 ) { - mvm->restart_fw--; -ieee80211_restart_hw (mvm->hw); - }iwl_mvm_free_nd (mvm); + +if (!unified_image) { +iwl_mvm_ref (mvm,IWL_MVM_REF_UCODE_DOWN ); +if (mvm->restart_fw >0 ) { + mvm->restart_fw--; +ieee80211_restart_hw (mvm->hw); + } + } } out_noreset:mutex_unlock (&mvm->mutex);
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/iwlwifi-mvm-properly-check-for-transport-data-in-dump.patch queue-4.10/iwlwifi-mvm-synchronize-firmware-dma-paging-memory.patch queue-4.10/iwlwifi-mvm-overwrite-skb-info-later.patch queue-4.10/iwlwifi-mvm-fix-reorder-timer-re-arming.patch queue-4.10/iwlwifi-mvm-pcie-adjust-a-msdu-tx_cmd-length-in-pcie.patch queue-4.10/iwlwifi-pcie-fix-the-set-of-dma-memory-mask.patch queue-4.10/iwlwifi-mvm-fix-pending-frame-counter-calculation.patch queue-4.10/iwlwifi-mvm-writing-zero-bytes-to-debugfs-causes-a-crash.patch queue-4.10/iwlwifi-pcie-trans-remove-unused-shift_param.patch queue-4.10/iwlwifi-mvm-don-t-restart-hw-if-suspend-fails-with-unified-image.patch queue-4.10/iwlwifi-fix-module_firmware-for-6030.patch queue-4.10/iwlwifi-mvm-fix-accessing-fw_id_to_mac_id.patch queue-4.10/iwlwifi-mvm-use-aux-queue-for-offchannel-frames-in-dqa.patch queue-4.10/iwlwifi-pcie-don-t-increment-decrement-a-bool.patch queue-4.10/iwlwifi-mvm-fix-references-to-first_agg_queue-in-dqa-mode.patch