Received: by 10.213.65.16 with SMTP id m16csp140312imf; Sun, 11 Mar 2018 20:21:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELu+jLldRsUbhuIOX2CSHJQBJC80kOItVg4veXY11CsK1B7ppbrETTlYP9NhrHs/UtI1XgEH X-Received: by 2002:a17:902:6b83:: with SMTP id p3-v6mr6749724plk.25.1520824901400; Sun, 11 Mar 2018 20:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520824901; cv=none; d=google.com; s=arc-20160816; b=Rn/Izv0AEQP4nxWcaPZ9YPagFdfwevVaZQr/YfUo03qRusQySWO4+o/WKZL8fzxacH 0mqqrpHfofN9+W51SmFi3Wr4rvGwaPk7xoCHAteLrM+yNlbUPCQQQtHA/1tAV5JxpACF m1cwOmTCC8/hXrLjF2tu2jDTBhTU6Qdi7kRC9NZex2TfAb6VH2YQiKlecBgHF4rywNCV jhCgIDGQYBFjxqB1DvM1n7od1z9LOka12v12DHCmiRI7TtURi1IZr0Eeja2n/RIQ1Ixv GgaHT+PVqMT0QoViFvNowhaPd0/hPEtC7p2lM3BkMDWr2YEwRYXOBBjA6Y8bD+sxDvUp VJLw== 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-disposition:mime-version:references:message-id:subject:to :from:date:arc-authentication-results; bh=1V3Tn1w0SGQ9UdcMe72ZSXATVDX67t/hnWwbu96UuhU=; b=etclwpVaANJA3MiEZlBkWsEbrAaeMweIStz6i9QAIZkHwgHwAG2Nq5TbeuWwJF9e0d nn0N5+ptBeyjP8BH0cIjP3leHx85BJZtPX6kQKqb3d6Fh3RlVpdnz1ewcf2SaVSp5T8A KcBhwHB04vfEgZjAXDc0fyL8MhmyJB1aLYvXPxiiAhTjapMtg8lIu1FFkBxnekTCKfMP x8h/TIH8WU/YKLFDiKk04pYwLdyQaHR/2LuCiKMTCD4VXjv9i38A6KFILXjWlu2yHQQU 3kLrSRxKeH/vRKpDWCIC44XdgtlnYnzgE2N0Ri7pGurDpQLYMtFGYAlD3A4RaegkQybr Bttg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si5123424pfc.97.2018.03.11.20.21.27; Sun, 11 Mar 2018 20:21:41 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932793AbeCLDTM (ORCPT + 99 others); Sun, 11 Mar 2018 23:19:12 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56532 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932593AbeCLDTI (ORCPT ); Sun, 11 Mar 2018 23:19:08 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8DF96401DE6B; Mon, 12 Mar 2018 03:19:07 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-56.pek2.redhat.com [10.72.12.56]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1AE7B215CDA7; Mon, 12 Mar 2018 03:18:58 +0000 (UTC) Date: Mon, 12 Mar 2018 11:18:55 +0800 From: Dave Young To: AKASHI Takahiro , vgoyal@redhat.com, bhe@redhat.com, mpe@ellerman.id.au, bauerman@linux.vnet.ibm.com, prudo@linux.vnet.ibm.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH v2 0/7] kexec_file, x86, powerpc: refactoring for other architecutres Message-ID: <20180312031855.GA2136@dhcp-128-65.nay.redhat.com> References: <20180306102303.9063-1-takahiro.akashi@linaro.org> <20180308010502.GA2600@dhcp-128-65.nay.redhat.com> <20180309060254.GA9728@dhcp-128-65.nay.redhat.com> <20180309064412.GA5327@dhcp-128-65.nay.redhat.com> <20180309071813.GE25863@linaro.org> <20180309074613.GA6331@dhcp-128-65.nay.redhat.com> <20180309075547.GA6718@dhcp-128-65.nay.redhat.com> <20180309093346.GF25863@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180309093346.GF25863@linaro.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Mon, 12 Mar 2018 03:19:07 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Mon, 12 Mar 2018 03:19:07 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dyoung@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/09/18 at 06:33pm, AKASHI Takahiro wrote: [snip] > Oops, please apply the fix below to my first patch ("kexec_file: make > an use of purgatory optional"). My screw-up is trivial here :) Wow, human eyes sometimes can not catch such issue, thanks for the fix. It works for me. > > Please let me know if you think that I should repost my patch set. > Because akpm takes kexec patches, this question should be passing to Andrew. Andrew, do you need a repost? > Thanks, > -Takahiro AKASHI > > ===8<=== > diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c > index 6dbbb89cbbac..ab1dced677fd 100644 > --- a/kernel/kexec_file.c > +++ b/kernel/kexec_file.c > @@ -532,7 +532,7 @@ static int kexec_calculate_store_digests(struct kimage *image) > struct kexec_sha_region *sha_regions; > struct purgatory_info *pi = &image->purgatory_info; > > - if (!IS_ENABLED(ARCH_HAS_KEXEC_PURGATORY)) > + if (!IS_ENABLED(CONFIG_ARCH_HAS_KEXEC_PURGATORY)) > return 0; > > zero_buf = __va(page_to_pfn(ZERO_PAGE(0)) << PAGE_SHIFT); > ===>8=== > Thanks Dave