Bug 217245 - mt7921e tries to load unnecessary firmware

Linux regression tracking (Thorsten Leemhuis) regressions at leemhuis.info
Sat Mar 25 06:23:16 PDT 2023


Hi, Thorsten here, the Linux kernel's regression tracker.

I noticed a regression report in bugzilla.kernel.org. As many (most?)
kernel developers don't keep an eye on it, I decided to forward it by
mail. Note, the reporter can be reached though bugzilla, as I sadly can
not CCed them to mails like this[1].

Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=217245 :

> kitestramuort at autistici.org 2023-03-24 21:53:01 UTC
> 
> I compile mt7921e statically into the kernel, along with the firmware
> binaries needed for my MT7922 chip:
> WIFI_MT7922_patch_mcu_1_1_hdr.bin, WIFI_MT7922_patch_mcu_1_1_hdr.bin
> and BT_RAM_CODE_MT7922_1_1_hdr.bin
> 
> Since 6.2, mt7921e also tries to load WIFI_RAM_CODE_MT7961_1.bin and
> fails with
> 
> mt7921e 0000:02:00.0: Direct firmware load for
> mediatek/WIFI_RAM_CODE_MT7961_1.bin failed with error -2
> 
> The card seems to work normally without that binary, so I guess it is
> not needed and it shouldn't be requested. The error doesn't happen
> with the 6.1 kernel

See the ticket for more details.


[TLDR for the rest of this mail: I'm adding this report to the list of
tracked Linux kernel regressions; the text you find below is based on a
few templates paragraphs you might have encountered already in similar
form.]

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: v6.1..v6.2
https://bugzilla.kernel.org/show_bug.cgi?id=217245
#regzbot title: net: wireless: mt7921e when build in now requires a new
firmware file
#regzbot ignore-activity

This isn't a regression? This issue or a fix for it are already
discussed somewhere else? It was fixed already? You want to clarify when
the regression started to happen? Or point out I got the title or
something else totally wrong? Then just reply and tell me -- ideally
while also telling regzbot about it, as explained by the page listed in
the footer of this mail.

Developers: When fixing the issue, remember to add 'Link:' tags pointing
to the report (e.g. the buzgzilla ticket and maybe this mail as well, if
this thread sees some discussion). See page linked in footer for details.

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.

[1] because bugzilla.kernel.org tells users upon registration their
"email address will never be displayed to logged out users"



More information about the Linux-mediatek mailing list