Re: [PATCH] x86, kdump: Fix efi=noruntime NULL pointer dereference

From: Dave Young
Date: Fri Aug 24 2018 - 02:49:51 EST


On 08/24/18 at 06:48am, Mike Galbraith wrote:
> On Thu, 2018-08-23 at 11:57 +0800, Dave Young wrote:
> >
> > Mike, since we are going this way, I'm working on a kexec code cleanup,
> > but it needs careful testing so still need some time.
> >
> > Can you help test below efi fix and provide you tested-by if it works?
>
> While it averts the efi=noruntime oops on kdump kernel load, the kernel
> does not boot when kdump is triggered. Bailing in setup_efi_state() in
> addition restores functionality.

Yes, that is expected. Kexec code need fix and cleanup in other
patches.

Thanks
Dave