Received: by 10.213.65.68 with SMTP id h4csp317505imn; Wed, 21 Mar 2018 20:00:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELt54Fxjy1/bE/ZCE7BXL9IgyBR/1BGIT97hSYZPxXsSWRVpySh3k7IB+kvDL9rdQJ05rMUP X-Received: by 2002:a17:902:744b:: with SMTP id e11-v6mr23267670plt.351.1521687655729; Wed, 21 Mar 2018 20:00:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521687655; cv=none; d=google.com; s=arc-20160816; b=KEwY+6JqHBF7wIvC5q1VC048oIiMSw2k2Ei+tP+No6xFgC2BlrCFFFgoFaw4BIqmRN wKCq0VcDq0bFVPAYoIdSH6XCMNZ42rhNYAShA5WYKyZ6Hi3rg4faBs0dk21zJEo93zSs hpO9MXMh7oyDuoGjTiFLSZHAW3GmF9FbN+D10wpH4Pvulb8YgzO3gxjep1zCcqnfQhsN aUVw6bph5xq6xESyj+2ylKC/J14r0zKsWR6ZVRNCdpXs/ZkLX+0aohgiL4QNslLtcVFl 9oBzNCjQ6fH03H2Vwntz9IpSxkOplh0flGUrUtSqlWMrpP7oq9aMKK/2sn1C5WQJmrs9 SGJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=rd+0KQg+zwykNGyn35t9NmnPGXI5NP9xlBIp0P1nWmE=; b=Mdnlu1Ci6LFC6xUoXL/+l46fVnuVNiVIs24ltYhPLFJX6M9s7r/IA3q9fAB6QxqEkb oa3VyQVeO/xESJAc/VZ2sfxBet4cVY6Nj/7pieM/VhOo3ECIJUAjWbqK44YN3Ha6Kkuh /ltCW+Mg9zBZrvr2PgKAgz3s21oOviLeRKYipKMWCVvY++sQQLjTwzr02MUe4KagoJp1 dqZjfIFwTKGQjVqvGDLIndGKcbyLDqC2mmQ0EF3UhBIuwgq6aF0jrA+FlflZJb8uS3Y1 fuqWG34X4x+OPQzXNrC2v2WqOP7jctN4Fi5CLocYq7/+rUb8vmsdsmcq2ccUH+/L4NUW M/mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg10-v6si5670712plb.30.2018.03.21.20.00.29; Wed, 21 Mar 2018 20:00:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752159AbeCVC7I (ORCPT + 99 others); Wed, 21 Mar 2018 22:59:08 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:51846 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbeCVC66 (ORCPT ); Wed, 21 Mar 2018 22:58:58 -0400 Received: from kilobyte by tartarus.angband.pl with local (Exim 4.89) (envelope-from ) id 1eyqRE-00027C-Nb; Thu, 22 Mar 2018 03:58:48 +0100 Date: Thu, 22 Mar 2018 03:58:48 +0100 From: Adam Borowski To: Nick Terrell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org, kernel-team@fb.com, Chris Mason , Rene Rebe , Julian Andres Klode , Andi Kleen Subject: Re: [RESEND PATCH v2 0/2] Add support for ZSTD-compressed kernel Message-ID: <20180322025848.dnymbsvpep45s3bg@angband.pl> References: <20180322012943.4145794-1-terrelln@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180322012943.4145794-1-terrelln@fb.com> X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 21, 2018 at 06:29:41PM -0700, Nick Terrell wrote: > This patch set adds support for a ZSTD-compressed kernel and ramdisk > images in the kernel boot process. It only integrates the support with > x86, though the first patch is generic to all architectures. I'm running this patch set since October on amd64 armhf arm64, no explosions -- besides the obvious when it's not applied yet I forget to reconfigure initramfs-tools. Which is getting tedious, so let's merge this already. :) I've tested initrd on all of these archs; here's a debug patch to check if you're actually using it. As for compressing the kernel itself: the second patch works as submitted (ie, x86 only). Porting it to other architectures is straightforward, but eg. on arm, most boards use u-boot which insists on decompressing the kernel by itself instead of passing control. EFI/grub should work, but I haven't tested that yet. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ A dumb species has no way to open a tuna can. ⢿⡄⠘⠷⠚⠋⠀ A smart species invents a can opener. ⠈⠳⣄⠀⠀⠀⠀ A master species delegates.