Re: [Fastboot] Re: Announce: dumpfs v0.01 - common RAS output API
From: Martin J. Bligh
Date: Thu Jul 29 2004 - 10:10:03 EST
> Well if calling shutdown is not really usable, then I we had better
> transition quickly beyond using it...
>
>> [*] At least, I _assume_ the 16MB will be prereserved,
>> physically-contiguous and wholly within ZONE_NORMAL. Is this wrong?
>
> The problem is that we really won't be using it for running code out
> of because of i386 kernel limitations. Unless someone can tell
> my why 0 -16MB won't have DMA traffic in them. Or how to run a kernel
> at an address other than 1MB.
>
> I suspect we can play with the initial page tables and how virtual
> addresses map to physical addresses and fairly simply generate a
> relocatable kernel. I have not had a chance to investigate that
> though. Once we have that it will be trivial to run out of the
> reserved 16M and many of the practical problems melt away.
IIRC, what Adam did is to relocate the bottom 16MB of mem into the
reserved buffer and execute into the bottom 16MB. Yes, that probably does
leave some DMA issues that we should fix up as you suggest above, but I
think it's good enough for a first pass at the problem.
M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/