summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
diff options
context:
space:
mode:
authorSara Sharon2018-08-16 12:01:09 +0200
committerLuca Coelho2018-12-14 12:04:47 +0100
commit0916224eaa77bff0fbbc747961d550ff8db45457 (patch)
tree5d86785cc5add12d07c281f421bfc7b5cf0d1116 /drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
parentiwlwifi: mvm: force TCM re-evaluation on TCM resume (diff)
downloadkernel-qcow2-linux-0916224eaa77bff0fbbc747961d550ff8db45457.tar.gz
kernel-qcow2-linux-0916224eaa77bff0fbbc747961d550ff8db45457.tar.xz
kernel-qcow2-linux-0916224eaa77bff0fbbc747961d550ff8db45457.zip
iwlwifi: pcie: fix erroneous print
When removing the driver, the following flow can happen: 1. host command is in progress, for example at index 68. 2. RX interrupt is received with the response. 3. Before it is processed, the remove flow kicks in, and calls iwl_pcie_txq_unmap. The function cleans all DMA, and promotes the read pointer to 69. 4. RX thread proceeds with the processing, and is calling iwl_pcie_cmdq_reclaim, which will print this error: iwl_pcie_cmdq_reclaim: Read index for DMA queue txq id (0), index 4 is out of range [0-256] 69 69. Detect this situation, and avoid the print. Change it to warning while at it, to make such issues more noticeable in the future. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c')
0 files changed, 0 insertions, 0 deletions