linux/drivers/net/wireless/iwlwifi
Eliad Peller f4cf8680df iwlwifi: mvm/trans: abort d0i3_enter in case of held ref
Other contexts might call iwl_mvm_ref_sync() right before
we set IWL_MVM_STATUS_IN_D0I3, and then assume the fw/bus
is not in d0i3 state.

However, since we currently don't check for held references
in the d0i3_enter flow, we might enter d0i3 although there
is an active reference.

Solve it by aborting the d0i3 enter flow if there is an
active reference. Since users are assumed to use
iwl_mvm_ref_sync, which takes a ref before checking the
flag, we don't need further locking.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2014-11-11 17:15:04 +02:00
..
dvm iwlwifi: dvm: Fix probable mask then right shift defect 2014-10-29 12:53:07 +02:00
mvm iwlwifi: mvm/trans: abort d0i3_enter in case of held ref 2014-11-11 17:15:04 +02:00
pcie iwlwifi: mvm: port to devcoredump framework 2014-10-29 14:13:43 +02:00
iwl-1000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-2000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-5000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-6000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-7000.c iwlwifi: define the non shared antenna per hardware 2014-09-14 12:56:39 +03:00
iwl-8000.c iwlwifi: enable STBC support for 8000 chips 2014-10-29 13:07:35 +02:00
iwl-agn-hw.h iwlwifi: mvm: fix bug with OTP memory size 2014-05-06 20:40:01 +03:00
iwl-config.h iwlwifi: always run the secured flow for family 8000 2014-10-29 12:52:24 +02:00
iwl-csr.h iwlwifi: make hw rev checking more readable 2014-09-14 12:56:39 +03:00
iwl-debug.c iwlwifi: use dev_printk instead of dev_dbg for debug logs 2014-05-13 13:52:22 +03:00
iwl-debug.h iwlwifi: mvm: add some debugging to quota allocation 2014-09-03 22:49:03 +03:00
iwl-devtrace.c iwlwifi: don't export tracepoints unnecessarily 2014-09-03 22:49:03 +03:00
iwl-devtrace.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-drv.c iwlwifi: always run the secured flow for family 8000 2014-10-29 12:52:24 +02:00
iwl-drv.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-eeprom-parse.c iwlwifi: mvm: add LDPC support 2014-09-14 12:56:36 +03:00
iwl-eeprom-parse.h iwlwifi: mvm: new NVM format in family 8000 2014-02-13 13:49:37 +02:00
iwl-eeprom-read.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-eeprom-read.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-fh.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-fw-error-dump.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-fw-file.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-fw.h iwlwifi: always run the secured flow for family 8000 2014-10-29 12:52:24 +02:00
iwl-io.c iwlwifi: make hw rev checking more readable 2014-09-14 12:56:39 +03:00
iwl-io.h iwlwifi: update nmi register 2014-05-15 19:50:51 +03:00
iwl-modparams.h iwlwifi: fix inconsistency about power_save module parameter 2014-07-22 19:21:10 +03:00
iwl-notif-wait.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-notif-wait.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-nvm-parse.c iwlwifi: mvm: add LDPC support 2014-09-14 12:56:36 +03:00
iwl-nvm-parse.h iwlwifi: mvm: new NVM format in family 8000 2014-02-13 13:49:37 +02:00
iwl-op-mode.h iwlwifi: mvm/trans: abort d0i3_enter in case of held ref 2014-11-11 17:15:04 +02:00
iwl-phy-db.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
iwl-phy-db.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
iwl-prph.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-scd.h iwlwifi: trans: configure the scheduler enable register 2014-09-03 22:49:06 +03:00
iwl-trans.h iwlwifi: mvm: port to devcoredump framework 2014-10-29 14:13:43 +02:00
Kconfig iwlwfifi: fix WANT_DEV_COREDUMP selection in Kconfig 2014-10-31 13:10:32 +02:00
Makefile iwlwifi: Add 8000 HW family support 2014-02-03 22:23:31 +02:00