[PATCH] lmb: Bump CONFIG_LMB_MAX_REGIONS

Tom Rini trini at konsulko.com
Wed Feb 8 19:25:50 CET 2023


On Wed, Feb 08, 2023 at 07:24:25PM +0100, Francesco Dolcini wrote:
> 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 <msuchanek at suse.de>
> 
> Reviewed-by: Francesco Dolcini <francesco.dolcini at toradex.com>
> 
> > 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.

Yes, I was hoping to push the equivalent of this patch a few hours ago,
along with the revert. Then I noticed the test in test/lib/lmb.c doesn't
scale past 8, and I just now figured out what that should look like
instead, I believe.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230208/b16b6e0d/attachment.sig>


More information about the U-Boot mailing list