Messages in this thread | | | Date | Thu, 06 Mar 2014 13:21:24 +0800 | From | "Li, Aubrey" <> | Subject | Re: [PATCH] x86: new Intel Atom SoC power management controller driver |
| |
On 2014/3/6 11:49, H. Peter Anvin wrote: > On 03/05/2014 07:31 PM, Li, Aubrey wrote: >> The Power Management Controller (PMC) controls many of the power >> management features present in the SoC. This driver provides >> interface to configure the Power Management Controller (PMC). >> >> This driver exposes PMC device state and sleep state residency >> via debugfs for observation: >> /sys/kernel/debugfs/pmc_atom/dev_state >> /sys/kernel/debugfs/pmc_atom/sleep_state >> >> This driver also provides a native power off function via PMC PCI >> IO port. >> > > 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.
Thanks, -Aubrey
> > -hpa > > > >
| |