From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2B66521BADAB3 for ; Fri, 25 Jan 2019 14:44:06 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jan 2019 14:44:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,523,1539673200"; d="scan'208";a="128629635" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 25 Jan 2019 14:44:06 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 25 Jan 2019 14:44:06 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 25 Jan 2019 14:44:05 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.207]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.36]) with mapi id 14.03.0415.000; Sat, 26 Jan 2019 06:44:03 +0800 From: "Yao, Jiewen" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [Patch 2/2] MdeModulePkg:Tpm2Acpi.h: Upgrade UEFI supporting TCG spec info Thread-Index: AQHUtMMAz2Hv0ny0ZkyWHo1qPJcT9aXAlSyw Date: Fri, 25 Jan 2019 22:44:03 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F4C8235@shsmsx102.ccr.corp.intel.com> References: <20190125153053.6056-1-chao.b.zhang@intel.com> <20190125153053.6056-3-chao.b.zhang@intel.com> In-Reply-To: <20190125153053.6056-3-chao.b.zhang@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWE1ZDE5NTUtZWY3ZC00MDA4LWE5MTMtMjBkZmMzNzEyZWY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUThXbkxZWEkzblc2UTNPWmRNTFlnbW0zdEFLclwvUktBVU1aQWJZWjExaXN0XC9uUEdlS3J1Qm1ZNjdGVTk3aTFyIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 2/2] MdeModulePkg:Tpm2Acpi.h: Upgrade UEFI supporting TCG spec info X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2019 22:44:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Chao Do you think we need provide a way to let a platform fill " PlatformSpecifi= cParameters ", then the core driver can fill laml and lasl ? Thank you Yao Jiewen > -----Original Message----- > From: Zhang, Chao B > Sent: Friday, January 25, 2019 11:31 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen > Subject: [Patch 2/2] MdeModulePkg:Tpm2Acpi.h: Upgrade UEFI supporting > TCG spec info >=20 > Update "TCG ACPI Specification Level 00 Revision 00.37" to "TCG ACPI > Specification 1.2 Revision 8" > https://trustedcomputinggroup.org/wp-content/uploads/TCG_ACPIGeneralS > pecification_v1.20_r8.pdf >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Cc: Yao Jiewen > Signed-off-by: Zhang, Chao B > --- > MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > index 6b8161e6a6..6bae0a0aa5 100644 > --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > @@ -1,9 +1,9 @@ > /** @file > TPM2 ACPI table definition. >=20 > -Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.
> +Copyright (c) 2013 - 2019, Intel Corporation. All rights reserved.
> This program and the accompanying materials > are licensed and made available under the terms and conditions of the BS= D > License > which accompanies this distribution. The full text of the license may b= e > found at > http://opensource.org/licenses/bsd-license.php >=20 > @@ -29,17 +29,20 @@ typedef struct { > // BIT0~15: PlatformClass This field is only valid for versio= n > 4 and above > // BIT16~31: Reserved > UINT32 Flags; > UINT64 AddressOfControlArea; > UINT32 StartMethod; > -//UINT8 PlatformSpecificParameters[]; > +//UINT8 PlatformSpecificParameters[]; // size > up to 12 > +//UINT32 Laml; > // Optional > +//UINT32 Lasa; > // Optional > } EFI_TPM2_ACPI_TABLE; >=20 > #define EFI_TPM2_ACPI_TABLE_START_METHOD_ACPI > 2 > #define EFI_TPM2_ACPI_TABLE_START_METHOD_TIS > 6 > #define > EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_ > INTERFACE 7 > #define > EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_ > INTERFACE_WITH_ACPI 8 > +#define > EFI_TPM2_ACPI_TABLE_START_METHOD_COMMAND_RESPONSE_BUFFER_ > INTERFACE_WITH_SMC 11 >=20 > typedef struct { > UINT32 Reserved; > UINT32 Error; > UINT32 Cancel; > -- > 2.16.2.windows.1