Some MIPS status goodies.

Ralf Baechle ralf at linux-mips.org
Thu Jun 10 22:33:37 GMT 2004


On Thu, Jun 10, 2004 at 12:14:30PM -1000, juli mallett wrote:

> > > R10K and IP28 support are probably a ways away, but I'm interested
> > > in supporting these systems and more.  Right now it's easiest to start
> > > with the, much simpler, R4400 Indigo2 I have here, and get a good base
> > > of this stuff, then move into supporting the more modern and complex
> > > CPUs and machines - but be assured I am taking them into account!
> > 
> > R10000 in non-coherent systems (Indigo 2 R10000, O2) is a rather hard to
> > use processor due to unwanted behaviour of speculative execution that
> > leads to memory corruption.  The workarounds are fairly complex; efficient
> > solutions involve compiler modifications.
> 
> Yeah, I read about the compiler mods SGI had to make, with accessing
> the stack as a barrier...  It sounded like that was only for the
> kernel though, yeah?

Yes.  The CPU can't speculate memory access for virtual addresses that
aren't mapped, so for usermode the trick is to keep every page unmapped
while doing DMA on it.  

  Ralf


More information about the freebsd-mips mailing list