From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: eric.dong@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Tue, 02 Jul 2019 20:04:23 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 20:04:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,445,1557212400"; d="scan'208";a="166390960" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 02 Jul 2019 20:04:22 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 20:04:21 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 20:04:21 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.3]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.55]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 11:04:18 +0800 From: "Dong, Eric" To: Laszlo Ersek , "devel@edk2.groups.io" CC: "Ni, Ray" Subject: Re: [edk2-devel] [Patch v2 2/2] UefiCpuPkg/PiSmmCpuDxeSmm: Enable MM MP Protocol. Thread-Topic: [edk2-devel] [Patch v2 2/2] UefiCpuPkg/PiSmmCpuDxeSmm: Enable MM MP Protocol. Thread-Index: AQHVMOC9Ubu4Jz+7aU6As/IYJSL3u6a4MF5g Date: Wed, 3 Jul 2019 03:04:18 +0000 Message-ID: References: <20190702073714.32656-1-eric.dong@intel.com> <20190702073714.32656-3-eric.dong@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: eric.dong@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgTGFzemxvLA0KDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTGFz emxvIEVyc2VrIFttYWlsdG86bGVyc2VrQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFR1ZXNkYXksIEp1 bHkgMiwgMjAxOSAxMDoxNiBQTQ0KPiBUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW87IERvbmcsIEVy aWMgPGVyaWMuZG9uZ0BpbnRlbC5jb20+DQo+IENjOiBOaSwgUmF5IDxyYXkubmlAaW50ZWwuY29t Pg0KPiBTdWJqZWN0OiBSZTogW2VkazItZGV2ZWxdIFtQYXRjaCB2MiAyLzJdIFVlZmlDcHVQa2cv UGlTbW1DcHVEeGVTbW06DQo+IEVuYWJsZSBNTSBNUCBQcm90b2NvbC4NCj4gDQo+IEhpIEVyaWMs DQo+IA0KPiBJIGNhbm5vdCBhcHBseSB0aGlzIHBhdGNoIGZvciB0ZXN0aW5nLCBiZWNhdXNlIGl0 IGlzIGNvcnJ1cHQuIEdpdCBjb21wbGFpbnMgYWJvdXQNCj4gaXQgKGFuZCBpdCdzIGp1c3RpZmll ZCk6DQo+IA0KPiBPbiAwNy8wMi8xOSAwOTozNywgRG9uZywgRXJpYyB3cm90ZToNCj4gPiBodHRw czovL2J1Z3ppbGxhLnRpYW5vY29yZS5vcmcvc2hvd19idWcuY2dpP2lkPTE5MzcNCj4gPg0KPiA+ IHYyIGNoYW5nZXM6DQo+ID4gMS4gUmVtb3ZlIHNvbWUgZHVwbGljYXRlZCBnbG9iYWwgdmFyaWFi bGVzLg0KPiA+IDIuIEVuaGFuY2UgdG9rZW4gZGVzaWduIHRvIHN1cH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