linux-mips
[Top] [All Lists]

Re: flush_cache_all() hoses my Indy

To: Mike Shaver <shaver@netscape.com>
Subject: Re: flush_cache_all() hoses my Indy
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Mon, 22 Dec 1997 21:45:24 +0100
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <349E2FCF.605C2665@netscape.com>; from Mike Shaver on Mon, Dec 22, 1997 at 01:15:59AM -0800
References: <349E2FCF.605C2665@netscape.com>
Sender: owner-linux@cthulhu.engr.sgi.com
On Mon, Dec 22, 1997 at 01:15:59AM -0800, Mike Shaver wrote:
> OK, I've been tracking a bug that only seems to appear on the Indy I
> have at home right now (belongs to the housemates).  After sgiseeq_init
> allocates the ring buffers, it calls flush_cache_all().  On this system,
> that zeroes out the ring buffer pointers (rx and tx -- likely the entire
> dev->priv block and more) and then setup_tx_ring gets understandably
> upset. =)
> 
> Anyway, I'm not enough of a MIPS guru to really say much more, but I'll
> poke around tonight and see if I can stumble across anything useful.
> 
> Linux reports:
> MIPS 4400 FPU<MIPS-R4400FPC> ICACHE DCACHE SCACHE

There is a bug in the l2 flushing for theSC/MC versions, it uses the
wrong cacheops.  I've fixed it in my home tree.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>