From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E970DD2A52F for ; Wed, 16 Oct 2024 16:49:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zrggLV7/5xsoMfoYK7STiuj3uQ1UG0mvOR+tr/Wnugs=; b=0364HvZq+vFnDJik+NupFXe2Nz bBWzPypNa5f/Bj5FMi6RI8rbRzP9JDhasXfI9b23WG+8191PsrUE77bETnpPAEZzPpeIeRZ45ekCh qJ5zINBZW6b23yvlevCBqmFXhne3SyHTW5IZTb7xQwtVccT1/MDR/ubnEJD/p0BpAHvpIgkcCu9yq 46nu3NB7/cgtUcNQxXTdqZgAmDw7y/grxYb8gM20KRHwdegBJS+sAk1xec5aYs6ab7K/fnqWcukuO 0XzN/i296CcrOhPZtYpL4vFuxl0lFaPNXzAOjnKN0IX93JUAJcMdbPNDbNd33V+kfFu3zWUYbpPL5 3OsuygCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t17Ch-0000000CTlK-2zYN; Wed, 16 Oct 2024 16:48:55 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t178s-0000000CSs2-0XeS for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2024 16:44:59 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 085FE5C5C44; Wed, 16 Oct 2024 16:44:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AD73C4CEC5; Wed, 16 Oct 2024 16:44:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729097097; bh=BDmv0KJPoJX2cVJ9OAhpm4ejEVa2a93iIcuoRaRIqeU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IaPLBMjfacWuPwt4NXxc1pwePzhFAIUO1kKcN6CYoI+ShhZbCtV4acX8lDX9y8VvV movLjussRauhirs+c7bL6KCyjExXReJchMLudNRJukQ0jmVBU/vkyXiTommQHRvOxY 8aegrA4PI0JGaZNTVAWsvVUSBfpaqf5gU8738cW5flTdBbV93725vq7vB4HWHL8kA1 nVkJoy+LHCTAa0QeiJ4kZPO72nIOSG/T74Y3N8FW/ZeBi3/eG8+P2UWC2xnkB3juDB q5l+uRwX+DB7un+k09t3kqoMFNDnAgA3qO5jmav7aShrm4alXkl6ZpdaRYcO50gNB0 s3wIy4vAO0heg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1t178o-0049Pe-V6; Wed, 16 Oct 2024 17:44:55 +0100 Date: Wed, 16 Oct 2024 17:44:54 +0100 Message-ID: <86wmi83sl5.wl-maz@kernel.org> From: Marc Zyngier To: Bjorn Andersson Cc: Catalin Marinas , Will Deacon , Linus Torvalds , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson Subject: Re: [PATCH v2] arm64: Allow packing uncompressed images into distro packages In-Reply-To: <20240910-uncompressed-distro-packages-v2-1-51538434787f@quicinc.com> References: <20240910-uncompressed-distro-packages-v2-1-51538434787f@quicinc.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.4 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: andersson@kernel.org, catalin.marinas@arm.com, will@kernel.org, torvalds@linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_bjorande@quicinc.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_094458_232330_4FF0DB4F X-CRM114-Status: GOOD ( 19.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Bjorn, On Wed, 11 Sep 2024 03:53:16 +0100, Bjorn Andersson wrote: > > From: Bjorn Andersson > > The distro packages (deb-pkg, pacman-pkg, rpm-pkg) are generated using > the compressed kernel image, which means that the kernel once installed > can not be booted with systemd-boot. Are you sure? I just installed a guest with systemd-boot (252.30-1~deb12u, as shipped in Debian), and it is perfectly able to boot a compressed kernel. > > This differs from the packages generated by the distros themselves, > which uses the uncompressed image. > > Use the newly introduced CONFIG_COMPRESSED_INSTALL option to allow > selection of which version of the kernel image should be packaged into > the distro packages. I'm normally building kernels as Debian packages, without any of CONFIG_EFI_ZBOOT or CONFIG_COMPRESSED_INSTALL. As a result, the installed kernel image of a Debian package shoots up from ~8M to an impressive 25M, since we're not picking the compressed image anymore. Storage may be cheap, but still. I really don't think CONFIG_COMPRESSED_INSTALL should change the existing behaviours, and a new option would be better suited to enable this new setup if deemed necessary. Thanks, M. -- Without deviation from the norm, progress is not possible.