linux/drivers/net/wireless/intel/iwlwifi/pcie
Johannes Berg faead41cc7 iwlwifi: pcie: mark command queue lock with separate lockdep class
Emmanuel reports that when CMD_WANT_ASYNC_CALLBACK is used by mvm,
the callback will be called with the command queue lock held, and
mvm will try to stop all (other) TX queues, which acquires their
locks - this caused a false lockdep recursive locking report.

Suppress this report by marking the command queue lock with a new,
separate, lock class so lockdep can tell the difference between
the two types of queues.

Fixes: 156f92f2b4 ("iwlwifi: block the queues when we send ADD_STA for uAPSD")
Reported-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2016-10-19 08:21:55 +03:00
..
drv.c iwlwifi: add two new 9560 series PCI IDs 2016-09-22 23:23:16 +03:00
internal.h iwlwifi: pcie: avoid variable shadowing in TFD helpers 2016-09-22 23:23:49 +03:00
rx.c iwlwifi: pcie: use LIST_HEAD() macro 2016-09-19 11:29:35 +03:00
trans.c iwlwifi: migrate to devm_* API 2016-09-19 10:09:42 +03:00
tx.c iwlwifi: pcie: mark command queue lock with separate lockdep class 2016-10-19 08:21:55 +03:00