From: "Waseem, Amna" Subject: Alloc Page from fixed physical memory range Date: Fri, 11 Aug 2017 13:50:39 +0000 Message-ID: <1502459476652.39049@campus.tu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6924568195754392059==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgALf-0003xn-68 for xen-devel@lists.xenproject.org; Fri, 11 Aug 2017 13:51:35 +0000 Received: from ex-mbx06.tubit.win.tu-berlin.de ([130.149.6.150] helo=exchange.tu-berlin.de) by mail.tu-berlin.de (exim-4.89/mailfrontend-5) with esmtp for id 1dgALb-0008P7-93; Fri, 11 Aug 2017 15:51:33 +0200 Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============6924568195754392059== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_150245947665239049campustuberlinde_" --_000_150245947665239049campustuberlinde_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello All, Is there any way in linux e.g using device tree, to give a driver a fixed p= hysical memory range to alloc pages from? All pages are allocated from kern= el memory assigned using memory node in device tree. Is there any way to cr= eate a memory node and assign it to driver so that buddy allocator allocate= s pages from that node for that particular device? Any help will be highly appreciated REgards Amna --_000_150245947665239049campustuberlinde_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello All,


Is there any way in linux e.g using device tree, to give a driver a fixe= d physical memory range to alloc pages from? All pages are allocated from k= ernel memory assigned using memory node in device tree. Is there any way to= create a memory node and assign it to driver so that buddy allocator allocates pages from that node for th= at particular device?


Any help will be highly appreciated


REgards

Amna

--_000_150245947665239049campustuberlinde_-- --===============6924568195754392059== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============6924568195754392059==--