ath10k: add memory dump support QCA9984
authorAnilkumar Kolli <akolli@codeaurora.org>
Tue, 27 Mar 2018 08:26:52 +0000 (11:26 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Mar 2018 08:54:32 +0000 (11:54 +0300)
commit219cc084c67061ee7eafc47e68874d451fa2fff8
tree137f31e92227e6f85ed8c64491e70eba95781961
parent10c2288430817981cab70fc4b78e405765be93b1
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>
drivers/net/wireless/ath/ath10k/coredump.c
drivers/net/wireless/ath/ath10k/coredump.h
drivers/net/wireless/ath/ath10k/pci.c