From patchwork Sat Jan 22 20:12:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1583062 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=kWFE0rzW; 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)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jh6r23TVgz9s1l for ; Sun, 23 Jan 2022 07:13:06 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F1DD88386F; Sat, 22 Jan 2022 21:12:59 +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="kWFE0rzW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4906483870; Sat, 22 Jan 2022 21:12:58 +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.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 7BE3983854 for ; Sat, 22 Jan 2022 21:12:55 +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=1642882374; bh=JLn7gS2Ag2Dpw32AwKiu+xJQpq/fqJfpXaoJjND1KUI=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=kWFE0rzWHP9nndH5kuZNLoA9MOQfkwQnrBFyGPGByie3NBtt71yIAsNv3aAN9fsGp LGbKW2jkHkS9cNMf80HB2pQ1IYN9VpGl4uce+wQqM3i4z5KT6IlkrA01M0NSo7mjYr EAwv9NPr1co89TpALjmZwDm7N3LfGXxgeuh71aJs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([88.152.144.107]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MeCpb-1mc1nl051r-00bHls; Sat, 22 Jan 2022 21:12:54 +0100 Message-ID: Date: Sat, 22 Jan 2022 21:12:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: Tom Rini Cc: U-Boot Mailing List , Ilias Apalodimas From: Heinrich Schuchardt Subject: Pull request for efi-2022-04-rc1-2 X-Provags-ID: V03:K1:6ibQL7oh1nPzTkQnV4lbnl6bOOj4HTj1m5CRkJaFtvcC6Ph9kr7 kdT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NrwDSnrWdmjsqR+u3mTHi B3N3XlxvVgXG+drhdcWWX3pyaqD1U6FCgfB6hD3ad4w92oeQzP+bzoDx9zqlbpe4FGfVT1EJ9 RbU7Jqb2OusP0F3SP8bKiqkzX6xxxpL30Y0psIZL9yv3FDV6Hw+wuTnDNYY/dF6Wddt1mcbrW WNmcgfa4jtGGgitMZ2LqDlhWNADq88p9zmyRxzEPEa65Bv12vaaKJny89ar7equcDHlKG5FBK kEOcxt0J+/V0NI= 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 Dear Tom, The following changes since commit 6a685753ce8b6b02b67d64b239143bf19eda63c9: Merge branch '2022-01-18-platform-updates' (2022-01-18 16:07:33 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-04-rc1-2 for you to fetch changes up to f5e9035043fb48baea93ccb3165e75f486906213: doc: printf() codes (2022-01-19 16:18:09 +0100) Gitlab CI showed no issues: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/10693 ---------------------------------------------------------------- Pull request for efi-2022-04-rc1-2 Documentation: * describe printf() format codes UEFI * enable more algorithms for UEFI image verification, e.g. SHA256-RSA2048 General * simplify printing short texts for GUIDs * provide a unit test for printing GUIDs ---------------------------------------------------------------- Heinrich Schuchardt (12): lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y lib: printf code %pUs for GUID text representation disk: simplify part_print_efi() sandbox: imply PARTITION_TYPE_GUID test: add test for %pUs cmd: efidebug: simplify printing GUIDs efi_loader: use %pUs for printing GUIDs cmd: printenv: simplify printing GUIDs efi_selftest: implement printing GUIDs efi_loader: printing TCG2 protocol GUID doc: fix description of build dependencies for Alpine Linux doc: printf() codes Ilias Apalodimas (1): lib/crypto: Enable more algorithms in cert verification arch/Kconfig | 1 + cmd/efidebug.c | 160 +------------------------ cmd/nvedit_efi.c | 39 +------ disk/part_efi.c | 21 ++-- doc/build/gcc.rst | 2 +- doc/develop/index.rst | 1 + doc/develop/printf.rst | 199 ++++++++++++++++++++++++++++++++ include/efi_api.h | 12 ++ include/efi_dt_fixup.h | 4 - include/efi_rng.h | 4 - include/efi_tcg2.h | 4 - lib/crypto/public_key.c | 35 +++--- lib/efi_loader/efi_boottime.c | 26 ++--- lib/efi_loader/efi_capsule.c | 6 +- lib/efi_loader/efi_esrt.c | 6 +- lib/efi_loader/efi_file.c | 4 +- lib/efi_loader/efi_hii.c | 14 +-- lib/efi_loader/efi_hii_config.c | 2 +- lib/efi_loader/efi_image_loader.c | 2 +- lib/efi_loader/efi_rng.c | 2 +- lib/efi_loader/efi_signature.c | 2 +- lib/efi_loader/efi_var_common.c | 6 +- lib/efi_selftest/efi_selftest_console.c | 25 ++++ lib/efi_selftest/efi_selftest_esrt.c | 8 +- lib/uuid.c | 148 +++++++++++++++++++++++- lib/vsprintf.c | 11 +- test/print_ut.c | 20 +++- 27 files changed, 480 insertions(+), 284 deletions(-) create mode 100644 doc/develop/printf.rst