Toshiba 64M limit and slram (was Toshiba ToPIC developer info)
Ryan Underwood
nemesis-lists at icequake.net
Wed Jun 22 18:27:03 EDT 2005
On Wed, Jun 22, 2005 at 09:10:13PM +0100, Russell King wrote:
> >
> > What is the best thing to do then? Ever since slram was designed, it
> > has assumed that the user would set the mem= option appropriately. I've
> > had the 'reserve' option pointed to me but not tried it yet.
>
> Consider what's happening - you're telling the system that you have
> less memory than it actually has, so it only reserves (say) the first
> 512MB of memory. It then scans the PCI bus and reserves those
> resources.
I see. I thought the PCI resources were mapped by the BIOS and not by
the kernel, but this makes a bit more sense now. So you are also saying
that when a PCI device becomes mapped in that region, subsequent
accesses by the CPU in that range go to physical RAM that is located
there instead of to the device's MMIO range, so the device is
inaccessible. That would seem odd though, since in the low memory area,
certainly there is RAM underneath the range e.g. F000:0000-FFFF, but
accesses to that area are mapped to the BIOS ROM instead. Or the same
for the VGA framebuffer at A000:0, etc.
--
Ryan Underwood, <nemesis at icequake.net>
More information about the linux-mtd
mailing list