From owner-freebsd-stable@FreeBSD.ORG Tue Jul 10 01:11:25 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3D45106564A; Tue, 10 Jul 2012 01:11:25 +0000 (UTC) (envelope-from mnln.l4@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 78F6F8FC08; Tue, 10 Jul 2012 01:11:25 +0000 (UTC) Received: by ggnm2 with SMTP id m2so12404138ggn.13 for ; Mon, 09 Jul 2012 18:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0YIrb+CI94IB4buwP38U/SvLEaAHzqMX+4XhderFdr4=; b=R4jKIqfYYkbNcd8+AmKNX6LftQBYwSHViz6kglf/wVyNYXUuLObWdQFa9CflcIDuFh x6kDG7lSqutJQIpByDfI++C3367ZoR4mNyBai6i4GPNq/ftbXeJ9FNj78a41xFvbrhaR R+LjgKCZHrF8ulx7rD2QrsDxW4nyrWaaMiQgXtGb7JUIjSkY2bTMkjpVWPgUrOuTn7V8 VqZf7Jcmb1JXQQ+4XVpB/vd4BWqKEj52U1JfdDKRSZQug4cKoKnGodVLMWVnuz8Hirp0 6MCnedCW70WRl7WshK/8jNOCzgwlZh6AoKAqTxt/miztYMtUdmYdmtkEk6FCoVlw3Ted mYbQ== MIME-Version: 1.0 Received: by 10.42.189.138 with SMTP id de10mr21579840icb.38.1341882678849; Mon, 09 Jul 2012 18:11:18 -0700 (PDT) Received: by 10.231.69.5 with HTTP; Mon, 9 Jul 2012 18:11:18 -0700 (PDT) In-Reply-To: <4FFAB988.6050209@FreeBSD.org> References: <4FFAB988.6050209@FreeBSD.org> Date: Mon, 9 Jul 2012 18:11:18 -0700 Message-ID: From: "mnln.l4" To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: Doesn't LAPIC timer stop when CPU goes to sleep state? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 01:11:26 -0000 http://wiki.freebsd.org/TuningPowerConsumption/ says LAPIC timer stops when CPU in C3, while I saw the flag is set to 7. Of course, I can read full spec and code (http://fxr.watson.org/fxr/source/x86/x86/local_apic.c?im=bigexcerpts#L251) to find out some processor's LAPIC timer runs in C3, but mailing list could be helpful to get some quick answer. On Mon, Jul 9, 2012 at 3:59 AM, Andriy Gapon wrote: > on 09/07/2012 08:41 mnln.l4 said the following: >> I have FreeBSD 9.0-STABLE r237285, In my systl -a output, I see >> >> kern.eventimer.et.LAPIC.flags: 7 >> >> I am under the impression LAPIC timer may stop when CPU goes to sleep >> state. Shouldn't the flag be 15 as the example in EVENTTIMERS(4) man >> page? > > You don't have to be under an impression when you can get the facts from publicly > available specifications and code. > >> I have H67MA-E35 motherboard with Intel H67 chipset, and G840 dual core CPU. >> >> Thanks. > > -- > Andriy Gapon >