From owner-freebsd-acpi@FreeBSD.ORG Fri Feb 29 20:26:09 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B6F21065673; Fri, 29 Feb 2008 20:26:09 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id E513B8FC1B; Fri, 29 Feb 2008 20:26:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 233866224-1834499 for multiple; Fri, 29 Feb 2008 15:24:14 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1TKQ05v062199; Fri, 29 Feb 2008 15:26:01 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: linimon@freebsd.org Date: Fri, 29 Feb 2008 14:05:44 -0500 User-Agent: KMail/1.9.7 References: <200802290200.m1T20kdD004469@freefall.freebsd.org> In-Reply-To: <200802290200.m1T20kdD004469@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802291405.44386.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 29 Feb 2008 15:26:02 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/6047/Fri Feb 29 13:51:13 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-acpi@freebsd.org Subject: Re: kern/112544: [acpi] [patch] Add High Precision Event Timer Driver for userland timer facility X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 20:26:09 -0000 On Thursday 28 February 2008 09:00:46 pm linimon@freebsd.org wrote: > Synopsis: [acpi] [patch] Add High Precision Event Timer Driver for userland timer facility > > State-Changed-From-To: open->feedback > State-Changed-By: linimon > State-Changed-When: Fri Feb 29 01:57:50 UTC 2008 > State-Changed-Why: > To jhb: there seems to have been a commit, then an MFC to RELENG_6 via > 1.1.4.1 on Jan 23 2008. Is there some reason this one needs to remain > open? The HPET contains multiple bits. One is a general count down timer that we use for timekeeping. In addition it contains a variable number of comparator registers each of which can be used to generate interrupts at varying frequencies (or one-shot interrupts, etc.). The current in-kernel HPET support only handles the count down timer. We do not have any support for the comparators. The code in the PR does include support for the comparators. However, it's aim is to export them for use by userland drivers. FreeBSD will probably end up using the HPET comparators to back deadline-style clock interrupts in place of the RTC or lapic timer at some point in which case certain pieces of this code may be useful. The commit I made just extracted a few of the changes in the original patch, it did not contain all of the changes in the patch. It is probably best to mark this as suspended and leave it as freebsd-acpi@ for now as I'm not currently planning on doing the deadline clock stuff. -- John Baldwin