From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7D966187877; Wed, 16 Oct 2024 16:44:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729097097; cv=none; b=QQFiIaS3UT3hdjxymgEFk65UVlxqOPrSzz2beEd6cW8cQcvErpfx9eM26Iukc/k7RZcH+J/XnW4Utx1M9bxhKwiODyuSa8DDHm+IfLt8upUxWCn8+cR0LZslLjvE1T9/2W5fKF7XZ8VQjIFZdtr4G2YfXx40Iim/UcNGQ5eWDKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729097097; c=relaxed/simple; bh=BDmv0KJPoJX2cVJ9OAhpm4ejEVa2a93iIcuoRaRIqeU=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=P8y2jmoATqBk3Fbf7LRqRZwMt9AVdinicRbXqT2rP2juRMJB/KOM/frJl0ysVDX2/PcFWx8vp5/J1ocA70C4nXezJMSrtHVwgN9iob+4NWQOhZ5YNUTMZWd61LRs8mlx2GYdpczhJaJFt8O2GrOO7F+bmwGwsC9LNgA6lchtT44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IaPLBMjf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IaPLBMjf" 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) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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.