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.151, mailfrom: star.zeng@intel.com) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by groups.io with SMTP; Wed, 22 May 2019 18:31:26 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2019 18:31:26 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 22 May 2019 18:31:25 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 22 May 2019 18:31:24 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 22 May 2019 18:31:24 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.249]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.136]) with mapi id 14.03.0415.000; Thu, 23 May 2019 09:31:22 +0800 From: "Zeng, Star" To: Laszlo Ersek , "devel@edk2.groups.io" CC: "Dong, Eric" , "Ni, Ray" , "Kumar, Chandana C" , "Li, Kevin Y" , "Zeng, Star" Subject: Re: [edk2-devel] [PATCH V2] UefiCpuPkg CpuCommFeaturesLib: Fix ASSERT if LMCE is supported Thread-Topic: [edk2-devel] [PATCH V2] UefiCpuPkg CpuCommFeaturesLib: Fix ASSERT if LMCE is supported Thread-Index: AQHVEIegkn+iMMWt2Eiiog5TGzLNJqZ2bB4AgAGAxBA= Date: Thu, 23 May 2019 01:31:21 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB048310402EDAD2@shsmsx102.ccr.corp.intel.com> References: <20190522101751.89952-1-star.zeng@intel.com> In-Reply-To: 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 Return-Path: star.zeng@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IExhc3psbyBF cnNlayBbbWFpbHRvOmxlcnNla0ByZWRoYXQuY29tXQ0KPiBTZW50OiBXZWRuZXNkYXksIE1heSAy MiwgMjAxOSA2OjMyIFBNDQo+IFRvOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbzsgWmVuZywgU3RhciA8 c3Rhci56ZW5nQGludGVsLmNvbT4NCj4gQ2M6IERvbmcsIEVyaWMgPGVyaWMuZG9uZ0BpbnRlbC5j b20+OyBOaSwgUmF5IDxyYXkubmlAaW50ZWwuY29tPjsgS3VtYXIsDQo+IENoYW5kYW5hIEMgPGNo YW5kYW5hLmMua3VtYXJAaW50ZWwuY29tPjsgTGksIEtldmluIFkNCj4gPGtldmluLnkubGlAaW50 ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW2VkazItZGV2ZWxdIFtQQVRDSCBWMl0gVWVmaUNwdVBr ZyBDcHVDb21tRmVhdHVyZXNMaWI6IEZpeA0KPiBBU1NFUlQgaWYgTE1DRSBpcyBzdXBwb3J0ZWQN Cj4gDQo+IE9uIDA1LzIyLzE5IDEyOjE3LCBaZW5nLCBTdGFyIHdyb3RlOg0KPiA+IEJaOiBodHRw czovL2J1Z3ppbGxhLnRpYW5vY29yZS5vcmcvc2hvd19idWcuY2dpP2lkPTE4MjkNCj4gPg0KPiA+ IFRoZXJlIHdpbGwgYmUgQVNTRVJUIGlmIExNQ0UgaXMgc3VwcG9ydGVkIGFzIGJlbG93Lg0KPiA+ IERYRV9BU1NFUlQhOiBbQ3B1RmVhdHVyZ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