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 X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D8B8C433F5 for ; Fri, 24 Sep 2021 02:43:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 28084610C9 for ; Fri, 24 Sep 2021 02:43:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 28084610C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2ED458343F; Fri, 24 Sep 2021 04:43:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="YLiYLgoG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F0E658343E; Fri, 24 Sep 2021 04:42:09 +0200 (CEST) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 BE1518344C for ; Fri, 24 Sep 2021 04:41:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72b.google.com with SMTP id c7so26750106qka.2 for ; Thu, 23 Sep 2021 19:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eITRqzOOaXYdI64nJC4HA2nt02jBAvoImf7WtMuYt50=; b=YLiYLgoGspcGb0h3CB049zR9jsHyhC5Bb2YgRP+lth77G7FnFtss5ttWrxxD/Oy4RJ Rs0Jcn/2Txt9pMl30n/E6Hpxe0CVeV0Fm/DgDON00qD6y2WNOjncYCVwKyoRI6nm45lj 5s4X9AgZR2LB5Jx5L5eG0afwJMoLyYcY6dGcc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eITRqzOOaXYdI64nJC4HA2nt02jBAvoImf7WtMuYt50=; b=NsEG1n7KCcyUwYT3qZ/SXZic8D6etIYCPy4Sj2F7iSOu6eWafalAESKyS/gJOE0BAA CPbpOCS47Y0yFbMGw3Wn58yvTxYsEHDSo+dcfI9H86nBT64Y46C8K6xfEeE19nQRNdQA rb2x8GGOMkZOWxjOdiyDUeC8lBRLZ1n1fPURQTS2ZUlED5oyPrKyeS8vgVC4t0+tzi7i LOTKVIqSSlG03QIIQ5snnSSmhDQg/L5BSqopxioc4+aGZOXx4z/BZYu0bcJcmhGR2AMp R0/cQCMz3NKOYW4Su/LjjyyTt3eSUJZ6eTYwAPYwFA75zJqYD4NSM5URy30CZNu+xGFX cnfg== X-Gm-Message-State: AOAM530ZojlbnrEJx6CVTe/2TNdvY5fNLg2NH3HPeSzHAtEd+DNBxL21 FvYEM3jJ144Xn0HtGwLDWZxmag== X-Google-Smtp-Source: ABdhPJyEORMPNkPL3QPJiCm6cR+GHuxIhRxyOFwoUng0FvPNxyP0eYoduos0DMHRn6iIyR0xaDRvKA== X-Received: by 2002:a37:aa8f:: with SMTP id t137mr8083849qke.381.1632451316472; Thu, 23 Sep 2021 19:41:56 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-11b7-7bd8-71db-92e9.res6.spectrum.com. [2603:6081:7b01:cbda:11b7:7bd8:71db:92e9]) by smtp.gmail.com with ESMTPSA id b79sm6028200qkc.0.2021.09.23.19.41.55 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Sep 2021 19:41:55 -0700 (PDT) Date: Thu, 23 Sep 2021 22:41:53 -0400 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Marek Vasut , Alexey Brodkin , Angelo Dureghello , Daniel Schwierzeck , Eugeniy Paltsev , Hai Pham , Michal Simek , Simon Goldschmidt , Wolfgang Denk Subject: Re: [PATCH 03/12] lmb: Add generic arch_lmb_reserve_generic() Message-ID: <20210924024153.GP31748@bill-the-cat> References: <20210910204718.17765-1-marek.vasut+renesas@gmail.com> <20210910204718.17765-3-marek.vasut+renesas@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Hjg+pC/5+IEur/Yc" Content-Disposition: inline In-Reply-To: <20210910204718.17765-3-marek.vasut+renesas@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --Hjg+pC/5+IEur/Yc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 10, 2021 at 10:47:09PM +0200, Marek Vasut wrote: > The arc/arm/m68k/microblaze/mips/ppc arch_lmb_reserve() implementations > are all mostly the same, except for a couple of details. Implement a > generic arch_lmb_reserve_generic() function which can be parametrized > enough to cater for those differences between architectures. This can > also be parametrized enough so it can handle cases where U-Boot is not > relocated to the end of DRAM e.g. because there is some other reserved > memory past U-Boot (e.g. unmovable firmware for coprocessor), it is not > relocated at all, and other such use cases. >=20 > Signed-off-by: Marek Vasut > Cc: Alexey Brodkin > Cc: Angelo Dureghello > Cc: Daniel Schwierzeck > Cc: Eugeniy Paltsev > Cc: Hai Pham > Cc: Michal Simek > Cc: Simon Goldschmidt > Cc: Tom Rini > Cc: Wolfgang Denk > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! --=20 Tom --Hjg+pC/5+IEur/Yc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFNOvEACgkQFHw5/5Y0 tyzEFQwArlbA7glPi+zo+TgdSLf1ienyW6dlff8aLgUwze6Xr/E36+Ntj2C5Xxgu VS4agsI9R2iURahDokWrCyXINxgC7NiHgavjNjEOTBsWQYGvmbvLh9oS/Zs9WDkj YykdvEgnlIEfDpQlX5LjLOsuIQNzRUnKXEHienX0bv5esGtAi2oKEyiWAxfDh8Wp NZHD5vwxuR8RrV2UC117tTnXl4325qlD8wHv2d7NPOp/v1c31s5PSlgJI0tN179I nxwC1cn15rYqu1csI3T1rkkFi8iNCJ+XiMQjgjx0iNHvDgBI433sOkKizrW5XFTJ PyR1cPi15YHFePLSEVsj5Dw1IpunWPuAGZB+3tx5p6+2FDHzGNEldDP1SsYl6kc6 zb6nEFSWZ2OL0B308exmCtHZnChELKIgfCblzLqrt8KIrw1X7+rVvhF9sQ71uQEs ZwuptVbgbjvvDVAElWZ2npLP8jxFuOYwOtFDtB49ZlQYbt1zDD8Un5b/1H59p1u7 bw+vzqyp =Sf0I -----END PGP SIGNATURE----- --Hjg+pC/5+IEur/Yc--