Skip to content

Firmware loader support for ZSTD-compressed files

Takashi Iwai linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5firmware: Add the support for ZSTD-compressed firmware filesdrivers/base/firmware_loader/Kconfig drivers/base/firmware_loader/main.c+91 -90 replies
2/5selftests: firmware: Use smaller dictionary for XZ compressiontools/testing/selftests/firmware/fw_filesystem.sh+5 -31 reply
3/5selftests: firmware: Fix the request_firmware_into_buf() test for XZ formattools/testing/selftests/firmware/fw_filesystem.sh+2 -01 reply
4/5selftests: firmware: Simplify test patternstools/testing/selftests/firmware/fw_filesystem.sh+30 -761 reply
5/5selftests: firmware: Add ZSTD compressed file teststools/testing/selftests/firmware/fw_filesystem.sh tools/testing/selftests/firmware/fw_lib.sh+65 -231 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchPiotr GorskiShuah Khan
1/5T-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Firmware loader support for ZSTD-compressed files

Hi,

this is a revised patch set for RFC I posted some time ago (*). Since the ZSTD usage became much more popular now, it makes sense to have the consistent (de)compression support in the kernel, also for the firmware files. This patch set adds the support for ZSTD- compressed firmware files as well as the extension of selftests, in addition to a couple of relevant fixes in selftests.

(*) https://lore.kernel.org/r/[email protected]

Takashi

===

Takashi Iwai (5):
firmware: Add the support for ZSTD-compressed firmware files
selftests: firmware: Use smaller dictionary for XZ compression
selftests: firmware: Fix the request_firmware_into_buf() test for XZ
format
selftests: firmware: Simplify test patterns
selftests: firmware: Add ZSTD compressed file tests

 drivers/base/firmware_loader/Kconfig          |  24 ++-
 drivers/base/firmware_loader/main.c           |  76 +++++++-
 .../selftests/firmware/fw_filesystem.sh       | 170 +++++++++---------
 tools/testing/selftests/firmware/fw_lib.sh    |  12 +-
 4 files changed, 182 insertions(+), 100 deletions(-)
Signature · 1 line
2.31.1