From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 6ACAF21162CC8 for ; Wed, 6 Jun 2018 09:07:37 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2018 09:07:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,483,1520924400"; d="scan'208";a="46919171" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga007.jf.intel.com with ESMTP; 06 Jun 2018 09:07:36 -0700 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.88]) by ORSMSX110.amr.corp.intel.com ([169.254.10.150]) with mapi id 14.03.0319.002; Wed, 6 Jun 2018 09:07:36 -0700 From: "Kinney, Michael D" To: Ard Biesheuvel , "edk2-devel@lists.01.org" , "Kinney, Michael D" CC: Leif Lindholm , "Yao, Jiewen" , "Ni, Ruiyu" , "Zeng, Star" , "Gao, Liming" Thread-Topic: [PATCH] MdeModulePkg/CapsulePei: clean Dcache before consuming capsule data Thread-Index: AQHT/XwkCAff1Px4vUetdzmpwb7ik6RTmPSA///L1eA= Date: Wed, 6 Jun 2018 16:07:36 +0000 Message-ID: References: <20180606095235.20822-1-ard.biesheuvel@linaro.org> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg/CapsulePei: clean Dcache before consuming capsule data X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2018 16:07:37 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 QXJkLA0KDQpUaGFua3MgZm9yIGFkZGluZyB0aGUgbm90ZS4gIEkgd2FzIHRoaW5raW5nIHRoYXQg dGhpcyBjb3VsZCBiZSBkb25lDQpqdXN0IGJlZm9yZSBSZXNldFN5c3RlbSgpLiAgSXQgY291bGQg YWxzbyBiZSBkb25lIGluIFNFQyBwaGFzZS4NCg0KU2luY2UgY2Fwc3VsZXMgYXJlIGp1c3Qgb25l IHVzZSBvZiB3YXJtIHJlc2V0LCB3b3VsZCBpdCBtYWtlIG1vcmUgc2Vuc2UNCnRvIGZsdXNoIGFs bCB0aGUgY2FjaGVzIGluIGVpdGhlciB3YXJtIHJlc2V0IG9mIFNFQyBpbnN0ZWFkIG9mIGp1c3QN CnRoZSByYW5nZXMgdXNlZCBieSBjYXBzdWxlcy4NCg0KVGhhbmtzLA0KDQpNaWtlDQoNCj4gLS0t LS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQXJkIEJpZXNoZXV2ZWwgW21haWx0bzph cmQuYmllc2hldXZlbEBsaW5hcm8ub3JnXQ0KPiBTZW50OiBXZWRuZXNkYXksIEp1bmUgNiwgMjAx OCA1OjEwIEFNDQo+IFRvOiBlZGsyLWRldmVsQGxpc3RzLjAxLm9yZw0KPiBDYzogTGVpZiBMaW5k aG9sbSA8bGVpZi5saW5kaG9sbUBsaW5hcm8ub3JnPjsgWWFvLCBKaWV3ZW4NCj4gPGppZXdlbi55 YW9AaW50ZWwuY29tPjsgTmksIFJ1aXl1IDxydWl5dS5uaUBpbnRlbC5jb20+Ow0KPiBaZW5nLCBT dGFyIDx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