From: Tom Rini Date: Mon, 6 Jun 2016 17:28:23 -0400 Subject: [U-Boot] efi_loader: Don't allocate from memory holes In-Reply-To: <1464344703-214874-1-git-send-email-agraf@suse.de> References: <1464344703-214874-1-git-send-email-agraf@suse.de> Message-ID: <20160606212823.GU11619@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, May 27, 2016 at 12:25:03PM +0200, Alexander Graf wrote: > When a payload calls our memory allocator with the exact address hint, we > happily allocate memory from completely unpopulated regions. Payloads however > expect this to only succeed if they would be allocating from free conventional > memory. > > This patch makes the logic behind those checks a bit more obvious and ensures > that we always allocate from known good free conventional memory regions if we > want to allocate ram. > > Reported-by: Jonathan Gray > Signed-off-by: Alexander Graf Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: