Subject: Re: New MIPS cache code vs. R5k secondary caches...
To: Rafal Boni <rafal@attbi.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-mips
Date: 09/20/2002 16:33:34
On Fri, Sep 20, 2002 at 07:21:24PM -0400, Rafal Boni wrote:
> Yah, I'm not either. The Linux code I've seem people toss around does as
> if the page invalidate cacheop where actually indexed -- by just walking
> from KSEG0 to KSEG0 + sdcache_size and invalidating each page inbetween.
>
> Another way to do this may be to simply use the SDcache INDEX STORE TAG
> to mark all the cache blocks invalid; this could also be used if we wanted
> to invalidate very small regions (ie, << page size).
Honestly, I am kind of surprised that the "page invalidate" isn't in fact
an index op as opposed to a hit op.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>