Received: by 10.192.165.156 with SMTP id m28csp1342397imm; Mon, 16 Apr 2018 19:43:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+XckyHEkdIJJo9I+fgxsLwndDNbS7h9BsDlwZJjMXkBLwPW/rE6+5RWvDNkoDN/T1qrarU X-Received: by 10.98.96.195 with SMTP id u186mr290087pfb.81.1523933035202; Mon, 16 Apr 2018 19:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523933035; cv=none; d=google.com; s=arc-20160816; b=x4rBf5RU/e7FIWFTpG2uVP3J4EP6U0DZdHwTwGrVnSwpnmRf59bdH7jLoraKsf/IRy AvyDfl1Q6IzO/QbdZDbvw7GNyFsQHS99sU9bJBNh8qsslF3IY10hRGjKn0kT+3aO/B+F iEDdYbCAq8NmgIKt9/gTupkomdcAqakYfnPE3kwlGc30jGy8ErOqWZjzyIOscUAZzeJG 3spOErcH+vo+GK3JlpB6ckJ/FlUt4xOSLtMhgK0MdM1VtX191ZXlyDK8bAINH4ShOzqd ZgCxlj4Keywm90JDSylDg2i1jQTlz9WtJt/DEzuiciZ9iTAuNlA0ID0LBYuGiD1SzzIL nliQ== 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:cc :to:from:date:arc-authentication-results; bh=L0uOvhWe8/SF/eUFGH/FwYNBtMpRXuu1QgOrQF5Ky10=; b=YqouCtF9y2AblN0laTDPnKO3+OL0KnW5F+8pH6gebCse9r4e2yScQ52GenukEqXBr3 CDV5+C6J/W1I1qyGrbBiKzCl2UoF5LdGMFyMf0IjDcUAqeNP8CT7Nf51OjiTKZ2xucfI yYfjmL0shYYlVmZW/MvSqOz9bvK0tomBu299fchX8AzLkintze765tKEam7hAuN60yGv wI2G+IUoxpQysivzgXnrFY+ooE6QDCV1mvHRP1Ld84Prtd94xBR0UfLmmYhUvu+mn7DY 6i8MHViytb09a/eEh169sQSqtnNc6DLkMEwk7/eRxXb/k3ULSaK0KWvqfuQU3NmxAWlD 6GmQ== 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 a17si11606748pff.43.2018.04.16.19.43.41; Mon, 16 Apr 2018 19:43: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751980AbeDQClZ (ORCPT + 99 others); Mon, 16 Apr 2018 22:41:25 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:53008 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751086AbeDQClX (ORCPT ); Mon, 16 Apr 2018 22:41:23 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 541BA81A88A8; Tue, 17 Apr 2018 02:41:23 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-39.pek2.redhat.com [10.72.12.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5EDD7111DCEB; Tue, 17 Apr 2018 02:41:16 +0000 (UTC) Date: Tue, 17 Apr 2018 10:41:12 +0800 From: Dave Young To: Randy Wright Cc: joeyli , "Lee, Chun-Yi" , linux-efi@vger.kernel.org, Ard Biesheuvel , Takashi Iwai , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Ingo Molnar , akpm@linux-foundation.org, Vivek Goyal Subject: Re: [PATCH] efi: Fix the size not consistent issue when unmapping memory map Message-ID: <20180417024112.GA3953@dhcp-128-65.nay.redhat.com> References: <20180413062716.8040-1-jlee@suse.com> <20180416025734.GA26685@dhcp-128-65.nay.redhat.com> <20180416030904.GB26685@dhcp-128-65.nay.redhat.com> <20180416063738.GH16023@linux-l9pv.suse> <20180417003522.GA2741@rfwz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180417003522.GA2741@rfwz> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Apr 2018 02:41:23 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Apr 2018 02:41:23 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.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 04/16/18 at 06:35pm, Randy Wright wrote: > On Mon, Apr 16, 2018 at 02:37:38PM +0800, joeyli wrote: > > Hi Randy, > > ... > > Randy, do you want to try Dave's kexec patch on your environment? Please remove > > my patch first. > > > > Thanks a lot! > > Joey Lee > > Hi Joey, > > I tried Dave's patch to kexec-bzimage64.c on my build of the SuSE > 4.12.14-15 kernel. I ran the same test as I did with your patch: I > verified the early_ioremap.c warnings occurred with a crash triggered > from a kexec boot of the unmodified kernel. Then I applied the patch to > kexec-bzimage64.c, rebuilt, re-ran the test to crash from the kexec'ed > kernel, and verified the warnings are no longer seen. Great, thanks for the testing, will send out the patch after some local tests. Thanks Dave