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=-9.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, NICE_REPLY_A,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 F0E2BC433EF for ; Thu, 9 Sep 2021 10:53:03 +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 F343D61100 for ; Thu, 9 Sep 2021 10:53:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F343D61100 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmx.de 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 5A46680C8A; Thu, 9 Sep 2021 12:53:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de 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; secure) header.d=gmx.net header.i=@gmx.net header.b="bV630L86"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C79FA80F03; Thu, 9 Sep 2021 12:52:58 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 354A480661 for ; Thu, 9 Sep 2021 12:52:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631184772; bh=P85UXUSk9bByDc25VhBqgokV3/lQ23Uckns9uwytQbY=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=bV630L86FVkIrnoYCM52bixZZL8Rk25+cpSzZDMim0CXHFCLQpSFHalZvchzp4SAX SHN5Ung/E0Mzk4IYDQ0EGwweOCPXIMsMvzk4cCPFAkeAJHI2ASeZJT4E8eKfcWSOWo 1acfDSoBcx8c8b0SKCtdTks6KWnyt6h0ZfX7mrrY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.55] ([88.152.144.157]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MRTRN-1mcFer2v6D-00NP8n; Thu, 09 Sep 2021 12:52:52 +0200 Subject: Re: Pull request for efi-2021-10-rc4 To: Simon Glass Cc: Tom Rini , U-Boot Mailing List , Alexander Graf , Masahisa Kojima , Ilias Apalodimas , AKASHI Takahiro References: <61e2e1cc-b474-84dd-eceb-bb86a59972be@gmx.de> <20210904130111.GA12964@bill-the-cat> <20210904143722.GD12964@bill-the-cat> <46CAD3CD-41FA-43B9-9099-225711B754E1@gmx.de> <20210904173949.GI12964@bill-the-cat> <8FD4F99B-E1A5-4842-8BB8-EA2749E4761B@gmx.de> From: Heinrich Schuchardt Message-ID: <146342ea-08a3-ec4a-535c-5bcecd54675a@gmx.de> Date: Thu, 9 Sep 2021 12:52:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:uL+/1FqccBlx3byHrKacR5JstyC6EUpBHnoepLAb3bQXIz0TPtT J0wkMRewLYWObJhxvPMqZkMYu+GAkOjhhv8DdWymF6xzO6bFQA/Kd9Hv6YhPfZfT5gZvCDf U6/FluJPxdqeSJPFBUzkyRsncNsfNG0mUrNZdm2USF5MMY3+BKNIZGdSzGoWqM5MqxjTZew biPMfUD+nDTyqVC4c+yXg== X-UI-Out-Filterresults: notjunk:1;V03:K0:fpecu3AtBO8=:o42tXflwZ4IBlfUu0gLMDh 9QQ1Km5RNpxbNVfdxviVa+edj+06SD4A/qL74Zep02IbjLU3PhNdZtHMV5xRkVDeeEbElXRj2 CRDtataK5dlQrgGTSZbeDJnCgCSIE5tVmwGt0W1uExawqpsXQwKIw/t1wvR2/kiy7Y8OxSEVS WbQKEj3R3qXGtsWWRBSr1ef/JwsmfLKm3iJfL+qmCleKu/jMzuS36xhfh7wXgkZLTrKS7GFip qqqclj9dMRrMa1y2tujYB9URcAdT+siIq2nyk/MlpPRYAcOuwMLWCr5tUfJNMnK/K7vnZuACq WJ4Anfo72zor7hEIkJUr7rchHRupQOfheFIXTitrzdWFu4+5M+ZpI/lJD/040OnWN3ighqCme KSbGMfP5W82PSfUISKEHqERkRbEIUedyMZX+UNvBOhBT3fv52z1fbxPeJX8SiTZYqmZQpf1s3 zKSH13YMnMA2OvakS8MNRP5/FGlQbvvUJ4Irkzou58htkyNybGHjfGxomkAJtnq9Bdj5/eWF1 Wy7f34PXKTjJowJm5U9V7YWbhFMQmY2Y007lkymUEZDaBQJsQ8WtdqEZN7xFyjaUdUS+u5oqI 3E0NyQuIdD1txG0SZbJe90iMPCCovmIBbsOXuIQwCLIRsXUUX9GOw8/0AE7S5lbSlDnYyHzOr nduTkN6trYX03BreFAVtVDrqH+C6AutGfjKVs54WzmerDnHONfhb7qOMG26wOCjf1rdU2LcU8 eMc+MJVRbwlsRVTGU9iRQjQ54QQa7qJ1B4HGiPwLadwHkUV4Hjkn+ps60coRKGXttYRlEpo+G lvO7Tf6DYycZ0QlaWm/wiTEZHV18cIdWOLX1OmSvrSURlfrWzKw7QNcpS1eENBsOJCK+x2qen s0PiDCh2Fu5o2HRIfeQAcMszxItvy8EbWF1NVBl9RqedRppmQIPHt8u9ywNKawbcHtIRxXoBt jwR5n2Kx65vyRpHiCLhCq856C1boBaVORS4WgDd8Rs3bd+7bjApDrf81FdIf4+RboYbC5E1WW 4nE2x2GVeMmCGiBxMqBhd7LwLavdtAPUX9f0BaidACBtBdU+805geYGmehyEKqG075qwHCkHT qkLQPrshmK7xjY= 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 On 9/9/21 10:56 AM, Simon Glass wrote: > Hi Heinrich, > > On Sat, 4 Sept 2021 at 12:08, Heinrich Schuchardt w= rote: >> >> >> >> Am 4. September 2021 19:39:49 MESZ schrieb Tom Rini : >>> On Sat, Sep 04, 2021 at 07:03:48PM +0200, Heinrich Schuchardt wrote: >>>> >>>> >>>> Am 4. September 2021 16:37:22 MESZ schrieb Tom Rini : >>>>> On Sat, Sep 04, 2021 at 03:08:38PM +0200, Heinrich Schuchardt wrote: >>>>>> >>>>>> >>>>>> Am 4. September 2021 15:01:11 MESZ schrieb Tom Rini : >>>>>>> On Sat, Sep 04, 2021 at 11:56:47AM +0200, Heinrich Schuchardt wrot= e: >>>>>>> >>>>>>>> Dear Tom, >>>>>>>> >>>>>>>> The following changes since commit 94509b79b13e69c209199af0757afb= de8d2ebd6d: >>>>>>>> >>>>>>>> btrfs: Use default subvolume as filesystem root (2021-09-01 10= :11:24 >>>>>>>> -0400) >>>>>>>> >>>>>>>> are available in the Git repository at: >>>>>>>> >>>>>>>> https://source.denx.de/u-boot/custodians/u-boot-efi.git >>>>>>>> tags/efi-2021-10-rc4 >>>>>>>> >>>>>>>> for you to fetch changes up to 1dfa494610c5469cc28cf1f8538abf4be6= c00324: >>>>>>>> >>>>>>>> efi_loader: fix efi_tcg2_hash_log_extend_event() parameter che= ck >>>>>>>> (2021-09-04 09:15:09 +0200) >>>>>>>> >>>>>>>> ---------------------------------------------------------------- >>>>>>>> Pull request for efi-2021-10-rc4 >>>>>>>> >>>>>>>> Documentation: >>>>>>>> >>>>>>>> Remove invalid reference to configuration variable in UEFI d= oc >>>>>>>> >>>>>>>> UEFI: >>>>>>>> >>>>>>>> Parameter checks for the EFI_TCG2_PROTOCOL >>>>>>>> Improve support of preseeding UEFI variables. >>>>>>>> Correct the calculation of the size of loaded images. >>>>>>>> Allow for UEFI images with zero VirtualSize >>>>>>>> >>>>>>>> ---------------------------------------------------------------- >>>>>>>> Heinrich Schuchardt (5): >>>>>>>> efi_loader: sections with zero VirtualSize >>>>>>>> efi_loader: rounding of image size >>>>>>>> efi_loader: don't load signature database from file >>>>>>>> efi_loader: efi_auth_var_type for AuditMode, DeployedMode >>>>>>>> efi_loader: correct determination of secure boot state >>>>>>>> >>>>>>>> Masahisa Kojima (3): >>>>>>>> efi_loader: add missing parameter check for EFI_TCG2_PROTO= COL api >>>>>>>> efi_loader: fix boot_service_capability_min calculation >>>>>>>> efi_loader: fix efi_tcg2_hash_log_extend_event() parameter= check >>>>>>> >>>>>>> And I don't see Simon's revert in here either. And he asked you a= bout >>>>>>> that yesterday: >>>>>>> https://lore.kernel.org/r/CAPnjgZ3eRdjF0jb9S-cJK6y+feuyRyWf0hNkf2t= riB4DR4UFBQ@mail.gmail.com/ >>>>>>> >>>>>>> So at this point, are you asserting there is nothing to revert? >>>>>> >>>>>> Never. Simons "revert" is breaking functionality. The concept for s= uporting blobs in devicetrees supplied by a prior bootstage has not been d= efined yet. >>>>> >>>>> And to be clearer, reverting something that was introduced in one rc= in >>>>> a later rc isn't breaking functionality. U-Boot releases (well, the >>>>> non-rc ones for sure) are on a very regular schedule. External proj= ects >>>>> may not depend on some feature introduced at -rcN unless they're wil= ling >>>>> to accept that some changes could happen before release. >>>>> >>>> >>>> There is no value delivered by Simon's series. Neither does the image= get smaller nor does it fix anything. If he wants to enforce a design, it= must work for all use cases. But this requires some conceptual work. >>> >>> Yes, and what's the rush to not do the conceptual work? If I recall >>> part of the thread correctly, yes, Simon didn't get his objections in >>> before the patches were merged, but it was early enough in the release >>> cycle that taking a step back and reverting was a reasonable request. >>> What he had said wouldn't have changed if he had gotten the email out = a >>> few days earlier. >>> >>> So yes, please merge Simon's revert, or post and merge new more minima= l >>> revert that brings things to the same functional end. There are >>> objections to this implementation, and thus far Simon has been >>> responding all of the requests to better clarify all of the related co= de >>> and concepts that have been asked of him, so that in the end an >>> implementation that fulfills all of the technical requirements can be >>> created, that hopefully leaves all parties satisfied. >>> >> >> >> There is nothing wrong with the current code. > > The current code is misconceived and I did go to great effort to > explain that in the 'devicetree' series. > >> >> It is Simon's concept of blobs in devicetrees that is borked in that it= ignores QEMU and any board that gets the DT from a prior boot stage. > > That's because I was completely unaware of this strange back-door > approach. It would have helped a lot if someone had bothered to create CONFIG_OF_PRIOR_STAGE is not a backdoor. And you are the DM maintainer. > some documentation for the design. Then I would have seen the problem > immediately. > > Anyway, it is now covered by the above series. The use of devicetree > in U-Boot is very clear, I think. I see neither a design by you nor a series that covers CONFIG_OF_PRIOR_STAGE. I have suggested that if you really want to move this blob to a devicetree you could apply an overlay tree including U-Boot specific fields to the devicetree of the prior stage. Did you yet respond to this? > >> >> Simon's patches have no functional end. So what do you mean by "same fu= nctional end"? > > So, please, again, will someone apply the revert before the release > and people start relying on it. Sure we want capsule updates. My understanding is that you want to modify the current implementation. That is fine. It has no effect on the user where a blob is stored unless you remove it as your series does. So I cannot understand your urgency. Instead collaborate with Ilias and me on the possible design change. Heinrich > > Regards, > Simon >