Subject: Re: dangerous for initialize of MIPS timer
To: None <kiyohara@kk.iij4u.or.jp>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-cobalt
Date: 09/27/2006 07:37:00
kiyohara@kk.iij4u.or.jp wrote:

> > Maybe we should move _splnone() from autoconf.c:cpu_configure() to
> > mips/mips3_clockintr():cpu_initclocks(), but I wonder
> > we should still enable other interrupts than INT5 in
> > cpu_configure() or not. (since initclocks() is called
> > right after cpu_configure() in subr_autoconf.c).
> 
> All right.  Please check. ;-)

IMO "_spllower(MIPS_INT_MASK_5)" is enough like arc/autoconf.c does
for optional statclock(9), and some people also said that we should
have some comments why we needed such weird spl(9) handling in both
cpu_configure(9) and cpu_initclocks(9).

> For which port do you need it?

According to "grep mips3_clockintr.c /sys/arch/*/conf/files.*"
algor, cobalt, evbmips, and sgimips.
---
Izumi Tsutsui