]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: don't disable interrupts for reg_lock
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Feb 2021 11:56:27 +0000 (13:56 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 12:37:26 +0000 (14:37 +0200)
commit6151b679a05a5e8e7d0492019d9340e09d7e706d
tree4bfccaf4cb17d1f2128848422444b4505c501801
parentb17df5820feedac0d05909b30859f4d1058e091e
iwlwifi: pcie: don't disable interrupts for reg_lock

The only thing we do touching the device in hard interrupt context
is, at most, writing an interrupt ACK register, which isn't racing
in with anything protected by the reg_lock.

Thus, avoid disabling interrupts here for potentially long periods
of time, particularly long periods have been observed with dumping
of firmware memory (leading to lockup warnings on some devices.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210135352.da916ab91298.I064c3e7823b616647293ed97da98edefb9ce9435@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c