Re: [PATCH] x86: new Intel Atom SoC power management controller driver

From: H. Peter Anvin
Date: Thu Mar 06 2014 - 00:28:23 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/