]> 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)
commite9fcad0fc4c4840c4ad4866e021f28e69148892b
treef4574f8536ad855e0de62fe0104b0e022f3b3af8
parent2c0ad3fc26ec5aa5ef4eaa1be0dfaa362459f628
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: aadde2249a87 ("iwlwifi: pcie: properly reset the device")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c