>>>>> On Wed, 01 Feb 2006 00:03:56 +0900 (JST), Atsushi Nemoto <anemo@xxxxxxxxxxxxx> 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