Re: [PATCH RFC 0/4] firmware: Add ZSTD-compressed file support

Takashi Iwai
2022-02-02T10:57:02Z

On Tue, 01 Feb 2022 18:36:18 +0100,
Hideki Yamane wrote:
>
> Hi,
>
> On Fri, 28 Jan 2022 09:13:36 +0100
> Takashi Iwai <tiwai@suse.de> wrote:
> > It's totally untested, and it'd be appreciated if
> > anyone can confirm that it's working and used. Then we can happily
> > re-submit the patches for the merge.
>
> I've built it with 5.16.4 based one in Debian experimental repository
> and it seems to work (note: build failure with 5.15.15 in Debian unstable).
>
>
> How to check:
> 1. compress firmware files under /lib/firmware with zstd
> 2. boot with distro kernel that is not enable this feature
> 3. Wifi that needs firmware doesn't work as expected (*1)
> 4. boot with patched kernel
> 5. Wifi works :) (*2)

Good to know that it's working. (BTW, you can see more details when
you enable the debug, e.g. "firmware_class.dyndbg=+p" boot option.)

The next step is actually using this in some distro (or privately).
If the feature is confirmed to be needed, I'll resubmit the latest
patches for the merge request.

thanks,

Takashi