From owner-freebsd-sparc64@FreeBSD.ORG Tue Feb 15 08:39:43 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBD3016A4CE for ; Tue, 15 Feb 2005 08:39:43 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CE3E43D5A for ; Tue, 15 Feb 2005 08:39:43 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id j1F8dfoN001760; Tue, 15 Feb 2005 09:39:41 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Kris Kennaway From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 14 Feb 2005 15:06:35 PST." <20050214230635.GA86332@xor.obsecurity.org> Date: Tue, 15 Feb 2005 09:39:41 +0100 Message-ID: <1759.1108456781@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: sparc64@FreeBSD.org Subject: Re: System clock died on e420r X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 08:39:44 -0000 In message <20050214230635.GA86332@xor.obsecurity.org>, Kris Kennaway writes: >On Mon, Feb 14, 2005 at 11:14:51PM +0100, Poul-Henning Kamp wrote: >>=20 >> If hardclock dies, timecounters (like much else) suffers. > >Surely, so why is it happening and how can it be fixed? :) > >jhb suspected there might be unserialized access to the time counter >on sparc64. As far as I know that timecounter is a single register so there is no need for serialization. It's only when the hardware requires you to access multiple times/registers that you need to put locks around it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.