public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/16] xz: Updates to license, filters, and compression options
@ 2024-07-21 13:36 Lasse Collin
  2024-07-21 13:36 ` [PATCH v2 01/16] MAINTAINERS: Add XZ Embedded maintainer Lasse Collin
                   ` (16 more replies)
  0 siblings, 17 replies; 26+ messages in thread
From: Lasse Collin @ 2024-07-21 13:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Lasse Collin, Sam James, linux-kernel

XZ Embedded, the upstream project, switched from public domain to the
BSD Zero Clause License (0BSD). Now matching SPDX license identifiers
can be added.

Documentation was revised. Fix syntax errors in kernel-doc comments in
<linux/xz.h>. The xz_dec API docs from <linux/xz.h> are now included in
Documentation/staging/xz.rst.

The new ARM64 and RISC-V filters can be used for kernel decompression
if CONFIG_EFI_ZBOOT=y. The filters can be used by Squashfs too.
(Userspace Squashfs-tools already had the ARM64 filter support committed
but it was reverted due to backdoor fears. I try to get ARM64 and RISC-V
filter support added to Squashfs-tools somewhat soon.)

Account for the default threading change made in the xz command line
tool version 5.6.0. Tweak kernel compression options for archs that
support XZ compressed kernel.

v2:
  - Omit Jia Tan from MAINTAINERS and commit messages.
  - Don't change home page URLs as the home pages were moved back
    to their old locations.
  - Add xz_dec (<linux/xz.h>) kernel-doc fixes and improvements.
  - arm64: Add the make target Image.xz for CONFIG_EFI_ZBOOT=n.
  - riscv: Add the make target Image.xz and set HAVE_KERNEL_XZ
    in Kconfig like it is done with other compressors for
    CONFIG_EFI_ZBOOT=n.

Lasse Collin (16):
  MAINTAINERS: Add XZ Embedded maintainer
  LICENSES: Add 0BSD license text
  xz: Switch from public domain to BSD Zero Clause License (0BSD)
  xz: Fix comments and coding style
  xz: Fix kernel-doc formatting errors in xz.h
  xz: Improve the MicroLZMA kernel-doc in xz.h
  xz: Documentation/staging/xz.rst: Revise thoroughly
  docs: Add XZ_EXTERN to c_id_attributes
  xz: Cleanup CRC32 edits from 2018
  xz: Optimize for-loop conditions in the BCJ decoders
  xz: Add ARM64 BCJ filter
  xz: Add RISC-V BCJ filter
  xz: Use 128 MiB dictionary and force single-threaded mode
  xz: Adjust arch-specific options for better kernel compression
  arm64: boot: add Image.xz support
  riscv: boot: add Image.xz support

 Documentation/conf.py           |   3 +
 Documentation/staging/xz.rst    | 160 ++++++++++++----------------
 LICENSES/deprecated/0BSD        |  23 ++++
 MAINTAINERS                     |  13 +++
 arch/arm64/boot/Makefile        |   5 +-
 arch/riscv/Kconfig              |   1 +
 arch/riscv/Makefile             |   6 +-
 arch/riscv/boot/Makefile        |   3 +
 include/linux/decompress/unxz.h |   5 +-
 include/linux/xz.h              |  48 ++++-----
 init/Kconfig                    |   5 +-
 lib/decompress_unxz.c           |  39 ++++---
 lib/xz/Kconfig                  |  13 ++-
 lib/xz/xz_crc32.c               |   7 +-
 lib/xz/xz_dec_bcj.c             | 182 ++++++++++++++++++++++++++++++--
 lib/xz/xz_dec_lzma2.c           |   5 +-
 lib/xz/xz_dec_stream.c          |   5 +-
 lib/xz/xz_dec_syms.c            |  14 +--
 lib/xz/xz_dec_test.c            |  12 +--
 lib/xz/xz_lzma2.h               |   5 +-
 lib/xz/xz_private.h             |  20 ++--
 lib/xz/xz_stream.h              |   5 +-
 scripts/Makefile.lib            |  13 ++-
 scripts/xz_wrap.sh              | 158 +++++++++++++++++++++++++--
 24 files changed, 542 insertions(+), 208 deletions(-)
 create mode 100644 LICENSES/deprecated/0BSD

-- 
2.45.2


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

end of thread, other threads:[~2024-07-24 12:44 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-21 13:36 [PATCH v2 00/16] xz: Updates to license, filters, and compression options Lasse Collin
2024-07-21 13:36 ` [PATCH v2 01/16] MAINTAINERS: Add XZ Embedded maintainer Lasse Collin
2024-07-21 13:36 ` [PATCH v2 02/16] LICENSES: Add 0BSD license text Lasse Collin
2024-07-21 13:36 ` [PATCH v2 03/16] xz: Switch from public domain to BSD Zero Clause License (0BSD) Lasse Collin
2024-07-21 13:36 ` [PATCH v2 04/16] xz: Fix comments and coding style Lasse Collin
2024-07-21 13:36 ` [PATCH v2 05/16] xz: Fix kernel-doc formatting errors in xz.h Lasse Collin
2024-07-22  2:38   ` Randy Dunlap
2024-07-21 13:36 ` [PATCH v2 06/16] xz: Improve the MicroLZMA kernel-doc " Lasse Collin
2024-07-21 13:36 ` [PATCH v2 07/16] xz: Documentation/staging/xz.rst: Revise thoroughly Lasse Collin
2024-07-22  3:19   ` Randy Dunlap
2024-07-21 13:36 ` [PATCH v2 08/16] docs: Add XZ_EXTERN to c_id_attributes Lasse Collin
2024-07-21 23:16   ` Jonathan Corbet
2024-07-23 17:54     ` Lasse Collin
2024-07-21 13:36 ` [PATCH v2 09/16] xz: Cleanup CRC32 edits from 2018 Lasse Collin
2024-07-22  4:29   ` Michael Ellerman
2024-07-21 13:36 ` [PATCH v2 10/16] xz: Optimize for-loop conditions in the BCJ decoders Lasse Collin
2024-07-21 13:36 ` [PATCH v2 11/16] xz: Add ARM64 BCJ filter Lasse Collin
2024-07-21 13:36 ` [PATCH v2 12/16] xz: Add RISC-V " Lasse Collin
2024-07-21 13:36 ` [PATCH v2 13/16] xz: Use 128 MiB dictionary and force single-threaded mode Lasse Collin
2024-07-21 13:36 ` [PATCH v2 14/16] xz: Adjust arch-specific options for better kernel compression Lasse Collin
2024-07-21 13:36 ` [PATCH v2 15/16] arm64: boot: add Image.xz support Lasse Collin
2024-07-23 12:47   ` Simon Glass
2024-07-21 13:36 ` [PATCH v2 16/16] riscv: " Lasse Collin
2024-07-21 16:01   ` Emil Renner Berthing
2024-07-24 11:05 ` [PATCH v2 17/16] xz: Remove XZ_EXTERN and extern from functions Lasse Collin
2024-07-24 12:44   ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox