Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1111119imu; Fri, 9 Nov 2018 11:06:10 -0800 (PST) X-Google-Smtp-Source: AJdET5ftdEJHymz6fVKGVWfrMIKxG2wxsPZQL2WNomosarW/zenBhSnS8JxpReuAkza8fqHR5M/M X-Received: by 2002:a17:902:5a2:: with SMTP id f31-v6mr9952490plf.320.1541790370177; Fri, 09 Nov 2018 11:06:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541790370; cv=none; d=google.com; s=arc-20160816; b=Jge4vH/L4vQZ+QWHmJQ+AlzEoeFY0hZD6YcN1fTr9KvA8wMrm9zMH2eut62J9Z+39r wy/Gfeiz+DOy0kzxcmEhYXChm6Ae9o/AS2HmfDpVZXoWpQo1XS5iOrmELLw8xdvcPycd BLN/rtQRLUFJrM4U2zUW7gMqPipgM2O2LfgNDcfT2RROuopYE2BEbwm4XYrRRcRiuQIj NbypN341pqADEPhKZa7jCpGg97XDPHF/jHHD3J211NjagLp3rnyehTEDyvcKK5xhgbbX zF6P6VZvMwBBoi5ArJAQ4+vBPrAZ6+1DQTwEhyBweuVp/hmjLIuJYWRa4uz3beM2zxyE DMSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from; bh=uvohkJ5VcmwajhHKSOI9aLvONbuj62sfTdS8V2B/bm0=; b=jafRz1K8gOHW2gVz69XwCKzN3MLWGJ6hooRXBzyj2QfX0AUMiKC/KShu/ezy5liSX5 N3n/aT0fLISec9qTD/Y/TXpC+MY8pvcWjER7VFtft/MUlV9cPHubEdMMvqY/VPS5SGXq D6yVLQ4k77NXAzI2w0kKL8Bx6RVm0bk6jiubOZah8tz3KEf4ZBBVG+aYpZtBYrYmE6uV 6hER6rVnrMz/yFvQMiQgVhdQu4PCrq2OG+aWwhiRVRiwvmSPlUl2eBf+STEuUY6keWyy L8mbpjh59sLgYntOWl7i0xguFiCOZhj21m2OXxrXJjnTPxiLmawPwshqZTLgoSdb0uvq iFqg== 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 m16-v6si7502769pgd.48.2018.11.09.11.05.41; Fri, 09 Nov 2018 11:06:10 -0800 (PST) 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 S1728938AbeKJEp2 (ORCPT + 99 others); Fri, 9 Nov 2018 23:45:28 -0500 Received: from tartarus.angband.pl ([54.37.238.230]:51532 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728683AbeKJEp1 (ORCPT ); Fri, 9 Nov 2018 23:45:27 -0500 Received: from 89-64-163-218.dynamic.chello.pl ([89.64.163.218] helo=barad-dur.angband.pl) by tartarus.angband.pl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLC3z-00054E-7m; Fri, 09 Nov 2018 20:03:29 +0100 Received: from kholdan.angband.pl ([2001:470:64f4::5]) by barad-dur.angband.pl with smtp (Exim 4.89) (envelope-from ) id 1gLC3x-0005A7-NG; Fri, 09 Nov 2018 20:03:26 +0100 Received: by kholdan.angband.pl (sSMTP sendmail emulation); Fri, 09 Nov 2018 20:03:25 +0100 From: Adam Borowski To: linux-kernel@vger.kernel.org, Nick Terrell , Russell King , Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, Ralf Baechle , Paul Burton , James Hogan , linux-mips@linux-mips.org, Jonas Bonn , Stefan Kristiansson , Stafford Horne , openrisc@lists.librecores.org, "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Cc: Adam Borowski Date: Fri, 9 Nov 2018 20:02:57 +0100 Message-Id: <20181109190304.8573-10-kilobyte@angband.pl> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181109190304.8573-1-kilobyte@angband.pl> References: <20181109185953.xwyelyqnygbskkxk@angband.pl> <20181109190304.8573-1-kilobyte@angband.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 89.64.163.218 X-SA-Exim-Mail-From: kilobyte@angband.pl X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tartarus.angband.pl X-Spam-Level: X-Spam-Status: No, score=-2.9 required=8.0 tests=ALL_TRUSTED=-1,BAYES_00=-1.9, TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no languages= Subject: [PATCH 10/17] arm: Remove support for LZMA compressed kernel X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on tartarus.angband.pl) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org You want XZ instead: newer version of same algorithm, has an optimized filter for arm32 executables, uses a library shared with other uses of XZ in the kernel. Signed-off-by: Adam Borowski --- arch/arm/Kconfig | 1 - arch/arm/boot/compressed/Makefile | 1 - arch/arm/boot/compressed/decompress.c | 4 ---- 3 files changed, 6 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 91be74d8df65..637e100de6e3 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -77,7 +77,6 @@ config ARM select HAVE_IRQ_TIME_ACCOUNTING select HAVE_KERNEL_GZIP select HAVE_KERNEL_LZ4 - select HAVE_KERNEL_LZMA select HAVE_KERNEL_LZO select HAVE_KERNEL_XZ select HAVE_KPROBES if !XIP_KERNEL && !CPU_ENDIAN_BE32 && !CPU_V7M diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 1f5a5ffe7fcf..37e6097b7506 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile @@ -72,7 +72,6 @@ CPPFLAGS_vmlinux.lds := -DTEXT_START="$(ZTEXTADDR)" -DBSS_START="$(ZBSSADDR)" compress-$(CONFIG_KERNEL_GZIP) = gzip compress-$(CONFIG_KERNEL_LZO) = lzo -compress-$(CONFIG_KERNEL_LZMA) = lzma compress-$(CONFIG_KERNEL_XZ) = xzkern compress-$(CONFIG_KERNEL_LZ4) = lz4 diff --git a/arch/arm/boot/compressed/decompress.c b/arch/arm/boot/compressed/decompress.c index c16c1829a5e4..350e7a96f6af 100644 --- a/arch/arm/boot/compressed/decompress.c +++ b/arch/arm/boot/compressed/decompress.c @@ -41,10 +41,6 @@ extern int memcmp(const void *cs, const void *ct, size_t count); #include "../../../../lib/decompress_unlzo.c" #endif -#ifdef CONFIG_KERNEL_LZMA -#include "../../../../lib/decompress_unlzma.c" -#endif - #ifdef CONFIG_KERNEL_XZ #define memmove memmove #define memcpy memcpy -- 2.19.1