projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f4a85
)
iwlwifi: mvm: allow reading UMAC error data from SMEM in A000 devices
author
Beni Lev
<beni.lev@intel.com>
Thu, 28 Sep 2017 09:10:55 +0000
(12:10 +0300)
committer
Luca Coelho
<luciano.coelho@intel.com>
Wed, 18 Oct 2017 10:00:44 +0000
(13:00 +0300)
Currently, UMAC error data reading is restricted to DCCM.
A000 NICs use SMEM for this data.
Signed-off-by: Beni Lev <beni.lev@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
index
2da1b08
..
4ade688
100644
(file)
--- a/
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
+++ b/
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
@@
-459,7
+459,8
@@
static void iwl_mvm_dump_umac_error_log(struct iwl_mvm *mvm)
base = mvm->umac_error_event_table;
- if (base < 0x800000) {
+ if (base < (mvm->trans->cfg->device_family == IWL_DEVICE_FAMILY_A000 ?
+ 0x400000 : 0x800000)) {
IWL_ERR(mvm,
"Not valid error log pointer 0x%08X for %s uCode\n",
base,