linux/drivers/net/wireless/intel/iwlwifi/pcie
Johannes Berg c544d89b0d iwlwifi: pcie: don't enable BHs with IRQs disabled
After the fix from Jiri that disabled local IRQs instead of
just BHs (necessary to fix an issue with submitting a command
with IRQs already disabled), there was still a situation in
which we could deep in there enable BHs, if the device config
sets the apmg_wake_up_wa configuration, which is true on all
7000 series devices.

To fix that, but not require reverting commit 1ed08f6fb5
("iwlwifi: remove flags argument for nic_access"), split up
nic access into a version with BH manipulation to use most
of the time, and without it for this specific case where the
local IRQs are already disabled.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210415164821.d0f2edda1651.I75f762e0bed38914d1300ea198b86dd449b4b206@changeid
2021-04-18 09:37:38 +03:00
..
ctxt-info-gen3.c iwlwifi: pcie: properly set LTR workarounds on 22000 devices 2021-04-06 13:25:53 +03:00
ctxt-info.c iwlwifi: pcie: properly set LTR workarounds on 22000 devices 2021-04-06 13:25:53 +03:00
drv.c iwlwifi: pcie: Change ma product string name 2021-04-14 12:07:21 +03:00
internal.h iwlwifi: pcie: don't enable BHs with IRQs disabled 2021-04-18 09:37:38 +03:00
rx.c iwlwifi: pcie: add ISR debug info for msix debug 2021-04-14 12:07:19 +03:00
trans-gen2.c iwlwifi: queue: avoid memory leak in reset flow 2021-04-14 12:07:19 +03:00
trans.c iwlwifi: pcie: don't enable BHs with IRQs disabled 2021-04-18 09:37:38 +03:00
tx-gen2.c iwlwifi: pcie: don't disable interrupts for reg_lock 2021-02-10 14:37:26 +02:00
tx.c iwlwifi: pcie: don't enable BHs with IRQs disabled 2021-04-18 09:37:38 +03:00