[Top] [All Lists]

Re: [PATCH] local_r4k_flush_cache_page fix

Subject: Re: [PATCH] local_r4k_flush_cache_page fix
From: Atsushi Nemoto <>
Date: Wed, 01 Feb 2006 15:31:54 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <>
>>>>> On Wed, 01 Feb 2006 00:03:56 +0900 (JST), Atsushi Nemoto 
>>>>> <> said:
anemo> If dcache_size != icache_size or dcache_size != scache_size,
anemo> icache/scache does not flushed properly.  Use correct cache
anemo> size to calculate index value for scache/icache.

BTW, I wonder if current code (with or without this patch) works
properly for physically indexed cache.  Though I do not know if there
were physically indexed icache, there are certainly physically indexed
dcache (ex. MIPS 20KC).

For those physically indexed caches, we should use 'pfn' argument
passed to flush_cache_page ?

Atsushi Nemoto

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