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.93; helo=mga11.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 425982215BDBF for ; Mon, 29 Jan 2018 17:17:40 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jan 2018 17:23:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,433,1511856000"; d="scan'208";a="13563802" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga007.jf.intel.com with ESMTP; 29 Jan 2018 17:23:14 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 29 Jan 2018 17:23:13 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 29 Jan 2018 17:23:13 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.145]) with mapi id 14.03.0319.002; Tue, 30 Jan 2018 09:23:12 +0800 From: "Yao, Jiewen" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Long, Qin" Thread-Topic: [PATCH] SecurityPkg: Disable TPM interrupt in DEC Thread-Index: AQHTmWgfKXs87VVffUubKO3ZS6oGnqOLnr+A Date: Tue, 30 Jan 2018 01:23:11 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503AA9EC22@shsmsx102.ccr.corp.intel.com> References: <20180130011722.25888-1-chao.b.zhang@intel.com> In-Reply-To: <20180130011722.25888-1-chao.b.zhang@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzZiODk1MzUtYzYwYi00Yzg4LWI3N2YtMGM4MGRkYTNjNjBjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJ1dHRJSVBIWVVzdnVTakM3RFkwaGcweGVzazQ5VmJGUkN1MHFYangxV21mdWVlNlBYbkkzQlVPN1IwWlFuM0ZTIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] SecurityPkg: Disable TPM interrupt in DEC X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 01:17:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks. Would you please update comment with - "Disable TPM interrupt support in DE= C by default to keep compatibility" Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: Zhang, Chao B > Sent: Tuesday, January 30, 2018 9:17 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Long, Qin ; > Zhang, Chao B > Subject: [PATCH] SecurityPkg: Disable TPM interrupt in DEC >=20 > Disable TPM interrupt support in DEC >=20 > Cc: Yao Jiewen > Cc: Long Qin > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Chao Zhang > --- > SecurityPkg/SecurityPkg.dec | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec > index d2741f6..983fb0e 100644 > --- a/SecurityPkg/SecurityPkg.dec > +++ b/SecurityPkg/SecurityPkg.dec > @@ -453,12 +453,12 @@ > ## Indicate current TPM2 Interrupt Number reported by _CRS control > method.

> # TPM2 Interrupt feature is disabled If the pcd is set to 0.
> # @Prompt Current TPM2 Interrupt Number > - > gEfiSecurityPkgTokenSpaceGuid.PcdTpm2CurrentIrqNum|0x0C|UINT32|0x0001 > 001C > + > gEfiSecurityPkgTokenSpaceGuid.PcdTpm2CurrentIrqNum|0x00|UINT32|0x0001 > 001C >=20 > ## Indicate platform possible TPM2 Interrupt Number reported by _PRS > control method.

> # Possible TPM2 Interrupt Number Buffer will not be reported if TPM2 > Interrupt feature is disabled.
> # @Prompt Possible TPM2 Interrupt Number buffer > - gEfiSecurityPkgTokenSpaceGuid.PcdTpm2PossibleIrqNumBuf|{0x0C, 0x00, > 0x00, 0x00}|VOID*|0x0001001D > + gEfiSecurityPkgTokenSpaceGuid.PcdTpm2PossibleIrqNumBuf|{0x00, 0x00, > 0x00, 0x00}|VOID*|0x0001001D >=20 > [PcdsDynamic, PcdsDynamicEx] >=20 > -- > 1.9.5.msysgit.1