From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 D0ED72095B09A for ; Tue, 10 Oct 2017 06:43:16 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP; 10 Oct 2017 06:46:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,505,1500966000"; d="scan'208,217";a="1204242844" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 10 Oct 2017 06:46:43 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 10 Oct 2017 06:46:43 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 10 Oct 2017 06:46:43 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Tue, 10 Oct 2017 21:46:40 +0800 From: "Yao, Jiewen" To: Laszlo Ersek , "Long, Qin" CC: Brijesh Singh , "edk2-devel@lists.01.org" , "Justen, Jordan L" , Tom Lendacky , "Zhang, Chao B" Thread-Topic: [edk2] [PATCH v2 1/2] SecurityPkg: make PcdOptionRomImageVerificationPolicy dynamic Thread-Index: AQHTPhbtaRpy00DAg02bCUivXStP8aLcc3wAgACsRvA= Date: Tue, 10 Oct 2017 13:46:40 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A9D7CF9@shsmsx102.ccr.corp.intel.com> References: <20171005201642.122619-1-brijesh.singh@amd.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: [PATCH v2 1/2] SecurityPkg: make PcdOptionRomImageVerificationPolicy dynamic X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 13:43:17 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSBhbSBPSyBvbiB0aGlzIHBhdGNoLg0KDQpSZXZpZXdlZC1ieTogSmlld2VuLnlhb0BpbnRlbC5j b208bWFpbHRvOkppZXdlbi55YW9AaW50ZWwuY29tPg0KDQpCVFc6IERvIHlvdSBhbHNvIG5lZWQg dXBkYXRlIFBjZFJlbW92YWJsZU1lZGlhSW1hZ2VWZXJpZmljYXRpb25Qb2xpY3kgYW5kIFBjZEZp eGVkTWVkaWFJbWFnZVZlcmlmaWNhdGlvblBvbGljeT8NCg0KDQpUaGFuayB5b3UNCllhbyBKaWV3 ZW4NCg0KDQpGcm9tOiBMYXN6bG8gRXJzZWsgW21haWx0bzpsZXJzZWtAcmVkaGF0LmNvbV0NClNl bnQ6IFR1ZXNkYXksIE9jdG9iZXIgMTAsIDIwMTcgNzoyOCBQTQ0KVG86IExvbmcsIFFpbiA8cWlu LmxvbmdAaW50ZWwuY29tPjsgWWFvLCBKaWV3ZW4gPGppZXdlbi55YW9AaW50ZWwuY29tPg0KQ2M6 IEJyaWplc2ggU2luZ2ggPGJyaWplc2guc2luZ2hAYW1kLmNvbT47IGVkazItZGV2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