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 CDF84C05027 for ; Wed, 8 Feb 2023 20:00:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 48AF285F1C; Wed, 8 Feb 2023 21:00:45 +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="C05eqjXd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1C33085EF4; Wed, 8 Feb 2023 21:00:40 +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 E77E585EF4 for ; Wed, 8 Feb 2023 21:00:36 +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 f10so22280837qtv.1 for ; Wed, 08 Feb 2023 12:00:36 -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=MbmEyBxu/zUSGcdqN/TjLVyFIUNJuLlznRmXxc245Jw=; b=C05eqjXdt/NbWBtTOGyosRQSTwLqlzcvBGJ7/Sewc1tQOrUvMjjn2CXhvnuxqZ3dDF sjTlHBD2l6ljbZGp+bf9AdzQ9zn/mZ2EpPhJ4R8Uo+/0gjM5GRhfgf7tCf2mY5kN//g0 yUELadqMcKbA+Qq8Ed8JR4bO5qVFoPqt1JsRo= 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=MbmEyBxu/zUSGcdqN/TjLVyFIUNJuLlznRmXxc245Jw=; b=5Ctgel+Xv/QdjsHMs7YczdnWJ629/z8YMTQ33vNgoRZn+w1YqyjnoiPSvgyks+CUG9 unryGeJKNVtTEXAMlT414sHamHR5WV9r4x71ryByAxPyaCHRtYgHc8VZBpGsH58YGgVv lpxvEUaHmGkt1MnGzVZIO3U0ERt0lpSqh8u+Qmkj4XJNpUMDO2BWQbGr52cqUfoLNta0 e3Kd5Kw46uK3IOUGS+ndN8guKebQ50zehPGxv/2HsZTAcuHYdz+IF5z3hy/DTFHPxzOl a5QmzBHTygb6krZhrJhH/TcQo8CrlYUEhO3WsJdBSDVNzK3mTidAd5ctIwoHlbTuu3A2 wiWQ== X-Gm-Message-State: AO0yUKW1uKLrQmqcgVjHbo5CUTMPuWL+dG9ZuGPymjyhG+k45mq7969O C8VQkFFe4HmSxGC5zSiLt7deCnlh5dUp/55qR4Q= X-Google-Smtp-Source: AK7set8Xwg+mQNOhcA4321Tom4amF/yuztVMQHKmdVIpzquthXxWXYuc/xUwJ7h157CIW4KZ5vMF5A== X-Received: by 2002:ac8:5bd5:0:b0:3ba:1d8d:f6d0 with SMTP id b21-20020ac85bd5000000b003ba1d8df6d0mr15750473qtb.23.1675886434955; Wed, 08 Feb 2023 12:00:34 -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 i8-20020a05620a248800b00727538eb831sm12658317qkn.86.2023.02.08.12.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 12:00:34 -0800 (PST) Date: Wed, 8 Feb 2023 15:00:32 -0500 From: Tom Rini To: u-boot@lists.denx.de Cc: Simon Glass Subject: Re: [PATCH] test: lmb: Rework lib_test_lmb_max_regions test to scale Message-ID: References: <20230208183918.3768060-1-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2MOmPAmLEWMbO/Yk" Content-Disposition: inline In-Reply-To: <20230208183918.3768060-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 --2MOmPAmLEWMbO/Yk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 08, 2023 at 01:39:18PM -0500, Tom Rini wrote: > First, this test depends on CONFIG_LMB_USE_MAX_REGIONS, so add that as a > test before building. Second, instead of using a hard-coded value of 8, > which is the default of CONFIG_LMB_USE_MAX_REGIONS previously, use that > directly and update the comments. The only trick here is that one part > of the test itself also was written with the value of 8 itself in mind. > Rework the size of the lmb region we allocate to scale with the value of > CONFIG_LMB_USE_MAX_REGIONS. >=20 > Cc: Simon Glass > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --2MOmPAmLEWMbO/Yk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPj/2AACgkQFHw5/5Y0 tyz2xwv+MJHEtxsz2tFoBKLgNJmnjw8NB4vjgxgi/LIlQz219UrrubDjnOAXwkhD 2jz9agbzChkoOetwH3Ci3qNImgPOeKcJL+qHrUJvx12hQtxDL/4/QYFCWUxGZYCK MLs4NDQAu9runr7RGIvLR7RF8JvuHKtYnoQdCJ2varn4VhxAJ6Kxg3aSwVJqrSg3 LdOXVU5WPWhNnv4EzymMDRhz9roOudx8cNUtS2EutFwaPKmivmcvqMYOjItSkmy5 xtqjazaoUvQRP9T1epv0Tonv2IbC3xWHDx+MCYhkNrfl3rKxY5IAJsgAM9++LLGY qGEg8FycPtNe35dMZW0+rb2lIDqUtm1089CFWhVl0bVTtMe10hXDIILuN163n60F 8Qaa2S3FjknYO4YntVJjEw0GK6TXQ6kIjR2S9HfnQI30SUrZ7XRCKG5e0cyf0IEP 7xH+tsyMoPgLjkETNF94HJWh7R7is7EV99iAwZ7DTP+KKHtg8NYZFH7vEEA7T847 UK2E4sci =TwRQ -----END PGP SIGNATURE----- --2MOmPAmLEWMbO/Yk--