* flush_cache_all() hoses my Indy
@ 1997-12-22 9:15 Mike Shaver
1997-12-22 20:45 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Mike Shaver @ 1997-12-22 9:15 UTC (permalink / raw)
To: linux
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
CPU Revision 0460
hinv tells me:
1 200 MHZ IP22 Processor
FPU: MIPS R4000 Floating Point Coprocessor Revision: 0.0
CPU: MIPS R4400 Processor Chip Revision: 6.0
Instruction cache size: 16 Kbytes
Data cache size: 16 Kbytes
More than this I do not know, but I'll run any test that doesn't risk
permanent damage.
Mike
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: flush_cache_all() hoses my Indy
1997-12-22 9:15 flush_cache_all() hoses my Indy Mike Shaver
@ 1997-12-22 20:45 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 1997-12-22 20:45 UTC (permalink / raw)
To: Mike Shaver; +Cc: linux
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-12-22 20:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-22 9:15 flush_cache_all() hoses my Indy Mike Shaver
1997-12-22 20:45 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox