From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3DD2FC433EF for ; Sat, 20 Nov 2021 14:09:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1E81E82F5A; Sat, 20 Nov 2021 15:09:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com 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=canonical.com header.i=@canonical.com header.b="jyGErpDi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B105F82FC7; Sat, 20 Nov 2021 15:09:32 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (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 8424282A68 for ; Sat, 20 Nov 2021 15:09:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heinrich.schuchardt@canonical.com Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 1C2AC3F044 for ; Sat, 20 Nov 2021 14:09:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1637417368; bh=S+fSL0Abv0JUTwWzd4FHlJljizCmLnP8MXQnKxkzafQ=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=jyGErpDiQiQUC1JwBzjTusqXxzx1nqr9iuwMZlRR/UKGGwk5kBI47XmJdy6b8kRPB P+eTZsTgRIyt9u7EENxXiZMkTqwgij73kydT9evm54TeQX68a4RWzdIXunhS+d0QM2 pS0d9+rMWkQ3XleIPvEQ1m0u5Lc+zsjcf5uLaz+RO35xZh0b7+niaElVtiqqORnolD cjFwPnOWYpRc0GOB2sZ0cT+L4U4sOeMSPtNJiUvtClvsMvLqq4ccppN3K9eETIX8sd Ajwy4b4WRMCHmn+HU88HKO9uoRLWyHFQEl+k1s9yhlIMyysmXc8j3Xm1FKlD1tGkeK wqpGHSa1YWhtg== Received: by mail-wm1-f69.google.com with SMTP id 205-20020a1c00d6000000b003335d1384f1so7514144wma.3 for ; Sat, 20 Nov 2021 06:09:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:from:subject:content-transfer-encoding; bh=S+fSL0Abv0JUTwWzd4FHlJljizCmLnP8MXQnKxkzafQ=; b=OjH48flqPyNfLSvy855T0gtK8cmNTkdAZsc03MuEcIfKpeFOOwhN9eZ1cATW3VJVVt 0BbtTBCZ1F+Gr/3jAwVZkjIf+M0+gsXhiVQvmOwYfOMbriQmxHeySF516Io4Mkl+0dUV wDYzznPipljHcQm644MlE74ZAdPDxYlN8CCvkgf7q+KSM/RtFTRnUK8Y/8vqdwBitSuA om4SFiz9r+7aKr29reeU0+Up3p0/XUiwREKhxQlDYWM+i4OM6ZPCam6llYx0H5YXX3dL wMl3VQGq1T6q5TaFy+dl8Tgd/ijBzd0sDiO7W0VaDmzdHjfc7ChDnp5t+w0mXNJR24x2 y7NQ== X-Gm-Message-State: AOAM531JEM73HUTR+UPsLp5yT5fug7/kcSW0UmtNNFw/5Dt2OOPBX6e6 VLnfU7zfpd7JtA/J5RJPV9vUVoGyPQthGpu0IxFe/5bxzkAgLXkYv/PmuW4eev37vvGCdmKznUK XIsfUQrpycBT9LkQvPHSFW2dKwifxOic= X-Received: by 2002:a5d:4b06:: with SMTP id v6mr18250667wrq.194.1637417367738; Sat, 20 Nov 2021 06:09:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqiEJwjK06ulupz0JCsl3UDSf+f7xEzEX/GBGGVcqyWiBBOzPvu9LfTTFXLgl1Gv0g+Iu7mQ== X-Received: by 2002:a5d:4b06:: with SMTP id v6mr18250630wrq.194.1637417367555; Sat, 20 Nov 2021 06:09:27 -0800 (PST) Received: from [192.168.123.35] (ip-88-152-144-157.hsi03.unitymediagroup.de. [88.152.144.157]) by smtp.gmail.com with ESMTPSA id 138sm10555166wma.17.2021.11.20.06.09.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Nov 2021 06:09:27 -0800 (PST) Message-ID: <8f95f0be-0dd2-a39a-ec5e-f22ffa3be604@canonical.com> Date: Sat, 20 Nov 2021 15:09:26 +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 , Alexander Graf , Ilias Apalodimas , Masahisa Kojima , Masami Hiramatsu From: Heinrich Schuchardt Subject: Pull request for efi-2022-01-rc3 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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 Dear Tom, I am still trying to reproduce the usb_stop() issue on the sandbox, to understand what is wrong in DM. So your patch will go to next weeks pull request. But generally you are right that usb_stop() must be called before deleting the devices if at all. The following changes since commit 454a97485a1854d4ac4f3b7d408caf3b355beca0: Merge tag 'u-boot-amlogic-20211119' of https://source.denx.de/u-boot/custodians/u-boot-amlogic (2021-11-19 16:33:33 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git efi-2022-01 for you to fetch changes up to 8bb8cde4f56ec45ac7b48fefc5bb0430b29e2878: efi_loader: startup the tpm device when installing the protocol (2021-11-20 10:27:56 +0100) Gitlab CI reported no issues: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/9925 ---------------------------------------------------------------- Pull request for efi-2022-01-rc3 Scripts: * Update spelling.txt LMB: * remove extern keyword in lmb.h * drop unused lmb_size_bytes() Test: * test truncation in snprintf() Documentation: * add include/lmb.h to HTML documentation UEFI: * reduce non-debug logging output for measured boot * fix use after free in measured boot * startup the tpm device when installing the protocol * implement EFI_EVENT_GROUP_BEFORE_EXIT_BOOT_SERVICES * record capsule result only if capsule is read ---------------------------------------------------------------- Heinrich Schuchardt (13): lmb: remove lmb_is_nomap() from include doc: add include/lmb.h to the HTML documentation lmb: remove extern keyword in lmb.h lmb: drop unused lmb_size_bytes() lmb: fix typo 'commun' test: test truncation in snprintf() configs: enable CMD_TPM on QEMU ARM scripts: update spelling.txt from upstream Linux doc: fix typos in trace.rst efi_loader: Sphinx comments in efi_api.h efi_loader: EFI_EVENT_GROUP_BEFORE_EXIT_BOOT_SERVICES efi_selftest: unit test for EFI_GROUP_BEFORE_EXIT_BOOT_SERVICE efi_loader: bump EFI_SPECIFICATION_VERSION to 2.9 Ilias Apalodimas (2): efi_loader: fix FinalEvents table if an EFI app invoked GetEventLog efi_loader: startup the tpm device when installing the protocol Masahisa Kojima (2): efi: add comment for efi_system_table and efi_configuration_table efi_loader: Reduce efi_tcg2 logging statement Masami Hiramatsu (1): efi_loader: capsule: Record capsule result only if capsule is read configs/qemu_arm64_defconfig | 1 + configs/qemu_arm_defconfig | 1 + doc/api/index.rst | 1 + doc/api/lmb.rst | 7 + doc/develop/trace.rst | 16 +- include/efi_api.h | 59 +++- include/lmb.h | 72 ++--- lib/Kconfig | 2 +- lib/efi_loader/efi_boottime.c | 13 + lib/efi_loader/efi_capsule.c | 6 +- lib/efi_loader/efi_tcg2.c | 110 +++++-- lib/efi_selftest/efi_selftest_exitbootservices.c | 67 ++++- scripts/spelling.txt | 365 ++++++++++++++++++++++- test/lib/lmb.c | 5 + test/print_ut.c | 18 ++ test/py/tests/test_tpm2.py | 1 + 16 files changed, 634 insertions(+), 110 deletions(-) create mode 100644 doc/api/lmb.rst