From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 28 21:39:55 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 8A8661065670; Tue, 28 Jun 2011 21:39:54 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Andriy Gapon Date: Tue, 28 Jun 2011 17:39:45 -0400 User-Agent: KMail/1.6.2 References: <201106281713.20698.jkim@FreeBSD.org> <4E0A4534.30904@FreeBSD.org> In-Reply-To: <4E0A4534.30904@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106281739.47588.jkim@FreeBSD.org> Cc: freebsd-acpi@freebsd.org, Vitaly Magerya Subject: Re: (Missing) power states of an Atom N455-based netbook 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: Tue, 28 Jun 2011 21:39:55 -0000 On Tuesday 28 June 2011 05:18 pm, Andriy Gapon wrote: > on 29/06/2011 00:13 Jung-uk Kim said the following: > > On Tuesday 28 June 2011 03:37 pm, Vitaly Magerya wrote: > >>> I think that part (but not all) of the differences between > >>> FreeBSD and Linux can be explained by the fact that FreeBSD > >>> currently doesn't advertise itself as featuring > >>> ACPI_CAP_SMP_C1_NATIVE and ACPI_CAP_SMP_C3_NATIVE. I am not > >>> sure what it would take to actually support these features. I > >>> think that Linux does support (or at least advertise support) > >>> for these features. > >> > >> Is there some simple way of sending fake advertisement? Or will > >> that lead to disaster? > > > > Actually, ACPI_CAP_SMP_C1_NATIVE is kinda supported but without > > hints from ACPI _CST FFH. It sits in machdep.c as > > cpu_idle_mwait(). So, I think you can advertise them. The > > easist way is this (not tested): > > But don't we currently ignore FFH-type C state definitions? Correct. > I am not sure that mwait that we use (its parameters) would be the > same as the system would expect us to use unless we actually parse > FFH data. Even for C1 sate. It is unfortunate but you're correct. We don't have correct support code yet. > Also I am not sure if that would give much gain/difference. Just for the sake of testing your theory, nothing more, nothing less. Jung-uk Kim