Re: memblock_reserve or memblock_remove to reserve a page

2016-10-03 Thread Nikhil Utane
l <getaru...@gmail.com> wrote: > > Hello Nikhil, > > > > On Wed, Sep 28, 2016 at 6:55 PM, Nikhil Utane > > <nikhil.subscri...@gmail.com> wrote: > >> base1 = 0xA4D000; size1=0x1000; > >> memblock_reserve (base1, size1); > > Most probably yo

Re: memblock_reserve or memblock_remove to reserve a page

2016-09-28 Thread Nikhil Utane
Hi, This is the hole that we see in system RAM. Shouldn't the 0xA4D page be out of limit for Linux Kernel? # cat /proc/iomem -00a4cfff : System RAM 00a4d000-00a4dfff : csSIGILL 00a4e000-bfff : System RAM -Regards Nikhil On Wed, Sep 28, 2016 at 6:55 PM, Nikhil Utane <nikhil.subs

Re: memblock_reserve or memblock_remove to reserve a page

2016-09-28 Thread Nikhil Utane
n Wed, Sep 28, 2016 at 3:12 PM, Arun Sudhilal <getaru...@gmail.com> wrote: > Hello Nikhil, > > On Wed, Sep 28, 2016 at 2:41 PM, Nikhil Utane > <nikhil.subscri...@gmail.com> wrote: > > Arun, > > > > What seems to have done the trick is calling memblock_rem

Re: memblock_reserve or memblock_remove to reserve a page

2016-09-28 Thread Nikhil Utane
<getaru...@gmail.com> wrote: > Hello Nikhil, > > On Fri, Sep 9, 2016 at 7:01 AM, Nikhil Utane > <nikhil.subscri...@gmail.com> wrote: > > I want to reserve a physical memory page with a fixed PFN. I do not want > > this page to be used by anyone else. I am calling

Re: memblock_reserve or memblock_remove to reserve a page

2016-09-16 Thread Nikhil Utane
Pardon my ignorance. I am not much of a kernel programmer. Thank you for your help so far. Appreciate it. -Regards Nikhil On Fri, Sep 16, 2016 at 4:52 AM, Min-Hua Chen <orca.c...@gmail.com> wrote: > > > On Thu, Sep 15, 2016 at 4:23 PM, Nikhil Utane <nikhil.subscri...@gmail.com >

Re: memblock_reserve or memblock_remove to reserve a page

2016-09-14 Thread Nikhil Utane
o linear mapping on them. It prevents the memory > from CPU accessing by the linear address. To access the memory (by CPU), > you must use ioremap() to create a mapping to them. > > > MH Chen > > On Fri, Sep 9, 2016 at 5:29 PM, Nikhil Utane <nikhil.subscri...@gmail.com>

memblock_reserve or memblock_remove to reserve a page

2016-09-10 Thread Nikhil Utane
I want to reserve a physical memory page with a fixed PFN. I do not want this page to be used by anyone else. I am calling memblock_reserve() to supposedly reserve the page. I am writing some content into this page. What I see is that during some runs the content of this page is modified (either

Re: memblock_reserve or memblock_remove to reserve a page

2016-09-10 Thread Nikhil Utane
Hi, I want to reserve a physical memory page with a fixed PFN. I do not want this page to be used by anyone else. I am calling memblock_reserve() to supposedly reserve the page. I am writing some content into this page. What I see is that during some runs the content of this page is modified