OSDN Git Service

iwlwifi: implement reset flow for Bz devices
authorJohannes Berg <johannes.berg@intel.com>
Sat, 4 Dec 2021 15:49:41 +0000 (17:49 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 7 Dec 2021 18:06:50 +0000 (20:06 +0200)
commit23a392a44a3cabf43515f7601373a2094ac5f747
tree02182735b3e5dc7d98d674c98fccf6b6bd2cd72b
parentdef423ea1d0de18b38ac7c43118a4c328ff70406
iwlwifi: implement reset flow for Bz devices

On Bz devices, UREG_DOORBELL_TO_ISR6_NMI_BIT no longer actually
triggers an NMI. So instead of setting BIT(0) | BIT(1) for the
reset flow, we need to just set BIT(1) and then force the NMI
in the new way.

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.20211204174546.6b56e7ee1773.I71cba66e17cc0daabc5ad7abd88763674b625c82@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c