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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBF49C433EF for ; Thu, 18 Nov 2021 23:27: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 E080C6141B for ; Thu, 18 Nov 2021 23:27:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E080C6141B 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 83B1582FDA; Fri, 19 Nov 2021 00:27:23 +0100 (CET) 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="ntOu8UBg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DB38B82FC8; Fri, 19 Nov 2021 00:27:10 +0100 (CET) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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 F244B82FD3 for ; Fri, 19 Nov 2021 00:27:02 +0100 (CET) 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-qt1-x833.google.com with SMTP id l8so7832982qtk.6 for ; Thu, 18 Nov 2021 15:27:02 -0800 (PST) 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; bh=HHIoXRLsLOWAehwPT9BvFS+AF93E+AEqcth2aXwgu9Y=; b=ntOu8UBgOAypJ2+8YfKQ9lGaPMqwcrauRHdr5JdFfIkdw/S4cbyfGtULrWFfK4Ogdj I/90PvE4ylQXFtru5cbEHpFo2ldrNlNVp5zv4C3TXs8Tqaer8jYwf+GcDXzgaKCdsZa7 Opjk+4WyoULd+PyvRWkOrKNBHdqhV5r01/Vu4= 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; bh=HHIoXRLsLOWAehwPT9BvFS+AF93E+AEqcth2aXwgu9Y=; b=LCVgfd3iVleOXoDFD11t+rprra4nCyuvXhKxxunM+PL3mrN4adrttp4fx5DLxEcL+X 3PYl7Cs7aRHZTTgpkWQ/6hEz62qwMSMfUx4YqKDPzmqJK7roK7rxalmXmIlnB/Xv0fez F5An8Tz7pWscRWRnE2CK/wpJmO3zp6PqOtWfnLvVR+lj7e4fW2d3iXpKKj7bKaluHous hlwYe+96UbCK3VrEOgVgd1QuTZQyLV7/o9wnce0cwJFXcnt95j0Sc4Hqo751iriA1PPt sXIoE+CBk8JNLGVFulxhKO2hKDXiWLLqfccF77GoVOJ5GgcZQ+T4XPwoJaPWYNcLNQ8T X7FQ== X-Gm-Message-State: AOAM530ZTgssbtBav9o54xqc1Lx8fZHOS4mwoc7v4vPw8tM7W4TZD6RA ZmnOj+q6DeyLp+ZvTNFhmB4B2XLFA914pA== X-Google-Smtp-Source: ABdhPJzDH/qkyT0/RNSadceBZTraxceKNIOFYENNbQhMQPH07sX9zeg3DO2AwSqAEuOh9dD1stnK0g== X-Received: by 2002:a05:622a:11c9:: with SMTP id n9mr1435157qtk.385.1637278021815; Thu, 18 Nov 2021 15:27:01 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-6986-0eb7-a1cc-35fa.res6.spectrum.com. [2603:6081:7b01:cbda:6986:eb7:a1cc:35fa]) by smtp.gmail.com with ESMTPSA id o5sm669909qkl.50.2021.11.18.15.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 15:27:01 -0800 (PST) Date: Thu, 18 Nov 2021 18:26:59 -0500 From: Tom Rini To: marek.vasut@gmail.com Cc: u-boot@lists.denx.de, Marek Vasut , Simon Glass Subject: Re: [PATCH v3] lmb: Reserve U-Boot separately if relocation is disabled Message-ID: <20211118232659.GD24579@bill-the-cat> References: <20211113173437.32049-1-marek.vasut@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Z00sxP5dnfGtPg1P" Content-Disposition: inline In-Reply-To: <20211113173437.32049-1-marek.vasut@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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 --Z00sxP5dnfGtPg1P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 13, 2021 at 06:34:37PM +0100, marek.vasut@gmail.com wrote: > From: Marek Vasut >=20 > In case U-Boot starts with GD_FLG_SKIP_RELOC, the U-Boot code is > not relocated, however the stack and heap is at the end of DRAM > after relocation. Reserve a LMB area for the non-relocated U-Boot > code so it won't be overwritten. >=20 > Signed-off-by: Marek Vasut > Cc: Simon Glass > Cc: Tom Rini Applied to u-boot/master, thanks! --=20 Tom --Z00sxP5dnfGtPg1P Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGW4UMACgkQFHw5/5Y0 tyxsnQv/RGehrAi+Az6l96empZ9sa1a4iPcKHqbZL2u6cJx3ub1eq/C1TVStbsKH NKpWLvrRKiQcD4dPPGY6wScLrtZ8EbDGhg8/RlNt+1YWf+Qwdj35Lx4M/a3aaoTi oI2LeBu2gAtVlWeUHEKm8pTV2t1f9xjL1KQRlILt16UAx6CuLvvPoTx3D9R1TMpY RerI3pYD0tZKW2cr5Z7nZYYp8PSE5W8mTOpnUj8EHvx8NU1SeOb0B6qjAs8VeLzN R9xwHTSdm14gCt0XA9bX5RLKb2wh+Fwpth50t9Doa2DJKI4flU4uAA8g6SV2beHy nlKoptGqZpaq0kYfkM2WBIh+/2i6IVBHovhIQBWTZIpCTqsvLymz8uVrZFtWYUxU NWrEizsVUoZOBmmWn3Y4rzuKB8a1wQwrO7dCCPX8KMf7YEfYgpipDY81rt3XyN3P Rm7fwuGlf/Pq08CjieEm9F1d3qkcvHCQH8LQSV4LwKPrbsx/tfHZ+NVf7I4SlZ/X 7ayaIeQK =xWsx -----END PGP SIGNATURE----- --Z00sxP5dnfGtPg1P--