Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758823AbdLROX5 (ORCPT ); Mon, 18 Dec 2017 09:23:57 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:38159 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752954AbdLROXz (ORCPT ); Mon, 18 Dec 2017 09:23:55 -0500 X-Google-Smtp-Source: ACJfBosmjrh3CY1qRYJNMuG+CLpcjnx9FqdiZiINVRsWViVOP8q6VZEc+qw8ZSSqrr4GQjY1K6ZilA== Date: Mon, 18 Dec 2017 14:23:50 +0000 From: Matt Fleming To: Dave Young Cc: mingo@kernel.org, ard.biesheuvel@linaro.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org Subject: Re: [PATCH V2] x86/efi: fix kernel param add_efi_memmap regression Message-ID: <20171218142350.GC3891@codeblueprint.co.uk> References: <20171216041953.GA1690@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171216041953.GA1690@dhcp-128-65.nay.redhat.com> User-Agent: Mutt/1.5.24+42 (6e565710a064) (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 590 Lines: 15 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 > --- > arch/x86/kernel/setup.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Thanks Dave, applied to 'urgent'.