Received: by 10.192.165.156 with SMTP id m28csp1294017imm; Mon, 16 Apr 2018 18:26:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Zf9Yg1870kiWAYqvp25gHK3du8fI+tnd9OxLyOWy8qPhnqpuy6D7f+n6Rkm/sKgbUSEIz X-Received: by 10.99.9.66 with SMTP id 63mr87480pgj.103.1523928379801; Mon, 16 Apr 2018 18:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523928379; cv=none; d=google.com; s=arc-20160816; b=UA7vbCLLcLAYfW5P+3NRZJ9+cHh8lP4AjU2g9UYkVt+tsyQRNdhtTj9lQLtnyEYnA0 DJUe8nmcqV+RwcvEIF+8ciCCXDb1/3NpKhFOw6YOhvHQMz6kdQwJEUMyS4H8QT6hLCxU o1bMLaqFXz9TMnWiScKmxKgYP5Kdryw+UGLIVqWJnj3UHnXZrsRyZTuCMTxw1tS3TFB0 YDZh7f5nY5YOmjJhIAZfa28A7gltnFOQjvPf5xtrlvFls3JEbG7J9M34yUbHHcRJ3Puf jT2SifnKtJHwFnqAlDZPQX+RwcwHlRvCQZj6AXfowFvPIsoPMqk0yJGlk4NH6OjJiXPu uv2Q== 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=Px6GIJkZnf9BLEoJwTMF3F6338d9BbYyyvWUeFZIjvY=; b=sejk2T8RBzhqO8qMNHMzhGUcjY3GA522N5z6hPK94yQDVoGC1es3jFYGI3ofH5ID2L 0YvDD1h1Ec4OEAWZ3z49fq/nINkdDZ+k1od8Ynl2QcLrjV21Ai/C9JCI555/fOWnpG3W beFcXNLBx05j0BiXV0/et/6qGxjqm0+G79qqvH1sptTo5bm2ZLjR2WJJMeU7gfz+Sw0C 01NhHoKdZdDiWfdE8BWl/AothVS2TEwtlGz9sCRXzXjgmeqc2CHGALh9fx6qq17vvAPT ZMH9gQzeQ4uF2NNKVc69fb0uG5ysc/LcC4H9Ql85G7U5LgNooCQOe1KdJGidLL85V7tT u/kA== 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 h9si9247367pgq.464.2018.04.16.18.25.34; Mon, 16 Apr 2018 18:26:19 -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 S1751953AbeDQBVK (ORCPT + 99 others); Mon, 16 Apr 2018 21:21:10 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:47004 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751164AbeDQBVJ (ORCPT ); Mon, 16 Apr 2018 21:21:09 -0400 Received: from linux-l9pv.suse (124-11-22-254.static.tfn.net.tw [124.11.22.254]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Tue, 17 Apr 2018 03:21:00 +0200 Date: Tue, 17 Apr 2018 09:20:48 +0800 From: joeyli To: Randy Wright Cc: "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 , Dave Young Subject: Re: [PATCH] efi: Fix the size not consistent issue when unmapping memory map Message-ID: <20180417012048.GK16023@linux-l9pv.suse> 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.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 16, 2018 at 06:35:22PM -0600, 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. > Thanks for your help! Looks that Dave's kexec patch works to prevent the warning message. > I'm out of time today, but I will plan to run the same test tomorrow on > a build of the SuSE 4.4.120-94.17 kernel, on which I had also reported > the original bug. > Both kexec and efi sides will be applied patches. Thanks a lot! Joey Lee