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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 8A6B4C4320A for ; Mon, 2 Aug 2021 15:37:49 +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 9E268610FC for ; Mon, 2 Aug 2021 15:37:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9E268610FC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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 A3E5E82C09; Mon, 2 Aug 2021 17:37:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ngusX/X4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B72B382C03; Mon, 2 Aug 2021 17:37:44 +0200 (CEST) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 9568382BC7 for ; Mon, 2 Aug 2021 17:37:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wr1-x433.google.com with SMTP id h13so8503135wrp.1 for ; Mon, 02 Aug 2021 08:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=pYkXr4xcXLljs84PutpD5vX/7TOylN//H60itOOzg84=; b=ngusX/X47TNGsXdX2cyn8waRZHGyfQaQLpVECZbEmjAdglYTnIEsLDACC34tiCjjsM Pqgk2JPu752CuuTDHEIcF4Rkj7DQ6rugRvAkquq9QxjwgXWkO4vcKNMoJqO/okjNI1tL I8ak5Y0ArXfDuZfohTlijfwHdb2UHd8JTv4LLfqUv29lp8q4UjgxIJhyal7/ny0EtKn3 kHqlX+ZFdDp+imnnVCohSAWCw87osabPknZ6lOtW2AA7TcIlz9iZ8ZFvgnKDCB3ip983 0uyJf6SpaBJCc+mkLlBRty3KX/3AJhZztjOoyRz9TqB9yOfiZCwe694Oh44GKEDOTptk doUA== 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; bh=pYkXr4xcXLljs84PutpD5vX/7TOylN//H60itOOzg84=; b=lc0dJZ+zkuD5co/ZsrSE84DuVH+D4ll2S23wKIwwyGtm45R687f32fhxARmqJmMTx+ s5SNxknjikqdaZpBVaxscN0fK6GNMI3/06yMNCv+VPYGurrZmMB/bmvdrkaqYK9a+6rm ijyyQKV9VlOiCIz2mbImZfj3gnvkGjXT5Sk4VBhLEP8+UvmRgGHRPTLnHAp9zU2f4bNz 6yb/FcbUYOv/8bdrQ3fYZ4JheMIQF5tU3Wt5SxT13vq3Q1bq5205lVR1UKPderzp2Bjl QVxti/8Cj2lkGZOYKLaN0IT9ThdUfIRIzs/Q+D56ljobcOqRq5tihmw0swKviJWNHcbP BbGQ== X-Gm-Message-State: AOAM530QBeLuF/btz8CZtjsXGyxFRBLdcXIR/qnDBL5h8uh+gAfeYo3u Aeae3vJBt1SPVgvmHq7wtN9kBA== X-Google-Smtp-Source: ABdhPJwoaz9NFokpP4wUgqgEIJYRUhRbI6Sh3QJLNCsDPS909yJS7AR4FB+I5MBnJzAP9G6rd+rRjg== X-Received: by 2002:adf:fa11:: with SMTP id m17mr18303634wrr.150.1627918658149; Mon, 02 Aug 2021 08:37:38 -0700 (PDT) Received: from enceladus (ppp-94-66-249-72.home.otenet.gr. [94.66.249.72]) by smtp.gmail.com with ESMTPSA id n5sm11559303wri.31.2021.08.02.08.37.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 08:37:37 -0700 (PDT) Date: Mon, 2 Aug 2021 18:37:35 +0300 From: Ilias Apalodimas To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , KASHI Takahiro , Alexander Graf , Masami Hiramatsu , Sughosh Ganu Subject: Re: [PATCH v2 0/3] efi: Minimal revert to rodata change Message-ID: References: <20210802144431.2396678-1-sjg@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210802144431.2396678-1-sjg@chromium.org> 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 Hi Simon, On Mon, Aug 02, 2021 at 08:44:28AM -0600, Simon Glass wrote: > The changes to move from devicetree to rodata take things in the wrong > direction for various reasons: > As I said on the previous thread, I think this should remain as is for a number of reasons (and mainly because it only works with 1/3 valid CONFIG_OF_XXX U-Boot provides), but I'll let Heinrich decide. > - devicetree is where config should be stored > - it provides no memory production in any case, particularly when U-Boot > is relocated > - testing becomes harder, with the suggestion of adding an entire new > sandbox build just for this > > Revert this until a new direction can be established. > Regards /Ilias > Changes in v2: > - Also revert two other patches, based on comment from Takahiro > > Simon Glass (3): > Revert "doc: Update CapsuleUpdate READMEs" > Revert "mkeficapsule: Remove dtb related options" > Revert "efi_capsule: Move signature from DTB to .rodata" > > board/emulation/common/Makefile | 1 + > board/emulation/common/qemu_capsule.c | 43 ++++ > doc/board/emulation/qemu_capsule_update.rst | 203 +++++++++++++++++ > doc/develop/uefi/uefi.rst | 125 ----------- > include/asm-generic/sections.h | 2 - > lib/efi_loader/Kconfig | 7 - > lib/efi_loader/Makefile | 8 - > lib/efi_loader/efi_capsule.c | 18 +- > lib/efi_loader/efi_capsule_key.S | 17 -- > tools/mkeficapsule.c | 229 +++++++++++++++++++- > 10 files changed, 472 insertions(+), 181 deletions(-) > create mode 100644 board/emulation/common/qemu_capsule.c > create mode 100644 doc/board/emulation/qemu_capsule_update.rst > delete mode 100644 lib/efi_loader/efi_capsule_key.S > > -- > 2.32.0.554.ge1b32706d8-goog >