Re: [PATCH V2] x86/efi: fix kernel param add_efi_memmap regression

From: Matt Fleming
Date: Mon Dec 18 2017 - 09:24:01 EST


On Sat, 16 Dec, at 12:19:53PM, Dave Young wrote:
> 'add_efi_memmap' is an early param, but do_add_efi_memmap() has no
> chance to run because the code path is before parse_early_param().
> I believe it worked when the param was introduced but probably later
> some other changes caused the wrong order and nobody noticed it.
>
> Move efi_memblock_x86_reserve_range() after parse_early_param()
> to fix it.
>
> Signed-off-by: Dave Young <dyoung@xxxxxxxxxx>
> ---
> arch/x86/kernel/setup.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)

Thanks Dave, applied to 'urgent'.