ATH11K Archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] wifi: ath11k: adjust a comment to reflect reality
@ 2024-03-04  8:22 Kevin Lo
  2024-03-04 15:46 ` Jeff Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kevin Lo @ 2024-03-04  8:22 UTC (permalink / raw
  To: ath11k; +Cc: Jeff Johnson, Kalle Valo, linux-wireless

On QCA6390/QCN9074/WCN6855, MHISTATUS may still have SYSERR bit set
after SOC_GLOBAL_RESET.

changes for v2:
- update comment about resetting MHICTRL to clear SYSERR

Signed-off-by: Kevin Lo <kevlo@kevlo.org>
--- 
diff --git a/drivers/net/wireless/ath/ath11k/mhi.c b/drivers/net/wireless/ath/ath11k/mhi.c
index fb4ecf9a103e..956fff0d4962 100644
--- a/drivers/net/wireless/ath/ath11k/mhi.c
+++ b/drivers/net/wireless/ath/ath11k/mhi.c
@@ -158,9 +158,8 @@ void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab)
 
 	ath11k_dbg(ab, ATH11K_DBG_PCI, "mhistatus 0x%x\n", val);
 
-	/* Observed on QCA6390 that after SOC_GLOBAL_RESET, MHISTATUS
-	 * has SYSERR bit set and thus need to set MHICTRL_RESET
-	 * to clear SYSERR.
+	/* After SOC_GLOBAL_RESET, MHISTATUS may still have SYSERR bit set 
+	 * and thus need to set MHICTRL_RESET to clear SYSERR.
 	 */
 	ath11k_pcic_write32(ab, MHICTRL, MHICTRL_RESET_MASK);
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] wifi: ath11k: adjust a comment to reflect reality
  2024-03-04  8:22 [PATCH v2] wifi: ath11k: adjust a comment to reflect reality Kevin Lo
@ 2024-03-04 15:46 ` Jeff Johnson
  2024-03-06  9:14 ` Kalle Valo
  2024-03-11 12:54 ` Kalle Valo
  2 siblings, 0 replies; 5+ messages in thread
From: Jeff Johnson @ 2024-03-04 15:46 UTC (permalink / raw
  To: Kevin Lo, ath11k; +Cc: Kalle Valo, linux-wireless

On 3/4/2024 12:22 AM, Kevin Lo wrote:
> On QCA6390/QCN9074/WCN6855, MHISTATUS may still have SYSERR bit set
> after SOC_GLOBAL_RESET.
> 
> changes for v2:
> - update comment about resetting MHICTRL to clear SYSERR

for future reference the version log should not be part of the commit text
> 
> Signed-off-by: Kevin Lo <kevlo@kevlo.org>
> --- 

the version log goes here, after the --- ("after the cut")

but no need to send another version -- Kalle can fix this when he pulls
into the pending branch.

Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] wifi: ath11k: adjust a comment to reflect reality
  2024-03-04  8:22 [PATCH v2] wifi: ath11k: adjust a comment to reflect reality Kevin Lo
  2024-03-04 15:46 ` Jeff Johnson
@ 2024-03-06  9:14 ` Kalle Valo
  2024-03-06 15:45   ` Jeff Johnson
  2024-03-11 12:54 ` Kalle Valo
  2 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2024-03-06  9:14 UTC (permalink / raw
  To: Kevin Lo; +Cc: ath11k, Jeff Johnson, linux-wireless

Kevin Lo <kevlo@kevlo.org> writes:

> On QCA6390/QCN9074/WCN6855, MHISTATUS may still have SYSERR bit set
> after SOC_GLOBAL_RESET.
>
> changes for v2:
> - update comment about resetting MHICTRL to clear SYSERR
>
> Signed-off-by: Kevin Lo <kevlo@kevlo.org>

This didn't apply and I manually edited the patch. I also removed the
changelog from the commit message, please check my changes:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=709cd1c88a11bc1969cf573575b0a2027e720146

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] wifi: ath11k: adjust a comment to reflect reality
  2024-03-06  9:14 ` Kalle Valo
@ 2024-03-06 15:45   ` Jeff Johnson
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Johnson @ 2024-03-06 15:45 UTC (permalink / raw
  To: Kalle Valo, Kevin Lo; +Cc: ath11k, linux-wireless

On 3/6/2024 1:14 AM, Kalle Valo wrote:
> Kevin Lo <kevlo@kevlo.org> writes:
> 
>> On QCA6390/QCN9074/WCN6855, MHISTATUS may still have SYSERR bit set
>> after SOC_GLOBAL_RESET.
>>
>> changes for v2:
>> - update comment about resetting MHICTRL to clear SYSERR
>>
>> Signed-off-by: Kevin Lo <kevlo@kevlo.org>
> 
> This didn't apply and I manually edited the patch. I also removed the
> changelog from the commit message, please check my changes:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=709cd1c88a11bc1969cf573575b0a2027e720146
> 
LGTM


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] wifi: ath11k: adjust a comment to reflect reality
  2024-03-04  8:22 [PATCH v2] wifi: ath11k: adjust a comment to reflect reality Kevin Lo
  2024-03-04 15:46 ` Jeff Johnson
  2024-03-06  9:14 ` Kalle Valo
@ 2024-03-11 12:54 ` Kalle Valo
  2 siblings, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2024-03-11 12:54 UTC (permalink / raw
  To: Kevin Lo; +Cc: ath11k, Jeff Johnson, linux-wireless

Kevin Lo <kevlo@kevlo.org> wrote:

> On QCA6390/QCN9074/WCN6855, MHISTATUS may still have SYSERR bit set
> after SOC_GLOBAL_RESET.
> 
> Signed-off-by: Kevin Lo <kevlo@kevlo.org>
> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

a368b0a9854e wifi: ath11k: adjust a comment to reflect reality

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/ZeWEqGVibkMg2APi@ns.kevlo.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-11 12:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04  8:22 [PATCH v2] wifi: ath11k: adjust a comment to reflect reality Kevin Lo
2024-03-04 15:46 ` Jeff Johnson
2024-03-06  9:14 ` Kalle Valo
2024-03-06 15:45   ` Jeff Johnson
2024-03-11 12:54 ` 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 read-only IMAP folder(s) and NNTP newsgroup(s).