From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751342AbaCFF2P (ORCPT ); Thu, 6 Mar 2014 00:28:15 -0500 Received: from mga01.intel.com ([192.55.52.88]:20035 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbaCFF2N (ORCPT ); Thu, 6 Mar 2014 00:28:13 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,598,1389772800"; d="scan'208";a="493263086" Message-ID: <5318076C.7080605@linux.intel.com> Date: Wed, 05 Mar 2014 21:28:12 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: "Li, Aubrey" , Matthew Garrett , mingo@redhat.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, "alan@linux.intel.com" Subject: Re: [PATCH] x86: new Intel Atom SoC power management controller driver References: <5317EC0C.4010807@linux.intel.com> <5317F044.8080407@linux.intel.com> <531805D4.6040806@linux.intel.com> In-Reply-To: <531805D4.6040806@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/05/2014 09:21 PM, Li, Aubrey wrote: >> >> What is the reason for putting this in debugfs? > > S0ix support on Atom SoC needs all of the devices under south complex to > be quiesced, as well as the devices under north complex. This interface > shows all of the devices states under platform control unit. If the > system is not able to enter S0ix, we have a way to diagnose. Or if the > system entered S0ix, we have counters to show S0ix entered and its > residency. > I guess the real question is: are you sure this is only for debugging, or is this going to be an interface that applications or daemons will actually use (in which case it should live in sysfs). -hpa