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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9D094C433EF for ; Sat, 19 Mar 2022 17:25:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F26FA83938; Sat, 19 Mar 2022 18:25:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (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="dJa71Q55"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CB46D838B9; Sat, 19 Mar 2022 18:25:12 +0100 (CET) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 804F1837E3 for ; Sat, 19 Mar 2022 18:25:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x830.google.com with SMTP id j21so9186091qta.0 for ; Sat, 19 Mar 2022 10:25:06 -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; bh=aAFdBiOHBR05zXR8IhLe2g/USTHFdykcE127h5pvFfY=; b=dJa71Q55bEGVAret4jZ6xXsXVPzhV0Xif+3K/Z8OrhymKCLGkUHlaKjXffF4sUQ0zj 5C8VKHUrEtbb8QYnVYnqsmXyX/F0u7XfwtarXbzKrWMDB7nJLr8rjpKqogJX/jCwc8bN 6nZwVW1WACpvMngIiKHblstMgZEwb9PaJpOYc= 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=aAFdBiOHBR05zXR8IhLe2g/USTHFdykcE127h5pvFfY=; b=Nd5DFb6OkzsbNyBL+ZGH44gxvXlMRJmfOqoFXTDw3VJh0koB58UkGAEJKlyvM+PVSH 5E3U2XD1RA9jzq6vLNC428acWGsP8GHn8zIU/kSYKUVKyQGClolOHnabuQHH0OmKVxgC UXaySy2a+/Hn4psbEW7B2V+z93ZtOaR73FufJi0zM0s/oYnP6i/5Uyw7LdnQC8q6ZLaL 9MINnHs+h5o3TGYOb9F0Nbfcqu2ubALxQ6a0c0IbvnRVvvYfK+/63ZPYPiClN22yP6RA iuB7+mo945kzTMEyj3uzHmx6AAAEN6+TvKSBzGzyW2gcxZEZwGlv8U0SCU1hT6n9K0Jb rpcQ== X-Gm-Message-State: AOAM530pYx+ch94CnvlORuQ92rFhP+LWC74htWH/EAjG5ESAUEKbK8A3 lYDG1EFN0RUJII/gvAA7zCfkBg== X-Google-Smtp-Source: ABdhPJwDmDiC58YRVgYn5AD80lSPcnvQOFICrPFjOeD7dyZNlANu44R32NYpiR7voQFiYX89coSJUA== X-Received: by 2002:a05:622a:105:b0:2e1:d653:c325 with SMTP id u5-20020a05622a010500b002e1d653c325mr11178142qtw.75.1647710705184; Sat, 19 Mar 2022 10:25:05 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id m3-20020a05622a118300b002e1beed4908sm8222862qtk.3.2022.03.19.10.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Mar 2022 10:25:04 -0700 (PDT) Date: Sat, 19 Mar 2022 13:25:01 -0400 From: Tom Rini To: Michael Nazzareno Trimarchi Cc: Fabio Estevam , Gaurav Jain , Stefano Babic , Michael Walle , Varun Sethi , Adrian Alonso , Alison Wang , Andy Tang , Franck Lenormand , Horia Geanta , Ji Luo , "marex@denx.de" , Meenakshi Aggarwal , Mingkai Hu , "olteanv@gmail.com" , Pankaj Gupta , Peng Fan , Pramod Kumar , Priyanka Jain , Rajesh Bhagat , Sahil Malhotra , Shengzhou Liu , Silvano Di Ninno , "sjg@chromium.org" , "u-boot@lists.denx.de" , dl-uboot-imx , Wasim Khan , Ye Li , Raffaele RECALCATI , Jagan Teki Subject: Re: [EXT] Re: [PATCH v8 01/15] crypto/fsl: Add support for CAAM Job ring driver model Message-ID: <20220319172501.GJ2226424@bill-the-cat> References: <20220319160522.GG2226424@bill-the-cat> <20220319170351.GI2226424@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xEruU51OOzV9VdJQ" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean --xEruU51OOzV9VdJQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 19, 2022 at 06:08:18PM +0100, Michael Nazzareno Trimarchi wrote: > Hi Tom >=20 > On Sat, Mar 19, 2022 at 6:03 PM Tom Rini wrote: > > > > On Sat, Mar 19, 2022 at 05:48:59PM +0100, Michael Nazzareno Trimarchi w= rote: > > > Hi Tom > > > > > > On Sat, Mar 19, 2022 at 5:05 PM Tom Rini wrote: > > > > > > > > On Sat, Mar 19, 2022 at 02:51:01PM +0100, Michael Nazzareno Trimarc= hi wrote: > > > > > Hi > > > > > > > > > > On Sat, Mar 19, 2022 at 2:25 PM Fabio Estevam wrote: > > > > > > > > > > > > Hi Michael, > > > > > > > > > > > > On Sat, Mar 19, 2022 at 6:47 AM Michael Nazzareno Trimarchi > > > > > > wrote: > > > > > > > > > > > > > > HI > > > > > > > > > > > > > > Please send me a link to apply your series > > > > > > > > > > > > You can get the series from patchwork (just click in the 'serie= s' button) > > > > > > https://patchwork.ozlabs.org/project/uboot/patch/20220112133127= =2E16880-2-gaurav.jain@nxp.com/ > > > > > > > > > > Done, well, I have tried remove DM_GPIO in SPL. Seems that I need= to > > > > > remove a lot of features. I have tested LTO build but size > > > > > of SPL increase. Is that strange? > > > > > > > > That is very strange. Can you post your patches somewhere? > > > > > > > > -- > > > > Tom > > > > > > Start from here 9776c4e9d00ac49d6388ffe9e084ff03b37ae479 > > > export ARCH=3Darm > > > export CROSS_COMPILE=3Darm-linux-gnueabihf- > > > > > > make imx6dl_mamoj_defconfig > > > build it > > > > > > Try then to enable LTO and build it again > > > > > > spl/u-boot-spl.bin exceeds file size limit: > > > limit: 0xefa0 bytes > > > actual: 0xf071 bytes > > > excess: 0xd1 bytes > > > > > > So LTO does not help even on beginning on this board. You don't need > > > to apply any patch for this test > > > > I think that's some artifact of mixing LTO/non-LTO and the world not > > getting rebuilt? Just enabling LTO after the defconfig works fine and > > is smaller than before. >=20 > In order to save space I did not change what we have. Every build starts = =66rom > a mrproper and new configuration. I can not mix LTO/non-LTO in this case.= I'm > using upstream defconfig and upstream defconfig + LTO enabled and the res= ult is > that spl increase in size for LTO building. I'm working to keep out > part that are not really needed but > I was hoping that LTO give me some help here Yes, LTO saves about 5KiB on the SPL binary. You just need to enable it in the config before you start building, not after you've built everything once. --=20 Tom --xEruU51OOzV9VdJQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmI2EeoACgkQFHw5/5Y0 tywKuQv9EaGUV4Lotk+jYswEx07zEfAnIT7fPmxO08mwfhA3bmZvGxXgpZvW2Pfh jaEgvWMWC/N/fA915TDiFrN01mAFb6t7ADYHOWQfaWpFdQxwIsyXmnw7e02SIpC2 12AruSvmJDPy/klHLZ5MaJdOzboCVyFVTIO2yipIRWX/4oAsjdc5PZXxO+sbW1qa 6A4xOHE6M0BdGp9LSW7LMp3xadH2Jshrf0roaKghw4KrScxTT5ynSpnXvjEge5Wy 9SneduKx1Kw7WaXQl5/g6LrAlnagxUfvl5fyZobdnV04ifdtvVIT7zxxaz1ki2U1 zkRDxXDJynsk7/mUAZ58dmpr96MOqSMbtA0P7IBZI1rmnHMvAOZm1wQFVY5+AqCY HSWCGK08bUstXYFneq/NLZPIJdWmxece2Y+NeVA0PmljOsjWgnkieoMh6/V/v0ds EB8PHGS0V7IyUgPxqk1BX21/9CvOIhesMXWcPx4Iw+Z/+3EcljfVNnEOFTH46/Qo d+DD3Nc1 =Emkp -----END PGP SIGNATURE----- --xEruU51OOzV9VdJQ--