OpenCloudOS-Kernel/drivers/net/wireless/intel/iwlwifi
Emmanuel Grumbach 39654cb3a6 iwlwifi: don't access a nonexistent register upon assert
The commit below added code to dump the content of FIFOs
that are present only on dual CPU products (8000 and up).
This broke 7265D whose firmware does advertise
IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG but doesn't have 2
CPUs. The current code does check the length of the FIFO
before dumping them (and the nonexistent FIFO has a 0
length), but we still accessed a register to set the FIFO
number and that made the DMA unhappy.

The impact was a much longer recovery upon firmware assert.

Fixes: 5b08641429 ("iwlwifi: mvm: support dumping UMAC internal txfifos")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2016-05-10 22:34:05 +03:00
..
dvm cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
mvm iwlwifi: don't access a nonexistent register upon assert 2016-05-10 22:34:05 +03:00
pcie iwlwifi: pcie: don't wake up the NIC when writing CSRs in MSIX mode 2016-05-10 22:34:01 +03:00
Kconfig iwlwifi: remove IWLWIFI_DEBUG_EXPERIMENTAL_UCODE 2016-05-10 22:34:05 +03:00
Makefile
iwl-1000.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwl-2000.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwl-5000.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwl-6000.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwl-7000.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwl-8000.c iwlwifi: Edit the 8265 SDIO ID 2016-05-10 18:34:58 +03:00
iwl-9000.c iwlwifi: allow combining different phy images with mac images 2016-05-10 22:14:49 +03:00
iwl-agn-hw.h
iwl-config.h iwlwifi: allow combining different phy images with mac images 2016-05-10 22:14:49 +03:00
iwl-csr.h iwlwifi: allow combining different phy images with mac images 2016-05-10 22:14:49 +03:00
iwl-debug.c
iwl-debug.h
iwl-devtrace-data.h iwlwifi: pcie: build an A-MSDU using TSO core 2015-12-20 23:27:37 +02:00
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h iwlwifi: mvm: adapt the firmware assert log to new firmware 2016-03-09 21:05:16 +02:00
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c iwlwifi: remove IWLWIFI_DEBUG_EXPERIMENTAL_UCODE 2016-05-10 22:34:05 +03:00
iwl-drv.h
iwl-eeprom-parse.c cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwl-eeprom-parse.h iwlwifi: consider VHT 160MHz while parsing NVM 2016-05-10 22:14:49 +03:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h iwlwifi: pcie: fine tune number of rxbs 2016-03-09 20:59:19 +02:00
iwl-fw-error-dump.h iwlwifi: mvm: support dumping UMAC internal txfifos 2016-03-20 13:26:02 +02:00
iwl-fw-file.h iwlwifi: store fw memory segments length and addresses in run-time 2016-03-30 16:24:50 +03:00
iwl-fw.h iwlwifi: store fw memory segments length and addresses in run-time 2016-03-30 16:24:50 +03:00
iwl-io.c iwlwifi: remove unused parameter from grab_nic_access 2015-12-21 10:11:39 +02:00
iwl-io.h
iwl-modparams.h iwlwifi: make uapsd_disable module param a bitmap 2016-03-30 16:21:23 +03:00
iwl-notif-wait.c
iwl-notif-wait.h
iwl-nvm-parse.c iwlwifi: mvm: set correct vht capability 2016-05-10 22:34:02 +03:00
iwl-nvm-parse.h iwlwifi: refactor the code that reads the MAC address from the NVM 2016-03-07 13:33:00 +02:00
iwl-op-mode.h
iwl-phy-db.c iwlwifi: mvm: remove redundant alloc_ctx parameter 2016-05-10 22:34:03 +03:00
iwl-phy-db.h iwlwifi: mvm: remove redundant alloc_ctx parameter 2016-05-10 22:34:03 +03:00
iwl-prph.h iwlwifi: mvm: support dumping UMAC internal txfifos 2016-03-20 13:26:02 +02:00
iwl-scd.h
iwl-trans.c
iwl-trans.h iwlwifi: allow combining different phy images with mac images 2016-05-10 22:14:49 +03:00