Received: by 2002:a05:7208:70d5:b0:7f:5597:fa5c with SMTP id q21csp88916rba; Wed, 20 Mar 2024 11:47:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpO9B5wVHwvUsMnn9MEzM2HT6210FSjQ2uBxAyMsxWyuguEixiKi89KEfV4hq4ZGk+NqXsHA1EQkJBZUnfHge5beEMmWO+aBbzhvQOww== X-Google-Smtp-Source: AGHT+IGo/Uw4WJJnp1xsZ3IbIULV8B61IAmFsaN8/zOgwUFTSXPPezsgEeOY4ukLb9z4yO/480LX X-Received: by 2002:a17:906:254b:b0:a46:cf63:d96b with SMTP id j11-20020a170906254b00b00a46cf63d96bmr2060120ejb.51.1710960478766; Wed, 20 Mar 2024 11:47:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710960478; cv=pass; d=google.com; s=arc-20160816; b=jh21R0iBD6HWIoRHX2KYmTZ5oRmliy3SM0TiRf2R1f1bUwS6z/LDc0vSe82AXSJRoo dNyKVfLPYubRpTH5fzG8t8s/Z0/zf32myRdLDMsfddxc1KEpsVe07xRnXgTggJ1q9vfs aIGLyIBgWjpI2QQ7Ju0PyHogO435g3LyVBF9n4gTH6Orr4Fmi1BOCxMqaDsFPrSwwX/p RG1KjnrMk2phe13Ra/mpycydqX7pqPnISX00J69U5ZDTrcI3cs5+USz08GS5BMYpdBMT O6qtI0QPVye+18speHrB8PSy5XI9xkedCVsOae/bMUynoEprvbdwwT5ZDqoqXREsT8G3 NEig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=ED550+tXr2/Dzu9HdefWQ9L7GoeHTYyyS0VVJIodGw8=; fh=cZ0pQj0gfnIzfSrD4acEszNw58lcj8DsI017uhDo/HI=; b=xh0CfHuWCak3RpE4FNhpRG2K9qmzhyl2S1/qLghNmUFGGf/tc+Uv+t9/lsycYjjpnh HQbh8Rs80h39lA+ObqawtKQqdwmRA2fXHmsK7suQUapYLrbb64i28jQ6Hy/my0rNIsiZ WjnsnCqaHhh0fYo5oGYqrjQtiXTlMwlb/fz1FWAL4ILtEPSaLbW+tR8ZJwZSBED/OSB7 tXuZ9220J1DNFShkcyW8vVNhEVDKvryS8/wFS6TkobB1UwVEU2bK+mvsEL02C5AEVwai rKIfZUEKu4PFuOreyILv8m8p1Chvgfj7Bcsb1Y5+pa3+wZ79sJsy8n9zHG2jxd0Vl+ms sIRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=tukaani.org); spf=pass (google.com: domain of linux-kernel+bounces-109310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109310-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jg6-20020a170907970600b00a46a1f715d9si5098144ejc.364.2024.03.20.11.47.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 11:47:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=tukaani.org); spf=pass (google.com: domain of linux-kernel+bounces-109310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109310-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 792AC1F21A19 for ; Wed, 20 Mar 2024 18:47:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B0C185635; Wed, 20 Mar 2024 18:47:48 +0000 (UTC) Received: from mailscanner01.zoner.fi (mailscanner01.zoner.fi [84.34.166.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49E136A010 for ; Wed, 20 Mar 2024 18:47:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.34.166.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710960468; cv=none; b=UNHlU+c2j/xEmFvaXXhdNtoEpS/WHsVl0nlustqjeTD9x24UYryZaitvHIlNyUQA//b8vl83bmxrAboaP60BKWX2FPOIuISEZJOqFj6xWygqtZF3rmy6ME4rjZnDBvHYvRXs8zSYbEdLjfsusgdt9RlurHjQd2KOccqWX6mLfLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710960468; c=relaxed/simple; bh=1OOs8r+h8i7Ylbb/kUKr2qwIOyOexaU3NbJ614dRzRM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MgPmzw85VVg2CeHY84pPHP2f9RRpY8egf8R2BlJ3WltxLl7+u4PoKHIQJBKYWIsDgTJ3jo1e5IoFQqUTJqxk7+QP8LArFKYROn1sW5vaXpTqS5Ti9ECXaWAYN9HX/cMQ6uxriXZUrquoRrPvLcTCJbGMyIKPZNeqpwXWt9Ob9bo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tukaani.org; spf=pass smtp.mailfrom=tukaani.org; arc=none smtp.client-ip=84.34.166.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tukaani.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tukaani.org Received: from www25.zoner.fi (www25.zoner.fi [84.34.147.45]) by mailscanner01.zoner.fi (Postfix) with ESMTPS id D9162421F3; Wed, 20 Mar 2024 20:39:25 +0200 (EET) Received: from mail.zoner.fi ([84.34.147.244]) by www25.zoner.fi with esmtp (Exim 4.96.1-7-g79877b70e) (envelope-from ) id 1rn0qT-0001dW-2H; Wed, 20 Mar 2024 20:39:25 +0200 From: Lasse Collin To: Andrew Morton Cc: Lasse Collin , Jia Tan , linux-kernel@vger.kernel.org Subject: [PATCH 00/11] xz: Updates to license, filters, and compression options Date: Wed, 20 Mar 2024 20:38:33 +0200 Message-ID: <20240320183846.19475-1-lasse.collin@tukaani.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit XZ Embedded, the upstream project, switched from public domain to the BSD Zero Clause License (0BSD). Now matching SPDX license identifiers can be added. The new ARM64 and RISC-V filters can be used by Squashfs. 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. Documentation was revised. There are minor cleanups too. Lasse Collin (11): MAINTAINERS: Add XZ Embedded maintainers LICENSES: Add 0BSD license text xz: Switch from public domain to BSD Zero Clause License (0BSD) xz: Documentation/staging/xz.rst: Revise thoroughly xz: Fix comments and coding style 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 Documentation/staging/xz.rst | 130 ++++++++--------------- LICENSES/deprecated/0BSD | 23 ++++ MAINTAINERS | 14 +++ include/linux/decompress/unxz.h | 5 +- include/linux/xz.h | 5 +- init/Kconfig | 5 +- lib/decompress_unxz.c | 39 ++++--- lib/xz/Kconfig | 13 ++- lib/xz/xz_crc32.c | 7 +- lib/xz/xz_dec_bcj.c | 183 ++++++++++++++++++++++++++++++-- lib/xz/xz_dec_lzma2.c | 5 +- lib/xz/xz_dec_stream.c | 5 +- lib/xz/xz_dec_syms.c | 16 +-- lib/xz/xz_dec_test.c | 12 +-- lib/xz/xz_lzma2.h | 5 +- lib/xz/xz_private.h | 20 ++-- lib/xz/xz_stream.h | 7 +- scripts/Makefile.lib | 13 ++- scripts/xz_wrap.sh | 157 +++++++++++++++++++++++++-- 19 files changed, 487 insertions(+), 177 deletions(-) create mode 100644 LICENSES/deprecated/0BSD -- 2.44.0