From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: chasel.chiu@intel.com) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by groups.io with SMTP; Wed, 25 Sep 2019 01:47:47 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2019 01:47:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,547,1559545200"; d="scan'208";a="179753468" Received: from pgsmsx104.gar.corp.intel.com ([10.221.44.91]) by orsmga007.jf.intel.com with ESMTP; 25 Sep 2019 01:47:45 -0700 Received: from pgsmsx112.gar.corp.intel.com ([169.254.3.2]) by PGSMSX104.gar.corp.intel.com ([169.254.3.196]) with mapi id 14.03.0439.000; Wed, 25 Sep 2019 16:47:44 +0800 From: "Chiu, Chasel" To: "devel@edk2.groups.io" , "lersek@redhat.com" CC: "Wu, Hao A" , "Dong, Eric" , "Desimone, Nathaniel L" , "Gao, Liming" Subject: Re: [edk2-devel] [PATCH] MdeModulePkg: Enable/Disable S3BootScript dynamically. Thread-Topic: [edk2-devel] [PATCH] MdeModulePkg: Enable/Disable S3BootScript dynamically. Thread-Index: AQHVcyaUpAdZQf7c006jk3WyLvP8xKc8FRaw Date: Wed, 25 Sep 2019 08:47:44 +0000 Message-ID: <3C3EFB470A303B4AB093197B6777CCEC504E2015@PGSMSX112.gar.corp.intel.com> References: <20190924055416.16140-1-chasel.chiu@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWIwNzIxOTUtNWFjZS00NDM2LWFlMzMtYjQ4YzVkNTRjNDQyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZFFzXC9xcWw1aCtLdkx4dXY5OTBoVHFuejhEb0hJRjBVRlRaYjY2SWd2SHBDVzlUZjBGUDU4bldaaFE5VlwvVElvIn0= x-ctpclassification: CTP_NT x-originating-ip: [172.30.20.206] MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 DQpBZ3JlZSBhbmQgSSB3aWxsIGNvcnJlY3QgdGhlIGNvbW1pdCBtZXNzYWdlIHRvIGRlc2NyaWJl IHVzYWdlIG1vZGVsIGJldHRlci4NClRoYW5rcyBmb3IgZ29vZCBjYXRjaCENCg0KUmVnYXJkcywN CkNoYXNlbA0KDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2ZWxA ZWRrMi5ncm91cHMuaW8gPGRldmVsQGVkazIuZ3JvdXBzLmlvPiBPbiBCZWhhbGYgT2YgTGFzemxv DQo+IEVyc2VrDQo+IFNlbnQ6IFdlZG5lc2RheSwgU2VwdGVtYmVyIDI1LCAyMDE5IDY6MjMgQU0N Cj4gVG86IGRldmVsQGVkazIuZ3JvdXBzLmlvOyBDaGl1LCBDaGFzZWwgPGNoYXNlbC5jaGl1QGlu dGVsLmNvbT4NCj4gQ2M6IFd1LCBIYW8gQSA8aGFvLmEud3VAaW50ZWwuY29tPjsgRG9uZywgRXJp YyA8ZXJpYy5kb25nQGludGVsLmNvbT47DQo+IERlc2ltb25lLCBOYXRoYW5pZWwgTCA8bmF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