Subject: Re: CVS commit: src/sys/arch/sgimips/sgimips
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Christopher SEKIYA <wileyc@rezrov.net>
List: port-sgimips
Date: 10/15/2005 12:57:38
On Fri, Oct 14, 2005 at 10:42:14PM +0900, Izumi Tsutsui wrote:

> Sekiya-san told me that calling r5k_enable_sdcache() on IP22
> caused other problem and L2 cache was already enabled by ARCS

The cache presence test at the beginning of r5k_enable_sdcache() fails on IP22.
I was unable to test on IP32; my unit died and UNIX-honpo hasn't had any
sub-r10k units for quite awhile.

> Is it OK to commit the attached patch for now?

No objection.

> Or, is there any way to check if L2 cache is activated?

IIRC, on IP32, the MIPS3_CONFIG_SE bit in COP0 truthfully indicates SC
status.  Doesn't work on r5k IP22. 
-- 

-- Chris
	GPG key FEB9DE7F (91AF 4534 4529 4BCC 31A5  938E 023E EEFB FEB9 DE7F)