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.2 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 31568C433F5 for ; Fri, 10 Sep 2021 21:10:29 +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 98345611BD for ; Fri, 10 Sep 2021 21:10:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 98345611BD 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 27D3383737; Fri, 10 Sep 2021 23:10:26 +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="lr6NC9Dp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C48578357F; Fri, 10 Sep 2021 23:10:23 +0200 (CEST) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 19400836FE for ; Fri, 10 Sep 2021 23:10:20 +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-x731.google.com with SMTP id a66so3582739qkc.1 for ; Fri, 10 Sep 2021 14:10:20 -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=WEDWMK65hyCONW/HD62BzAKh7jwQn3vW79NlC/FoUkg=; b=lr6NC9Dpc2Ux6z6NIkcbqX1tXxlp0lgqVvCOEWyqQdZhzKADLEljOmjRJ0pHriN+UP 5tldNhEhqAzh2wI/fV1Z3bB3cZkFuadUzMs8PjgJpk0noFOUBEHE1drHTcI0POi7wJOX elvNdospInYOiivsaARAvsFl20zIfzYdGJxug= 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=WEDWMK65hyCONW/HD62BzAKh7jwQn3vW79NlC/FoUkg=; b=NnsiT50bW3RhEVa1QT22KnmYpIHNu7/y0RMpP2xQOA+P20YVb+a1kYjynQ7R3Y8xP9 v7hKCSxz+RPesIo0rGEGCNQZB58FqolEZCxrGYK24ZSBhwTZsLDd39XH+qTOdKCLV5P8 uDU+jcBYMQHsaFOzqCB5nf5zhEDroCWJF0ZLrfQjPgvyH91m1wGn/30Ak9RTIFaXojzT tDKjzbAlQFY97M1G67/XSCEYQtnb6+GHTsKAaNngeGKOC8KPVrjxNqfN1Uku26L6EOER 1u51bjIW/No9uU6DhR63RtQb4oLOf+aM+6VbseKjo3inwipeXb3QaAbFeBx8y1Sj5QkX N7nQ== X-Gm-Message-State: AOAM532cpk0NGTW1LETObIMeMwCKB4XYOoTZWR3cOPaiwifTTJcZER9t 2E7qLtR4fFcWF9ldCWs9gibOuw== X-Google-Smtp-Source: ABdhPJxJfv2e7Ndyd57YMAV9uTfSJiXvFwzvaAMPQmB9YKrX3eAP5JRKkvWjtj6nyMrOnafi3RptIA== X-Received: by 2002:a05:620a:1307:: with SMTP id o7mr9535762qkj.437.1631308218440; Fri, 10 Sep 2021 14:10:18 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-55fd-c014-b2c6-676a.res6.spectrum.com. [2603:6081:7b01:cbda:55fd:c014:b2c6:676a]) by smtp.gmail.com with ESMTPSA id v7sm4576005qkd.41.2021.09.10.14.10.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Sep 2021 14:10:17 -0700 (PDT) Date: Fri, 10 Sep 2021 17:10:15 -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: <20210910211015.GZ12964@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="ePPrL4phxv3DkDpN" 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 --ePPrL4phxv3DkDpN 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 --=20 Tom --ePPrL4phxv3DkDpN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmE7ybQACgkQFHw5/5Y0 tyxDKgwAj+23J/QlePG4BfQx8S9R5c/U0dvZuYFHhdQyzJWKTJTDbs+0xgI4/SO1 hHFvI+s86mU/RNuWi6DtkhbA79ABodUxlt3o35F3HlFiGnPuIJEh2WC5VtC9iUl1 HkyKh5gLlApBH+QOMgVxyPVqckcMovX47NFM41csMtSAC2WOZDoNST8rVXTNg3Cx M1QmzzdsCQ8AthQx/8pkpizgdGSGj8lhC2PkaQslNGne+1ZyoDZyg2m8IDTpxA74 85vdiita0jM1C6dGSVUUvDPpfGqN7LBRBHzLhY+nGhv25A7+xUWzirpBMxFNEwEI yNCMJhZevJ0ACjGjwoZtwpDCSB91jjN27MZss4qFT7y2XPfexrJhUnJy7dlTtr+/ d2mQY688epsvxW7eh094ZfbZtHMDREtQnfboOH+Kvu4DFYDoTDpTKgDQj9ew0bW5 W3s1dyIvS2Kp05mrvbi6XGU9+ryHGoGhcjypSgewz3hKany8RWGq6DPO0E8QcJat yY43mceN =wewp -----END PGP SIGNATURE----- --ePPrL4phxv3DkDpN--