From mboxrd@z Thu Jan 1 00:00:00 1970 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 48157C05027 for ; Thu, 26 Jan 2023 18:28:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6A1CD856CC; Thu, 26 Jan 2023 19:28:28 +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="H364oI0z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 49875856D3; Thu, 26 Jan 2023 19:28:26 +0100 (CET) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 6830885650 for ; Thu, 26 Jan 2023 19:28:23 +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-x829.google.com with SMTP id h24so1993271qta.12 for ; Thu, 26 Jan 2023 10:28:23 -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=s9CU3TV6bQJWcxDM+4GNFHm6KR19l0Yuuj85bdM9uUI=; b=H364oI0zW0TtpBmjAAW0v6H+TIu/PsgWG0QnnAyTtS3KB6Sxbg94D9SEJcPO05zWi6 0DmdRRYFVfZwrxaEG8hC/5vnTJ//CTArVjxtmIIFe8WHX9B0Cvc0RGvZ9j6wcRxAohmq FOUtDqyRh/gNA9T+8GjQXIgtUrZB5NWeMMQhw= 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=s9CU3TV6bQJWcxDM+4GNFHm6KR19l0Yuuj85bdM9uUI=; b=BOObrrHDvahyGxsoVtcHoKnKn7MtTOZbylibkB8Sc4kW+N2dovYkS9EbNkmzzCho/S iTgKDFTu9wS3z7Y2QehV/n34zkZU4VmY5wxNvGlPVFsnu79pIErcjfVBqpUTkuVAgtM8 cEQfTq2OqzlG1H4miXHWa81MvlYD31yIbHwrtUxLV+WiuHtefBoKk6G+INmdLokM8j8E MDFm6CYCN5ymMXGblw0HfGySqeAI9kNGGEyQIqybYwlLZpVKPF6Aoo+zI8zzOR0NevHj mG91acKMTaFZZtzCtHvTd68RuLZ0no8cNqI5pi003W83OFRi5gCe0dSiKJCxg0tBVHeZ pAFQ== X-Gm-Message-State: AFqh2kr7jMYwAMTDRp1JM1mwdhRkma2SIPiIjZxW+c9Zzt9z8xvlMhhw e1kyZTpw/fkI+Gh+zYndcVLjCQ== X-Google-Smtp-Source: AMrXdXv/q1esvMj5coO93VMyNTeafS4oOVz94CyeGzCZ3DSnrXSSjwmS3J3+infm5qgPP2lkz76ugQ== X-Received: by 2002:ac8:4b50:0:b0:3b6:8b52:1358 with SMTP id e16-20020ac84b50000000b003b68b521358mr37949995qts.9.1674757702171; Thu, 26 Jan 2023 10:28:22 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-3a56-04fb-7eea-5810.res6.spectrum.com. [2603:6081:7b00:6400:3a56:4fb:7eea:5810]) by smtp.gmail.com with ESMTPSA id c10-20020ac81e8a000000b003b691385327sm1198961qtm.6.2023.01.26.10.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 10:28:21 -0800 (PST) Date: Thu, 26 Jan 2023 13:28:19 -0500 From: Tom Rini To: Sjoerd Simons Cc: u-boot@lists.denx.de, Heinrich Schuchardt , Ilias Apalodimas , Kautuk Consul , Leo Yu-Chi Liang , Philippe Reynes , Rasmus Villemoes , Simon Glass , Sughosh Ganu Subject: Re: [PATCH 1/3] Bump LMB_MAX_REGIONS default to 16 Message-ID: References: <20230119083820.2656710-1-sjoerd@collabora.com> <20230119083820.2656710-2-sjoerd@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cY+BdGtsNDMPsoEa" Content-Disposition: inline In-Reply-To: <20230119083820.2656710-2-sjoerd@collabora.com> 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 --cY+BdGtsNDMPsoEa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 19, 2023 at 09:38:17AM +0100, Sjoerd Simons wrote: > Since commit 06d514d77c37 ("lmb: consider EFI memory map") the EFI regions > are also pushed into the lmb if EFI_LOADER is enabled (which is by > default on most system). Which can cause the number of entries to go > over the maximum as it's default is only 8. >=20 > Specifically i ran into this case on an TI am62 which has an fdt with > 4 reserved regions (in practice 3 lmb entries due to adjecent ranges). >=20 > As this is likely to impact more devices bump the default max > regions to 16 so there is a bit more slack. >=20 > Signed-off-by: Sjoerd Simons I prefer to use: https://patchwork.ozlabs.org/project/uboot/patch/20230125230823.1567778-1-t= rini@konsulko.com/ in this case due to it being overall a smaller size increase. --=20 Tom --cY+BdGtsNDMPsoEa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPSxkMACgkQFHw5/5Y0 tywTigwAoZ/zGR6EpKrf2Yw+yut81UZ4VP5lOlF0l9ilub/NRbJBvU7DkWm+CcaC nTdwddn+FyIMa7c9U/RbX7VndoTCfv9zGWp85vxvGDr61Ths+PDC5yVPDTuvPruq mLDQionUJlFllTp3NYvrm8n/Hu6nWE5yIOAgO7k5rfXsKvS5JV7eTjnwcFYL2UH+ dwHuWcuT6mYk8vMLGj3Ffe/Qn55XpKVfnPTfwdvPm1JViH1MeAoKpOSmz1DZwqsG ztcd3NE9mSaAWcmq1YmU6fUuSrL3LQO2Em12rsuK3J3+xzuOXiZKgJ0NTIBoPd/q XjPGAGtnjbMa62SzYCwG1w6XqsBAPZmaHz+Z7+PcE1qNoYQqkAbt8m93E1GawJEN XDIRSu3A+bZ0BrWuKD5stQJM/YinsN0P9h5CogjcpoJePWVgLNpa142BEIQD8A5y urPDLYVRF5xpgAnIJhA5lWYbNQLrghEkxzaVxQ/DRjVJdL2Pj7LHyN/gllb9xlLh U1RlNHIb =Vph3 -----END PGP SIGNATURE----- --cY+BdGtsNDMPsoEa--