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; Thu, 16 May 2019 18:01:28 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2019 18:01:28 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 16 May 2019 18:01:28 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.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 18:01:27 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 16 May 2019 18:01:28 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.249]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.33]) with mapi id 14.03.0415.000; Fri, 17 May 2019 09:01:26 +0800 From: "Dong, Eric" To: "Zeng, Star" , "devel@edk2.groups.io" , "lersek@redhat.com" CC: "Ni, Ray" , "Kumar, Chandana C" Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg CpuCommonFeaturesLib: Remove CPU generation check Thread-Topic: [edk2-devel] [PATCH] UefiCpuPkg CpuCommonFeaturesLib: Remove CPU generation check Thread-Index: AQHVC9LZQ+Uw8+yRoUu/jWaxmYR5AaZtMpQAgAAdegCAAS6asA== Date: Fri, 17 May 2019 01:01:25 +0000 Message-ID: References: <20190516103335.76628-1-star.zeng@intel.com> <7eeffb11-79ae-39b6-73a6-8c84434a1855@redhat.com> <0C09AFA07DD0434D9E2A0C6AEB048310402E357B@shsmsx102.ccr.corp.intel.com> In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB048310402E357B@shsmsx102.ccr.corp.intel.com> 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 SGkgU3RhciwNCg0KSSBhZ3JlZSB3aXRoIExhc3psbydzIGNvbW1lbnRzLiBKdXN0IHJlbW92ZSB0 aGUgZ2VuZXJhdGlvbiBjaGVjayBsb2dpYyBpcyBub3QgYSBjb3JyZWN0IGFwcHJvYWNoLiBXZSBh bHNvIGhhdmUgYW5vdGhlciBCdWd6IHJlcG9ydGVkIHRoZSBzaW1pbGFyIGlzc3VlIGh0dHBzOi8v YnVnemlsbGEudGlhbm9jb3JlLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NTkxDQoNCkkgdGhpbmsgbWF5 YmUgd2UgY2FuIGZvbGxvdyB0aGF0IGJ1Z3ogcmVxdWVzdCB0byBkZWZhdWx0IGVuYWJsZSB0aGUg ZmVhdHVyZSBhbmQgZGlzYWJsZSBpdCBmb3Igc29tZSBzcGVjaWZpYyBnZW5lcmF0aW9uLg0KDQpU aGFua3MsDQpFcmljDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWmVu ZywgU3Rhcg0KPiBTZW50OiBUaHVyc2RheSwgTWF5IDE2LCAyMDE5IDEwOjUyIFBNDQo+IFRvOiBk ZXZlbEBlZGsyLmdyb3Vwcy5pbzsgbGVyc2VrQHJlZGhhdC5jb20NCj4gQ2M6IERvbmcsIEVyaWMg PGVyaWMuZG9uZ0BpbnRlbC5jb20+OyBOaSwgUmF5IDxyYXkubmlAaW50ZWwuY29tPjsgS3VtYXIs DQo+IENoYW5kYW5hIEMgPGNoYW5kYW5hLmMua3VtYXJAaW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