Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp500456lqh; Tue, 7 May 2024 06:04:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6eY+Xmrb3yKfEF4b+1JGiFC+YrD35ikxUaCQam4CY6Z5GJZmbDFnMG8TPrV0pyVoTHJsnG4YXcusAOkdG7wrpA83HH42b4ANEjQTV5A== X-Google-Smtp-Source: AGHT+IEYmrMVGZQLhs02YWMMcxtlQ6GwIr72g28r53p2mmVl036jnZ9i7PSNXsr2jmcpfCAlKvZl X-Received: by 2002:a17:902:f70f:b0:1dd:81a3:8dc3 with SMTP id h15-20020a170902f70f00b001dd81a38dc3mr15641741plo.46.1715087052961; Tue, 07 May 2024 06:04:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715087052; cv=pass; d=google.com; s=arc-20160816; b=cghjUM5VO/xMg/3d+YgR74ZLO7NipCYguhj3wzqtI2kRylAINRE3VGjz9iM9EWkmI1 qN5jS60gWKBHlaXq0MyEtm/pvqSKEJ/TaPQghXPV8oNfIUFXFomcB9oy9lAS5TZoDrI2 P6kdmlNm0LzQVKoN7Hqr8aDl+dlN09C+PdXnx7kcPk33N+RlkFrpeM+gu8RmRhZxxQc6 mox/F6jm4/TRHKjFx6CGsS+6pTiBmKTS9EeHGLYzA0yuxsHrvaq5sZoTyxl/y5oixDeI MzvZYBfZxfitNg5a2cu7OhWtUm7EPo6ZHUPHxEeFM48SyHlUJzHg3Jn//zIi6Uy7bOK+ Ya6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=NJib5CDGQPa8puecYZOlXqPID34iPriq7P+BfZYtIC4=; fh=fn0/7CiIshXizBJ92uF9ceuwNTWnjgAIFupHrthqanc=; b=ggcXWssxU9POwRQz7aI8hQl1kwy9PskR+f7HqZMrVOAP25i25hqvnNO+CoGIOn8//c fRYTteyHI8ZfI3nyRwFFJhI4WtU1A+ByVuxVAb4iTjC4M2wgXhcWLnE+db3Y4Z0cQyd2 YnHTb4gQcCO3yWWkgNhIiy4BrFGm9cmuroXKvkhMqPDKWZkHhOENlQ+v5kIKhbpjdBBi loZXhaK2l7R+icKFx5kDu+v6ekD//52Nw9X5qBGc8cOSC6YtxD3YMN+Ays1ODV/jlp31 dr1vf3zNOyoHfoG/J17NmeZvw2NNK2BtgqRD49PVf/HE45T0AO+HNFDrtN4a0Gipnxff DWVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=avm.de); spf=pass (google.com: domain of linux-kernel+bounces-171296-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lk11-20020a17090308cb00b001eb78a963fasi8141380plb.636.2024.05.07.06.04.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 06:04:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171296-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=avm.de); spf=pass (google.com: domain of linux-kernel+bounces-171296-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8ADD928AB95 for ; Tue, 7 May 2024 12:40:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1F9D15AAD7; Tue, 7 May 2024 12:40:11 +0000 (UTC) Received: from mail.avm.de (mail.avm.de [212.42.244.94]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 486946CDB1; Tue, 7 May 2024 12:40:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.42.244.94 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715085611; cv=none; b=hH/Jtuk8bhmEIRRuUemAQpSdUR1o+oS+/u5y1XpZTtfkt3sVqmuOwz+a7RFgiCi46dogGdjA/JIodosOGgbXkHOMRThPrGKP1ZqKJQgVBc2gaS2ntz/gyiBiLX+lFAqzZ3gxVhwuJrlwWxu3tUxpymvJ4LDSmeVlQtXVgaTa6sY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715085611; c=relaxed/simple; bh=qZ8b0oykuOVN2jQ+TYiBmJil/Vb9AlVKBML2Yxhc79U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HPEBilfCYR2mDkVlGMK12qf6ovMBlnh8xTDpM2McdDEZWbVn7csaTpbZILfSdRUfZITKuexBMzhyO01s7r5ubAOVwX4zXUHSiXZGAfjuZWa72G5uQv9vKyhNNJPBss8sT3QlO6ytn9DfdOjbVNPuIP7O1ueEBNaTaSp1OqlA1Yw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=fjasle.eu; spf=pass smtp.mailfrom=avm.de; arc=none smtp.client-ip=212.42.244.94 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=fjasle.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=avm.de Received: from mail-auth.avm.de (unknown [IPv6:2001:bf0:244:244::71]) by mail.avm.de (Postfix) with ESMTPS; Tue, 7 May 2024 14:34:10 +0200 (CEST) Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id 019A880666; Tue, 7 May 2024 14:34:10 +0200 (CEST) Received: by buildd.core.avm.de (Postfix, from userid 1000) id E2121181132; Tue, 7 May 2024 14:34:09 +0200 (CEST) Date: Tue, 7 May 2024 14:34:09 +0200 From: Nicolas Schier To: Emil Renner Berthing Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , Masahiro Yamada , Nathan Chancellor , Nick Terrell , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= Subject: Re: [PATCH v2 1/2] riscv: make image compression configurable Message-ID: References: <20240504193446.196886-1-emil.renner.berthing@canonical.com> <20240504193446.196886-2-emil.renner.berthing@canonical.com> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240504193446.196886-2-emil.renner.berthing@canonical.com> X-purgate-ID: 149429::1715085250-25CCED52-3CFB73E6/0/0 X-purgate-type: clean X-purgate-size: 897 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean On Sat, May 04, 2024 at 09:34:38PM +0200, Emil Renner Berthing wrote: > Previously the build process would always set KBUILD_IMAGE to the > uncompressed Image file (unless XIP_KERNEL or EFI_ZBOOT was enabled) and > unconditionally compress it into Image.gz. However there are already > build targets for Image.bz2, Image.lz4, Image.lzma, Image.lzo and > Image.zstd, so let's make use of those, make the compression method > configurable and set KBUILD_IMAGE accordingly so that targets like > 'make install' and 'make bindeb-pkg' will use the chosen image. > > Tested-by: Björn Töpel > Signed-off-by: Emil Renner Berthing > --- > Changes in v2: > - Rebase on riscv/for-next > - Use boot-image-$(CONFIG_..) := assignments rather than ifeq train > --- Looks good to me. Reviewed-by: Nicolas Schier