Re: [PATCH] efi: Fix the size not consistent issue when unmapping memory map

From: Randy Wright
Date: Mon Apr 16 2018 - 20:35:34 EST


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.

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.

--
Randy Wright Hewlett Packard Enterprise
Phone: (970) 898-0998 Mail: rwright@xxxxxxx