[regression] Bug 216894 - brcmfmac stopped working due to missing firmware; brcmf_pcie_init_ringbuffers: invalid max_flowrings(264)

From: Thorsten Leemhuis
Date: Sun Jan 08 2023 - 03:00:35 EST


Hi, this is your Linux kernel regression tracker.

I noticed a regression report in bugzilla.kernel.org. As many (most?)
kernel developer don't keep an eye on it, I decided to forward it by
mail. Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=216894 :

> Christian Marillat 2023-01-06 10:58:26 UTC
>
> Hi,
>
> With this commit the kernel doesn't load the firmware and I lost my wifi device, But without this commit the firmware load fine without a kernel panic.
>
> kernel 6.0.15/6.1.3
> brcmfmac 0000:02:00.0: brcmf_pcie_init_ringbuffers: invalid max_flowrings(264)
>
> kernel 6.0.17
> brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4366c-pcie for chip BCM4366/4
> brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
> brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4366/4 wl0: Nov 5 2018 03:19:56 version 10.28.2 (r769115) FWID 01-d2cbb8fd
>
> PCI info :
>
> 02:00.0 Network controller: Broadcom Inc. and subsidiaries Device 43c3 (rev 04)
> Subsystem: ASUSTeK Computer Inc. Device 86fb
> Flags: bus master, fast devsel, latency 0, IRQ 45
> Memory at f7000000 (64-bit, non-prefetchable) [size=32K]
> Memory at f6800000 (64-bit, non-prefetchable) [size=8M]
> Memory at f2400000 (64-bit, prefetchable) [size=4M]
> Capabilities: <access denied>
> Kernel driver in use: brcmfmac
> Kernel modules: brcmfmac
>
> Christian
>
> [reply] [−] Comment 1 Christian Marillat 2023-01-06 11:00:21 UTC
>
> kernel version should be 6.0.17/6.1.3 and 6.0.15
>
> Christian
>

See the ticket for more details.

BTW, let me use this mail to also add the report to the list of tracked
regressions to ensure it's doesn't fall through the cracks:

#regzbot introduced: 2aca4f3734bd717e04943
https://bugzilla.kernel.org/show_bug.cgi?id=216894
#regzbot title: net: wifi: brcmfmac stopped working as firmware is not
loaded anymore
#regzbot ignore-activity

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.