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,URIBL_BLOCKED,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 6EBBCC433EF for ; Thu, 23 Sep 2021 02:12:56 +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 E8B6561038 for ; Thu, 23 Sep 2021 02:12:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E8B6561038 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 E40A5833DA; Thu, 23 Sep 2021 04:12:29 +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="Sam2E76A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8CADF8332E; Thu, 23 Sep 2021 04:09:40 +0200 (CEST) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 0CFEF83337 for ; Thu, 23 Sep 2021 04:09:31 +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-x72d.google.com with SMTP id 194so16607897qkj.11 for ; Wed, 22 Sep 2021 19:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jheqE3/nJZHthFcg0dfQdTWQNk4kX6cYkOXvP4MejLg=; b=Sam2E76AGcyxznlJ5grUoLC0h1etWFaBXbRGJAUsQ3l48p9ZSfmXHQPnoiJc8B2J/L 8nabtqUZoAuCw6HjVU3kzikHAE7Xv3qaiXdj8izVadjXFAIoFgBAfDjGdTd8MOc8Atax pJnT6GbKYUOtrfwK1Fue83JDl3rejZu5S4XZQ= 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:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jheqE3/nJZHthFcg0dfQdTWQNk4kX6cYkOXvP4MejLg=; b=v+m+DG4tYVKyRvE1yQPFOlNhqiPzXBlVe9rPAIAO89AjSEuu5+bhgxz7vimgZeNjCs yPwO93JbJO/ssnPSV9TWugEXtTNU66uhvF4o0nE4toMMv5mH/hmauBZ1TGYIPoQAZ3+I 8X9x0X2YckO2p/est0Fi2RYxB0jsqbXJR9+eDogNQqkTS0JaqgEjxpGDsR2WMchMzCkM zkMxyHng6rxrVE2D7DvdBQhyUx7tv9Ac70ePb2HXzmJtxkmrdSBn7lP2V9XC9+OQGw1w kcFmdkiT5G2Gq+++N/ivFvpUT2wvJLtzC/oRjsOTY59CUa7P5BrVFG0u6K6N+hv5Rwga v0LQ== X-Gm-Message-State: AOAM531jhqFEQ6Xtp+4U4CYcmZ49+uzG4XX5KfbLASS2ewrZgS8DRTJA G0lKE7hQYXBEbkNMUgibOMvonf0TDkZdGA== X-Google-Smtp-Source: ABdhPJwbWOqxOprdjRS+7wvfDRz5DbH8yr1C0HkZSUVn+/S9p6x5At2mI3mJIxfDXlQjrSmo9HRvtw== X-Received: by 2002:a37:6d6:: with SMTP id 205mr2644146qkg.466.1632362969623; Wed, 22 Sep 2021 19:09:29 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-a58e-d475-4878-38e2.res6.spectrum.com. [2603:6081:7b01:cbda:a58e:d475:4878:38e2]) by smtp.gmail.com with ESMTPSA id w11sm3199977qkp.49.2021.09.22.19.09.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Sep 2021 19:09:29 -0700 (PDT) Date: Wed, 22 Sep 2021 22:09:27 -0400 From: Tom Rini To: u-boot@lists.denx.de Subject: Re: [PATCH 1/1] powerpc: Drop version_string placement optimization Message-ID: <20210923020927.GA31748@bill-the-cat> References: <20210802131838.21097-8-pali@kernel.org> <20210916195648.9424-1-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w5er4h4/Yf2qR8D9" Content-Disposition: inline In-Reply-To: <20210916195648.9424-1-trini@konsulko.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 --w5er4h4/Yf2qR8D9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 16, 2021 at 03:56:48PM -0400, Tom Rini wrote: > As explained by Wolfgang, historically PowerPC would do a number of > things to hand-optimize placement of the binary on NOR flash in order to > maximize utilization of very scarce resources. These days, we simply > aren't optimizing our binary layout for NOR flash placement and it's > quite likely this wasn't working as intended. Furthermore, this level > of optimization makes it difficult to have version_string be a global, > instead of a weak and overridden value, and so make more progress on > reproducible builds, which is a current concern. >=20 > Move to having PowerPC no longer store version_string in the early part > of text so that it might be part of the first page of NOR and instead > use the same declaration everyone else does. >=20 > Link: https://lore.kernel.org/r/96716.1629798400@gemini.denx.de/ > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! --=20 Tom --w5er4h4/Yf2qR8D9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFL4dcACgkQFHw5/5Y0 tywmVgwAp3Tj06JyzAWcpygFu50Jv57v5i97FKZWz1CJbZ7ivjJD19Ff/QcB+dKc f6m0DgohzIAsrlcpkC1DgVq5KuNgAZDELLqYS7z1KNkNfrjiCDfHit972svI80PA qE7C2jWDDBOAe6Qd+O+Nz9JJrYbQNe/sts6ifpja31DUKFo5Z6am1ObaKOSco1rL B+d+TtExbIoeV4xgymwAq/Bi556GojZZdrWNapQmIYz4qRhh/bWKGKiBdXvqJAuC kG+kENuVlgNIn8ZDyxZ+pV3K7OvO0PljH+rnvqCm/G09BEVTUg/vJcoCiZZHXmwY lEEGTf8xaTvS9GcGRp9xMSr7+djUd6ts0PtJajTrlzwhA+VNOUTUc/8SS3CxDn2k MZogn6qfambNhFtiQyWBcYsGtxuISEuX7/OYdhuzmnl4TlHrCmzK997h7ZAO0v0c xY+8jsMUu859o6zlc9fQwX1hgsqeK4OQ1TgFls3UfUI2SCV4CdHNEaNVJvHKfmbF sqVdeGVn =KsjZ -----END PGP SIGNATURE----- --w5er4h4/Yf2qR8D9--