From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30061.outbound.protection.outlook.com [40.107.3.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5ABAC21D046A3 for ; Tue, 19 Sep 2017 22:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OWpDMtSXUm2B9AjE5qe1bt5i8dkKq1xCIgR7Ow8u67Y=; b=mthguxqSX4LhErdLcxUua44ijFV0rxPRiiosaB1TY6y0youL/CSJpfdULlX8uOv1u53+lgEZBa5p5KfwhNPdaVjRzNHM3WFqCv2ITZwUH1FOzwovDBtR9n8BugxlVhuuPkPlItpt8Ko1Tis8m8tRVERrsSBICvbVaPCsVgxxuSo= Received: from DB6PR08MB2645.eurprd08.prod.outlook.com (10.175.234.153) by DB6PR08MB2664.eurprd08.prod.outlook.com (10.175.234.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Wed, 20 Sep 2017 05:32:15 +0000 Received: from DB6PR08MB2645.eurprd08.prod.outlook.com ([fe80::b153:bb0d:ce8d:bebe]) by DB6PR08MB2645.eurprd08.prod.outlook.com ([fe80::b153:bb0d:ce8d:bebe%13]) with mapi id 15.20.0056.018; Wed, 20 Sep 2017 05:32:15 +0000 From: Sakar Arora To: Ard Biesheuvel CC: Meenakshi Aggarwal , "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" Thread-Topic: [edk2] [PATCH v2] PeiLib : Inform UEFI memory to Linux Thread-Index: AQHTMRKkhNgF6hCyWUCBq6hOscU7a6K7185wgABRKICAARD5AA== Date: Wed, 20 Sep 2017 05:32:15 +0000 Message-ID: References: <1505485954-24345-1-git-send-email-meenakshi.aggarwal@nxp.com> <1505824329-32532-1-git-send-email-meenakshi.aggarwal@nxp.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Sakar.Arora@arm.com; x-originating-ip: [217.140.105.40] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR08MB2664; 6:zAGVUu884WBszSlgyEitAQ7ZXePC97h6hTL/pIBPBla6x2qGs8N+f4w096qGxxCEyFMvEZUwZxIsuSF2t0Yq+OtwFNhgNxgvIGsDs+ygbn0ncsPkf+kB3NfNW8bQLbYMkMXEwqclTYFALMWnTpNU8O8qLfMOnOvK7U/EQ04zXBossP3XKHQ/n2DE2HtDHTRPhVn5kM1AJAdR/6KUEVsuxs2QaSJ6t/bvR90FGoHTMBqoOriXoykFsy9jZzOWNl0s8xck272g4hV8G5bAjgU4ATZBRG4zI9RYAv2bg+WwUa1zQ+1iW8mYennAc16QmKz4cQXz2OYg3a7HYt/C4XzjUA==; 5:OHreLQQI+dj0VzL9rhazaazpcX5ec7GgAc4FpMAcgDVEbaIG1iviiRJjBwTkMCOfJubU0VJDYSL0Xg+tP7lvqQddeBgWdhyX3WJYu6Bf5Q/AXrUOOjhd8lxKB6NVSF5UiZEAgPMSpn57eP9lJ9HMHpNBT10Ii3z0qKzVzceWmvw=; 24:Eh8gOdcfGC29Dio3FWTPSDPlqXN2DFdY6YPG3gyu7IuoBwEekWh520d2/0K57NapESYB2bsNJDKFtVRzOx2rphZaPyhJtOduLiHl2Md6QVs=; 7:oIeERlCn1rU0/sRY9Zp2XWCn0sMmO53qqgLU4U2bvrUsOFA5eoFQOSNHMZyc9yAxy/VRdMDSBZ+yOLGx4K6jBjhme7mhT+08GlVlMVuIFHIjet82pdiaz8IF/eVeIlScHe2xd5Dxi4eGkUrtMZOjNtvYZDHiOlAINbSNYTkeaYRPEh/GhNhP5VHsoYVHdb7jqGo1QFCeXm5IkrB1xlpAM43f88gRsrFodNF56u1GaDA= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 2a78506d-9f1b-4947-d311-08d4ffe8f3c3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR08MB2664; x-ms-traffictypediagnostic: DB6PR08MB2664: x-exchange-antispam-report-test: UriScan:(180628864354917)(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)(100000703101)(100105400095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123558100)(20161123555025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR08MB2664; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR08MB2664; x-forefront-prvs: 04362AC73B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(346002)(376002)(40434004)(377454003)(199003)(24454002)(13464003)(189002)(7696004)(2900100001)(305945005)(6506006)(2950100002)(6916009)(7736002)(478600001)(33656002)(53546010)(5660300001)(8676002)(72206003)(81166006)(81156014)(8936002)(966005)(68736007)(66066001)(6436002)(229853002)(54906003)(2906002)(3280700002)(74316002)(3660700001)(5250100002)(6306002)(9686003)(102836003)(6246003)(6116002)(316002)(76176999)(54356999)(50986999)(5890100001)(93886005)(189998001)(4326008)(14454004)(53936002)(105586002)(3846002)(106356001)(55016002)(97736004)(99286003)(25786009)(8656003)(86362001)(101416001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR08MB2664; H:DB6PR08MB2645.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2017 05:32:15.2493 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR08MB2664 Subject: Re: [PATCH v2] PeiLib : 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: Wed, 20 Sep 2017 05:29:12 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhlIERYRSBjb3JlIGRpc3BhdGNoZXIgcmVsaWVzIG9uIHRoZSBhdmFpbGFibGUgbWVtb3J5IHRv IGFsbG9jYXRlIHNwYWNlIGZvciBsb2FkaW5nIHRoZSByZXN0IG9mIHRoZSBtb2R1bGVzIGZyb20g dGhlIFVFRkkgaW1hZ2UuIElmIHdlIGRlY2xhcmUgdGhlIFVFRkkgaW1hZ2UgbWVtb3J5IHNwYWNl IChmcm9tIHdoaWNoIERYRSBkaXNwYXRjaGVyIHJlYWRzIHRoZSBlZmkgbW9kdWxlcykgb3BlbiB0 byBhbGxvY2F0aW9uLCBpdCBtaWdodCBsZWFkIHRvIGRhdGEgY29ycnVwdGlvbiwgZGVwZW5kaW5n IG9uIHRoZSBsb2NhdGl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