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 6FF21C04FF3 for ; Mon, 24 May 2021 15:41:16 +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 684EA61933 for ; Mon, 24 May 2021 15:41:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 684EA61933 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F125882C95; Mon, 24 May 2021 17:41:06 +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="Dg9OQB/j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6A8E282EA2; Mon, 24 May 2021 17:41:02 +0200 (CEST) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (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 2D9B682AB1 for ; Mon, 24 May 2021 17:40:58 +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-x72f.google.com with SMTP id q10so27404002qkc.5 for ; Mon, 24 May 2021 08:40:58 -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=pNwLC/GPvhV8IuZtp0p6ZERQMPcEnjUMb4gdHNNR8DM=; b=Dg9OQB/jyig247PliQFQq7/uFhy6grFyltO3KnVHBTNvvwv3m0a1/JYw9hNesR+EH4 I8GOjl2QcFBNeUYXBjsSmKfNTHA6V7KW8u6l0+SR6MB3oCG39RugTNxTaj9mYuYPBTC1 /H3TX8ZLVIkWmZBApIgdBF8pJQ8rwRxbTSZgA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pNwLC/GPvhV8IuZtp0p6ZERQMPcEnjUMb4gdHNNR8DM=; b=dj8PsGPJcA+nYOFjGP39ky8IAHudAqsTtmzrtQGY1HHxaDjPsZ8bmgxUBNSTvymJdR 5lcq2+oPgp0WKiQ2cIEtr4zB01NiKzvembAySGTwNGGqBWtCRL8cEkMJp7y17rRi7suY FmQ1ZedIAkihP54JD8bYvkT7BocjN8op02QrUt4Bh8Lw/wRsRTODgjtuK5+tsoa6DnYR HPngKNHryKQc1cpu9Z+mA0YnGy5biheA+O3WI4YdTghTGsfYqzwX9Pc1xUmk7cB2UGiJ zOPuDM7+p6BJJZNY7uTJ0xvr1scz7gzdos+hPpcGUUQxKq+2HsdgVp6zvDXGUT4McsZK enAQ== X-Gm-Message-State: AOAM5320l+5PUPj+fvheHDt3GTGQpdxmDPn3zvnwaIWcgfHmZY/EdDkE UvTUo8aaSUkGn3kcXRTN9aRvgA== X-Google-Smtp-Source: ABdhPJzh7DN+uh0drOW8c8aQIBPa0fNAJdNNkdPzzdsVPqxayJ1e1gWlHzoAE4Dez+vIlktyUIcANw== X-Received: by 2002:a37:b107:: with SMTP id a7mr29265223qkf.366.1621870856860; Mon, 24 May 2021 08:40:56 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-9576-eca8-4e25-8149.res6.spectrum.com. [2603:6081:7b01:cbda:9576:eca8:4e25:8149]) by smtp.gmail.com with ESMTPSA id n18sm11044242qkh.13.2021.05.24.08.40.55 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 May 2021 08:40:56 -0700 (PDT) Date: Mon, 24 May 2021 11:40:53 -0400 From: Tom Rini To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: Adam Ford , U-Boot Mailing List , Simon Glass , Heiko Schocher , Patrick Delaunay , Patrice CHOTARD , Miquel Raynal , Pali =?iso-8859-1?Q?Roh=E1r?= , Stefan Roese , Heinrich Schuchardt , Alexander Graf , Marek Vasut , Neil Armstrong , Ryder Lee , Bin Meng , Harald Seiler , Tim Harvey Subject: Re: [PATCH u-boot v4 36/36] ARM: enable LTO for some boards Message-ID: <20210524154053.GA17669@bill-the-cat> References: <20210520112425.25166-1-marek.behun@nic.cz> <20210520112425.25166-37-marek.behun@nic.cz> <20210521141147.GG17669@bill-the-cat> <20210521180031.08b842e0@dellmb> <20210521165641.GK17669@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TamG5kGfS+84K2Jk" Content-Disposition: inline In-Reply-To: <20210521165641.GK17669@bill-the-cat> 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.102.4 at phobos.denx.de X-Virus-Status: Clean --TamG5kGfS+84K2Jk Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 21, 2021 at 12:56:41PM -0400, Tom Rini wrote: > On Fri, May 21, 2021 at 06:00:31PM +0200, Marek Beh=FAn wrote: > > On Fri, 21 May 2021 10:11:47 -0400 > > Tom Rini wrote: > >=20 > > > On Thu, May 20, 2021 at 01:56:29PM -0500, Adam Ford wrote: > > > > On Thu, May 20, 2021 at 6:25 AM Marek Beh=FAn > > > > wrote: =20 > > > > > > > > > > Enable LTO for some boards that were tested by people on U-Boot > > > > > Mailing List. > > > > > > > > > > Signed-off-by: Marek Beh=FAn > > > > > Tested-by: Adam Ford > > > > > Tested-by: Pali Roh=E1r > > > > > Tested-by: Tim Harvey =20 > > > >=20 > > > > Since the imx8mm beacon boards and the imx8mm venice board both show > > > > promise, does it make sense to 'imply' the LTO for anything enabling > > > > imx8mm? > > > > Same thing for the various omap3 boards, and potentially the renesas > > > > RZ/G2 boards. I know Tom went through to remove a bunch of boards > > > > that were never converted to DM. Most of the boards remaining > > > > boards have minimal board files and most of code is common to other > > > > boards in the same platforms. > > > >=20 > > > > I have an l138_lcdk that I can use to test which I expect to be > > > > similar to the da850evm. =20 > > >=20 > > > As much as I am eager to move everything, quickly, over to LTO by > > > default, I think the problems that we've seen thus far show it's best > > > to really make it an explicit enable per board at least for the first > > > release or two. Once we've hopefully gotten more boards tested and > > > enabled we can see what makes sense for defaults, give a release worth > > > of heads up, and then go. > >=20 > > Tom, are there some other issues aside from the one failing CI scenario > > (sandbox_clang)? Would you be willing to merge this if I resolved that > > one fail by disabling LTO for that scenario (until I resolve it)? It > > would help me not having to maintain all 30+ patches... >=20 > Yeah, CI needs to keep passing, so if we need to disable > sandbox+clang+lto for now, OK. Ah, I see the problem now. I've worked out a fix after looking at the Linux kernel a bit and I'll post something for us and upstream dtc as well. --=20 Tom --TamG5kGfS+84K2Jk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmCryPoACgkQFHw5/5Y0 tyw7Tgv9FRpRxGbWJc9JEwmxPHLAYzhooRe0EaenTWqsGi8yImBq2kITBqWjoDSZ QoiFDEKeOHVghT05ZIUPs65cc+iOXWT5lZohZNTN2AUhrufc53/5PTqVMFns5aNG nP3bHd2DbhdYDA5Zvgl579TrygmsIXE+Buzcht4kZ+dqLeZpuCZs3vvSD1ZPNhy2 JIWfuFQlqVYeM17k7t3JwxYv2yGj7QkQ8hYVFEmyPpkqRpvAZI/xlpXlVq0VdZzp U1ntI/M6lonBooIs0t7Jw7SbY9d7JuBjmuIgYo+PN/p8166Uc1ZoEBB9o55PMvgx 8HnbD0+zziGsqv2sUw5T3Tavuz5cA7+ShF/X/0jo7hQln1/mshT0m/bDqEenMqs+ izCDGVw0K3HxwENZdDFq799GSugTyHayylictxJqCA5as7fQvMF7gbfoBfQLaWJj GkUAk+GI05mQMsPjVoXiR4W1h8JFK12Jplz5Mtqct++qKHfIKwJ3dNghECaF3DTV iEbaQTTY =J+SH -----END PGP SIGNATURE----- --TamG5kGfS+84K2Jk--