From: Joao Marcos Costa Date: Tue, 18 Aug 2020 17:17:20 +0200 Subject: [PATCH v4 0/5] fs/squashfs: Add new decompression algorithms Message-ID: <20200818151725.11293-1-joaomarcos.costa@bootlin.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, Following the SquashFS support, this series adds support for LZO and ZSTD algorithms. Changes in v4: - Replace sqfs_decompress() 1st parameter by a reference to squashfs_ctxt. - Undo changes in squashfs_ctxt instance at sqfs.c Changes in v3: - Reorganize patches order. - Remove memory leak from sqfs_zstd_decompress(). Changes in v2: - Change tests architecture. - Add tests for LZO and ZSTD. - Skip compression algorithms unsupported by the host's squashfs-tools version. - Add sqfs_decompress_init() and sqfs_decompress_cleanup() to SquashFS support. Joao Marcos Costa (5): fs/squashfs: Add init and clean-up functions to decompression fs/squashfs: replace sqfs_decompress() parameter fs/squashfs: add support for ZSTD decompression fs/squashfs: add support for LZO decompression test/py: Add tests for LZO and ZSTD fs/squashfs/sqfs.c | 40 +++---- fs/squashfs/sqfs_decompressor.c | 104 +++++++++++++++++- fs/squashfs/sqfs_decompressor.h | 7 +- fs/squashfs/sqfs_filesystem.h | 12 +- .../test_fs/test_squashfs/sqfs_common.py | 76 +++++++++---- .../test_fs/test_squashfs/test_sqfs_load.py | 40 ++++--- .../test_fs/test_squashfs/test_sqfs_ls.py | 33 ++++-- 7 files changed, 236 insertions(+), 76 deletions(-) -- 2.17.1