From owner-cvs-all@FreeBSD.ORG Thu Sep 30 21:43:47 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7068B16A4CE; Thu, 30 Sep 2004 21:43:47 +0000 (GMT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D27D243D1D; Thu, 30 Sep 2004 21:43:46 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) i8ULhT1f091067; Thu, 30 Sep 2004 23:43:35 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id i8ULhNDZ091066; Thu, 30 Sep 2004 23:43:23 +0200 (CEST) (envelope-from marius) Date: Thu, 30 Sep 2004 23:43:23 +0200 From: Marius Strobl To: Poul-Henning Kamp Message-ID: <20040930234323.M69188@newtrinity.zeist.de> References: <20040930214021.A84755@newtrinity.zeist.de> <50355.1096576012@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <50355.1096576012@critter.freebsd.dk>; from phk@phk.freebsd.dk on Thu, Sep 30, 2004 at 10:26:52PM +0200 X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.27.0.12; VDF 6.27.0.82 (host: newtrinity.zeist.de) cc: cvs-src@freebsd.org cc: Ken Smith cc: src-committers@freebsd.org cc: Ken Smith cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sparc64/sparc64 machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 21:43:47 -0000 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).