From patchwork Mon Nov 30 09:47:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 334710 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp4489467ilb; Mon, 30 Nov 2020 01:48:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTcDTdVnu08QLSp96kAPJylLpvfuCYO14CcbAkT9tw9S/HmRljfCSzmpagr5D8T1tmWH2o X-Received: by 2002:a50:8a02:: with SMTP id i2mr15302973edi.222.1606729701230; Mon, 30 Nov 2020 01:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606729701; cv=none; d=google.com; s=arc-20160816; b=BAqpvSw7pVb2kZXAdsABY8x/EV2+tTBG7jOxff8Y77/4KKQ47qRa4eJOf3RrFeLUOQ 3hlrqAQpc/1rW3Tu2bFfVmgOg+DcLrCbzeGh12j+yVFXLpCR0NMVPHxXznG/y4d+J2Bk dqdvrZPimd2xzj+98P/ew1qVKF2R1kkjH00Jv4OU6AAiI3ICMgLIDcqpNOomfjv2D6KF 9IYOH/D4Q65MgKAEliB2jl2Dwl7JxH+iLXoEsWQsaXZttck7J/1FXGeLK0cpXebR9gBF 8bpP1rFiiztS76e/1e756mqtzCJ4qGyHjCGBzKQvq7fpB4Dy9Qfi/32tE+vCp34RVjDX COdA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aV6qEMebgx+w/aBozMTF8qs7q5fn1lxE195sBCdncIQ=; b=vfiCp9UQ2RLcPO8UBWGWDYJxti8IvYu97MjHmRB2Ft3sz8z65PzpcjR2Xr5fBTe3M/ +gryLr81fGfiYDFOD18bFl8orByhmG7T63eeX+981o5kPQ5/UcTgg7rIn6Qzkpa22jbD vy9RIei/+8Ic+0/0l828znFiOczWkFs9BQswsEJnLWQk6u13qxrBQDj/87wtaivUREFd RUmHEX4lyo7DyBJ5H/P3O7lioZVttFqoMCOxKn8wDR9AUxBiBqV9PeQI9zjeF5DZsWhp oN7huAZd1E+vec7CSbhE+bPHxxVcpPCs7jdMee4iqi/sHfwbl7Hr+xuunqOIiXqwf/jr heYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NMNa2Ol6; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id g25si4152742edr.220.2020.11.30.01.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 01:48:21 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NMNa2Ol6; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 0E209826DA; Mon, 30 Nov 2020 10:48:11 +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="NMNa2Ol6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B0E9B827A1; Mon, 30 Nov 2020 10:47:55 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 64DAF825A8 for ; Mon, 30 Nov 2020 10:47:51 +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-wr1-x444.google.com with SMTP id s8so15185753wrw.10 for ; Mon, 30 Nov 2020 01:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aV6qEMebgx+w/aBozMTF8qs7q5fn1lxE195sBCdncIQ=; b=NMNa2Ol64WUqTKnbP23XdwdhGsvna3vD7HiQ1Q2C7Ig8pImo53Fp2RNEdp3K7qCfhs 1so5vrd/6huX2M2XBSLViji5bWrgXlN5sB5l8crSoTWLf9S3eYIhjkF6JCs5bD/QlhIH 4GbTAgac6tNbvYqcQ22MQ0Ikn53KAWY1CCjCCSh3YwP50objGU4CpSOmTy2bPS6aS2nV MHMUsYtvc2TIN+1NNqcgHgjz9ej/G4ILLgywDgOJYjAlI0t+zyzyXJT6Y6na17P80ktn GPK7Qw6ECkBSQCcC58cjsfVNgsGD1V294/eZw8n0h4LhUzxtyIoLi7jUt4g/8h3YbHYd C7Ow== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=aV6qEMebgx+w/aBozMTF8qs7q5fn1lxE195sBCdncIQ=; b=DBlSIfP+hslHP//7tyesXHInoQL/FYlnurDEg3HjdIXw3fm44tTMOLhSWKtFTuvATC GxnFrgP8n/WX49WXFk+Ap71zc8fveX9icdOvwR6HWtx89Kbvoct9QvA/IKdVFa0+KV4O Cdfa+8dHQppBvoU0hfM+u7wOxBksegCmB5kMTA/kIrShKGJGDdjiIpkhkpBP/5gWReOK /K79gNV9yhYctpociWXBv+4H32jd6U04hoNc15gqP6PxtDCL3kMHE2uzlW/lKDGpX2W7 OmkqENzH5RYYE6dx3HsZa+aCvh1xzQEsCfI8VH09sKpSrN3DxWdIp++c74cVgGCCoI5f rVHQ== X-Gm-Message-State: AOAM53147j1nE19ZhgKhFnU0067t2WHcORJbSeeQdtgJgNR+FO5459/E FA6ujwB5Z5E9Lj5U3UkWZE2fXw== X-Received: by 2002:adf:82c7:: with SMTP id 65mr26892864wrc.384.1606729671031; Mon, 30 Nov 2020 01:47:51 -0800 (PST) Received: from apalos.home ([2a02:587:4641:1e88:2e56:dcff:fe9a:8f06]) by smtp.gmail.com with ESMTPSA id b18sm28006795wrt.54.2020.11.30.01.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 01:47:50 -0800 (PST) From: Ilias Apalodimas To: xypron.glpk@gmx.de Cc: ard.biesheuvel@arm.com, Ilias Apalodimas , Alexander Graf , Simon Glass , Dhananjay Phadke , Bin Meng , u-boot@lists.denx.de Subject: [PATCH 3/3 v2] cmd: efidebug: Add support for TCG2 final events table Date: Mon, 30 Nov 2020 11:47:41 +0200 Message-Id: <20201130094742.2088573-4-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201130094742.2088573-1-ilias.apalodimas@linaro.org> References: <20201130094742.2088573-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean A previous commit is adding EFI_TCG2_PROTOCOL, which in it's eventlog support registers an EFI configuration table. Let's add the necessary GUID so 'efidebug table' command can display table names properly. Signed-off-by: Ilias Apalodimas --- cmd/efidebug.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.29.2 diff --git a/cmd/efidebug.c b/cmd/efidebug.c index 5288b9920b4d..70bb73ba025f 100644 --- a/cmd/efidebug.c +++ b/cmd/efidebug.c @@ -278,6 +278,10 @@ static const struct { "Runtime properties", EFI_RT_PROPERTIES_TABLE_GUID, }, + { + "TCG2 Final Events Table", + EFI_TCG2_FINAL_EVENTS_TABLE_GUID, + }, }; /**