RE: Reserving a fixed physical address page of RAM.

2006-11-30 Thread Jon Ringle
Fawad Lateef wrote: > reserving_bootmem in devicemaps_init will work but I think it > will be better if you do this in mem_init function (here: > http://sosdg.org/~coywolf/lxr/source/arch/arm/mm/init.c?v=2.6. > 16;a=arm#L620), > so that all the paging and other map related stuff completes. (CMIIW)

Re: Reserving a fixed physical address page of RAM.

2006-11-30 Thread Fawad Lateef
On 11/30/06, Jon Ringle <[EMAIL PROTECTED]> wrote: Jon Ringle wrote: > Fawad Lateef wrote: > > > > > > Index: linux/arch/arm/mm/init.c > > > > === > > > --- linux.orig/arch/arm/mm/init.c 2006-11-30 > > 11:03:00.0 > >

RE: Reserving a fixed physical address page of RAM.

2006-11-30 Thread Jon Ringle
Jon Ringle wrote: > Fawad Lateef wrote: > > On 11/30/06, Jon Ringle <[EMAIL PROTECTED]> wrote: > > > Do you think that the following would work to properly > reserve the > > > memory. If it does, then I think I can just do a > ioremap(0x0000, > > > 0x1000) to obtain a virtual address. (Ofcou

Re: Reserving a fixed physical address page of RAM.

2006-11-30 Thread Fawad Lateef
On 11/30/06, Jon Ringle <[EMAIL PROTECTED]> wrote: Fawad Lateef wrote: > On 11/30/06, Jon Ringle <[EMAIL PROTECTED]> wrote: > > Fawad Lateef wrote: > > > Yes, this can be used if required physical-memory exists > in the last > > > part of RAM as if you use mem= then kernel will only use > > > mem

Re: Reserving a fixed physical address page of RAM.

2006-11-30 Thread Jon Ringle
Fawad Lateef wrote: > On 11/30/06, Jon Ringle <[EMAIL PROTECTED]> wrote: > > Fawad Lateef wrote: > > > Yes, this can be used if required physical-memory exists > in the last > > > part of RAM as if you use mem= then kernel will only use > > > memory less than or equal-to and above can be used

RE: Reserving a fixed physical address page of RAM.

2006-11-28 Thread Jon Ringle
linux-os (Dick Johnson) wrote: > On Mon, 27 Nov 2006, Jon Ringle wrote: > > > Robert Hancock wrote: > >> Jon Ringle wrote: > >>> Hi, > >>> > >>> I need to reserve a page of memory at a specific area of RAM that > >>> will be used as a "shared memory" with another processor > over PCI. > >>> How

RE: Reserving a fixed physical address page of RAM.

2006-11-28 Thread Jon Ringle
Jesper Juhl wrote: > On 28/11/06, Fawad Lateef <[EMAIL PROTECTED]> wrote: > > On 11/28/06, Dave Airlie <[EMAIL PROTECTED]> wrote: > > > On 11/28/06, Jon Ringle <[EMAIL PROTECTED]> wrote: > > > > > > It looks promising, however, I need to reserve a > physical address > > > > area that is well kno

RE: Reserving a fixed physical address page of RAM.

2006-11-28 Thread Jon Ringle
Robert Hancock wrote: > Jon Ringle wrote: > > Robert Hancock wrote: > >> Jon Ringle wrote: > >>> Hi, > >>> > >>> I need to reserve a page of memory at a specific area of RAM that > >>> will be used as a "shared memory" with another processor > over PCI. > >>> How can I ensure that the this area

Re: Reserving a fixed physical address page of RAM.

2006-11-28 Thread linux-os \(Dick Johnson\)
On Mon, 27 Nov 2006, Jon Ringle wrote: > Robert Hancock wrote: >> Jon Ringle wrote: >>> Hi, >>> >>> I need to reserve a page of memory at a specific area of RAM that will >>> be used as a "shared memory" with another processor over PCI. How can I >>> ensure that the this area of RAM gets reseved

Re: Reserving a fixed physical address page of RAM.

2006-11-28 Thread Jesper Juhl
On 28/11/06, Fawad Lateef <[EMAIL PROTECTED]> wrote: On 11/28/06, Dave Airlie <[EMAIL PROTECTED]> wrote: > On 11/28/06, Jon Ringle <[EMAIL PROTECTED]> wrote: > > It looks promising, however, I need to reserve a physical address area > > that is well known (so that the code running on the other p

Re: Reserving a fixed physical address page of RAM.

2006-11-27 Thread Fawad Lateef
On 11/28/06, Dave Airlie <[EMAIL PROTECTED]> wrote: On 11/28/06, Jon Ringle <[EMAIL PROTECTED]> wrote: > It looks promising, however, I need to reserve a physical address area > that is well known (so that the code running on the other processor > knows where in PCI memory to write to). It app

Re: Reserving a fixed physical address page of RAM.

2006-11-27 Thread Dave Airlie
On 11/28/06, Jon Ringle <[EMAIL PROTECTED]> wrote: Robert Hancock wrote: > Jon Ringle wrote: >> Hi, >> >> I need to reserve a page of memory at a specific area of RAM that will >> be used as a "shared memory" with another processor over PCI. How can I >> ensure that the this area of RAM gets rese

Re: Reserving a fixed physical address page of RAM.

2006-11-27 Thread Robert Hancock
Jon Ringle wrote: Robert Hancock wrote: Jon Ringle wrote: Hi, I need to reserve a page of memory at a specific area of RAM that will be used as a "shared memory" with another processor over PCI. How can I ensure that the this area of RAM gets reseved so that the Linux's memory management (kmal

Re: Reserving a fixed physical address page of RAM.

2006-11-27 Thread Jon Ringle
Robert Hancock wrote: Jon Ringle wrote: Hi, I need to reserve a page of memory at a specific area of RAM that will be used as a "shared memory" with another processor over PCI. How can I ensure that the this area of RAM gets reseved so that the Linux's memory management (kmalloc() and friends)

Re: Reserving a fixed physical address page of RAM.

2006-11-27 Thread Robert Hancock
Jon Ringle wrote: Hi, I need to reserve a page of memory at a specific area of RAM that will be used as a "shared memory" with another processor over PCI. How can I ensure that the this area of RAM gets reseved so that the Linux's memory management (kmalloc() and friends) don't use it? Some thi

Reserving a fixed physical address page of RAM.

2006-11-27 Thread Jon Ringle
Hi, I need to reserve a page of memory at a specific area of RAM that will be used as a "shared memory" with another processor over PCI. How can I ensure that the this area of RAM gets reseved so that the Linux's memory management (kmalloc() and friends) don't use it? Some things that I've consid