Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756899AbdLPOGk (ORCPT ); Sat, 16 Dec 2017 09:06:40 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:38685 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753278AbdLPOGf (ORCPT ); Sat, 16 Dec 2017 09:06:35 -0500 X-Google-Smtp-Source: ACJfBouTYNswPLlmypVdt/Pi2npMRMQL88xsvA3taXuEmImP5CxXvtubMn0QsFovJTvYeukCLKj3cw== Date: Sat, 16 Dec 2017 15:06:32 +0100 From: Ingo Molnar To: Matt Fleming Cc: Dave Young , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, ard.biesheuvel@linaro.org Subject: Re: [PATCH] x86: move parse_early_param to earlier code for add_efi_memmap Message-ID: <20171216140632.462yk7pmlvpmz6if@gmail.com> References: <20171130052327.GA3500@dhcp-128-65.nay.redhat.com> <20171214104119.GA2437@dhcp-128-65.nay.redhat.com> <20171215151822.GB3204@codeblueprint.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171215151822.GB3204@codeblueprint.co.uk> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 27 * Matt Fleming wrote: > > x86_init.oem.arch_setup(); > > @@ -962,6 +959,8 @@ void __init setup_arch(char **cmdline_p) > > > > parse_early_param(); > > > > + if (efi_enabled(EFI_BOOT)) > > + efi_memblock_x86_reserve_range(); > > #ifdef CONFIG_MEMORY_HOTPLUG > > /* > > * Memory used by the kernel cannot be hot-removed because Linux > > > > I prefer this version. Please re-send a full patch and update the > subject line to include the "fix" somewhere; it wasn't obvious to me > from the start that this is a bug fix. Agreed. I dropped the commit I just applied to tip:efi/core, since you are handling this, so this patch should come through the regular EFI channels, right? Thanks, Ingo