From: Ben Greear <greearb@candelatech.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: ath10k <ath10k@lists.infradead.org>
Subject: Re: Deadlock on (faked) firmware crash, CUS239, modified 10.4.3 firmware.
Date: Wed, 30 Mar 2016 15:28:05 -0700 [thread overview]
Message-ID: <56FC52F5.7080407@candelatech.com> (raw)
In-Reply-To: <CA+BoTQmwGONqJ0MgccrMzzx9UsGuRCZpdy1RSqdgkcNm_te0xQ@mail.gmail.com>
> Hmm.. If it still reproduces can you try the following diff?
>
> --- a/drivers/net/wireless/ath/ath10k/mac.c
> +++ b/drivers/net/wireless/ath/ath10k/mac.c
> @@ -3780,6 +3780,8 @@ void ath10k_mac_tx_push_pending(struct ath10k *ar)
> list_del_init(&artxq->list);
> if (ret != -ENOENT)
> list_add_tail(&artxq->list, &ar->txqs);
> + else if (artxq == last)
> + last = list_last_entry(&ar->txqs, struct
> ath10k_txq, list);
>
> ath10k_htt_tx_txq_update(hw, txq);
Ok, I added this code, and can still reproduce the code.
Firmware is crashing multiple times a minute in this machine in it's
current configuration. Right before it hung, firmware crashed and
was restarted, and then I get the hang notification.
I don't see any obvious bail-out in the tx_push_pending logic
if the firmware crashes?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2016-03-30 22:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-26 2:27 Deadlock on (faked) firmware crash, CUS239, modified 10.4.3 firmware Ben Greear
2016-03-29 8:14 ` Michal Kazior
2016-03-29 15:46 ` Ben Greear
2016-03-30 22:28 ` Ben Greear [this message]
2016-03-31 6:32 ` Michal Kazior
2016-03-31 19:16 ` Ben Greear
2016-04-01 5:26 ` Michal Kazior
2016-04-01 5:33 ` Ben Greear
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=56FC52F5.7080407@candelatech.com \
--to=greearb@candelatech.com \
--cc=ath10k@lists.infradead.org \
--cc=michal.kazior@tieto.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.