]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: re-ACK all interrupts after device reset
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Dec 2014 08:39:07 +0000 (10:39 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Dec 2014 08:20:29 +0000 (10:20 +0200)
commit669e7328be052a2f75577d62b1e74e64e3e9dc23
treef4574f8536ad855e0de62fe0104b0e022f3b3af8
parent52ce0a17367bb7067aa81bf744899b3fb0882249
iwlwifi: pcie: re-ACK all interrupts after device reset

When we reset the device, the CSR_INT gets cleared as well
as CSR_INT_MASK. Meaning that we shouldn't get any interrupt
but, due to a hardware bug, recent devices will keep sending
interrupts. This leads to an interrupt storm while stopping
the device.
The way to fix this is to ACK all the interrupts after the
device is reset so that the value of CSR_INT will stay
0xffffffff.

Fixes: 3f101302dfd2 ("iwlwifi: pcie: properly reset the device")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c