From: Kalle Valo <kvalo@codeaurora.org>
To: "Timur Kristóf" <timur.kristof@gmail.com>
Cc: ath10k@lists.infradead.org, ryanhsu@codeaurora.org
Subject: Re: Frequent ath10k crashes with QCA6174 on kernels 4.16 and 4.17
Date: Tue, 29 May 2018 13:21:44 +0300 [thread overview]
Message-ID: <87po1e69tz.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <c92e04d5b80af2a640ab97efce32d987ffb27ffe.camel@gmail.com> ("Timur \=\?utf-8\?Q\?Krist\=C3\=B3f\=22's\?\= message of "Tue, 29 May 2018 11:52:15 +0300")
+ ryan
Timur Kristóf <timur.kristof@gmail.com> writes:
> I'm experiencing a lot of ath10k driver crashes on both 4.16 (as
> shipped in Fedora) and 4.17 (tried rc5 and rc6) using a Dell XPS 13
> 9370 with a QCA6174.
>
> With 4.16 the driver crash always results in the whole system hanging.
> With 4.17 it does not always hang the system completely, but it still
> happends. I also tried to upgrade the firmware which also reduces the
> frequency of the crashes but does not eliminate them completely.
>
> The common pattern I see in dmesg is this:
> [30372.900832] wlp2s0: AP 64:7c:34:3f:c3:b0 changed bandwidth, new
> config is 2437 MHz, width 2 (2447/0 MHz)
>
> Searching a bit in kernel sources, this message is printed by this line:
> https://github.com/torvalds/linux/blob/master/net/mac80211/mlme.c#L364
> And width 2 seems to correspond to NL80211_CHAN_WIDTH_40 here:
> https://github.com/torvalds/linux/blob/master/include/uapi/linux/nl80211.h#L3880
>
> So it seems that either the driver or the firmware can't cope with it
> when the AP changes the bandwidth.
> Here is the Fedora bug report:
> https://bugzilla.redhat.com/show_bug.cgi?id=1577106
>
> Is there anything that can be done to improve the stability of ath10k on this system?
> I see there is a lot going on in the upstream repo, but not sure which
> branch to try: ath-next or qca?
I think this patch should fix the firmware crash:
ath10k: Update the phymode along with bandwidth change request
https://patchwork.kernel.org/patch/10183453/
Unfortunately it didn't apply to my tree so I had to drop it. Few days
ago I was talking with Ryan and he said he is planning to send v2, but
I'm sure he don't mind if someone else can send the v2 either. The
faster we can apply the patch, and get it to stable releases, the better
as we seems to be a very common issue.
But there also seems to be another bug related to firmware restart, it
shouldn't crash the kernel! Does the kernel crash also when crashing the
kernel using simulate_fw_crash debugfs file?
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2018-05-29 10:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-29 8:52 Frequent ath10k crashes with QCA6174 on kernels 4.16 and 4.17 Timur Kristóf
2018-05-29 10:21 ` Kalle Valo [this message]
2018-05-29 12:32 ` Timur Kristóf
2018-05-29 13:29 ` Kalle Valo
2018-05-29 19:36 ` Timur Kristóf
2018-05-30 7:15 ` Timur Kristóf
2018-06-08 18:37 ` Ryan Hsu
2018-06-08 19:27 ` timur.kristof
2018-06-08 20:25 ` Ryan Hsu
2018-06-09 12:56 ` Timur Kristóf
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=87po1e69tz.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@codeaurora.org \
--cc=ath10k@lists.infradead.org \
--cc=ryanhsu@codeaurora.org \
--cc=timur.kristof@gmail.com \
/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 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.