From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 BAADF8217D for ; Mon, 19 Dec 2016 23:57:47 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP; 19 Dec 2016 23:57:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,377,1477983600"; d="scan'208";a="44832240" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 19 Dec 2016 23:57:47 -0800 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 19 Dec 2016 23:57:47 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 19 Dec 2016 23:57:47 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.54]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.11]) with mapi id 14.03.0248.002; Tue, 20 Dec 2016 15:57:45 +0800 From: "Yao, Jiewen" To: "Dong, Eric" , "edk2-devel@lists.01.org" CC: "Zeng, Star" Thread-Topic: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed. Thread-Index: AQHSWpan7eQdcccq0kGVY2SK6uf7+KEQeEPA Date: Tue, 20 Dec 2016 07:57:44 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8C6DB6@shsmsx102.ccr.corp.intel.com> References: <1482220609-16280-1-git-send-email-eric.dong@intel.com> In-Reply-To: <1482220609-16280-1-git-send-email-eric.dong@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 07:57:47 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: Dong, Eric > Sent: Tuesday, December 20, 2016 3:57 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Zeng, Star > Subject: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocati= on > changed. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Eric Dong > Cc: Jiewen Yao > Cc: Star Zeng > --- > SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >=20 > diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr > b/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr > index 48e9943..57f37be 100644 > --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr > +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr > @@ -154,7 +154,7 @@ formset > questionid =3D KEY_TPM2_PCR_BANKS_REQUEST_0, > prompt =3D STRING_TOKEN(STR_TCG2_PCR_BANK_SHA1), > help =3D > STRING_TOKEN(STR_TCG2_PCR_BANK_SHA1_HELP), > - flags =3D INTERACTIVE, > + flags =3D INTERACTIVE | RESET_REQUIRED, > default =3D 1, > endcheckbox; > endif; > @@ -164,7 +164,7 @@ formset > questionid =3D KEY_TPM2_PCR_BANKS_REQUEST_1, > prompt =3D STRING_TOKEN(STR_TCG2_PCR_BANK_SHA256), > help =3D > STRING_TOKEN(STR_TCG2_PCR_BANK_SHA256_HELP), > - flags =3D INTERACTIVE, > + flags =3D INTERACTIVE | RESET_REQUIRED, > default =3D 0, > endcheckbox; > endif; > @@ -174,7 +174,7 @@ formset > questionid =3D KEY_TPM2_PCR_BANKS_REQUEST_2, > prompt =3D STRING_TOKEN(STR_TCG2_PCR_BANK_SHA384), > help =3D > STRING_TOKEN(STR_TCG2_PCR_BANK_SHA384_HELP), > - flags =3D INTERACTIVE, > + flags =3D INTERACTIVE | RESET_REQUIRED, > default =3D 0, > endcheckbox; > endif; > @@ -184,7 +184,7 @@ formset > questionid =3D KEY_TPM2_PCR_BANKS_REQUEST_3, > prompt =3D STRING_TOKEN(STR_TCG2_PCR_BANK_SHA512), > help =3D > STRING_TOKEN(STR_TCG2_PCR_BANK_SHA512_HELP), > - flags =3D INTERACTIVE, > + flags =3D INTERACTIVE | RESET_REQUIRED, > default =3D 0, > endcheckbox; > endif; > @@ -194,7 +194,7 @@ formset > questionid =3D KEY_TPM2_PCR_BANKS_REQUEST_4, > prompt =3D STRING_TOKEN(STR_TCG2_PCR_BANK_SM3_256), > help =3D > STRING_TOKEN(STR_TCG2_PCR_BANK_SM3_256_HELP), > - flags =3D INTERACTIVE, > + flags =3D INTERACTIVE | RESET_REQUIRED, > default =3D 0, > endcheckbox; > endif; > -- > 2.6.4.windows.1