From patchwork Thu Jan 19 14:29:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 644080 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp241628pvb; Thu, 19 Jan 2023 06:29:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXubtql+ihK0zVxS4T9J2Joq6ycfHL7q5UgW89Zl2liVWoMnMZ/dqdlxIv+OpPXLm7VL4e6e X-Received: by 2002:a05:6871:4143:b0:15f:1867:e5aa with SMTP id lb3-20020a056871414300b0015f1867e5aamr4717581oab.49.1674138577366; Thu, 19 Jan 2023 06:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674138577; cv=none; d=google.com; s=arc-20160816; b=kjAAKhXZ3WDN2avurzFd4LnoChl/9Cnore6aDENsbMAhuQOQB19ND4j8G5QxS46Ytm bi6D21jINiSLfmgNRIOUA94sxS+22Ucj9i3BYk3GupDK5EdOr/ub+BdSrvvC350P8H5w GzpWZltihjMR8c4RGHPSoVJTEmOjKgU2LFCR1tdy0NB+nMU4/Zw4RJB/lvXl3+xs9gN4 +KGUj7D2Q7Gup4tT7jAYf5BX3cGP32sCGzdHWCCPZmuMrWEHjzwjsgFMrRfJZJOyE7iZ PCmIhsTwFZ/VWNV+OqrE9VDKZ6SiN+SmQmtiTW9G3RqaH+VKJsptn/wbJTb6KfMvx/dg TKqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=OS0lH/vHfPHToR4P2ShK1NJ+d2SzyQcMUP4QQf5ZCEM=; b=Hw/4KqKszUVG9xODM8lo6lH+hmVT2Y+wiOs8YfajLbqiVFgKTnbGs3+kzN21WBpJaJ 8wCFqb4D7ihDHZC2nz6zbxhf5zyd0EYcFANSu4/B9EnaB0xcsf8vPclWZl+9PkL4oxXA ltUTQg1Sb4VAYWXpzogsuZB1bL6+vVqPRSW2qA9apSTBNNcyUxZJjKM6H2s9/LYDmqtA btmajecBW+ryzdGmaAus3YR9DxnX+YJJ/pE5XzI26bHR1YK9LIsHieuB6xKVrOT7R6lm MQDdLTvEAtYuJqQ4bDm6uXvwKLx+d3e/o1GqHpo5iqlC/sIYCBdqfnZ8xa34I7xBjs// FSXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yF2IXgcX; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id u22-20020a056871009600b001322cb87dadsi39026138oaa.14.2023.01.19.06.29.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 06:29:37 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yF2IXgcX; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7557D85606; Thu, 19 Jan 2023 15:29:32 +0100 (CET) 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="yF2IXgcX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3E48F85638; Thu, 19 Jan 2023 15:29:30 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 BEC2A85600 for ; Thu, 19 Jan 2023 15:29:27 +0100 (CET) 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-ej1-x634.google.com with SMTP id kt14so6148920ejc.3 for ; Thu, 19 Jan 2023 06:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OS0lH/vHfPHToR4P2ShK1NJ+d2SzyQcMUP4QQf5ZCEM=; b=yF2IXgcXbBlkApzeJP2ZPcyFojXp4dcGPeMnn2afiGjGvLw0bEUE3DvAj38ijgIcPI Tnx38NBV/HI8Y28eB/uOoDT+QFoL3SZdSsMiAGsFA0G/PYMm8tfHlRjexgqI+cTeRzEF C/RrfrN2hMNmZJJaUk2PAHkex1cPw+ZtZmnxcLri9RMDTFgis798lMSrg9tlX5oOoIAc rvAx03fOPYxsGq5nlWM8x+qqBtxKXqqu09Xht9MVt92GhqPz/vFrbRVrcR4KQgBfNN1T X/z4vSrtMZEw2NM+C5g73MGHFjf9L06Izigh6Kua5vmOUl8XynVpmXr6BPFgucH278TO Prmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OS0lH/vHfPHToR4P2ShK1NJ+d2SzyQcMUP4QQf5ZCEM=; b=mHsSF/xc8uwMl1XPruRqVHks7oAc3uOgZTlJmq6uf7F3IPgM49KWgrsTMw/DYqWVUM 6ZCQYxpTlB4T2SOhijn0d57Yb2Ss9WFpNfP08GKcnaZsuybS9/uLz785afoz2cBmRV2v itpCClyQ1xKWrLuR8TtLPoj4kxmBfNiTDOOgBCrrFttSDL6OWNLlAmFTsvAA4dYUM2Vq mbIe6Fcjzowq7ZUCvz8mOWOYdrTDIULPNOjLWRjPMq2wfzCHkgsq6lNJA9v/NqK+QqJD gattSkIPuaAglresc62HVml9C4IB0MVi7pZTxArk5ols+lVFra0lh/etmzNFTvlAKZxi tohQ== X-Gm-Message-State: AFqh2kqGQIqQP7+etba2HVBseE37IQgFKZawF6gY24QaVg5qYUY1ci/p ToX+wj1MsxkL2gMk5oj3WdnSAtMhUFGuS4RY X-Received: by 2002:a17:907:a804:b0:7a6:5b50:a32c with SMTP id vo4-20020a170907a80400b007a65b50a32cmr13303890ejc.12.1674138567318; Thu, 19 Jan 2023 06:29:27 -0800 (PST) Received: from localhost.localdomain ([2a02:85f:fc9d:e4b5:2167:2f0a:a8c9:c835]) by smtp.gmail.com with ESMTPSA id r2-20020a17090609c200b007bd28b50305sm16320134eje.200.2023.01.19.06.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 06:29:26 -0800 (PST) From: Ilias Apalodimas To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Heinrich Schuchardt Subject: [PATCH] efi_loader: update the error message of TCG protocol installation Date: Thu, 19 Jan 2023 16:29:15 +0200 Message-Id: <20230119142915.492407-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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.6 at phobos.denx.de X-Virus-Status: Clean "Unable to find TPMv2 device" doesn't explain much with regards to the error origin. Update it to match what we have in the RNG protocol installation. Signed-off-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- lib/efi_loader/efi_tcg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.38.1 diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index a525ebf75b58..d7cce97ced5e 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -2417,7 +2417,7 @@ efi_status_t efi_tcg2_register(void) ret = platform_get_tpm2_device(&dev); if (ret != EFI_SUCCESS) { - log_warning("Unable to find TPMv2 device\n"); + log_warning("Missing TPMv2 device for EFI_TCG_PROTOCOL\n"); return EFI_SUCCESS; }