All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
@ 2017-08-30 22:51 Ian W MORRISON
  2017-09-01 20:04 ` Arend van Spriel
  2017-09-08  9:25 ` [v2] " Kalle Valo
  0 siblings, 2 replies; 7+ messages in thread
From: Ian W MORRISON @ 2017-08-30 22:51 UTC (permalink / raw)
  To: arend.vanspriel, kvalo, ian, linux-wireless

The firmware feature check introduced for multi-scheduled scan is also
failing for bcm4345 devices resulting in a firmware crash.
The reason for this crash has not yet been root cause so this patch avoids
the feature check for those device as a short-term fix.

Fixes: 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan feature")
Signed-off-by: Ian W MORRISON <ianwmorrison@gmail.com>
---
v2: Fixed tabs being replaced by spaces in patch submission
Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
index f1b60740e..53ae302 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
@@ -159,7 +159,8 @@ void brcmf_feat_attach(struct brcmf_pub *drvr)
 
 	brcmf_feat_firmware_capabilities(ifp);
 	memset(&gscan_cfg, 0, sizeof(gscan_cfg));
-	if (drvr->bus_if->chip != BRCM_CC_43430_CHIP_ID)
+	if (drvr->bus_if->chip != BRCM_CC_43430_CHIP_ID &&
+	    drvr->bus_if->chip != BRCM_CC_4345_CHIP_ID)
 		brcmf_feat_iovar_data_set(ifp, BRCMF_FEAT_GSCAN,
 					  "pfn_gscan_cfg",
 					  &gscan_cfg, sizeof(gscan_cfg));
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
  2017-08-30 22:51 [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices Ian W MORRISON
@ 2017-09-01 20:04 ` Arend van Spriel
  2017-09-02  7:15   ` Ian W MORRISON
  2017-09-08  9:25 ` [v2] " Kalle Valo
  1 sibling, 1 reply; 7+ messages in thread
From: Arend van Spriel @ 2017-09-01 20:04 UTC (permalink / raw)
  To: Ian W MORRISON, kvalo, ian, linux-wireless

On 31-08-17 00:51, Ian W MORRISON wrote:
> The firmware feature check introduced for multi-scheduled scan is also
> failing for bcm4345 devices resulting in a firmware crash.
> The reason for this crash has not yet been root cause so this patch avoids
> the feature check for those device as a short-term fix.

Thanks. This is one of the few devices that I actually do not have on my 
desk.

Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
> Fixes: 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan feature")
> Signed-off-by: Ian W MORRISON <ianwmorrison@gmail.com>
> ---
> v2: Fixed tabs being replaced by spaces in patch submission
> Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.
> ---
>   drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
  2017-09-01 20:04 ` Arend van Spriel
@ 2017-09-02  7:15   ` Ian W MORRISON
  2017-09-04 13:01     ` Kalle Valo
  0 siblings, 1 reply; 7+ messages in thread
From: Ian W MORRISON @ 2017-09-02  7:15 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: kvalo, Ian Molton, open list:TI WILINK WIRELES...

On 2 September 2017 at 06:04, Arend van Spriel
<arend.vanspriel@broadcom.com> wrote:
> On 31-08-17 00:51, Ian W MORRISON wrote:
>>
>> The firmware feature check introduced for multi-scheduled scan is also
>> failing for bcm4345 devices resulting in a firmware crash.
>> The reason for this crash has not yet been root cause so this patch avoids
>> the feature check for those device as a short-term fix.
>
>
> Thanks. This is one of the few devices that I actually do not have on my
> desk.
>
> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
>>
>> Fixes: 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan
>> feature")
>> Signed-off-by: Ian W MORRISON <ianwmorrison@gmail.com>
>> ---
>> v2: Fixed tabs being replaced by spaces in patch submission
>> Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.
>> ---
>>   drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)

Thanks. This patch of course is required to fix the '4.13 REGRESSION'
for brcm4345 sdio wifi with 4.13-rc1 through 4.13-rc7 as v4.12.10 is
the last working release. If you want me to test anything specific on
this device let me know.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
  2017-09-02  7:15   ` Ian W MORRISON
@ 2017-09-04 13:01     ` Kalle Valo
  2017-09-04 15:41       ` Ian W MORRISON
       [not found]       ` <CAFXWsS-NxYqp-N9AFUCuQE-nknNorV25wevGJ7KkJuvMmHh6Og@mail.gmail.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Kalle Valo @ 2017-09-04 13:01 UTC (permalink / raw)
  To: Ian W MORRISON; +Cc: Arend van Spriel, Ian Molton, linux-wireless

Ian W MORRISON <ianwmorrison@gmail.com> writes:

