All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: ath10k@lists.infradead.org
Subject: What to do about hung firmware?
Date: Tue, 05 Nov 2013 10:51:55 -0800	[thread overview]
Message-ID: <52793E4B.20302@candelatech.com> (raw)

I'm seeing cases where it appears the firmware just gets
stuck and will not answer any WMI requests.

ath10k just patiently keeps timing out WMI commands,
(while holding locks, and making the whole system run slow).

Should we maybe keep a last-msg-from firmware time stamp
and just whack the firmware if we detect it hung?  In addition
to this, we could add some 'ping' message that will get sent
periodically to the firmware to make sure it is alive.
We should be able to do this with existing WMI API, just
need to pick a message to send that expects some response.

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

             reply	other threads:[~2013-11-05 18:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 18:51 Ben Greear [this message]
2013-11-06  7:07 ` What to do about hung firmware? Michal Kazior
2013-11-06  7:21   ` Ben Greear
2013-11-06  7:46   ` Kalle Valo
2013-11-06 16:51     ` Ben Greear
2013-11-06 17:40       ` Kalle Valo

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=52793E4B.20302@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=ath10k@lists.infradead.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 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.