[PATCH] ARM: OMAP4: PM: Avoid expensive cpu_suspend() path for all CPU power states except off

Felipe Balbi balbi at ti.com
Fri Feb 8 10:26:08 EST 2013


On Fri, Feb 08, 2013 at 08:41:46PM +0530, Santosh Shilimkar wrote:
> Current CPU PM code code make use of common cpu_suspend() path for all the
> CPU power states which is not optimal. In fact cpu_suspend() path is needed
> only when we put CPU power domain to off state where the CPU context is lost.
> 
> Update the code accordingly so that the expensive cpu_suspend() path
> can be avoided for the shallow CPU power states like CPU PD INA/CSWR.
> 
> Cc: Kevin Hilman <khilman at deeprootsystems.com>
> 
> Reported-by: Richard Woodruff <r-woodruff2 at ti.com>
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar at ti.com>

some numbers showing the benefit would be cool...

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130208/e0a56f93/attachment.sig>


More information about the linux-arm-kernel mailing list