Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932595AbcCRM4H (ORCPT ); Fri, 18 Mar 2016 08:56:07 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:34240 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756854AbcCRM4E (ORCPT ); Fri, 18 Mar 2016 08:56:04 -0400 Date: Fri, 18 Mar 2016 12:56:00 +0000 From: Matt Fleming To: Ard Biesheuvel Cc: David Daney , Will Deacon , "linux-arm-kernel@lists.infradead.org" , Rob Herring , Frank Rowand , Grant Likely , Pawel Moll , Ian Campbell , Kumar Gala , Ganapatrao Kulkarni , Robert Richter , Mark Rutland , Catalin Marinas , "linux-efi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , David Daney Subject: Re: [PATCH v15 1/6] efi: ARM/arm64: ignore DT memory nodes instead of removing them Message-ID: <20160318125600.GT2619@codeblueprint.co.uk> References: <1457481587-8976-1-git-send-email-ddaney.cavm@gmail.com> <1457481587-8976-2-git-send-email-ddaney.cavm@gmail.com> <20160318122609.GS2619@codeblueprint.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24+41 (02bc14ed1569) (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 989 Lines: 20 On Fri, 18 Mar, at 01:31:59PM, Ard Biesheuvel wrote: > > Typically, the UEFI memory map is more restrictive, since it does not > only describe where the memory lives, but also which parts of it the > firmware has claimed for its own use. So if both memory nodes and the > UEFI memory map are available, we must use the latter anyway, and so > it makes sense to ignore the former. Alternatively, we could sanity > check the memory nodes against the memory map, but it is simpler just > to ignore them. > > However, that caused some problems in the past, since discovering the > memory nodes occurs before the EFI entry point is invoked, and so it > was decided that we strip the memory nodes rather than ignore them. Thanks Ard. Once you've stripped the memory nodes as represented in memblock, there's no way for the memory nodes to re-appear in one form or another after that point, right? The EFI memory map is the sole memory layout either via memblock or if it's queried directly?