> On 2 September 2017 at 06:04, Arend van Spriel
> <arend.vanspriel@broadcom.com> wrote:
>> On 31-08-17 00:51, Ian W MORRISON wrote:
>>>
>>> The firmware feature check introduced for multi-scheduled scan is also
>>> failing for bcm4345 devices resulting in a firmware crash.
>>> The reason for this crash has not yet been root cause so this patch avoids
>>> the feature check for those device as a short-term fix.
>>
>>
>> Thanks. This is one of the few devices that I actually do not have on my
>> desk.
>>
>> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
>>>
>>> Fixes: 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan
>>> feature")
>>> Signed-off-by: Ian W MORRISON <ianwmorrison@gmail.com>
>>> ---
>>> v2: Fixed tabs being replaced by spaces in patch submission
>>> Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.
>>> ---
>>>   drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++-
>>>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> Thanks. This patch of course is required to fix the '4.13 REGRESSION'
> for brcm4345 sdio wifi with 4.13-rc1 through 4.13-rc7 as v4.12.10 is
> the last working release. If you want me to test anything specific on
> this device let me know.

I'll queue this for 4.14. And add a stable tag so that I goes to 4.13
stable releases:

Cc: <stable@vger.kernel.org> # v4.13

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
  2017-09-04 13:01     ` Kalle Valo
@ 2017-09-04 15:41       ` Ian W MORRISON
       [not found]       ` <CAFXWsS-NxYqp-N9AFUCuQE-nknNorV25wevGJ7KkJuvMmHh6Og@mail.gmail.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Ian W MORRISON @ 2017-09-04 15:41 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Arend van Spriel, Ian Molton, open list:TI WILINK WIRELES...

On 4 September 2017 at 23:01, Kalle Valo <kvalo@codeaurora.org> wrote:
>
> I'll queue this for 4.14. And add a stable tag so that I goes to 4.13
> stable releases:
>
> Cc: <stable@vger.kernel.org> # v4.13
>
> --
> Kalle Valo

Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
       [not found]       ` <CAFXWsS-NxYqp-N9AFUCuQE-nknNorV25wevGJ7KkJuvMmHh6Og@mail.gmail.com>
@ 2017-09-08  9:15         ` Kalle Valo
  0 siblings, 0 replies; 7+ messages in thread
From: Kalle Valo @ 2017-09-08  9:15 UTC (permalink / raw)
  To: Ian W MORRISON; +Cc: linux-wireless

Hi Ian,

please don't send me email privately, instead always send the questions
to the list. You get better answers faster and I get less email :)

Ian W MORRISON <ianwmorrison@gmail.com> writes:

> With the below patch how can I track when it has been merged into 4.13
> so I can check and start using it? For 4.14 I'm assuming I'll get an
> 'applied' email from you so I can track through git but as I've never
> had a patch go backwards into stable I'm unsure of how it works.

So if Greg applies a patch to one of stable his stable releases who
usually sends a private email to the patch author and anyone who has
signed off the patch. So you should get an email about that. You can
also follow the stable trees mentioned here:

https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html

But good that you brought up this as I almost missed your patch from
this week's pull request for 4.14. I'll apply it shortly.

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
  2017-08-30 22:51 [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices Ian W MORRISON
  2017-09-01 20:04 ` Arend van Spriel
@ 2017-09-08  9:25 ` Kalle Valo
  1 sibling, 0 replies; 7+ messages in thread
From: Kalle Valo @ 2017-09-08  9:25 UTC (permalink / raw)
  To: Ian W MORRISON; +Cc: arend.vanspriel, ian, linux-wireless

Ian W MORRISON <ianwmorrison@gmail.com> wrote:

> The firmware feature check introduced for multi-scheduled scan is also
> failing for bcm4345 devices resulting in a firmware crash.
> The reason for this crash has not yet been root cause so this patch avoids
> the feature check for those device as a short-term fix.
> 
> Fixes: 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan feature")
> Cc: <stable@vger.kernel.org> # v4.13
> Signed-off-by: Ian W MORRISON <ianwmorrison@gmail.com>
> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>

Patch applied to wireless-drivers.git, thanks.

f957dd3c8db2 brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices

-- 
https://patchwork.kernel.org/patch/9930929/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-09-08  9:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30 22:51 [PATCH v2] brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices Ian W MORRISON
2017-09-01 20:04 ` Arend van Spriel
2017-09-02  7:15   ` Ian W MORRISON
2017-09-04 13:01     ` Kalle Valo
2017-09-04 15:41       ` Ian W MORRISON
     [not found]       ` <CAFXWsS-NxYqp-N9AFUCuQE-nknNorV25wevGJ7KkJuvMmHh6Og@mail.gmail.com>
2017-09-08  9:15         ` Fwd: " Kalle Valo
2017-09-08  9:25 ` [v2] " Kalle Valo

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.