Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7119101ybi; Thu, 13 Jun 2019 09:53:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2gNOrRvWcB0bJASLhMFPj/zxNLAGlaM1u6j80as8pOu3BNqDFc1+iMmBaAMShihLTv0fq X-Received: by 2002:a17:90a:1785:: with SMTP id q5mr6505652pja.106.1560444812169; Thu, 13 Jun 2019 09:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560444812; cv=none; d=google.com; s=arc-20160816; b=0M/EiErM7+QwVmuAOk+rZn6Xq780t4iIPnzyT4RuoLFk2NfGQKailzY8jGvaCWfg+0 sopT66D2w2Mbhqg9SGJiU8GVOYK/qX+ZvG1idHZxKxyoWfpMHUpH6oHMEDCEAtmshDzB pjA2m+tBvbbuEaWmPRzorB2OmHm7WKXRR3JDcbMTDPTx/ZHSypx2PRdhSwhal5jarw78 21FeJFUwegAzYiCIxr1VpMvmxS5k0LcnknRnlq6oLiIJkalpaFBp97h4eUi28yE5YQ52 PumBCNGfibOCG6ZaYTVI4qZ1ImyIJgLeOoEctFUZReu+0/lOBbN/rAe5+zvTxpRnLiEb 4XKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=na+M1IgMGaM0aP15I3XbgNE1q19snWq8SHI4WbjnUi8=; b=aKbX6xSX3IaCMb38LMv6BblKJgm2E/ntJgLxP/VY8jbWx7m8ZB+scQ8dtAAz/7L31J LqnNFaLAwv7tVGgiRH+GrrQEScYYb3tNhZvf2FYuBjFaKBrmyiyHtPmSZsilQqDh0X+S i3xqwC7C1ZGrDP+E6/1lpNGiKff51UDmzi9mGfZjFZDMa0k3afxiYm3sDgGb61AxSJ0e v5N4G8jVEPFHza2eNe06jhXnr7+n7zQQgBSt3IbkexmHtJdVZ52eU8lrh/uRhfQPqXyz ej/yYYtUZQlm8js93QZRTlF4fOkmqTas/I0BCeuNK8+MzcrkHS4gRuzaGT7q7PkhtOuU mTzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axtens.net header.s=google header.b=ayqIIySK; 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 v9si93229pfm.50.2019.06.13.09.53.17; Thu, 13 Jun 2019 09:53:32 -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; dkim=pass header.i=@axtens.net header.s=google header.b=ayqIIySK; 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 S2404199AbfFMQwD (ORCPT + 99 others); Thu, 13 Jun 2019 12:52:03 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:46896 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730128AbfFMDZM (ORCPT ); Wed, 12 Jun 2019 23:25:12 -0400 Received: by mail-pf1-f196.google.com with SMTP id 81so10855852pfy.13 for ; Wed, 12 Jun 2019 20:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=na+M1IgMGaM0aP15I3XbgNE1q19snWq8SHI4WbjnUi8=; b=ayqIIySKl6kes4w9jYHEywIJSvRDA1zi9AMajnhKYpTxcdVuBdAgsWgJaGqrz7xwF+ 9RC/evdpHaaIJEqxagLrwVocrWh3UMlFyW9tMnoHoIj67T2hZWr+R1JYWozCB1qocR0C cgnBD4a+F5VS9acKQF05CqFm3K2gf7BOYvzfU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=na+M1IgMGaM0aP15I3XbgNE1q19snWq8SHI4WbjnUi8=; b=MfXiRFDKoduUZNyQbs9MDpN6hj9vxAfxDLsLBzBTl3cC9C/ac0XMorBt4Vx6WHyaCg 2MwXyhMmX/W+YfNA5ADtOaYOXxN6memxlLzouojHPokNeVo8clO9jqYvTIMBdFtIFa5I QcPrGGJ+Jfy6o0AQRKdEoppJV0zCR7a39nL0njWFv52JLkEzABK4w6h3WIvnqeHEe8Tu ylrH67BsnXSOHhkTVdlFWE2vs8WDkmcNhextxbobjME507kTjsTqawTYvzGCiXGm7jIh 324gQfyKkHEIQimL9llJDRgUsEMFQbE0IiAA9Apf0kbMIHN0/jmg27F0KSRW0KpFD57k OFow== X-Gm-Message-State: APjAAAUG2YirNVjvTnhQon2wMGRZnBjyPtqWPDfy+nx0cPAyn5ewAo78 Y6oqc40BeBtGg8pnnVyldq/gYL2dIMw= X-Received: by 2002:a17:90a:1951:: with SMTP id 17mr2512798pjh.79.1560396311357; Wed, 12 Jun 2019 20:25:11 -0700 (PDT) Received: from localhost (ppp167-251-205.static.internode.on.net. [59.167.251.205]) by smtp.gmail.com with ESMTPSA id w132sm959398pfd.78.2019.06.12.20.25.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 20:25:10 -0700 (PDT) From: Daniel Axtens To: Pawel Dembicki Cc: Pawel Dembicki , Christian Lamparter , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: Enable kernel XZ compression option on PPC_85xx In-Reply-To: <20190603164115.27471-1-paweldembicki@gmail.com> References: <20190603164115.27471-1-paweldembicki@gmail.com> Date: Thu, 13 Jun 2019 13:25:05 +1000 Message-ID: <877e9qp3ou.fsf@dja-thinkpad.axtens.net> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pawel Dembicki writes: > Enable kernel XZ compression option on PPC_85xx. Tested with > simpleImage on TP-Link TL-WDR4900 (Freescale P1014 processor). > > Suggested-by: Christian Lamparter > Signed-off-by: Pawel Dembicki > --- > arch/powerpc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index 8c1c636308c8..daf4cb968922 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -196,7 +196,7 @@ config PPC > select HAVE_IOREMAP_PROT > select HAVE_IRQ_EXIT_ON_IRQ_STACK > select HAVE_KERNEL_GZIP > - select HAVE_KERNEL_XZ if PPC_BOOK3S || 44x > + select HAVE_KERNEL_XZ if PPC_BOOK3S || 44x || PPC_85xx (I'm not super well versed in the compression stuff, so apologies if this is a dumb question.) If it's this simple, is there any reason we can't turn it on generally, or convert it to a blacklist of platforms known not to work? Regards, Daniel > select HAVE_KPROBES > select HAVE_KPROBES_ON_FTRACE > select HAVE_KRETPROBES > -- > 2.20.1