From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [Update][PATCH 5/5] ACPI / PM: Expose lists of device power resources to user space Date: Wed, 23 Jan 2013 16:34:07 -0800 Message-ID: <20130124003407.GC10969@kroah.com> References: <3307415.pdOY6ovZLa@vostro.rjw.lan> <2760421.6nE3tkh92K@vostro.rjw.lan> <1551140.kO91IOVbjI@vostro.rjw.lan> <2472424.tpzyPyItMj@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pb0-f52.google.com ([209.85.160.52]:38327 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752393Ab3AXAeK (ORCPT ); Wed, 23 Jan 2013 19:34:10 -0500 Received: by mail-pb0-f52.google.com with SMTP id uo5so110782pbc.11 for ; Wed, 23 Jan 2013 16:34:10 -0800 (PST) Content-Disposition: inline In-Reply-To: <2472424.tpzyPyItMj@vostro.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , LKML , "Kristen C. Accardi" , Len Brown On Wed, Jan 23, 2013 at 07:01:37PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since ACPI power resources are going to be used more extensively on > new hardware platforms, it is necessary to allow user space (powertop > in particular) to look at the lists of power resources corresponding > to different power states of devices for diagnostics and control > purposes. > > For this reason, for each power state of an ACPI device node using > power resources create a special attribute group under the device > node's directory in sysfs containing links to sysfs directories > representing the power resources in that list. The names of the > new attribute groups are "power_resources_", where > is the state name i.e. "D0", "D1", "D2", or "D3hot". > > Signed-off-by: Rafael J. Wysocki Thanks for fixing this up. Acked-by: Greg Kroah-Hartman