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=-14.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 48C57C4338F for ; Mon, 2 Aug 2021 14:44:47 +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 A522B60F51 for ; Mon, 2 Aug 2021 14:44:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A522B60F51 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.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 D5EE380C94; Mon, 2 Aug 2021 16:44:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="ibMQugF/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B38680C8A; Mon, 2 Aug 2021 16:44:41 +0200 (CEST) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 6C43F833E7 for ; Mon, 2 Aug 2021 16:44:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oi1-x234.google.com with SMTP id a19so24389368oiw.6 for ; Mon, 02 Aug 2021 07:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3sgh1t3KHVzYf19Uz09nvox8H4TaMVvWq2ijeIekOLM=; b=ibMQugF/KghV6YKaLUIcfCm5PpjkMjJQj3A+K25+s+UeUN8iS3jiqk3eEVx1G/5qjm qWCNu9OCxFsDlI9WdqEzyOmBZmGwKwdnL6JLaO2yErUOg8yOydOSUKFIq3sXRVA5mr/M oF5Z0z1+dv+NBFh3cWRXZnv7wWDBQjOEbD/7w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3sgh1t3KHVzYf19Uz09nvox8H4TaMVvWq2ijeIekOLM=; b=HXEe5O/W6y7VYzjgOa50ZlbkGZzFTwo0S5zwVZWhdpAVkg+2OS4ge7EXpZpc5XDi2M 8FZSorcI+MaL9XAMSqDoUG5zXBIMqUi5QI8uyZQBYF8pfmGVRWQNt22qAZJtm+o2MhVf eG1wMteYIZHIt6/lw0avNidr/48x+yFKIA6g2qya27q4g+ipqrjlM3QiOVWOqokzxznD cZBJi+sFSwP8WD/2LNXyE0NRbLj+VHy6II6UPs+qfUIbVAtOt++3jtLGvcpBif/gde71 Wae+FlvnniaJlDrCQrdfOTmZS1e0ZPisZRgSoH87v/dXNUQzlMJJX0tlb/SY7LOJyujV OwEA== X-Gm-Message-State: AOAM531BteQMamwojTFwT03jNja8DZqCSdY8PEsI/KHkEPQFzJD5ronR tuQmseR0fz7CAa/xZZJDQFz7/hxGRvZrr0qC X-Google-Smtp-Source: ABdhPJyDFVueimbb/HC+PVqfOx24MhXdBiEAps5Idk9A+8mX9xRlCzCuppyBxOyDVDy9ocHmoT7fgQ== X-Received: by 2002:aca:d4cf:: with SMTP id l198mr3610613oig.14.1627915475745; Mon, 02 Aug 2021 07:44:35 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id c11sm1912032otm.37.2021.08.02.07.44.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 07:44:35 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Heinrich Schuchardt , KASHI Takahiro , Simon Glass , Alexander Graf , Masami Hiramatsu , Sughosh Ganu Subject: [PATCH v2 0/3] efi: Minimal revert to rodata change Date: Mon, 2 Aug 2021 08:44:28 -0600 Message-Id: <20210802144431.2396678-1-sjg@chromium.org> X-Mailer: git-send-email 2.32.0.554.ge1b32706d8-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The changes to move from devicetree to rodata take things in the wrong direction for various reasons: - 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. 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