All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Wey-Yi Guy <wey-yi.w.guy@intel.com>,
	linux-wireless@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH 3.3] iwlwifi: always monitor for stuck queues
Date: Mon, 05 Mar 2012 21:04:32 +0100	[thread overview]
Message-ID: <1330977872.3545.11.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <20120305194644.GF18128@tuxdriver.com> (sfid-20120305_210211_266165_46802003)

On Mon, 2012-03-05 at 14:46 -0500, John W. Linville wrote:
> On Sun, Mar 04, 2012 at 08:50:46AM -0800, Wey-Yi Guy wrote:
> > From: Johannes Berg <johannes.berg@intel.com>
> > 
> > If we only monitor while associated, the following
> > can happen:
> >  - we're associated, and the queue stuck check
> >    runs, setting the queue "touch" time to X
> >  - we disassociate, stopping the monitoring,
> >    which leaves the time set to X
> >  - almost 2s later, we associate, and enqueue
> >    a frame
> >  - before the frame is transmitted, we monitor
> >    for stuck queues, and find the time set to
> >    X, although it is now later than X + 2000ms,
> >    so we decide that the queue is stuck and
> >    erroneously restart the device
> > 
> > It happens more with P2P because there we can
> > go between associated/unassociated frequently.
> > 
> > Cc: stable@vger.kernel.org
> > Reported-by: Ben Cahill <ben.m.cahill@intel.com>
> > Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> > Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
> > ---
> 
> So what is the effect of this bug?  An unnecessary firmware restart?  How often does this happen?

Oh, guess I forgot that. The effect is essentially that the firmware
restarts unnecessarily, which causes strange things to happen.

> It is very late in the 3.3 cycle.  Fixes should be for regressions, crashes, etc.

Since unfortunately P2P isn't really stable yet and before P2P hardly
anyone saw this I suppose it doesn't matter all that much ...

johannes


      reply	other threads:[~2012-03-05 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 16:50 [PATCH 3.3] iwlwifi: always monitor for stuck queues Wey-Yi Guy
2012-03-05 19:46 ` John W. Linville
2012-03-05 20:04   ` Johannes Berg [this message]

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=1330977872.3545.11.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=stable@vger.kernel.org \
    --cc=wey-yi.w.guy@intel.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.