From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=eric.dong@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1C6F921AE30DB for ; Thu, 16 Aug 2018 18:52:00 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Aug 2018 18:51:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,249,1531810800"; d="scan'208";a="249504231" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga005.jf.intel.com with ESMTP; 16 Aug 2018 18:51:48 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 16 Aug 2018 18:51:48 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 16 Aug 2018 18:51:47 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.226]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.205]) with mapi id 14.03.0319.002; Fri, 17 Aug 2018 09:51:45 +0800 From: "Dong, Eric" To: =?utf-8?B?TWFydmluIEjDpHVzZXI=?= , "edk2-devel@lists.01.org" , Laszlo Ersek CC: "Ni, Ruiyu" Thread-Topic: [edk2] [Patch v4 3/5] UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation. Thread-Index: AQHUNJmp2t5eQc9gv06xAAbnHLzEx6TAanoAgAEg25CAAD84AIAACCQAgAFcpzA= Date: Fri, 17 Aug 2018 01:51:44 +0000 Message-ID: References: <20180815021435.13748-1-eric.dong@intel.com> <20180815021435.13748-4-eric.dong@intel.com> <2bc2265d-9fe2-c095-d261-df96efcac391@redhat.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 Subject: Re: [Patch v4 3/5] UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 01:52:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGksDQoNCkdvdCB5b3VyIHBvaW50cyBub3cuIEkgdGhpbmsgd2UgY2FuIHVwZGF0ZSB0aGUgY29k ZSB3aGVuIG5ldyBsaWJyYXJ5IEFQSSBhZGRlZC4NCg0KVGhhbmtzLA0KRXJpYw0KPiAtLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBlZGsyLWRldmVsIFttYWlsdG86ZWRrMi1kZXZl bC1ib3VuY2VzQGxpc3RzLjAxLm9yZ10gT24gQmVoYWxmIE9mDQo+IE1hcnZpbiBIw6R1c2VyDQo+ IFNlbnQ6IFRodXJzZGF5LCBBdWd1c3QgMTYsIDIwMTggOTowMCBQTQ0KPiBUbzogZWRrMi1kZXZl bEBsaXN0cy4wMS5vcmc7IExhc3psbyBFcnNlayA8bGVyc2VrQHJlZGhhdC5jb20+OyBEb25nLCBF cmljDQo+IDxlcmljLmRvbmdAaW50ZWwuY29tPg0KPiBDYzogTmksIFJ1aXl1IDxydWl5dS5uaUBp bnRlbC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZWRrMl0gW1BhdGNoIHY0ID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