summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/coredump.h
diff options
context:
space:
mode:
authorAnilkumar Kolli <akolli@codeaurora.org>2018-03-27 11:26:52 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-03-29 11:54:32 +0300
commit219cc084c67061ee7eafc47e68874d451fa2fff8 (patch)
tree137f31e92227e6f85ed8c64491e70eba95781961 /drivers/net/wireless/ath/ath10k/coredump.h
parent10c2288430817981cab70fc4b78e405765be93b1 (diff)
downloadlwn-219cc084c67061ee7eafc47e68874d451fa2fff8.tar.gz
lwn-219cc084c67061ee7eafc47e68874d451fa2fff8.zip
ath10k: add memory dump support QCA9984
QCA9984/QCA99X0/QCA4019 chipsets have 8 memory regions, dump all of them to the firmware coredump file. Some of the regions need to be read using ioread() so add new region types for them. Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org> [kvalo: refactoring etc] Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/coredump.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/coredump.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/coredump.h b/drivers/net/wireless/ath/ath10k/coredump.h
index bfee13038e59..3baaf9d2cbcd 100644
--- a/drivers/net/wireless/ath/ath10k/coredump.h
+++ b/drivers/net/wireless/ath/ath10k/coredump.h
@@ -124,6 +124,8 @@ enum ath10k_mem_region_type {
ATH10K_MEM_REGION_TYPE_AXI = 3,
ATH10K_MEM_REGION_TYPE_IRAM1 = 4,
ATH10K_MEM_REGION_TYPE_IRAM2 = 5,
+ ATH10K_MEM_REGION_TYPE_IOSRAM = 6,
+ ATH10K_MEM_REGION_TYPE_IOREG = 7,
};
/* Define a section of the region which should be copied. As not all parts