lkml.org 
[lkml]   [2005]   [Apr]   [5]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateTue, 05 Apr 2005 09:39:14 +0200
FromFranck Bui-Huu <>
Subject[BOOTMEM] bad physical address convertions.
Hi,

I'm porting linux on an embedded system based on MIPS proc. I've 
encountered several
problems and one of these is related to the physical memory which 
doesn't start to 0.
This is actually not a big issue if code that makes physical address 
convertions uses the
appropriate macros that do the job.
Unfortunately there are some places in linux where this is not the case.
"bootmem.c" is one of these places. For instance, it does "addr >> 
PAGE_SHIFT"
instead of using "phys_to_pfn" macro in order to convert a physical 
address into a page
frame number.
Are there any interests for a patch which will fix that ?

Regards,

          Franck.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-06 11:31    [from the cache]
©2003-2008