[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <be97a37a-d81b-5756-7a97-418d9b36a381@broadcom.com>
Date: Mon, 17 Jun 2019 12:35:50 +0200
From: Arend Van Spriel <arend.vanspriel@...adcom.com>
To: Douglas Anderson <dianders@...omium.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Kalle Valo <kvalo@...eaurora.org>,
Adrian Hunter <adrian.hunter@...el.com>
Cc: brcm80211-dev-list.pdl@...adcom.com,
linux-rockchip@...ts.infradead.org,
Double Lo <double.lo@...ress.com>, briannorris@...omium.org,
linux-wireless@...r.kernel.org,
Naveen Gupta <naveen.gupta@...ress.com>,
Madhan Mohan R <madhanmohan.r@...ress.com>, mka@...omium.org,
Wright Feng <wright.feng@...ress.com>,
Chi-Hsien Lin <chi-hsien.lin@...ress.com>,
netdev@...r.kernel.org, brcm80211-dev-list@...ress.com,
Hans de Goede <hdegoede@...hat.com>,
Franky Lin <franky.lin@...adcom.com>,
linux-kernel@...r.kernel.org,
Hante Meuleman <hante.meuleman@...adcom.com>,
YueHaibing <yuehaibing@...wei.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH v4 3/5] brcmfmac: sdio: Disable auto-tuning around
commands expected to fail
On 6/14/2019 1:41 AM, Douglas Anderson wrote:
> There are certain cases, notably when transitioning between sleep and
> active state, when Broadcom SDIO WiFi cards will produce errors on the
> SDIO bus. This is evident from the source code where you can see that
> we try commands in a loop until we either get success or we've tried
> too many times. The comment in the code reinforces this by saying
> "just one write attempt may fail"
>
> Unfortunately these failures sometimes end up causing an "-EILSEQ"
> back to the core which triggers a retuning of the SDIO card and that
> blocks all traffic to the card until it's done.
>
> Let's disable retuning around the commands we expect might fail.
>
> Fixes: bd11e8bd03ca ("mmc: core: Flag re-tuning is needed on CRC errors")
Reviewed-by: Arend van Spriel <arend.vanspriel@...adcom.com>
> Signed-off-by: Douglas Anderson <dianders@...omium.org>
Powered by blists - more mailing lists