From patchwork Sun Nov 7 18:13:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1552000 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=HaKZBNL7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HnMnC1nrPz9sR4 for ; Mon, 8 Nov 2021 05:13:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72876837E7; Sun, 7 Nov 2021 19:13:20 +0100 (CET) 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="HaKZBNL7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 01338837EE; Sun, 7 Nov 2021 19:13:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 865B08340A for ; Sun, 7 Nov 2021 19:13:15 +0100 (CET) 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=1636308791; bh=3rCMALsZbcgR+BGS1y7b8ZJqPqmwhYPGDHbawyct65Y=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=HaKZBNL7P6buizLszR2FW+/arJbcHEXP/vs+FOVsj4UoW0FBR4DFpBaE+BF8asSTf B1JqvvDfrAIHFOHNI92jGBZE+p+So7hppNHVKUvNSq0opeIGJfLMfv19+1LEEEtHIF 7I+x+bIMilredwZcuYeQ//RbKFzBDQegAiw9Qpo0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.35] ([88.152.144.157]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MXGrE-1nE7Vg38lK-00Yede; Sun, 07 Nov 2021 19:13:10 +0100 Message-ID: Date: Sun, 7 Nov 2021 19:13:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Content-Language: en-US To: Tom Rini Cc: U-Boot Mailing List , AKASHI Takahiro , Alexander Graf , Masahisa Kojima , Simon Glass , Stefan Roese , Thomas Huth , Ilias Apalodimas From: Heinrich Schuchardt Subject: Pull request for efi-2022-01-rc2 X-Provags-ID: V03:K1:z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Igs2RAg0K9 85bmmdu8JPGZyScsJggE942qhn+VrryZTCMYrGVQ/97bQBWJzIXcPbCDflyS0zvFj9UFaufld Jj0jCSKOk6VWDvplzSlw4UDwgNDDFmBVm9541rfWynBsCYcA1QmxNPixCx/JcBJB4nccppBA5 mRnn8PCY5ItGPFeUd9aHDvvaArvhUTPlb4o3z98ojYNm4S8l9+8QbYYD5G0iIviKfYjnWF8mc BxxHiOwtu51/2IwblCCefVENNyZWUIJxe8eN907Ft7nsrEncwWl5b+J/g1/HmusjXudZVAjyN a2Wy252GYh5h44= 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 following changes since commit 52207514ba419a69a8105d16997b025f966c8879: Merge branch '2021-11-05-Kconfig-syncs' (2021-11-05 15:38:46 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-01-rc2 for you to fetch changes up to f8d7e6e941321e40c4afa39635116ca4144c4f29: dfu: newline after updating (2021-11-07 18:36:56 +0100) Gitlab CI showed no problems: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/9766 ---------------------------------------------------------------- Pull request for efi-2022-01-rc2 Documentation: * improve description of mmc rescan * remove obsolete PPC documenation UEFI * Provide unit test for the EFI_TCG2_PROTOCOL * Implement add EFI_TCG2_PROTOCOL.SubmitCommand * Start the implementation of a 64 bit EFI app * Reduce rcar3_salvator-x image size ---------------------------------------------------------------- AKASHI Takahiro (1): efi_loader: capsule: drop __weak from efi_get_public_key_data() Heinrich Schuchardt (3): doc: mmc rescan speed mode ARM: renesas: reduce rcar3_salvator-x image size dfu: newline after updating Masahisa Kojima (3): efi_loader: use byteshift unaligned access helper efi_loader: add EFI_TCG2_PROTOCOL.SubmitCommand efi_selftest: add selftest for EFI_TCG2_PROTOCOL and Measured Boot Simon Glass (8): efi: Add a script to build an image for testing on UEFI efi: Enable DM_ETH for the app efi: Drop the OF_EMBED warning for EFI x86: Create a 32/64-bit selection for the app efi: Create a 64-bit app x86: Don't duplicate global_ptr in 64-bit EFI app efi: Add a way to obtain boot services in the app efi: Add video support to the app Stefan Roese (1): doc: Remove obsolete doc/README.nand-boot-ppc440 Thomas Huth (1): doc: Remove the obsolete README.AMCC-eval-boards-cleanup file MAINTAINERS | 4 + Makefile | 10 +- arch/x86/cpu/intel_common/Makefile | 2 +- arch/x86/cpu/u-boot-64.lds | 2 + arch/x86/cpu/x86_64/Makefile | 4 + arch/x86/cpu/x86_64/cpu.c | 32 +- arch/x86/cpu/x86_64/misc.c | 41 + arch/x86/dts/efi-x86_app.dts | 4 + board/efi/Kconfig | 15 +- board/efi/efi-x86_app/Kconfig | 6 +- board/efi/efi-x86_app/MAINTAINERS | 11 +- ...i-x86_app_defconfig => efi-x86_app32_defconfig} | 3 +- configs/efi-x86_app64_defconfig | 38 + configs/rcar3_salvator-x_defconfig | 1 + doc/README.AMCC-eval-boards-cleanup | 31 - doc/README.nand-boot-ppc440 | 60 -- doc/develop/uefi/u-boot_on_efi.rst | 70 +- doc/usage/mmc.rst | 36 +- drivers/dfu/dfu.c | 1 + drivers/video/Kconfig | 2 +- drivers/video/efi.c | 45 +- include/configs/efi-x86_app.h | 6 +- include/efi.h | 8 +- include/tpm-v2.h | 13 + lib/efi/Kconfig | 34 +- lib/efi/efi.c | 9 + lib/efi/efi_app.c | 10 + lib/efi_loader/Kconfig | 1 + lib/efi_loader/efi_capsule.c | 2 +- lib/efi_loader/efi_tcg2.c | 41 +- lib/efi_selftest/efi_miniapp_tcg2_arm.h | 153 ++++ lib/efi_selftest/efi_miniapp_tcg2_arm64.h | 208 +++++ lib/efi_selftest/efi_miniapp_tcg2_ia32.h | 178 ++++ lib/efi_selftest/efi_miniapp_tcg2_riscv32.h | 174 ++++ lib/efi_selftest/efi_miniapp_tcg2_riscv64.h | 190 +++++ lib/efi_selftest/efi_miniapp_tcg2_x86_64.h | 179 ++++ lib/efi_selftest/efi_selftest_tcg2.c | 942 ++++++++++++++++++++- lib/tpm-v2.c | 6 + scripts/build-efi.sh | 193 +++++ 39 files changed, 2582 insertions(+), 183 deletions(-) create mode 100644 arch/x86/cpu/x86_64/misc.c rename configs/{efi-x86_app_defconfig => efi-x86_app32_defconfig} (94%) create mode 100644 configs/efi-x86_app64_defconfig delete mode 100644 doc/README.AMCC-eval-boards-cleanup delete mode 100644 doc/README.nand-boot-ppc440 create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_arm.h create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_arm64.h create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_ia32.h create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_riscv32.h create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_riscv64.h create mode 100644 lib/efi_selftest/efi_miniapp_tcg2_x86_64.h create mode 100755 scripts/build-efi.sh