From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30087.outbound.protection.outlook.com [40.107.3.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B937F21E94604 for ; Sun, 17 Sep 2017 21:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=eYWbtB48b14W5tyMy/LM2O9LHYRWe+WVGqCWB4UQ4c8=; b=Nd1O4L0XLvhp72Kd87AKmrJV8PehboT+2hqw71k+ZhM1wEmlhdy4y0yoEQ469lfhPSirSCMuNGV7KPAOhp9wNOOv51dK89HkfDswl5Fy2m9JV5qhXU4DnpIrp0J+xuiCqsWymDHlSqkxRHIDUne2GJLh0xrh8q6h67vmlVAggws= Received: from AM6PR0402MB3334.eurprd04.prod.outlook.com (52.133.18.151) by AM6PR0402MB3605.eurprd04.prod.outlook.com (52.133.20.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Mon, 18 Sep 2017 04:07:39 +0000 Received: from AM6PR0402MB3334.eurprd04.prod.outlook.com ([fe80::4d05:6a0c:bcca:93be]) by AM6PR0402MB3334.eurprd04.prod.outlook.com ([fe80::4d05:6a0c:bcca:93be%13]) with mapi id 15.20.0056.016; Mon, 18 Sep 2017 04:07:38 +0000 From: Udit Kumar To: Ard Biesheuvel , Leif Lindholm CC: Meenakshi Aggarwal , "edk2-devel@lists.01.org" Thread-Topic: [PATCH] RFC Inform UEFI memory to Linux Thread-Index: AQHTLf7QWi4ispBRLUCofgtgij/iwKK1upoAgADU2YCAA3kbYA== Date: Mon, 18 Sep 2017 04:07:38 +0000 Message-ID: References: <1505485954-24345-1-git-send-email-meenakshi.aggarwal@nxp.com> <20170915101338.agohuaoakeaokevb@bivouac.eciton.net> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=udit.kumar@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR0402MB3605; 6:6B0o2qZqZJE/QIeFkMgp3uuAo0YJiKJnROhcmeOApO3AE2hO+pb1ScW5tnRDpkQwh4P7OtDzoUsFARF6Z5CywYtuc6p+A9DoI9nbFq3AT7RLCyhbJ04IOZ0jKPegS+6s9fK7VXwECanPmsJRONi2/bvMZhUU8XcEMVKanYRZx/tW2k9tl/7ldddNp8uRsJqodHv2r6/qG6+jYPGvsoz/h2aiHa8aBRGkjOp0SRNX7aJ7lJy+Gssa3+1JTA2KxRaOuJ2ffnSztEwxX8h01nbm88FQzgHWbXWQpheZ86Q+jETsDLj1epoCGpGfCql3qjqO+AZdkseFaqnTkfhNzN6zJQ==; 5:+aNdP+BWcO7KUJTmz15zLO68PNMDBwgpxH0OgIO1K1xm7f5SBWOg9P9AQLWO8mKqCUApy1R3IJsoIR7pO6/A/rjIg3klcfxEfb+zFYrfMRmj+1+tB6KZ0DdS8cEZO2zAYQa9rv34YPc1Drec8tz+Eg==; 24:L0ZHyNSzl2pnlIw4Tl8ikA17cx+tGuZOrGCw/D89DZvJkC+2oACGO0Eae2w8Eg58OeHPbtwrF+MhKs5fyOMK7GCsezzHlNuvcOUt8UCHbvw=; 7:x30EkitwMUpszw29aJgT7aKF7JkXUye0bWOPdq7a7+QgdBcIlzMFHmP1LrPJnpmLBPwxZCUqk+UoRIoGF7gEVGEp4l+5xrhfcwcG87sqfcKIrl5jzsJvfooWJJcc+1pQ1VG+oyWHtvd2RI9uVs4zIkITxLeQU03Nz4c9TT0YlVWMIweXYd5cxmhrs6IcOp5EeAcCAS114e0iksb+GiqRTgIOxdggPasGq8qkZX/3nkM= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(346002)(376002)(199003)(377454003)(13464003)(24454002)(189002)(51914003)(5660300001)(97736004)(189998001)(50986999)(54356999)(76176999)(101416001)(4326008)(53936002)(6246003)(9686003)(5250100002)(86362001)(53546010)(14454004)(316002)(478600001)(25786009)(2900100001)(8936002)(6436002)(66066001)(6506006)(229853002)(3660700001)(3280700002)(68736007)(2950100002)(7696004)(105586002)(8676002)(81156014)(81166006)(99286003)(55016002)(106356001)(54906002)(6116002)(102836003)(3846002)(305945005)(2906002)(7736002)(74316002)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3605; H:AM6PR0402MB3334.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; x-ms-office365-filtering-correlation-id: 60f5937d-04e6-4fab-734d-08d4fe4accf6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM6PR0402MB3605; x-ms-traffictypediagnostic: AM6PR0402MB3605: x-exchange-antispam-report-test: UriScan:(185117386973197)(162533806227266); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM6PR0402MB3605; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM6PR0402MB3605; x-forefront-prvs: 04347F8039 received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2017 04:07:38.4102 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3605 Subject: Re: [PATCH] RFC Inform UEFI memory to Linux X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2017 04:04:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgQXJkLCANCg0KPiBUaGFua3MgZm9yIHRoZSBwYXRjaC4gQnV0IHBsZWFzZSBjb25zaWRlciBj YXJlZnVsbHkgd2hhdCB5b3UncmUgZG9pbmc6DQo+IE15IHBvaW50IGlzIHJlYWxseSB0aGF0IHlv dSBjYW4ganVzdCByZW1vdmUgbGluZXMgMTI0IC0gMTg5IGluc3RlYWQuDQoNCldlIHdhbnQsIE9T IHRvIHJlLXVzZSBmaXJtd2FyZSB2b2x1bWUgYXJlYS4gIFRoZXJlZm9yZSBtYWtpbmcgZmlybXdh cmUgdm9sdW1lIHZpc2libGUuIA0KWW91IGFyZSByaWdodCwgcmVtb3ZpbmcgbGluZXMgIDEyNC0x ODkgd2lsbCBkbyB0aGUgc2FtZSwgYW5kIG5vIG5lZWQgb2YgYWRkaW5nIHNwbGl0dGluZyBhcmVh IHdpdGggc2FtZSANCmF0dH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gICAgICAgICAgICAgICAgICAgICAgICAgIFBjZEdldDY0IChQY2RGZEJhc2VBZGRyZXNzKSwN Cj4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFBjZEdldDMyIChQ Y2RGZFNpemUpKTsNCj4gPg0KPiA+IEBAIC0xNjEsNyArMTYxLDcgQEAgTWVtb3J5UGVpbSAoDQo+ ID4gICAgICAgICAgfSBlbHNlIHsNCj4gPiAgICAgICAgICAgIC8vIENyZWF0ZSB0aGUgU3lzdGVt IE1lbW9yeSBIT0IgZm9yIHRoZSBmaXJtd2FyZQ0KPiA+ICAgICAgICAgICAgLy8gd2l0aCB0aGUg bm9uLXByZXNlbnQgYXR0cmlidXRlDQo+ID4gICAgICAgICAgICBCdWlsZFJlc291cmNlRGVzY3Jp cHRvckhvYiAoRUZJX1JFU09VUkNFX1NZU1RFTV9NRU1PUlksDQo+ID4gLSAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgUmVzb3VyY2VBdHRyaWJ1dGVzICYNCj4gfkVGSV9SRVNP VVJDRV9BVFRSSUJVVEVfUFJFU0VOVCwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBSZXNvdXJjZUF0dHJpYnV0ZXMsDQo+ID4gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgUGNkR2V0NjQgKFBjZEZkQmFzZUFkZHJlc3MpLA0KPiA+ICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFBjZEdldDMyIChQY2RGZFNpemUpKTsN Cj4gPg0KPiA+IC0tLQ0KPiA+DQo+ID4gSSBhbSBndWVzc2luZyB5b3UgaGF2ZSBpbmFkdmVydGVu dGx5IG1vZGlmaWVkIHRoZSBsaW5lIHRlcm1pbmF0aW9ucw0KPiA+IGZyb20gQ1JMRiB0byBMRiAo dGhlIGV2aWRlbmNlIGdldHMgc3RyaXBwZWQgb3V0IGJ5IFNNVFApLg0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