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

From: Mike Galbraith
Date: Fri Aug 24 2018 - 00:51:36 EST


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.

-Mike