Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4615544rdb; Fri, 15 Sep 2023 07:31:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtWxXs+ikQPVmp8ZQrw89e2F5+LDB2gOk/a4+6dRIY70FlpR7mM5LAmXRS6i+WrHlbZYKq X-Received: by 2002:a17:902:ecd0:b0:1c0:b17a:754f with SMTP id a16-20020a170902ecd000b001c0b17a754fmr2267732plh.63.1694788265723; Fri, 15 Sep 2023 07:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694788265; cv=none; d=google.com; s=arc-20160816; b=S0cFWvQMbkCXpXHcQHT6OtEb6c0grD7gB5ZJ2UM3CjkWajXKyQ39/JNTFAvwdOGZ/O QtZ+y3Bg7VCwzfgw6tAOv+mVRHtpKejD7T6Xy5hY/rkS24zgTQzusjl6mY6SX3U9e+iI H/6dKmQAYIddxBkHl73jq0veiCVz0bJ/x/qanGutzvJaEjtsPSS/aBn0BsbOA3m4fDqg BMN1sYoS6xObnzWueCM+qgQX+Payx0M0g7zh03sw997ZY5ueOIbPVywjIfeNNAS4opT5 f6YjiCy4JqalsWM1BvUOW/NM7AFnUvzYdFbM5OhFqAe1z1MADW0RA6Dkzw5RwgG/1BVn Jlqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date; bh=LzNtHA3EV5ATdif9VYtTo4i3bSObFbDKEY0HlWRnw8w=; fh=dPbL1ZzHNHMhyxOeXx4l6ucBBFPDAHIBlHL4WVofUwI=; b=VCuvyDvk58/qcC765CDUV6Tgdf7x99hvpdtPKxW11Lr4gxcMTN4kwSmVszfpEkW236 12NzwroHHojyeYsvNT5bXTUgZrChwpnBX+S0RixBtUFfZH3bhJ8lZ5xh6EprjVgyWDI3 vcxaHHbG/2xQzWWX/RTQ6M2+cP/IHZim/YjbJt7OpTmUVRoJgVcjVVuelmLi4K61BC4O dUsRg4MdYuXmGlq5FJsG8p5IFQPOrssfJGgGsj4S9++MLG1EqCaFJucdlE+YiYPKEOwl dJEc3IOWgHuRJLLEm9cVCi/eYbEjQLZQpxYxEjqrRyqUmG9p2Bm8cTO2dhptrToIjABE Xmxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id km8-20020a17090327c800b001bba8f79ad0si3390387plb.109.2023.09.15.07.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 07:31:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 55E4282F0BFA; Fri, 15 Sep 2023 03:52:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233663AbjIOKwE (ORCPT + 99 others); Fri, 15 Sep 2023 06:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231367AbjIOKwC (ORCPT ); Fri, 15 Sep 2023 06:52:02 -0400 X-Greylist: delayed 2147 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 15 Sep 2023 03:51:37 PDT Received: from mx.tweek.dk (mx.tweek.dk [13.53.76.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CC8710D; Fri, 15 Sep 2023 03:51:37 -0700 (PDT) Received: from tweek.dk ([192.168.170.2] helo=odin.tweek.dk) by mx.tweek.dk with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qh5rQ-000Fc1-05; Fri, 15 Sep 2023 12:15:40 +0200 Received: from tweek (helo=localhost) by odin.tweek.dk with local-esmtp (Exim 4.96) (envelope-from ) id 1qh5rP-000dkk-1K; Fri, 15 Sep 2023 12:15:39 +0200 Date: Fri, 15 Sep 2023 12:15:39 +0200 (CEST) From: Martin Nybo Andersen To: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Nick Terrell , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org cc: tweek@tweek.dk Subject: [PATCH] Use CRC32 and a 1MiB dictionary for XZ compressed modules Message-ID: <3d34a965-ab9c-d549-0c63-c717ab5d2edc@tweek.dk> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 03:52:02 -0700 (PDT) Kmod is now using the kernel decompressor which doesn't handle CRC64 and dictionaries larger than 1MiB. Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050582 Signed-off-by: Martin Nybo Andersen --- scripts/Makefile.modinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst index c59cc57286ba..ffbafbd3aeea 100644 --- a/scripts/Makefile.modinst +++ b/scripts/Makefile.modinst @@ -144,7 +144,7 @@ endif quiet_cmd_gzip = GZIP $@ cmd_gzip = $(KGZIP) -n -f $< quiet_cmd_xz = XZ $@ - cmd_xz = $(XZ) --lzma2=dict=2MiB -f $< + cmd_xz = $(XZ) --check=crc32 --lzma2=dict=1MiB -f $< quiet_cmd_zstd = ZSTD $@ cmd_zstd = $(ZSTD) -T0 --rm -f -q $< -- 2.40.1