From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Wright Subject: Re: [PATCH] efi: Fix the size not consistent issue when unmapping memory map Date: Tue, 17 Apr 2018 14:34:05 -0600 Message-ID: <20180417203405.GA4574@rfwz> 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> Reply-To: rwright@hpe.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180417003522.GA2741@rfwz> Sender: linux-kernel-owner@vger.kernel.org To: joeyli 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 List-Id: linux-efi@vger.kernel.org On Mon, Apr 16, 2018 at 06:35:22PM -0600, Randy Wright wrote: > ... 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. I carried out the test on the older kernel today. I found the version of arch/x86/kernel/kexec-bzimage64.c in the SuSE kernel version 4.4.120-94.17 was sufficiently different from the newer version that one chunk of the patch under discussion was rejected. Specifically, the 'struct kexec_buf kbuf' is not found in that older SuSE version of kexec-bzimage64.c. But I made the same modification to the calculation of variable params_misc_sz in the older source, ran the same test, and there were no longer any warnings from early_ioremap.c. -- Randy Wright Hewlett Packard Enterprise Phone: (970) 898-0998 Mail: rwright@hpe.com