Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2004 23:43:23 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/sparc64/sparc64 machdep.c
Message-ID:  <20040930234323.M69188@newtrinity.zeist.de>
In-Reply-To: <50355.1096576012@critter.freebsd.dk>; from phk@phk.freebsd.dk on Thu, Sep 30, 2004 at 10:26:52PM %2B0200
References:  <20040930214021.A84755@newtrinity.zeist.de> <50355.1096576012@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 30, 2004 at 10:26:52PM +0200, Poul-Henning Kamp wrote:
> In message <20040930214021.A84755@newtrinity.zeist.de>, Marius Strobl writes:
> 
> >> Funny you should ask.  Testing the first version of this patch was how
> >> we found the bug in counter.c - the machine I booted the test kernel
> >> with happened to decide the counter-timer wasn't suitable either due
> >> to the bug and it came up with no timecounters.  You should see what
> >> happens to a machine that's not keeping time.  :-)
> 
> I know :-)
> 
> I wrote the code so you wouldn't be in doubt something was wrong.
> 
> >> We are drastically low on timecounter-capable devices on sparc64
> >> though, it seems the counter-timer and the CPU are about all there
> >> is.
> 
> We just need one good one, so as long as they have that we're fine.
> 
> I thought the 1usec counter were a sparc-architecture thing which
> all machines had ?
> 

Doesn't look like bridges other than the UPA2SBus and the Psycho
UPA2PCI one used on sun4u machines have a counter-timer device or
something similar (look e.g. at panther.freebsd.org which is
equipped with a Sabre UPA2PCI bridge).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040930234323.M69188>