From owner-svn-src-all@FreeBSD.ORG Fri Oct 24 19:45:08 2014 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3065A372; Fri, 24 Oct 2014 19:45:08 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtpout002.mac.com [17.172.220.237]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC39C359; Fri, 24 Oct 2014 19:45:07 +0000 (UTC) Received: from st11p02mm-spool002.mac.com ([17.172.220.247]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTP id <0NDY000M1S70XD80@st11p02mm-asmtp002.mac.com>; Fri, 24 Oct 2014 19:45:01 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-10-24_06:2014-10-24,2014-10-24,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1410240166 MIME-version: 1.0 Received: from localhost ([17.172.220.161]) by st11p02mm-spool002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTP id <0NDY00FYTS70A660@st11p02mm-spool002.mac.com>; Fri, 24 Oct 2014 19:45:00 +0000 (GMT) To: Andriy Gapon From: Rui Paulo Subject: Re: svn commit: r273598 - in head: include sys/dev/acpica Date: Fri, 24 Oct 2014 19:45:00 +0000 (GMT) X-Mailer: iCloud MailClient14G39 MailServer14G.17174 X-Originating-IP: [12.218.212.178] Message-id: <2f9b110c-2681-4e3d-b9e0-5ca0eb2763f9@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Rui Paulo X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 19:45:08 -0000 On Oct 24, 2014, at 12:06 PM, Andriy Gapon wrote:=0A=0AO= n 24/10/2014 21:39, Rui Paulo wrote:=0A> Author: rpaulo=0A> Date: Fri Oct = 24 18:39:15 2014=0A> New Revision: 273598=0A> URL: https://svnweb.freebsd.= org/changeset/base/273598=0A> =0A> Log:=0A> HPET: create /dev/hpetN as a w= ay to access HPET from userland.=0A> =0A> In some cases, TSC is broken and= special applications might benefit=0A> from memory mapping HPET and readi= ng the registers to count time.=0A> Most often the main HPET counter is 32= -bit only[1], so this only gives=0A> the application a 300 second window b= ased on the default HPET=0A> interval.=0A> Other applications, such as Int= el's DPDK, expect /dev/hpet to be=0A> present and use it to count time as = well.=0A=0ADoes this device attempt to play nice with eventtimer infrastru= cture that may=0Ause the same timer?=0A=C2=A0=0ANo. =C2=A0That's up to the= userland applications and that's why I implemented the read-only restrict= ion.=