* [PATCH] ath10k: add fw crash dump support for QCA9888 and QCA99X0
@ 2018-05-08 12:11 ` Anilkumar Kolli
0 siblings, 0 replies; 6+ messages in thread
From: Anilkumar Kolli @ 2018-05-08 12:11 UTC (permalink / raw)
To: ath10k; +Cc: linux-wireless
This patch adds crash dump support for QCA9888 and QCA99X0
Tested On: QCA9888, Firmware Version: 10.4-3.5.3-00053
Tested on QCA99X0, Firmware Version: 10.4.1.00030-1
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
---
drivers/net/wireless/ath/ath10k/coredump.c | 98 ++++++++++++++++++++++++++++
1 file changed, 98 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/coredump.c b/drivers/net/wireless/ath/ath10k/coredump.c
index f90cec0ebb1c..e0eb2eb1a66d 100644
--- a/drivers/net/wireless/ath/ath10k/coredump.c
+++ b/drivers/net/wireless/ath/ath10k/coredump.c
@@ -701,6 +701,89 @@
},
};
+static const struct ath10k_mem_region qca99X0_hw20_mem_regions[] = {
+ {
+ .type = ATH10K_MEM_REGION_TYPE_DRAM,
+ .start = 0x400000,
+ .len = 0x60000,
+ .name = "DRAM",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_REG,
+ .start = 0x98000,
+ .len = 0x50000,
+ .name = "IRAM",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOSRAM,
+ .start = 0xC0000,
+ .len = 0x40000,
+ .name = "SRAM",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x30000,
+ .len = 0x7000,
+ .name = "APB REG 1",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x3f000,
+ .len = 0x3000,
+ .name = "APB REG 2",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x43000,
+ .len = 0x3000,
+ .name = "WIFI REG",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x4A000,
+ .len = 0x5000,
+ .name = "CE REG",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x80000,
+ .len = 0x6000,
+ .name = "SOC REG",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+};
+
static const struct ath10k_mem_region qca9984_hw10_mem_regions[] = {
{
.type = ATH10K_MEM_REGION_TYPE_DRAM,
@@ -848,6 +931,21 @@
.size = ARRAY_SIZE(qca9984_hw10_mem_regions),
},
},
+ {
+ .hw_id = QCA9888_HW_2_0_DEV_VERSION,
+ .region_table = {
+ .regions = qca9984_hw10_mem_regions,
+ .size = ARRAY_SIZE(qca9984_hw10_mem_regions),
+ },
+ },
+ {
+ .hw_id = QCA99X0_HW_2_0_DEV_VERSION,
+ .region_table = {
+ .regions = qca99X0_hw20_mem_regions,
+ .size = ARRAY_SIZE(qca99X0_hw20_mem_regions),
+ },
+ },
+
};
static u32 ath10k_coredump_get_ramdump_size(struct ath10k *ar)
--
1.7.9.5
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] ath10k: add fw crash dump support for QCA9888 and QCA99X0
@ 2018-05-08 12:11 ` Anilkumar Kolli
0 siblings, 0 replies; 6+ messages in thread
From: Anilkumar Kolli @ 2018-05-08 12:11 UTC (permalink / raw)
To: ath10k; +Cc: linux-wireless
This patch adds crash dump support for QCA9888 and QCA99X0
Tested On: QCA9888, Firmware Version: 10.4-3.5.3-00053
Tested on QCA99X0, Firmware Version: 10.4.1.00030-1
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
---
drivers/net/wireless/ath/ath10k/coredump.c | 98 ++++++++++++++++++++++++++++
1 file changed, 98 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/coredump.c b/drivers/net/wireless/ath/ath10k/coredump.c
index f90cec0ebb1c..e0eb2eb1a66d 100644
--- a/drivers/net/wireless/ath/ath10k/coredump.c
+++ b/drivers/net/wireless/ath/ath10k/coredump.c
@@ -701,6 +701,89 @@
},
};
+static const struct ath10k_mem_region qca99X0_hw20_mem_regions[] = {
+ {
+ .type = ATH10K_MEM_REGION_TYPE_DRAM,
+ .start = 0x400000,
+ .len = 0x60000,
+ .name = "DRAM",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_REG,
+ .start = 0x98000,
+ .len = 0x50000,
+ .name = "IRAM",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOSRAM,
+ .start = 0xC0000,
+ .len = 0x40000,
+ .name = "SRAM",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x30000,
+ .len = 0x7000,
+ .name = "APB REG 1",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x3f000,
+ .len = 0x3000,
+ .name = "APB REG 2",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x43000,
+ .len = 0x3000,
+ .name = "WIFI REG",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x4A000,
+ .len = 0x5000,
+ .name = "CE REG",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+ {
+ .type = ATH10K_MEM_REGION_TYPE_IOREG,
+ .start = 0x80000,
+ .len = 0x6000,
+ .name = "SOC REG",
+ .section_table = {
+ .sections = NULL,
+ .size = 0,
+ },
+ },
+};
+
static const struct ath10k_mem_region qca9984_hw10_mem_regions[] = {
{
.type = ATH10K_MEM_REGION_TYPE_DRAM,
@@ -848,6 +931,21 @@
.size = ARRAY_SIZE(qca9984_hw10_mem_regions),
},
},
+ {
+ .hw_id = QCA9888_HW_2_0_DEV_VERSION,
+ .region_table = {
+ .regions = qca9984_hw10_mem_regions,
+ .size = ARRAY_SIZE(qca9984_hw10_mem_regions),
+ },
+ },
+ {
+ .hw_id = QCA99X0_HW_2_0_DEV_VERSION,
+ .region_table = {
+ .regions = qca99X0_hw20_mem_regions,
+ .size = ARRAY_SIZE(qca99X0_hw20_mem_regions),
+ },
+ },
+
};
static u32 ath10k_coredump_get_ramdump_size(struct ath10k *ar)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] ath10k: add fw crash dump support for QCA9888 and QCA99X0
2018-05-08 12:11 ` Anilkumar Kolli
@ 2018-05-12 10:05 ` Kalle Valo
-1 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2018-05-12 10:05 UTC (permalink / raw)
To: Anilkumar Kolli; +Cc: linux-wireless, ath10k
Anilkumar Kolli <akolli@codeaurora.org> writes:
> This patch adds crash dump support for QCA9888 and QCA99X0
>
> Tested On: QCA9888, Firmware Version: 10.4-3.5.3-00053
> Tested on QCA99X0, Firmware Version: 10.4.1.00030-1
>
> Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
[...]
> --- a/drivers/net/wireless/ath/ath10k/coredump.c
> +++ b/drivers/net/wireless/ath/ath10k/coredump.c
> @@ -701,6 +701,89 @@
> },
> };
>
> +static const struct ath10k_mem_region qca99X0_hw20_mem_regions[] = {
In the pending branch I changed X to lower case and also cleaned up the
commit log a bit:
ath10k: add memory dump support for QCA9888 and QCA99X0
This patch adds firmware crash memory dump support for QCA9888 and QCA99X0.
Tested on:
QCA9888 firmware 10.4-3.5.3-00053
QCA99X0 firmware 10.4.1.00030-1
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ath10k: add fw crash dump support for QCA9888 and QCA99X0
@ 2018-05-12 10:05 ` Kalle Valo
0 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2018-05-12 10:05 UTC (permalink / raw)
To: Anilkumar Kolli; +Cc: ath10k, linux-wireless
Anilkumar Kolli <akolli@codeaurora.org> writes:
> This patch adds crash dump support for QCA9888 and QCA99X0
>
> Tested On: QCA9888, Firmware Version: 10.4-3.5.3-00053
> Tested on QCA99X0, Firmware Version: 10.4.1.00030-1
>
> Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
[...]
> --- a/drivers/net/wireless/ath/ath10k/coredump.c
> +++ b/drivers/net/wireless/ath/ath10k/coredump.c
> @@ -701,6 +701,89 @@
> },
> };
>
> +static const struct ath10k_mem_region qca99X0_hw20_mem_regions[] = {
In the pending branch I changed X to lower case and also cleaned up the
commit log a bit:
ath10k: add memory dump support for QCA9888 and QCA99X0
This patch adds firmware crash memory dump support for QCA9888 and QCA99X0.
Tested on:
QCA9888 firmware 10.4-3.5.3-00053
QCA99X0 firmware 10.4.1.00030-1
--
Kalle Valo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k: add fw crash dump support for QCA9888 and QCA99X0
2018-05-08 12:11 ` Anilkumar Kolli
(?)
(?)
@ 2018-05-25 9:47 ` Kalle Valo
-1 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2018-05-25 9:47 UTC (permalink / raw)
To: Anilkumar Kolli; +Cc: linux-wireless, ath10k
Anilkumar Kolli <akolli@codeaurora.org> wrote:
> This patch adds firmware crash memory dump support for QCA9888 and QCA99X0.
>
> Tested on:
>
> QCA9888 firmware 10.4-3.5.3-00053
> QCA99X0 firmware 10.4.1.00030-1
>
> Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
46dbf98c69f4 ath10k: add memory dump support for QCA9888 and QCA99X0
--
https://patchwork.kernel.org/patch/10386041/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k: add fw crash dump support for QCA9888 and QCA99X0
2018-05-08 12:11 ` Anilkumar Kolli
` (2 preceding siblings ...)
(?)
@ 2018-05-25 9:47 ` Kalle Valo
-1 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2018-05-25 9:47 UTC (permalink / raw)
To: Anilkumar Kolli; +Cc: ath10k, linux-wireless
Anilkumar Kolli <akolli@codeaurora.org> wrote:
> This patch adds firmware crash memory dump support for QCA9888 and QCA99X0.
>
> Tested on:
>
> QCA9888 firmware 10.4-3.5.3-00053
> QCA99X0 firmware 10.4.1.00030-1
>
> Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
46dbf98c69f4 ath10k: add memory dump support for QCA9888 and QCA99X0
--
https://patchwork.kernel.org/patch/10386041/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-05-25 9:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-08 12:11 [PATCH] ath10k: add fw crash dump support for QCA9888 and QCA99X0 Anilkumar Kolli
2018-05-08 12:11 ` Anilkumar Kolli
2018-05-12 10:05 ` Kalle Valo
2018-05-12 10:05 ` Kalle Valo
2018-05-25 9:47 ` Kalle Valo
2018-05-25 9:47 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.