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.115, mailfrom: star.zeng@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Thu, 16 May 2019 07:52:00 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 16 May 2019 07:51:59 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 16 May 2019 07:51:59 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 16 May 2019 07:51:59 -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.408.0; Thu, 16 May 2019 07:51:58 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.249]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.129]) with mapi id 14.03.0415.000; Thu, 16 May 2019 22:51:57 +0800 From: "Zeng, Star" To: "devel@edk2.groups.io" , "lersek@redhat.com" CC: "Dong, Eric" , "Ni, Ray" , "Kumar, Chandana C" , "Zeng, Star" Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg CpuCommonFeaturesLib: Remove CPU generation check Thread-Topic: [edk2-devel] [PATCH] UefiCpuPkg CpuCommonFeaturesLib: Remove CPU generation check Thread-Index: AQHVC9LagT9l4a8MjUiQ4BXHxCFFNqZtMpQAgACfecA= Date: Thu, 16 May 2019 14:51:56 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB048310402E357B@shsmsx102.ccr.corp.intel.com> References: <20190516103335.76628-1-star.zeng@intel.com> <7eeffb11-79ae-39b6-73a6-8c84434a1855@redhat.com> In-Reply-To: <7eeffb11-79ae-39b6-73a6-8c84434a1855@redhat.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 Return-Path: star.zeng@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldmVsQGVk azIuZ3JvdXBzLmlvIFttYWlsdG86ZGV2ZWxAZWRrMi5ncm91cHMuaW9dIE9uIEJlaGFsZiBPZg0K PiBMYXN6bG8gRXJzZWsNCj4gU2VudDogVGh1cnNkYXksIE1heSAxNiwgMjAxOSA5OjA2IFBNDQo+ IFRvOiBaZW5nLCBTdGFyIDxzdGFyLnplbmdAaW50ZWwuY29tPjsgZGV2ZWxAZWRrMi5ncm91cHMu aW8NCj4gQ2M6IERvbmcsIEVyaWMgPGVyaWMuZG9uZ0BpbnRlbC5jb20+OyBOaSwgUmF5IDxyYXku bmlAaW50ZWwuY29tPjsgS3VtYXIsDQo+IENoYW5kYW5hIEMgPGNoYW5kYW5hLmMua3VtYXJAaW50 ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW2VkazItZGV2ZWxdIFtQQVRDSF0gVWVmaUNwdVBrZyBD cHVDb21tb25GZWF0dXJlc0xpYjoNCj4gUmVtb3ZlIENQVSBnZW5lcmF0aW9uIGNoZWNrDQo+IA0K PiBIaSBTdGFyLA0KPiANCj4gT24gMDUvMTYvMTkgMTI6MzMsIFN0YXIgWmVuZyB3cm90ZToNCj4g PiBCWjogaHR0cHM6Ly9idWd6aWxsYS50aWFub2NvcmUub3JnL3Nob3dfYnVnLmNnaT9pZD0xNjc5 DQo+ID4NCj4gPiBUaGUgY2hlY2tpbmcgdG8gQ3B1SW5mby0+Q3B1SWRWZXJzaW9uSW5mb0VjeC5C aXRzLkFFU05JIGlzIGVub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