Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BD9D6C05027 for ; Wed, 8 Feb 2023 18:24:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B445B85EF5; Wed, 8 Feb 2023 19:24:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mailserver.it header.i=@mailserver.it header.b="Dlia3wL2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9AD485EF6; Wed, 8 Feb 2023 19:24:35 +0100 (CET) Received: from smtp-out-03.comm2000.it (smtp-out-03.comm2000.it [212.97.32.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D197985E95 for ; Wed, 8 Feb 2023 19:24:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=francesco@dolcini.it Received: from francesco-nb.int.toradex.com (31-10-206-125.static.upc.ch [31.10.206.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-03.comm2000.it (Postfix) with ESMTPSA id 8F833B453A9; Wed, 8 Feb 2023 19:24:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1675880672; bh=LLpdNwnWgaBxpgM073XG0RwpaaigP3/RUFokx+fCrao=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Dlia3wL2jDi6+956DGGbjwEKOAYXA0Kte3IR18rOeFnMk6zXF7qw9TVyx4R4w6+r2 wZq6avB5QepWfJNNkwv6QpwDiBLatLuwlwIquYj3hKi+qaA/eyGMqjt2VWjxfSm4h5 JidRqquXL916rgLLQEnjdFwWLKC82mws67lKuR/8tLF6P1lyJAkeWu6i7aqHtoLlB+ 1EogfaEerPEp5th1AI/K6ztiPoXfl5xCl1QhgL6MTNT9Q47tLktahYnoy6HNSP3MId Ryr9QuTZzWcbQDNmmsY/osOoU8T4PKsnwxRsqvaVep82bnJz/c7P2K4P4brA4eebZ0 VP+QV63EZRbmg== Date: Wed, 8 Feb 2023 19:24:25 +0100 From: Francesco Dolcini To: Tom Rini Cc: Michal Suchanek , u-boot@lists.denx.de, Guillaume Gardet , Simon Glass , Philippe Reynes , Ilias Apalodimas , Leo Yu-Chi Liang , Sughosh Ganu , Kautuk Consul , Brandon Maier , Rasmus Villemoes , Heinrich Schuchardt Subject: Re: [PATCH] lmb: Bump CONFIG_LMB_MAX_REGIONS Message-ID: References: <20230127130012.31499-1-msuchanek@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Hello, On Fri, Jan 27, 2023 at 08:54:55AM -0500, Tom Rini wrote: > On Fri, Jan 27, 2023 at 02:00:12PM +0100, Michal Suchanek wrote: > > It is reported that in some configurations it is not possible to boot > > because u-boot runs out of lmbs. > > > > commit 06d514d77c ("lmb: consider EFI memory map") increases lmb usage, > > hence is likely the cause of the lmb overflow. > > > > Fixes: 06d514d77c ("lmb: consider EFI memory map") > > Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1207562 > > Signed-off-by: Michal Suchanek Reviewed-by: Francesco Dolcini > I plan to pick up > https://patchwork.ozlabs.org/project/uboot/patch/20230125230823.1567778-1-trini@konsulko.com/ > as the alternative fix for this issue and would suggest that any distro > hitting the problem on v2023.01 apply the above instead of increasing > the limit. Tom, my understanding is that you plan to merge this or an equivalent change, correct? Otherwise I would need to send some more patches to update a few board defconfig that are affected by this specific issue. Thanks, Francesco