From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: liming.gao@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Wed, 14 Aug 2019 00:28:03 -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 orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2019 00:28:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,384,1559545200"; d="scan'208";a="194440565" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 14 Aug 2019 00:28:02 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 14 Aug 2019 00:28:02 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 14 Aug 2019 00:28:01 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by shsmsx102.ccr.corp.intel.com ([169.254.2.19]) with mapi id 14.03.0439.000; Wed, 14 Aug 2019 15:27:28 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "Dong, Eric" , "lersek@redhat.com" CC: "Ni, Ray" , "leif.lindholm@linaro.org" , "afish@apple.com" , "Cetola, Stephano" , "Kinney, Michael D" Subject: Re: [edk2-devel] [Patch v2 0/6] Add "test then write" mechanism. Thread-Topic: [edk2-devel] [Patch v2 0/6] Add "test then write" mechanism. Thread-Index: AQHVUPktOCAJ7XzdgE6jgmxX/rdEDab3CLkAgADNDICAAms98A== Date: Wed, 14 Aug 2019 07:27:28 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D0997@SHSMSX104.ccr.corp.intel.com> References: <20190812103152.35164-1-eric.dong@intel.com> <3d4a7318-f955-f05f-e7a2-b189b2a02246@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 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 RXJpYzoNCiAgSXMgdGhpcyBhIGJ1ZyBmaXggb3IgbmV3IGZlYXR1cmU/IERvc2UgaXQgY2F0Y2gg dG8gdGhpcyAyMDE5MDggc3RhYmxlIHRhZz8gDQoNClRoYW5rcw0KTGltaW5nDQo+LS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj5Gcm9tOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbyBbbWFpbHRvOmRl dmVsQGVkazIuZ3JvdXBzLmlvXSBPbiBCZWhhbGYgT2YNCj5Eb25nLCBFcmljDQo+U2VudDogVHVl c2RheSwgQXVndXN0IDEzLCAyMDE5IDEwOjI5IEFNDQo+VG86IGRldmVsQGVkazIuZ3JvdXBzLmlv OyBsZXJzZWtAcmVkaGF0LmNvbQ0KPkNjOiBOaSwgUmF5IDxyYXkubmlAaW50ZWwuY29tPg0KPlN1 YmplY3Q6IFJlOiBbZWRrMi1kZXZlbF0gW1BhdGNoIHYyIDAvNl0gQWRkICJ0ZXN0IHRoZW4gd3Jp dGUiIG1lY2hhbmlzbS4NCj4NCj5IaSBMYXN6bG8sDQo+DQo+WWVzLCBJIGFscmVhZHkgY2hlY2tl ZCBJQTMyIGJ1aWxkLg0KPg0KPkFzIFJheSBpcyBsZWF2aW5nIHRoZXNlIGRheXMsIGNhbiB5b3Ug aGVscCB0byByZXZpZXcgdGhpcyBzZXJpYWw/DQo+DQo+VGhhbmtzLA0KPkVyaWMNCj4NCj4+IC0t LS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tD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