ioremap

Josh Boyer jwboyer at jdub.homelinux.org
Tue May 2 08:45:34 EST 2006


On Mon, 2006-05-01 at 14:25 -0700, Srinivas Murthy wrote:
> Hi,
>  Why does ioremap() not allow normal system RAM to be mapped in using
> ioremap().
>  
>  We have a need to access a portion of the normal system RAM to be
> mapped in non-cached.
>  
>  To simulate, I used kmalloc() to allocate the memory and then passed
> the virt_to_phys() of the memory to ioremap() but then noticed that
> ioremap() wont allow it.
>  
>  Is there another way to access this memory non-cached?

Limit the amount of memory the kernel consumes using mem=XXM.  Then you
should be able to use ioremap on the remainder.

josh





More information about the Linuxppc-dev mailing list