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 D169FC05027 for ; Wed, 8 Feb 2023 18:26:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B1E2B85EFE; Wed, 8 Feb 2023 19:25:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="VFkJNUKT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F097585EFE; Wed, 8 Feb 2023 19:25:57 +0100 (CET) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C72CD85E95 for ; Wed, 8 Feb 2023 19:25:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82d.google.com with SMTP id g7so21837929qto.11 for ; Wed, 08 Feb 2023 10:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JesSRLpkhw4O5eiB5/urbjbgta7Q94uEX/ngFs32tTM=; b=VFkJNUKT4KJRD3IfRFdKaqyJI3UcLL0InaT6wVCduiW8KfFWPWqyM5qF/T8akB59rv pkxD3DtWWz2TwC7uJwTs0NdMR67TRBwgg/qQzCpGUMS9HGiHL74U5bRFlooxQtlK5tLq EKqdrWnuKXpO6kv9Ijs/5EV+08HOPQL8pkkZU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JesSRLpkhw4O5eiB5/urbjbgta7Q94uEX/ngFs32tTM=; b=7smw8PBWk+JrtqJenoUWaQH3O3F7gQLSAHflAoBOJMthtojJZK8H3HTa/tCo20AdYV PaicG+obUJJJAAIioAfCNZYoKPlH4jnSM6tHBubzAvsJoFyTA72kPw8DQrDho1W9mAu9 llclbWxyDSnoa5HJrq4UeuccKjtL0G24hzBKalU6GfIU1sAQP+3yhUPcxdVh6kFPReBR jWhRfST0YFQ0R4Da1bDLVq+RCTymhykd9KPXHSjCri0d8vbislQ6Dod3pKh1fDorh8RX GFiwswvLY4TzQGPq6cIoBm2GVXCw4QGnOIqS9TZVHLNhuNMkvpCYHZFTpWLBJ+Ddo1pH NgxA== X-Gm-Message-State: AO0yUKX5X2qRIEBXkHVsykz5c6vRh0yEdQ7OAiEY2Jbd8PpWGY1WCGs5 w/9I0pJ65EP/8AliEYhkaDx4zg== X-Google-Smtp-Source: AK7set+ZmM5ZWGQu7fm+srXcKXFbGL50Jbt8ubPU4B7WehCMcQR+7y6i2uHZV+OXrU6qwICyDLajxg== X-Received: by 2002:a05:622a:170f:b0:3b8:6d57:939c with SMTP id h15-20020a05622a170f00b003b86d57939cmr15799773qtk.0.1675880753585; Wed, 08 Feb 2023 10:25:53 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-90cc-7e59-435b-3104.res6.spectrum.com. [2603:6081:7b00:6400:90cc:7e59:435b:3104]) by smtp.gmail.com with ESMTPSA id u21-20020a05620a455500b0071a02d712b0sm12468452qkp.99.2023.02.08.10.25.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 10:25:53 -0800 (PST) Date: Wed, 8 Feb 2023 13:25:50 -0500 From: Tom Rini To: Francesco Dolcini 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zFz2oxbC5kVRBRnM" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett 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 --zFz2oxbC5kVRBRnM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 08, 2023 at 07:24:25PM +0100, Francesco Dolcini wrote: > Hello, >=20 > 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. > > >=20 > > > commit 06d514d77c ("lmb: consider EFI memory map") increases lmb usag= e, > > > hence is likely the cause of the lmb overflow. > > >=20 > > > Fixes: 06d514d77c ("lmb: consider EFI memory map") > > > Link: https://bugzilla.opensuse.org/show_bug.cgi?id=3D1207562 > > > Signed-off-by: Michal Suchanek >=20 > Reviewed-by: Francesco Dolcini >=20 > > 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. >=20 > 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. --=20 Tom --zFz2oxbC5kVRBRnM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPj6SgACgkQFHw5/5Y0 tyyp9wv+L8N7SETVcS+cfaHIBYe8M7z4AVDT5VvoxYHWkj/CaLdn2NoAP9PQQPe4 FHbKso4530H0svIwnPlLLroZ3Nfy7rQP1rSVy9Xz7ljrZRNvRSHXJHrw6c4A9Q9G swxkRD3NsU4wE9KSXbF10kOsDrWetsXzBtPwrwe0MsBO0IyJ0Vh4VRvPGbBWKOpL NfAqQ61JDNQdsnv3dxdOc8wXljm2ArIqIm9qVVBkBZ6T7vvvWfJAKFWJc681meCb jexuEf3nIpOjNNWoMBPM2I68Pq6aoivv4IH1XMu1MRfSV0ZMSIsF08LQtxBm8RtS Teasb2z1L9KiNYNFDpa7E9JL58fd7qbGHBNGb5BRNrrb4YDQ1S9fNJ5E5Wxzj4NP IBxM2/i7HsXVsFGhjU1Ergd2tmeeos6HLYfzPi3uKZHkSf0GicqqhqtY/ashqhdf EezXI1SMj6Rn4IEyTBTR8BlTkzKhjfnLDEPsMyozX9t9Wgn2nv4OjQex8rGG+iU7 h0L5IxvP =xmZE -----END PGP SIGNATURE----- --zFz2oxbC5kVRBRnM--