From nobody Tue Feb 10 20:28:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+97347+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97347+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1671002141; cv=none; d=zohomail.com; s=zohoarc; b=bGyMGaIZvp+u9G7xaBeJJP7qq2H+EYveCfhFAFGnRgMwH2wukMsBA+OXCrGKQjBf8SgQd1PrVCdBCInPwKwEP3ynX0UWI5cXS1N6foMUcqJh1+hs2j+21zSXu9tGlG2yp9E6pbf4AJJ6mpFIQkmEicAOz7b/A3VdApCIXuIhM8w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671002141; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=LaVCyDp5zx7iKULycZZGIl11mH7hjBf2eKR7qozFFME=; b=jVqx4uCIuHjvSAaFzIQLzzAK9phVQetTrdNhNUjyEMPicV+LHRDkA8f0MZdMDLtAKj4a29hSMEb+8imhwrfu3bysLdwW0kgEBqszO9RN6t3EFZ0O12if5Ad2onlPNnc/FxOq0pfpe1CM1EK/YR3VzZPshThv6gjbMaatf2xTLTc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97347+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 167100214136155.567199138384694; Tue, 13 Dec 2022 23:15:41 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id N8PiYY1788612x1ApYIKhTq7; Tue, 13 Dec 2022 23:15:41 -0800 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web10.96891.1671002139984151067 for ; Tue, 13 Dec 2022 23:15:40 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="317029414" X-IronPort-AV: E=Sophos;i="5.96,243,1665471600"; d="scan'208";a="317029414" X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 23:15:23 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="599134763" X-IronPort-AV: E=Sophos;i="5.96,243,1665471600"; d="scan'208";a="599134763" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.31.173]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 23:15:21 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min M Xu , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky , Arti Gupta Subject: [edk2-devel] [PATCH V1 1/3] OvmfPkg/TdTcg2Dxe: Fix incorrect protocol and structure version Date: Wed, 14 Dec 2022 15:14:17 +0800 Message-Id: <20221214071419.1813-2-min.m.xu@intel.com> In-Reply-To: <20221214071419.1813-1-min.m.xu@intel.com> References: <20221214071419.1813-1-min.m.xu@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,min.m.xu@intel.com X-Gm-Message-State: DgqWljUUDS2uftAJPOglyjRnx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1671002141; bh=LlxEX1PjvfW98WxNH3gaEgFGKMIoJSsar2zBhhbo7TU=; h=Cc:Date:From:Reply-To:Subject:To; b=ILT5d43pPQC+9t6iQrAH6yyLXQTwFWEuFVj8NvrAi8Gc5ZJ5Px3B5uosVmOPhjqm1IW paofCuNWXxuUjEV6ag2KVY9S1MoBf6K1boyszqK2Sqi307+cEa7G9VBujCBcAgAguy3lM Jl5UqtDonxr5GykHjPP9z58GGG48WdPgRdk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1671002142662100004 Content-Type: text/plain; charset="utf-8" From: Min M Xu BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4184 According to the Uefi spec 2.10 Section 38.2.2. EFI_CC_MEASUREMENT_PROTOCOL.GetCapability, the minor version of StructureVersion and ProtocolVersion should be 0. Cc: Erdem Aktas [ruleof2] Cc: James Bottomley [jejb] Cc: Jiewen Yao [jyao1] Cc: Tom Lendacky [tlendacky] Cc: Arti Gupta Reported-by: Arti Gupta Signed-off-by: Min Xu --- OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c b/OvmfPkg/IntelTdx/TdTc= g2Dxe/TdTcg2Dxe.c index e9315ecda17b..a6b4f8e0aa6b 100644 --- a/OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c +++ b/OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c @@ -2411,9 +2411,9 @@ DriverEntry ( =20 mTdxDxeData.BsCap.Size =3D sizeof (EFI_CC_BOOT_SERVICE= _CAPABILITY); mTdxDxeData.BsCap.ProtocolVersion.Major =3D 1; - mTdxDxeData.BsCap.ProtocolVersion.Minor =3D 1; + mTdxDxeData.BsCap.ProtocolVersion.Minor =3D 0; mTdxDxeData.BsCap.StructureVersion.Major =3D 1; - mTdxDxeData.BsCap.StructureVersion.Minor =3D 1; + mTdxDxeData.BsCap.StructureVersion.Minor =3D 0; =20 // // Get supported PCR and current Active PCRs --=20 2.29.2.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#97347): https://edk2.groups.io/g/devel/message/97347 Mute This Topic: https://groups.io/mt/95662130/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-