ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Wen Gong <wgong@codeaurora.org>
Cc: ath11k@lists.infradead.org,  linux-wireless@vger.kernel.org
Subject: Re: [PATCH v3 0/3] ath11k: add feature for device recovery
Date: Mon, 15 Nov 2021 14:53:07 +0200	[thread overview]
Message-ID: <87h7cdh970.fsf@codeaurora.org> (raw)
In-Reply-To: <20211015035459.14190-1-wgong@codeaurora.org> (Wen Gong's message of "Thu, 14 Oct 2021 23:54:56 -0400")

Wen Gong <wgong@codeaurora.org> writes:

> From: Wen Gong <quic_wgong@quicinc.com>
>
> v3: remove time_left set but not used in
>     "ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base"
>
> v2: s/initilized/initialized in commit log of patch
>     "ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base"
>
> Add support for device recovery.
>
> Wen Gong (3):
>   ath11k: add ath11k_qmi_free_resource() for recovery
>   ath11k: add support for device recovery for QCA6390
>   ath11k: add synchronization operation between reconfigure of mac80211
>     and ath11k_base

I did some quick testing (commit 4716d5bb1e16 in pending branch) and it
does not seem to work for me:

oot@nuc1:~# echo assert > /sys/kernel/debug/ath11k/qca6390\ hw2.0/simulate_fw_crash
root@nuc1:~# iw wlan0 scan
command failed: Connection timed out (-110)
root@nuc1:~# 

Kernel logs have:

[  118.903092] ath11k_pci 0000:06:00.0: BAR 0: assigned [mem 0xdb000000-0xdbffffff 64bit]
[  118.925164] ath11k_pci 0000:06:00.0: MSI vectors: 32
[  118.925285] ath11k_pci 0000:06:00.0: qca6390 hw2.0
[  119.093214] mhi mhi0: Requested to power ON
[  119.095430] mhi mhi0: Power on setup success
[  119.423735] mhi mhi0: Wait for device to enter SBL or Mission mode
[  119.543030] ath11k_pci 0000:06:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0xffffffff
[  119.543197] ath11k_pci 0000:06:00.0: fw_version 0x101c06cc fw_build_timestamp 2020-06-24 19:50 fw_build_id 
[  230.101077] ip (2367) used greatest stack depth: 24384 bytes left
[  283.663895] ath11k_pci 0000:06:00.0: simulating firmware assert crash
[  283.738422] ath11k_pci 0000:06:00.0: firmware crashed: MHI_CB_SYS_ERROR
[  295.236831] ath11k_pci 0000:06:00.0: wmi command 12290 timeout
[  295.237937] ath11k_pci 0000:06:00.0: failed to send WMI_STOP_SCAN_CMDID
[  295.238467] ath11k_pci 0000:06:00.0: failed to stop wmi scan: -11
[  295.240049] ath11k_pci 0000:06:00.0: failed to stop scan: -11
[  295.240558] ath11k_pci 0000:06:00.0: failed to start hw scan: -110

Also there should be a clear ath11k_warn() message when firmware
recovery was successful, I could not find one from patches.

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

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

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

  parent reply	other threads:[~2021-11-15 12:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-15  3:54 [PATCH v3 0/3] ath11k: add feature for device recovery Wen Gong
2021-10-15  3:54 ` [PATCH v3 1/3] ath11k: add ath11k_qmi_free_resource() for recovery Wen Gong
2021-10-15  3:54 ` [PATCH v3 2/3] ath11k: add support for device recovery for QCA6390 Wen Gong
2021-10-15  3:54 ` [PATCH v3 3/3] ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base Wen Gong
2021-11-15 12:53 ` Kalle Valo [this message]
2021-11-16  4:19   ` [PATCH v3 0/3] ath11k: add feature for device recovery Wen Gong
2021-11-17  8:08     ` Kalle Valo
2021-11-17  9:35       ` Wen Gong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7cdh970.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=wgong@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox