Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1119613lqm; Thu, 2 May 2024 06:03:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0F7V3CAafyB7UkRf+Wj1+FM8asJSiTVyL8RTvJjlD979RAeBWS2IYawGQCLsjUYcFK5AA7iEPlQwlAhGgTNDxyWn7J07ykd0rVXJltA== X-Google-Smtp-Source: AGHT+IFLOVWdUjHemWO5by2yVlw7Oz/0LhFjc9w0v8W8ZBUiPTBGVOquzdTDCagt5DsLE0AjfbsZ X-Received: by 2002:a05:6402:11c8:b0:56b:8153:54f7 with SMTP id j8-20020a05640211c800b0056b815354f7mr3828445edw.30.1714655033685; Thu, 02 May 2024 06:03:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714655033; cv=pass; d=google.com; s=arc-20160816; b=ZRjEiqMpwBUN236+dTecJsLjsxycxAfsSN2iy83BG+5UDOt8F7iJIjZj58KtGGx+2b GD29ak81aCJ6+aai2NhoYkh8yuvC9iooi/SqgLr6jquxs50xJHPt7wL0K0pUMMh9rN6g UiqC3Wgk8HEpN8JKRYG1y34tTWPNR5DpJKTY4v6ckchc62nRQFcbcFVSh4epHqlnRTlW mq07zxOtRPTPlGMoH8zyuIf3UgFipTaXeAh4BstqMAl1PP8dHdatTVZ+ytJg/8pmDn+4 qalPyk5QUiO+02BPyNqaMU3SITfI4rClLxNQ3za6MdXIlYJ8XtN6PzZTS2dAMnkdBbEL 4J/w== 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:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=TIF4FMSqrUlFRETJ/qfFlessQJ7mkpFvx/oyhHmPOA0=; fh=SRtvFWwd+sqGPgfv/ookb9ELYHrjZNQNTpXISbxKi88=; b=U1V72HwPCuP8zQcw3ltzkXn4cDDUSP+sTZTvZaMB/iauc8GpaZiyIvxsq6O6G0MdXZ smLGMUWuO1fXpcOCy/SzLGK9IiaRKqEsU0jdTsNIb4pl3ZIT0xb9/xqSwd0Gu9fVQmVn E4SzzmCaJG4sxfMfPFcsAXyzdw7W7+lqyLBjLkyIJbqlkl/Iqo6TJfNc/uLBAGxI2xSW pp6n7RG+ZP0Eo2sarcDohmvMSKDXBGIJSPK3ANX1aMvPpG1dIwEw9CHduUrimTrXzGK5 Lyq1QMu8mjHP2IqrKx3WRu3i6oLfyAXcC3I5sOomL9tFGAufM9ZVHXU3mnOdAcsBsjCZ nNUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dx4FGICF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166480-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 bl21-20020a056402211500b0056e6a7b3ad4si521567edb.129.2024.05.02.06.03.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 06:03:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166480-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dx4FGICF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166480-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 685301F21131 for ; Thu, 2 May 2024 13:03:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8898932C60; Thu, 2 May 2024 13:03:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Dx4FGICF" 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 AFDEA80025; Thu, 2 May 2024 13:03:45 +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=1714655025; cv=none; b=mvO1Soe4koWRxW3Vv3GDGmKj6B1sxoUI+qaAuSP+/jvFQ9e3wub0BfWUc9VjF+peIDxtaEai050KPW6/YurZIvm5/3H/5z1GlAxy0mUDJ1NqNkQx3W+TQajgDH3U+E0pOq6xCCQaqKg7z9LSo/bUHpRbaWFhmghcleQr/mvP0eE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714655025; c=relaxed/simple; bh=TIF4FMSqrUlFRETJ/qfFlessQJ7mkpFvx/oyhHmPOA0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=okvvveLfjqCb56gwtL37AshA+1Jy06yyMvqyOjKo9DBCctQmorqruvmZnNuJz4/jJec4jtQf/lO6NyCIOI/+luZ5S1avJ+oFzHqRAaynxPI3pRVy8QVQd3NhAK5C1fKXOCs2JWGmCpr5G2oWKL1Mv7wP+zPpesIFCwiESR5SdUA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Dx4FGICF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5CE1C113CC; Thu, 2 May 2024 13:03:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714655025; bh=TIF4FMSqrUlFRETJ/qfFlessQJ7mkpFvx/oyhHmPOA0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Dx4FGICFI8dwY9memwTfLSH/wX6LmZItbuUmtNwTmVLf+poeqBMDLbsAsffR9kgBr K62S5c8wgV4RJUReC92Df3i5gpKksOgMVQRHMbRhBQOXTUybYovn3m4Deo+CfSf0He 9/6yr2mnOnwsvXq1i+5Otvf6DdYpf6wRoOUI6nVQ6RlVOJ2ob+TQ9eU69eqGNaAQtL 54WKmR2t72OJy3onr2/mwmVEjkQU6xnBhGRf3iPthuvubW4WUs++v0YQgBdIbA4FZg JAJXOPbM6bl3fbAn0RnlOFee1fat3DV5tzPpVyfC+h7XJI+S+cuv0ofEgJdUdpTyoH 6XXFPMj/u74pg== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Emil Renner Berthing , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Cc: Paul Walmsley , Palmer Dabbelt , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Nick Terrell Subject: Re: [PATCH v1 0/3] riscv: make image compression configurable In-Reply-To: <20240502111613.1380453-1-emil.renner.berthing@canonical.com> References: <20240502111613.1380453-1-emil.renner.berthing@canonical.com> Date: Thu, 02 May 2024 15:03:42 +0200 Message-ID: <87y18scqmp.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Emil Renner Berthing writes: > Masahiro's patch[1] made me wonder why we're not just using KBUILD_IMAGE > to determine which (possibly compressed) kernel image to use in 'make > tar-pkg' like other architectures do. It turns out we're always setting > KBUILD_IMAGE to the uncompressed Image file and then compressing it into > the Image.gz file afterwards. > > This series fixes that so the compression method is configurable and > KBUILD_IMAGE is set to the chosen (possibly uncompressed) kernel image > which is then used by targets like 'make install' and 'make bindeb-pkg' a= nd > 'make tar-pkg'. > > Patch 3/3 depends on the previously mentioned patch below. Nice! Tested-by: Bj=C3=B6rn T=C3=B6pel