From owner-freebsd-current Sun Feb 17 15:53:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (dhcp45-21.dis.org [216.240.45.21]) by hub.freebsd.org (Postfix) with ESMTP id 2C14737B416; Sun, 17 Feb 2002 15:53:14 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g1HNr3A02051; Sun, 17 Feb 2002 15:53:03 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200202172353.g1HNr3A02051@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Poul-Henning Kamp Cc: Matthew Dillon , Michael Smith , Bruce Evans , freebsd-current@FreeBSD.ORG Subject: Re: ACPI timer is screwed... (was Re: 'microuptime() went backwards ...' using ACPI timer. Shouldn't that be impossible? ) In-reply-to: Your message of "Mon, 18 Feb 2002 00:45:29 +0100." <28244.1013989529@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 17 Feb 2002 15:53:03 -0800 From: Michael Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >:I would like to see "the PIIX problem" caught on camera, personally. > >:We're aware of one errata for it already, and we work around it. If > >:there's another problem, or ideally if someone has some relatively quick > >:code to test it, that would be much better. > > > > Holy shit. We are screwed. It's a free-running counter with NO > > synchronization whatsoever. None. Zip. Zero. > > Yes, there is an errata for just that on early chipsets. > > Does the ..._slow patch I sent work for you ? Matt's problem (look-ahead carry) will break the three-read algorithm because it can generate a sequence of three reads that appear to be in succession, but which are all wrong. We need three different algorithms; "works", "ripple" and "look-ahead". Of those, "works" should be based exclusively off a list of known-good chipsets, "look-ahead" seems to be easily enough detected (but we should probably have a blacklist anyway) and "ripple" is hard to detect and should be the default case. I really, really hate hardware. -- To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. - Theodore Roosevelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message