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 AB37AC636CC for ; Tue, 7 Feb 2023 16:49:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA48385E57; Tue, 7 Feb 2023 17:49:40 +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="adbvgWOj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C480D85E38; Tue, 7 Feb 2023 17:49:37 +0100 (CET) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 2E4D285E4D for ; Tue, 7 Feb 2023 17:49:35 +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-x834.google.com with SMTP id cr22so17374896qtb.10 for ; Tue, 07 Feb 2023 08:49:35 -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:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Se/EiOkM47soyHnha1MZMSA7SEsSCfTpRfqZyFFQog4=; b=adbvgWOjrIazKRmohXl3O9jpESnZWXfJNg9KRtdzv3v4EHiz45tAKRZxrZxT2Rio3b fyqKHWgLhAl5R0Xx5KDzF3VlBS2fSAh4z8begP3IWdviI8EVGR4i5DiecjbvelFcJnyF GkiLHSy4xeHZhoVpnKOvhi/gWHd2nAXcmcTeg= 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:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Se/EiOkM47soyHnha1MZMSA7SEsSCfTpRfqZyFFQog4=; b=fKSpPHCpI+7U58+ZXj7DUMKl8tm2QQiYaCEhXJ7HaNfLqPy56GOg+Lj2p2uXZvo7BW Ao0ybp++Z6orXsIqARv0JNWwZ5La0KvX42DVxMs1oYJIfFGHphOAYwr9tqbfMcQgAnzK QGaozrg1H7KMOsKAGB8iIrg2hEWGsJFT6B3eaxxH9W5UJLLeDaN4sdXSeLRR/wjTQCWg ksUpQn2ZcRXTtikjh6mlybihk/VJ+VfR0JJrr5ABw+TwfaeNkuzPbqed/v7YgTFtBsD+ RnrN1wt94df012CMMGsoxoYysuah+/ZfSoV2fBxKJ07V6HORNOk+w//BIb4joJEe+/l0 KP3Q== X-Gm-Message-State: AO0yUKXG6+ks/4T0lerPsSAtcQrwuW4oF2zSbdAvi8vG/747wsLSvwLL 9QcNU/HxKa+0WU8THZIGhZo0fZ+PQot5jjUfo7A= X-Google-Smtp-Source: AK7set9zplUMC9dpsxERqjunowogGV3biKHDCqtMoWuI84OZ/rMQWKbfo3XgMo4kuRKOm9Qmrjx6Ew== X-Received: by 2002:ac8:5804:0:b0:3b9:bb27:e116 with SMTP id g4-20020ac85804000000b003b9bb27e116mr7164773qtg.1.1675788573846; Tue, 07 Feb 2023 08:49:33 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-7494-fb31-9b5f-683c.res6.spectrum.com. [2603:6081:7b00:6400:7494:fb31:9b5f:683c]) by smtp.gmail.com with ESMTPSA id a25-20020aed2799000000b003b8484fdfccsm9762518qtd.42.2023.02.07.08.49.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 08:49:33 -0800 (PST) Date: Tue, 7 Feb 2023 11:49:31 -0500 From: Tom Rini To: u-boot@lists.denx.de Subject: Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS Message-ID: References: <20230125230823.1567778-1-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+bhZV3Caed/UbblA" Content-Disposition: inline In-Reply-To: <20230125230823.1567778-1-trini@konsulko.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 --+bhZV3Caed/UbblA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 25, 2023 at 06:08:23PM -0500, Tom Rini wrote: > The LMB code allows for picking a hard limit on the number of regions it > can know of, or to dynamically allocate these regions. The reason for > this choice is to allow for the compiler to perform a size optimization > in the common case. This optimization however, is very small, ranging > from 196 bytes to 15 bytes saved, or in some cases, being larger. Now > that we also have more regions covered by LMB (in order to protect > various parts of our self at run time), the default of 8 is also much > easier to hit and leads to non-obvious error messages (which imply that > an area is protected, not that we're out of areas to add to the list). >=20 > Switch to the dynamic use as the default. >=20 > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! --=20 Tom --+bhZV3Caed/UbblA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPigRsACgkQFHw5/5Y0 tywiHwv/ctLD4+qSbXW6shlVZXYr4o7iNhzp2EtUkF9spe5xxn/wPBZthylEDQ5E mwNkEnsiBXcI2ivLlO5aolMrU5V7vQls/YqrQkux9R9cO/tMkmRTxUpdLWruD5Fg sLK4/XtLF0swgRxxhELwA8QoC94rfK6CenufSVMKp40ws7bmwXr3Cd447CCPOmJU zqy55ZNkDNdl2KT27Hm2oqqydlJfPV3yDqS5rqkHDxwnAeeSQivoYjMLcNnKym7M hjOvhvKJ3KvOebHPU+V4ZgfYMido4Fqzp2aqRgXhTeMKscyRvUHmZaa4y5CpeFqV QM5rWLgmcPUmrfBgT2hxEelujgW6GKQyfUTX8NpMJ6+haRdRopyj/wfx5qCD4tc8 EGekkCQJfRcedmPQKLFuwDg4+flt9/4xmmLCZj0le2I+Rej+BXEdhoUFoH0yM/ne LcrKxF9yP7DL38AKsfpmg4ruaI65qVFTsvhkNmOvgVb/M1N8IsW+9E/LX2ZOloWw 7VCnFqHH =im1E -----END PGP SIGNATURE----- --+bhZV3Caed/UbblA--