All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Coelho <luca@coelho.fi>
To: kvalo@codeaurora.org
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v2] iwlwifi: mvm: retry init flow if failed
Date: Wed, 10 Nov 2021 15:05:13 +0200	[thread overview]
Message-ID: <1e1d3a7ee2abe2612a0120024a483590d050b3bf.camel@coelho.fi> (raw)
In-Reply-To: <iwlwifi.20211110150132.57514296ecab.I52a0411774b700bdc7dedb124d8b59bf99456eb2@changeid>

On Wed, 2021-11-10 at 15:01 +0200, Luca Coelho wrote:
> From: Mordechay Goodstein <mordechay.goodstein@intel.com>
> 
> In some very rare cases the init flow may fail.  In many cases, this is
> recoverable, so we can retry.  Implement a loop to retry two more times
> after the first attempt failed.
> 
> This can happen in two different situations, namely during probe and
> during mac80211 start.  For the first case, a simple loop is enough.
> For the second case, we need to add a flag to prevent mac80211 from
> trying to restart it as well, leaving full control with the driver.
> 
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
> ---
> In v2: fixed a missing brace.

Kalle, sorry, I had a rebase damage in the previous version.  Fixed in
v2.  I marked v1 as superseded and assigned v2 to you.

--
Cheers,
Luca.

  reply	other threads:[~2021-11-10 13:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09 17:30 [PATCH] iwlwifi: mvm: retry init flow if failed Luca Coelho
2021-11-09 17:33 ` Luca Coelho
2021-11-10 10:51 ` kernel test robot
2021-11-10 10:51   ` kernel test robot
2021-11-10 13:01 ` [PATCH v2] " Luca Coelho
2021-11-10 13:05   ` Luca Coelho [this message]
2021-11-22 18:38   ` Kalle Valo
2021-11-10 14:15 ` [PATCH] " kernel test robot
2021-11-10 14:15   ` kernel test robot

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=1e1d3a7ee2abe2612a0120024a483590d050b3bf.camel@coelho.fi \
    --to=luca@coelho.fi \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.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.