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 E67DCC04FF3 for ; Mon, 24 May 2021 16:23:36 +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 E9EA26113B for ; Mon, 24 May 2021 16:23:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9EA26113B 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 A7C3D81DB3; Mon, 24 May 2021 18:23:33 +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="GXw1ZNLK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B650482AB1; Mon, 24 May 2021 18:23:31 +0200 (CEST) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (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 1146082D5F for ; Mon, 24 May 2021 18:23:25 +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-qv1-xf33.google.com with SMTP id c13so13277569qvx.5 for ; Mon, 24 May 2021 09:23:24 -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=V8FXOa2p7Eo29Qkj4pKLhwpuzilpy1Rj6nhz4ey1bbA=; b=GXw1ZNLKECo6DDMHmFwcjjC2zkY/0/lxvJ6xFM6sJ8y+TNiJqzM4f/dNZ1LR0beG/P 3niECkSMJZCW02kXcIkI52KUDge7oqIhb1Pu1sVEZPnd/5I7ITwe8rX2rs7d5NYQJQd+ Ik4LAZSIm0iFibRWbChMNQ3P9L2oAlPrd+7/0= 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=V8FXOa2p7Eo29Qkj4pKLhwpuzilpy1Rj6nhz4ey1bbA=; b=sZ+I3EcMTP2nnrxXXCIQGgtAKmwfCA99JFZ48TY3Yr4HXr+Rz0mMm3LoqkNuflTdUy jj9VjJTZpd/apEo6d+yNMK1XaiMSijXfxeO1FgS/agP8ZdhE9kxrZdiS3HvzJLrvggIA vWHCQGoqQYWPr01oVTUhUJM9pgsmnxoaaqc3uGG4HTutVAuk3UFiTEhN9h6Fg0Udv6Dc QMh4jc9Gdccdw1RfYJGmvtpGJz5Vs/2ay4WmOczfpMuozndtA1WH6+qlnsV6rpqMYF2e A2zOGNY/0gql2w4GAMmgN5Ynd+6akXdbWsHA+oKJ0Z04AUyf0kj6fQ7HSM6LOlpD38jp mGxA== X-Gm-Message-State: AOAM5314SBFBlPVHuK770n3/uH8xbT4B2LE1F5BV4D2zcgnEQ/sbbE/w OiqfQ+odwz4v1vWw3LMqQExIlw== X-Google-Smtp-Source: ABdhPJxyr0xnbsUWvQyA5opH3nGzogTXjUJQpR+5p/4nHor1KwIIfzNKmbDSwWxCUIvADYxmRl+fbQ== X-Received: by 2002:ad4:5227:: with SMTP id r7mr4425446qvq.41.1621873403831; Mon, 24 May 2021 09:23:23 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5ce8-9acb-4a3a-47a0.res6.spectrum.com. [2603:6081:7b01:cbda:5ce8:9acb:4a3a:47a0]) by smtp.gmail.com with ESMTPSA id a27sm9255933qtn.97.2021.05.24.09.23.22 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 May 2021 09:23:23 -0700 (PDT) Date: Mon, 24 May 2021 12:23:20 -0400 From: Tom Rini To: Marek Behun 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: <20210524162320.GB17669@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> <20210524154053.GA17669@bill-the-cat> <20210524175855.2090a751@thinkpad> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Q5ESiSybwR+8vGVd" Content-Disposition: inline In-Reply-To: <20210524175855.2090a751@thinkpad> 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 --Q5ESiSybwR+8vGVd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 24, 2021 at 05:58:55PM +0200, Marek Behun wrote: > On Mon, 24 May 2021 11:40:53 -0400 > Tom Rini wrote: >=20 > > 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: =20 > > > > 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: =20 > > > > > > 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-Bo= ot > > > > > > > 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 ena= bling > > > > > > imx8mm? > > > > > > Same thing for the various omap3 boards, and potentially the re= nesas > > > > > > RZ/G2 boards. I know Tom went through to remove a bunch of boa= rds > > > > > > that were never converted to DM. Most of the boards remaining > > > > > > boards have minimal board files and most of code is common to o= ther > > > > > > 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 f= irst > > > > > release or two. Once we've hopefully gotten more boards tested a= nd > > > > > enabled we can see what makes sense for defaults, give a release = worth > > > > > of heads up, and then go. =20 > > > >=20 > > > > Tom, are there some other issues aside from the one failing CI scen= ario > > > > (sandbox_clang)? Would you be willing to merge this if I resolved t= hat > > > > one fail by disabling LTO for that scenario (until I resolve it)? It > > > > would help me not having to maintain all 30+ patches... =20 > > >=20 > > > Yeah, CI needs to keep passing, so if we need to disable > > > sandbox+clang+lto for now, OK. =20 > >=20 > > 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 > What do you mean? The problem is in dtc? I see 2 problems: > - one with DM test > - one with stack protector test The first problem I saw was a bunch of warnings building pylibfdt. I see now those two problems, and yeah, OK, gotta figure out something there next. --=20 Tom --Q5ESiSybwR+8vGVd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmCr0vUACgkQFHw5/5Y0 tyxFXgwAk944YY4HWpeGWi6j2MvRyiSv65mH2467jTdZYnSkZdxDtU6LrAZv0zl+ f1pm7SAz086EcNnKAkFPY8wEYBNm56Vv+0H6ZNEnh/J5KPo8YMyFx29/i3+H3cZG sqZ2oZd2nSezwY556PmXNvQHpJiE7frEAHajmR5YWDWhqISWUJ4kKSIwm/1tcy9m AcnPuRrS9U75kqZWv2qQZvlTt0MuD78aouyuhNqvz9D3WDzAIzmzxNyj6XOguNRM iakBRR03Og3eWi7CtI8QlE2qlncQ254+N6YnrV6JHuLrkWMHZlyEVqqHZCaraxbw FgrxBmmf3+fz5y//BbKiU7bNmlF3+aUkJBH7xrlKWgVfVTjGTI+T1XtO0Y0AkbCv LZnaibTz18VfVra3Lv0RRWNJN7dysg8+MucJJ3RJ21S/eH/E267Vt51R5XlJEKjY BbKdm0rr5hpRqSRodH1jwnZhxl6M300alcapKV6MhHQoQBYgODYyk5yw+QVjgJmU 6eYeny9I =HOKa -----END PGP SIGNATURE----- --Q5ESiSybwR+8vGVd--