Re: About run time power management in linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please fix your email client to wrap lines after about 72 columns and 
not to insert excess blank lines.

On Wed, 30 Jun 2010, Raj Kumar wrote:

> Hi,
> 
> I am working in power management. I have few questions about run time power management which was merged in linux 2.6.32 kernel onwards. 
> 
>  
> 
> Since the run time power management defines that when idle, suspend and resume will be scheduled, now the thing is from device driver perspective, 
> 
>  
> 
> it is bus driver that will suspend and resume its devices. but what from driver perspective driver needs to implement means as run time power management 
> 
>  
> 
> has also helper functions which will tell PM core that when to call various callbacks for suspend and resume for drivers (device, bus). 
> 
>  
> 
> But it might be case when the whole bus is not idle and still some drivers can be put into low power mode. 
> 
>  
> 
> Then does bus driver will be responsible for invoking the driver's suspend and resume (run time) or PM core will do that ? 

The PM core will invoke the bus driver's runtime_idle, runtime_suspend,
and runtime_resume callback functions.  These functions are then
responsible for invoking the device driver's suspend and resume 
routines.

Alan Stern

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux