From patchwork Thu Jun 24 20:53:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1496828 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G9snF7303z9sWc; Fri, 25 Jun 2021 06:54:09 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lwWMQ-0003aE-QQ; Thu, 24 Jun 2021 20:54:06 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lwWMP-0003Zs-C2 for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 20:54:05 +0000 Received: from mail-wr1-f69.google.com ([209.85.221.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lwWMP-0007dc-5M for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 20:54:05 +0000 Received: by mail-wr1-f69.google.com with SMTP id h17-20020adff4d10000b029011a7b7961dbso2617314wrp.15 for ; Thu, 24 Jun 2021 13:54:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vjg+Mw8DgrG+heIoyoZvKXR77Y+ddsNTfIapd/RLZcU=; b=e8M525EvCb1yq9xqLolia84XMnD+tCknF02HYRjpH1TJDbmGl2if0vEji2eNfGXIj2 2Neg4b9nmHTiXt9gmRBBQY6o5ShVxpSA3wzsKQlIg3m2R5vnz8vlc/OGfUYH8NaZNnbo hUQZg6CTYDp0wySSMxegHp7PQyoUuEs5SUIik1yMfwBA5b3LLW9FhqCsWg1ehQMZLsEg RAa2a0f29Kj42l+jIX4dZNRH8aDJTjXmqF+mhJt4V63+H7rkIcDMisOfSENBloEk5Oep P07T3uPaSc0ZCTpTZdYLcEOGr9kHqvhX50HoWjzNqP/f6zP+Ben7k/VQAsS6bVERP7tD v/Hw== X-Gm-Message-State: AOAM530wKGTVm2gKiPED8JYDABnoRGLLiPWpnDy+0hwSiRj2zNufw8wz JmCW6TRKtAxG9g1qsRyozidn5yQzFf2fqjHmpUBFHsB4/ol8Ht6ZzpKH966aN4heXdpJAgGA6ob SS9eoQxad4+n+1Raqa9S3Zy3XKtxg/+ADwoqvEhdLsg== X-Received: by 2002:a7b:c7cd:: with SMTP id z13mr6622661wmk.159.1624568044674; Thu, 24 Jun 2021 13:54:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlCt3n3USkANWtztj2A1nogGwiNlkBEx7cdRs5xtH06UDGqfnZJejCfXgndxktO5DJsvhaXQ== X-Received: by 2002:a7b:c7cd:: with SMTP id z13mr6622644wmk.159.1624568044475; Thu, 24 Jun 2021 13:54:04 -0700 (PDT) Received: from localhost ([2a01:4b00:85fd:d700:e864:ba34:2726:5604]) by smtp.gmail.com with ESMTPSA id p13sm2735449wrx.30.2021.06.24.13.54.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 13:54:04 -0700 (PDT) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [UNSTABLE][PATCH 1/3] s390/decompressor: correct BOOT_HEAP_SIZE condition Date: Thu, 24 Jun 2021 21:53:45 +0100 Message-Id: <20210624205347.28144-2-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210624205347.28144-1-dimitri.ledkov@canonical.com> References: <20210624205347.28144-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Vasily Gorbik Currently BOOT_HEAP_SIZE is always defined as 0x400000 due to bogus condition. Use CONFIG_KERNEL_BZIP2 instead of CONFIG_HAVE_KERNEL_BZIP2 to correct that. BOOT_HEAP_SIZE of 0x10000 is still good enough for every decompressor algorithm but bzip2. Actual decompressor memory usage with allyesconfig is the following: gzip 0xbc28 bzip2 0x379518 xz 0x7410 lzma 0x3e6c lzo 0 lz4 0 Signed-off-by: Vasily Gorbik (cherry picked from commit 54f45214522ae74dc23ad262346ce1abbf96b1ed linux-next) BugLink: https://bugs.launchpad.net/bugs/1931725 Signed-off-by: Dimitri John Ledkov --- arch/s390/boot/compressed/decompressor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/boot/compressed/decompressor.c b/arch/s390/boot/compressed/decompressor.c index 3061b11c4d27..cf2571050c68 100644 --- a/arch/s390/boot/compressed/decompressor.c +++ b/arch/s390/boot/compressed/decompressor.c @@ -28,7 +28,7 @@ extern char _end[]; extern unsigned char _compressed_start[]; extern unsigned char _compressed_end[]; -#ifdef CONFIG_HAVE_KERNEL_BZIP2 +#ifdef CONFIG_KERNEL_BZIP2 #define BOOT_HEAP_SIZE 0x400000 #else #define BOOT_HEAP_SIZE 0x10000 From patchwork Thu Jun 24 20:53:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1496829 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G9snK0hHkz9sWc; Fri, 25 Jun 2021 06:54:13 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lwWMU-0003bb-0w; Thu, 24 Jun 2021 20:54:10 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lwWMS-0003aw-0s for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 20:54:08 +0000 Received: from mail-wr1-f69.google.com ([209.85.221.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lwWMR-0007di-PO for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 20:54:07 +0000 Received: by mail-wr1-f69.google.com with SMTP id l2-20020adfe5820000b029011a64161d6aso2632888wrm.6 for ; Thu, 24 Jun 2021 13:54:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LWuoLpfWkxzuyJywTrmST7BScSKqeftBebcwgLS9Agk=; b=O++jgOG27KdSVk2GGSFrN0gs8SmHeTc8fWFUhhktgiOZdqxdg66WUScQCYH2Uc6cKz oaLl3P9TRzaT/OdXRAcMxwwBT0rRXz1yhcpX9MGV+Knbh3adsH2+spbSDWoT+Y/miq1J KERKpsPrF2FsFt6hpD+VlOi9dHJx3ipNorfOSgCiQb1e21T5vh/wouFMkqZ5birNbFSs l9iJ3E6yILr7/vB6odzgPm9wKqP1ftGdVUUI7HgSStpwIoER9ivss2VJ8k7ILA0QqQMI oJZ7MZuIQLyvDnPnZJETa+6NArkOFcFmMDJzFp6N8xeR/MvrhZZ7Flvg5PDXLXhX2vh0 k9VQ== X-Gm-Message-State: AOAM531mxxRjCQHS0bxr1+McpSVi7AP/4nTRe9nX77jFkVDQj8GRfqZ6 r0Rf6oVNaMGRSx936Ai3PUpOHnYz3BSWVSr/BkDkXRWtDKlTZuIvUH7sdfMiPWiYNb6Ow5NIHt3 8NaokCYcAAKALlhqAjh6Ub/j+RTGqDyxzRmdTrbmeLQ== X-Received: by 2002:adf:a284:: with SMTP id s4mr6709920wra.397.1624568047224; Thu, 24 Jun 2021 13:54:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdniJR5o0zmymVvgsI8wNpDsIoLglGj8ayzM6yCW9DFBnhwYHU9Tci4i3T7i8J4ZDTz05Mfg== X-Received: by 2002:adf:a284:: with SMTP id s4mr6709902wra.397.1624568047009; Thu, 24 Jun 2021 13:54:07 -0700 (PDT) Received: from localhost ([2a01:4b00:85fd:d700:e864:ba34:2726:5604]) by smtp.gmail.com with ESMTPSA id y66sm3938224wmy.39.2021.06.24.13.54.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 13:54:06 -0700 (PDT) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [UNSTABLE][PATCH 2/3] s390/boot: add zstd support Date: Thu, 24 Jun 2021 21:53:46 +0100 Message-Id: <20210624205347.28144-3-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210624205347.28144-1-dimitri.ledkov@canonical.com> References: <20210624205347.28144-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Enable ztsd support in s390/boot, to enable booting with zstd compressed kernel when configured with CONFIG_KERNEL_ZSTD=y. BOOT_HEAP_SIZE is defined to 0x30000 in this case. Actual decompressor memory usage with allyesconfig is currently 0x26150. BugLink: https://bugs.launchpad.net/bugs/1931725 Signed-off-by: Dimitri John Ledkov cc: Heiko Carstens cc: Vasily Gorbik cc: Christian Borntraeger cc: linux-s390@vger.kernel.org Link: https://lore.kernel.org/r/20210615114150.325080-1-dimitri.ledkov@canonical.com [gor: added BOOT_HEAP_SIZE for zstd] Signed-off-by: Vasily Gorbik (cherry picked from commit 7b034d9c1b08b3d06ad712283c1115a7fe39e354 linux-next) BugLink: https://bugs.launchpad.net/bugs/1931725 Signed-off-by: Dimitri John Ledkov --- arch/s390/Kconfig | 1 + arch/s390/boot/compressed/Makefile | 4 ++++ arch/s390/boot/compressed/decompressor.c | 6 ++++++ 3 files changed, 11 insertions(+) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index b4c7c34069f8..fdbf584e13eb 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -172,6 +172,7 @@ config S390 select HAVE_KERNEL_LZO select HAVE_KERNEL_UNCOMPRESSED select HAVE_KERNEL_XZ + select HAVE_KERNEL_ZSTD select HAVE_KPROBES select HAVE_KPROBES_ON_FTRACE select HAVE_KRETPROBES diff --git a/arch/s390/boot/compressed/Makefile b/arch/s390/boot/compressed/Makefile index de18dab518bb..75660aaaa7a3 100644 --- a/arch/s390/boot/compressed/Makefile +++ b/arch/s390/boot/compressed/Makefile @@ -14,6 +14,7 @@ obj-y := $(if $(CONFIG_KERNEL_UNCOMPRESSED),,decompressor.o) info.o obj-all := $(obj-y) piggy.o syms.o targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4 +targets += vmlinux.bin.zst targets += info.bin syms.bin vmlinux.syms $(obj-all) KBUILD_AFLAGS := $(KBUILD_AFLAGS_DECOMPRESSOR) @@ -63,6 +64,7 @@ suffix-$(CONFIG_KERNEL_LZ4) := .lz4 suffix-$(CONFIG_KERNEL_LZMA) := .lzma suffix-$(CONFIG_KERNEL_LZO) := .lzo suffix-$(CONFIG_KERNEL_XZ) := .xz +suffix-$(CONFIG_KERNEL_ZSTD) := .zst $(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) FORCE $(call if_changed,gzip) @@ -76,6 +78,8 @@ $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE $(call if_changed,lzo) $(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y) FORCE $(call if_changed,xzkern) +$(obj)/vmlinux.bin.zst: $(vmlinux.bin.all-y) FORCE + $(call if_changed,zstd22) OBJCOPYFLAGS_piggy.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.vmlinux.bin.compressed $(obj)/piggy.o: $(obj)/vmlinux.bin$(suffix-y) FORCE diff --git a/arch/s390/boot/compressed/decompressor.c b/arch/s390/boot/compressed/decompressor.c index cf2571050c68..37a4a8d33c6c 100644 --- a/arch/s390/boot/compressed/decompressor.c +++ b/arch/s390/boot/compressed/decompressor.c @@ -30,6 +30,8 @@ extern unsigned char _compressed_end[]; #ifdef CONFIG_KERNEL_BZIP2 #define BOOT_HEAP_SIZE 0x400000 +#elif CONFIG_KERNEL_ZSTD +#define BOOT_HEAP_SIZE 0x30000 #else #define BOOT_HEAP_SIZE 0x10000 #endif @@ -61,6 +63,10 @@ static unsigned long free_mem_end_ptr = (unsigned long) _end + BOOT_HEAP_SIZE; #include "../../../../lib/decompress_unxz.c" #endif +#ifdef CONFIG_KERNEL_ZSTD +#include "../../../../lib/decompress_unzstd.c" +#endif + #define decompress_offset ALIGN((unsigned long)_end + BOOT_HEAP_SIZE, PAGE_SIZE) unsigned long mem_safe_offset(void) From patchwork Thu Jun 24 20:53:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1496830 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G9snN6Kgzz9sWc; Fri, 25 Jun 2021 06:54:16 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lwWMX-0003dc-8G; Thu, 24 Jun 2021 20:54:13 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lwWMU-0003bv-Bi for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 20:54:10 +0000 Received: from mail-wm1-f71.google.com ([209.85.128.71]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lwWMU-0007du-2A for kernel-team@lists.ubuntu.com; Thu, 24 Jun 2021 20:54:10 +0000 Received: by mail-wm1-f71.google.com with SMTP id v2-20020a7bcb420000b0290146b609814dso2113352wmj.0 for ; Thu, 24 Jun 2021 13:54:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JXrwhOobzAFbRbe/JQM16tWpg8XyMC7L7LKpRyUsIYE=; b=fZaSOeRs38AIFHNzHBgs6TluE+ehwAe72xYpJww84qWZgI2nI0LMqbutnvUifBVKo6 zO74+DyJCICuU7ow4ikVNBQ3UYE69cZKXLgTXqOJDqJwiWZ25//0seX12G+hP5RNGLDL eViIRPpToEt4p67nT4qhSVvC/lFhZClcoaFEnWQJ044FH+wGXMuBP3NXwFQpjrhylFwI 9CSfXUZAkmr85OCLUom4hJZZ7z8emT1/9nMibC7b8Yiie6Qa3ZN3RVSCGRBWO5Ml693H O+vqYXz0Re3bloARCURka87z8eWg0VwR17a//ruBCMkl/c9eCMICkzv8hc1dy6caq02v l+iw== X-Gm-Message-State: AOAM532hUH0bSQNRSavtnviAvfR1WcbzGWSf4/koUiBIbbLU1D8qAmXs sndwhTr6kzyLcToled7lnMZH/ROzryWcd5lMGM7ZPq4BYdsqQqUU36wQNTSX7PSI5VP9g7xmPj1 C8woC5AnspII4aGe0KBLgLc+7EPaKSN1ZuRUYT7TEFg== X-Received: by 2002:a7b:c449:: with SMTP id l9mr6746855wmi.64.1624568049519; Thu, 24 Jun 2021 13:54:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5Bhy8hvDvfU6NHU4Mf2G0MyWn5ON+tWHUVy3ttA3AVevhxM1Vh5d6Oan/AFsq79xm7gBMQA== X-Received: by 2002:a7b:c449:: with SMTP id l9mr6746833wmi.64.1624568049276; Thu, 24 Jun 2021 13:54:09 -0700 (PDT) Received: from localhost ([2a01:4b00:85fd:d700:e864:ba34:2726:5604]) by smtp.gmail.com with ESMTPSA id n13sm3938657wms.37.2021.06.24.13.54.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 13:54:08 -0700 (PDT) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [UNSTABLE][PATCH 3/3] UBUNTU: [Packaging] use ZSTD to compress s390 kernels Date: Thu, 24 Jun 2021 21:53:47 +0100 Message-Id: <20210624205347.28144-4-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210624205347.28144-1-dimitri.ledkov@canonical.com> References: <20210624205347.28144-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1931725 linux-next has ZSTD support for s390 arch now, cherry-pick those commits and enable ZSTD compression for s390x like it was already done on amd64. Signed-off-by: Dimitri John Ledkov --- debian.master/config/annotations | 4 ++-- debian.master/config/armhf/config.common.armhf | 1 - debian.master/config/config.common.ubuntu | 1 + debian.master/config/s390x/config.common.s390x | 1 - debian.master/control.stub.in | 3 +-- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/debian.master/config/annotations b/debian.master/config/annotations index 930e8f5b01f0..b17c7eb3df31 100644 --- a/debian.master/config/annotations +++ b/debian.master/config/annotations @@ -11165,8 +11165,8 @@ CONFIG_KERNEL_BZIP2 policy<{'amd64': 'n', 's390x': ' CONFIG_KERNEL_LZMA policy<{'amd64': 'n', 'armhf': 'n', 's390x': 'n'}> CONFIG_KERNEL_XZ policy<{'amd64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}> CONFIG_KERNEL_LZO policy<{'amd64': 'n', 'armhf': 'n', 's390x': 'n'}> -CONFIG_KERNEL_LZ4 policy<{'amd64': 'n', 'armhf': 'n', 's390x': 'y'}> -CONFIG_KERNEL_ZSTD policy<{'amd64': 'y'}> +CONFIG_KERNEL_LZ4 policy<{'amd64': 'n', 'armhf': 'n', 's390x': 'n'}> +CONFIG_KERNEL_ZSTD policy<{'amd64': 'y', 's390x': 'y'}> CONFIG_KERNEL_UNCOMPRESSED policy<{'s390x': 'n'}> # Menu: General setup >> Namespaces support diff --git a/debian.master/config/armhf/config.common.armhf b/debian.master/config/armhf/config.common.armhf index 0b19ab2f9efa..9c066fa720b0 100644 --- a/debian.master/config/armhf/config.common.armhf +++ b/debian.master/config/armhf/config.common.armhf @@ -289,7 +289,6 @@ CONFIG_JME=m # CONFIG_JUMP_LABEL is not set CONFIG_KARMA_PARTITION=y CONFIG_KERNEL_GZIP=y -# CONFIG_KERNEL_LZ4 is not set CONFIG_LAPB=m # CONFIG_LATENCYTOP is not set CONFIG_LCD_CLASS_DEVICE=m diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu index ab828d5f61dd..31ae3a25e209 100644 --- a/debian.master/config/config.common.ubuntu +++ b/debian.master/config/config.common.ubuntu @@ -5363,6 +5363,7 @@ CONFIG_KDB_KEYBOARD=y CONFIG_KEEMBAY_WATCHDOG=m CONFIG_KEMPLD_WDT=m # CONFIG_KERNEL_BZIP2 is not set +# CONFIG_KERNEL_LZ4 is not set # CONFIG_KERNEL_LZMA is not set # CONFIG_KERNEL_LZO is not set CONFIG_KERNEL_MODE_NEON=y diff --git a/debian.master/config/s390x/config.common.s390x b/debian.master/config/s390x/config.common.s390x index 7c47e20d833c..0ec9892dbd27 100644 --- a/debian.master/config/s390x/config.common.s390x +++ b/debian.master/config/s390x/config.common.s390x @@ -263,7 +263,6 @@ CONFIG_IRQ_BYPASS_MANAGER=m CONFIG_JUMP_LABEL=y # CONFIG_KARMA_PARTITION is not set # CONFIG_KERNEL_GZIP is not set -CONFIG_KERNEL_LZ4=y # CONFIG_KEXEC_FILE is not set CONFIG_KVM=y # CONFIG_LAPB is not set diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in index 01cd82721efd..31386fad5dc6 100644 --- a/debian.master/control.stub.in +++ b/debian.master/control.stub.in @@ -37,8 +37,7 @@ Build-Depends: libnuma-dev [amd64 arm64 ppc64el s390x] , dkms , curl , - lz4 [s390x] , - zstd [amd64] , + zstd [amd64 s390x] , dwarves [amd64 arm64 armhf ppc64el s390x] , Build-Depends-Indep: xmlto ,