* [PATCH] ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1
@ 2018-01-26 5:40 Yu Wang
2018-01-26 5:40 ` Yu Wang
0 siblings, 1 reply; 4+ messages in thread
From: Yu Wang @ 2018-01-26 5:40 UTC (permalink / raw)
To: ath10k; +Cc: linux-wireless
The length of DRAM dump for QCA6174 hw3.0/hw3.2 and QCA9377 hw1.1
are less than the actual value, some coredump contents are missed.
To fix it, change the length from 0x90000 to 0xa8000.
Fixes: 703f261dd77f ("ath10k: add memory dump support for QCA6174/QCA9377")
Yu Wang (1):
ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377
hw1.1
drivers/net/wireless/ath/ath10k/coredump.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
1.9.1
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1 2018-01-26 5:40 [PATCH] ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1 Yu Wang @ 2018-01-26 5:40 ` Yu Wang 2018-01-26 6:05 ` Kalle Valo 2018-02-07 14:09 ` Kalle Valo 0 siblings, 2 replies; 4+ messages in thread From: Yu Wang @ 2018-01-26 5:40 UTC (permalink / raw) To: ath10k; +Cc: linux-wireless The length of DRAM dump for QCA6174 hw3.0/hw3.2 and QCA9377 hw1.1 are less than the actual value, some coredump contents are missed. To fix it, change the length from 0x90000 to 0xa8000. Fixes: 703f261dd77f ("ath10k: add memory dump support for QCA6174/QCA9377") Signed-off-by: Yu Wang <yyuwang@codeaurora.org> --- drivers/net/wireless/ath/ath10k/coredump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/coredump.c b/drivers/net/wireless/ath/ath10k/coredump.c index 4dde126..7173b37 100644 --- a/drivers/net/wireless/ath/ath10k/coredump.c +++ b/drivers/net/wireless/ath/ath10k/coredump.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. + * Copyright (c) 2018, The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -616,7 +617,7 @@ { .type = ATH10K_MEM_REGION_TYPE_DRAM, .start = 0x400000, - .len = 0x90000, + .len = 0xa8000, .name = "DRAM", .section_table = { .sections = NULL, -- 1.9.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1 2018-01-26 5:40 ` Yu Wang @ 2018-01-26 6:05 ` Kalle Valo 2018-02-07 14:09 ` Kalle Valo 1 sibling, 0 replies; 4+ messages in thread From: Kalle Valo @ 2018-01-26 6:05 UTC (permalink / raw) To: Yu Wang; +Cc: ath10k, linux-wireless Yu Wang <yyuwang@codeaurora.org> wrote: > The length of DRAM dump for QCA6174 hw3.0/hw3.2 and QCA9377 hw1.1 > are less than the actual value, some coredump contents are missed. > To fix it, change the length from 0x90000 to 0xa8000. > > Fixes: 703f261dd77f ("ath10k: add memory dump support for QCA6174/QCA9377") > Signed-off-by: Yu Wang <yyuwang@codeaurora.org> I'm planning to queue this to 4.16. -- https://patchwork.kernel.org/patch/10185101/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1 2018-01-26 5:40 ` Yu Wang 2018-01-26 6:05 ` Kalle Valo @ 2018-02-07 14:09 ` Kalle Valo 1 sibling, 0 replies; 4+ messages in thread From: Kalle Valo @ 2018-02-07 14:09 UTC (permalink / raw) To: Yu Wang; +Cc: ath10k, linux-wireless Yu Wang <yyuwang@codeaurora.org> wrote: > The length of DRAM dump for QCA6174 hw3.0/hw3.2 and QCA9377 hw1.1 > are less than the actual value, some coredump contents are missed. > To fix it, change the length from 0x90000 to 0xa8000. > > Fixes: 703f261dd77f ("ath10k: add memory dump support for QCA6174/QCA9377") > Signed-off-by: Yu Wang <yyuwang@codeaurora.org> > Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Patch applied to ath-current branch of ath.git, thanks. 0a7fe718239e ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1 -- https://patchwork.kernel.org/patch/10185101/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-07 14:09 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-01-26 5:40 [PATCH] ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1 Yu Wang 2018-01-26 5:40 ` Yu Wang 2018-01-26 6:05 ` Kalle Valo 2018-02-07 14:09 ` Kalle Valo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).