slram reserve its memory region?

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Jun 27 16:10:11 EDT 2005


On Fri, 24 June 2005 20:54:30 -0500, Ryan Underwood wrote:
> 
> I am having a problem where slram fails to reserve the memory it is
> using, allowing a later-loaded PCI driver (yenta_socket) to have PCI
> resources mapped in the same area, which results in a non-functional
> hardware.  This effect is only possible because mem= kernel parameter is
> required to prevent the kernel from using memory that slram will be
> using later, but unfortunately device resources can still be mapped
> there since the kernel thinks slram's area is not physical RAM and is
> thus safe to use.
> 
> Is it an easy change to cause slram to reserve the memory area it uses
> so that nothing else attempts to use it?

No, it's not.  See my reply to the original thread.

Jörn

-- 
"doesn't need to know [...] how to cause a headache in order to take an 
aspirin."
-- Scott Culp, Manager of the Microsoft Security Response Center, 2001




More information about the linux-mtd mailing list