Subject: Re: Bringing up an SS20 on MP
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Chuck Silvers <chuq@chuq.com>
List: port-sparc64
Date: 01/15/2003 18:55:35
On Wed, Jan 15, 2003 at 10:38:47PM +0100, Manuel Bouyer wrote:
> On Wed, Jan 15, 2003 at 04:29:37PM -0500, Bill Meahan wrote:
> > Well, while I'm here ... what's the status of MP on Sparc64
> > (specifically on an Ultra 2)?
>
> I don't think there have been much done here yet. If someone
> is doing something in this area, please speack ! :)
right, not much yet. the first thing to do is to implement curcpu(),
which I spent a bit of time on a few months back. the current code
tries to do like the sparc port and use a constant virtual address
with different stuff mapped there on each CPU, but I couldn't manage
to get that to work. I decided to go for freebsd's approach instead,
putting the curcpu pointer in %g7. this entails removing all the existing
uses of %g7. I removed some back then, but there are quite a few left
(all in locore.s at this point). since then I haven't had much time
for netbsd and I've spent it on other things (softdep bugs and the
sparc64 pmap problems I just fixed). I would like to get back to
working on sparc64 MP, but if someone else with more time wants to
run with it, that would be fine with me too.
-Chuck