All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 0/3] fs: btrfs: Add zstd decompression support
@ 2019-04-25 16:07 Marek Behún
  2019-04-25 16:07 ` [U-Boot] [PATCH v1 1/3] lib: Add xxhash support Marek Behún
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Marek Behún @ 2019-04-25 16:07 UTC (permalink / raw)
  To: u-boot

Hi,

zstd has been enabled in kernel btrfs driver for over a year, it is time
we support this also in U-Boot.

This xxhash and zstd library are imported from kernel with minimal changes.

This was tested on ARM target (Turris Omnia).

Marek

Marek Behún (3):
  lib: Add xxhash support
  lib: add Zstandard decompression support
  fs: btrfs: add zstd decompression support

 fs/btrfs/Kconfig          |    1 +
 fs/btrfs/btrfs_tree.h     |    5 +-
 fs/btrfs/compression.c    |   59 +
 include/linux/xxhash.h    |  259 ++++
 include/linux/zstd.h      | 1157 +++++++++++++++++
 lib/Kconfig               |   15 +
 lib/Makefile              |    2 +
 lib/xxhash.c              |  497 ++++++++
 lib/zstd/Makefile         |    4 +
 lib/zstd/bitstream.h      |  374 ++++++
 lib/zstd/decompress.c     | 2525 +++++++++++++++++++++++++++++++++++++
 lib/zstd/entropy_common.c |  243 ++++
 lib/zstd/error_private.h  |   53 +
 lib/zstd/fse.h            |  575 +++++++++
 lib/zstd/fse_decompress.c |  332 +++++
 lib/zstd/huf.h            |  212 ++++
 lib/zstd/huf_decompress.c |  960 ++++++++++++++
 lib/zstd/mem.h            |  152 +++
 lib/zstd/zstd_common.c    |   75 ++
 lib/zstd/zstd_internal.h  |  263 ++++
 lib/zstd/zstd_opt.h       | 1014 +++++++++++++++
 21 files changed, 8775 insertions(+), 2 deletions(-)
 create mode 100644 include/linux/xxhash.h
 create mode 100644 include/linux/zstd.h
 create mode 100644 lib/xxhash.c
 create mode 100644 lib/zstd/Makefile
 create mode 100644 lib/zstd/bitstream.h
 create mode 100644 lib/zstd/decompress.c
 create mode 100644 lib/zstd/entropy_common.c
 create mode 100644 lib/zstd/error_private.h
 create mode 100644 lib/zstd/fse.h
 create mode 100644 lib/zstd/fse_decompress.c
 create mode 100644 lib/zstd/huf.h
 create mode 100644 lib/zstd/huf_decompress.c
 create mode 100644 lib/zstd/mem.h
 create mode 100644 lib/zstd/zstd_common.c
 create mode 100644 lib/zstd/zstd_internal.h
 create mode 100644 lib/zstd/zstd_opt.h

-- 
2.21.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-29 18:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-25 16:07 [U-Boot] [PATCH v1 0/3] fs: btrfs: Add zstd decompression support Marek Behún
2019-04-25 16:07 ` [U-Boot] [PATCH v1 1/3] lib: Add xxhash support Marek Behún
2019-04-29 17:57   ` Tom Rini
2019-04-29 18:37     ` Marek Behun
2019-04-29 18:49       ` Tom Rini
2019-04-25 16:07 ` [U-Boot] [PATCH v1 2/3] lib: add Zstandard decompression support Marek Behún
2019-04-29 17:57   ` Tom Rini
2019-04-25 16:07 ` [U-Boot] [PATCH v1 3/3] fs: btrfs: add zstd " Marek Behún

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.